#ifndef HACTOOL_TYPES_H #define HACTOOL_TYPES_H #include #include #include #include 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