base: Export type ID enum
Otherwise we really can't use the heimbase CF types outside lib/base!
This commit is contained in:
@@ -134,6 +134,28 @@ typedef struct heim_config_binding heim_config_section;
|
||||
* CF-like, JSON APIs
|
||||
*/
|
||||
|
||||
typedef enum heim_tid_enum {
|
||||
HEIM_TID_NUMBER = 0,
|
||||
HEIM_TID_NULL = 1,
|
||||
HEIM_TID_BOOL = 2,
|
||||
HEIM_TID_TAGGED_UNUSED2 = 3, /* reserved for tagged object types */
|
||||
HEIM_TID_TAGGED_UNUSED3 = 4, /* reserved for tagged object types */
|
||||
HEIM_TID_TAGGED_UNUSED4 = 5, /* reserved for tagged object types */
|
||||
HEIM_TID_TAGGED_UNUSED5 = 6, /* reserved for tagged object types */
|
||||
HEIM_TID_TAGGED_UNUSED6 = 7, /* reserved for tagged object types */
|
||||
HEIM_TID_MEMORY = 128,
|
||||
HEIM_TID_ARRAY = 129,
|
||||
HEIM_TID_DICT = 130,
|
||||
HEIM_TID_STRING = 131,
|
||||
HEIM_TID_AUTORELEASE = 132,
|
||||
HEIM_TID_ERROR = 133,
|
||||
HEIM_TID_DATA = 134,
|
||||
HEIM_TID_DB = 135,
|
||||
HEIM_TID_PA_AUTH_MECH = 136,
|
||||
HEIM_TID_PAC = 137,
|
||||
HEIM_TID_USER = 255
|
||||
} heim_tid;
|
||||
|
||||
typedef void * heim_object_t;
|
||||
typedef unsigned int heim_tid_t;
|
||||
typedef heim_object_t heim_bool_t;
|
||||
|
@@ -47,29 +47,6 @@ typedef heim_string_t (*heim_type_description)(void *);
|
||||
|
||||
typedef struct heim_type_data *heim_type_t;
|
||||
|
||||
enum {
|
||||
HEIM_TID_NUMBER = 0,
|
||||
HEIM_TID_NULL = 1,
|
||||
HEIM_TID_BOOL = 2,
|
||||
HEIM_TID_TAGGED_UNUSED2 = 3, /* reserved for tagged object types */
|
||||
HEIM_TID_TAGGED_UNUSED3 = 4, /* reserved for tagged object types */
|
||||
HEIM_TID_TAGGED_UNUSED4 = 5, /* reserved for tagged object types */
|
||||
HEIM_TID_TAGGED_UNUSED5 = 6, /* reserved for tagged object types */
|
||||
HEIM_TID_TAGGED_UNUSED6 = 7, /* reserved for tagged object types */
|
||||
HEIM_TID_MEMORY = 128,
|
||||
HEIM_TID_ARRAY = 129,
|
||||
HEIM_TID_DICT = 130,
|
||||
HEIM_TID_STRING = 131,
|
||||
HEIM_TID_AUTORELEASE = 132,
|
||||
HEIM_TID_ERROR = 133,
|
||||
HEIM_TID_DATA = 134,
|
||||
HEIM_TID_DB = 135,
|
||||
HEIM_TID_PA_AUTH_MECH = 136,
|
||||
HEIM_TID_PAC = 137,
|
||||
HEIM_TID_USER = 255
|
||||
|
||||
};
|
||||
|
||||
struct heim_type_data {
|
||||
heim_tid_t tid;
|
||||
const char *name;
|
||||
|
Reference in New Issue
Block a user