Format
include/drip/format.h
Structures and Types
| Type | Name |
|---|---|
| typedef uint8_t | drip_hi_t |
| enum | drip_sam_type_t |
| typedef uint8_t | drip_signature_t |
| enum | drip_status_t |
Macros
| Type | Name |
|---|---|
| define | DRIP_HI_SIZE 32 |
| define | DRIP_SIGNATURE_SIZE 64 |
| define | DRIP_TIMESTAMP_EPOCH 1546300800 Timestamp epoch (2019-01-01 00:00:00 UTC as Unix timestamp). |
Structures and Types Documentation
typedef drip_hi_t
typedef uint8_t drip_hi_t[32];
enum drip_sam_type_t
enum drip_sam_type_t {
DRIP_SAM_TYPE_LINK = 0x01,
DRIP_SAM_TYPE_WRAPPER = 0x02,
DRIP_SAM_TYPE_MANIFEST = 0x03,
DRIP_SAM_TYPE_FRAME = 0x04
};
typedef drip_signature_t
typedef uint8_t drip_signature_t[64];
enum drip_status_t
enum drip_status_t {
DRIP_SUCCESS = 0,
DRIP_ERROR_NULL_POINTER = -1,
DRIP_ERROR_BUFFER_TOO_SMALL = -2,
DRIP_ERROR_BUFFER_TOO_LARGE = -3,
DRIP_ERROR_ARRAY_OVERFLOW = -4,
DRIP_ERROR_INVALID_INDEX = -5,
DRIP_ERROR_CALLBACK_FAILED = -6,
DRIP_ERROR_INVALID_LENGTH = -7,
DRIP_ERROR_INVALID_SAM_TYPE = -8,
DRIP_ERROR_OUT_OF_RANGE = -9,
DRIP_ERROR_INVALID_IPV6_PREFIX = -10,
DRIP_ERROR_VERIFICATION_FAILED = -11,
DRIP_ERROR_INVALID_TIMESTAMP = -12,
DRIP_ERROR_INVALID_CHILD_DET = -13,
DRIP_ERROR_INVALID_PARENT_DET = -14,
DRIP_ERROR_INVALID_HHSI = -15,
DRIP_ERROR_INVALID_IPV6_STRING = -16,
DRIP_ERROR_INVALID_RAA = -17,
DRIP_ERROR_INVALID_DET = -18
};
Macros Documentation
define DRIP_HI_SIZE
#define DRIP_HI_SIZE 32
define DRIP_SIGNATURE_SIZE
#define DRIP_SIGNATURE_SIZE 64
define DRIP_TIMESTAMP_EPOCH
Timestamp epoch (2019-01-01 00:00:00 UTC as Unix timestamp).
#define DRIP_TIMESTAMP_EPOCH 1546300800