blob: f0ec24b73ba36fb99736b68b07cc8f6ad1217f1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/*
* Copyright (c) 2018 Vasile Vilvoiu <vasi.vilvoiu@gmail.com>
*
* libecbor is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#ifndef _ECBOR_INTERNAL_H_
#define _ECBOR_INTERNAL_H_
/* Don't rely on <stddef.h> for this */
#define NULL 0
#define false 0
#define true 1
/* Additional value meanings */
enum {
ECBOR_ADDITIONAL_1BYTE = 24,
ECBOR_ADDITIONAL_2BYTE = 25,
ECBOR_ADDITIONAL_4BYTE = 26,
ECBOR_ADDITIONAL_8BYTE = 27,
ECBOR_ADDITIONAL_INDEFINITE = 31
};
#endif
|