32#ifndef _XBPS_OBJECT_H_
33#define _XBPS_OBJECT_H_
38typedef void *xbps_object_t;
41 XBPS_TYPE_UNKNOWN = 0x00000000,
42 XBPS_TYPE_BOOL = 0x626f6f6c,
43 XBPS_TYPE_NUMBER = 0x6e6d6272,
44 XBPS_TYPE_STRING = 0x73746e67,
45 XBPS_TYPE_DATA = 0x64617461,
46 XBPS_TYPE_ARRAY = 0x61726179,
47 XBPS_TYPE_DICTIONARY = 0x64696374,
48 XBPS_TYPE_DICT_KEYSYM = 0x646b6579
55void xbps_object_retain(xbps_object_t);
56void xbps_object_release(xbps_object_t);
58xbps_type_t xbps_object_type(xbps_object_t);
60bool xbps_object_equals(xbps_object_t, xbps_object_t);
61bool xbps_object_equals_with_error(xbps_object_t, xbps_object_t,
bool *);
63typedef struct _prop_object_iterator *xbps_object_iterator_t;
65xbps_object_t xbps_object_iterator_next(xbps_object_iterator_t);
66void xbps_object_iterator_reset(xbps_object_iterator_t);
67void xbps_object_iterator_release(xbps_object_iterator_t);