mirror of
https://github.com/SciresM/hactool
synced 2024-11-10 14:44:14 +00:00
19 lines
346 B
C
19 lines
346 B
C
#ifndef HACTOOL_TYPES_H
|
|
#define HACTOOL_TYPES_H
|
|
|
|
#include <errno.h>
|
|
#include <inttypes.h>
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
|
|
typedef uint8_t byte;
|
|
|
|
typedef enum {
|
|
VALIDITY_UNCHECKED = 0,
|
|
VALIDITY_INVALID,
|
|
VALIDITY_VALID
|
|
} validity_t;
|
|
|
|
#define GET_VALIDITY_STR(validity) ((validity == VALIDITY_VALID) ? "GOOD" : "FAIL")
|
|
|
|
#endif
|