120 #define COL_CLASS_DEFAULT 0
127 #define COL_NOMATCH 0
145 #define COL_TYPE_STRING 0x00000001
147 #define COL_TYPE_BINARY 0x00000002
149 #define COL_TYPE_INTEGER 0x00000004
151 #define COL_TYPE_UNSIGNED 0x00000008
153 #define COL_TYPE_LONG 0x00000010
155 #define COL_TYPE_ULONG 0x00000020
157 #define COL_TYPE_DOUBLE 0x00000040
159 #define COL_TYPE_BOOL 0x00000080
166 #define COL_TYPE_COLLECTION 0x00000100
173 #define COL_TYPE_COLLECTIONREF 0x00000200
179 #define COL_TYPE_END 0x10000000
186 #define COL_TYPE_ANY 0x0FFFFFFF
200 #define COL_ADD_MODE_REFERENCE 0
211 #define COL_ADD_MODE_EMBED 1
217 #define COL_ADD_MODE_CLONE 2
225 #define COL_ADD_MODE_FLAT 3
238 #define COL_ADD_MODE_FLATDOT 4
261 #define COL_TRAVERSE_DEFAULT 0x00000000
269 #define COL_TRAVERSE_ONELEVEL 0x00000001
280 #define COL_TRAVERSE_END 0x00000002
282 #define COL_TRAVERSE_IGNORE 0x00000004
296 #define COL_TRAVERSE_FLAT 0x00000008
322 #define COL_TRAVERSE_SHOWSUB 0x00010000
330 #define COL_TRAVERSE_ONLYSUB 0x00020000
353 #define COL_COPY_NORMAL 0
359 #define COL_COPY_FLAT 1
365 #define COL_COPY_FLATDOT 2
367 #define COL_COPY_KEEPREF 3
369 #define COL_COPY_TOP 4
385 #define COL_SORT_ASC 0x00000000
387 #define COL_SORT_DESC 0x00000001
389 #define COL_SORT_SUB 0x00000002
395 #define COL_SORT_MYSUB 0x00000004
402 #ifndef COLLECTION_PRIV_H
542 const char *name_to_use,
566 const char *name_to_use,
601 const char *subcollection,
602 const char *as_property,
701 const char *property_to_find,
746 const char *property_to_find,
782 unsigned sort_flags);
816 const char *property_to_find,
845 const char *property_to_find,
873 const char *col_to_find);
1058 const char *subcollection,
1059 const char *property,
1090 const char *subcollection,
1091 const char *property,
1121 const char *subcollection,
1122 const char *property,
1151 const char *subcollection,
1152 const char *property,
1181 const char *subcollection,
1182 const char *property,
1211 const char *subcollection,
1212 const char *property,
1241 const char *subcollection,
1242 const char *property,
1270 const char *subcollection,
1271 const char *property,
1272 unsigned char logical);
1303 const char *subcollection,
1304 const char *property,
1369 const char *subcollection,
1370 const char *property,
1371 char *
string,
int length,
1403 const char *subcollection,
1404 const char *property,
1405 void *binary_data,
int length,
1436 const char *subcollection,
1437 const char *property, int32_t number,
1468 const char *subcollection,
1469 const char *property, uint32_t number,
1500 const char *subcollection,
1501 const char *property, int64_t number,
1532 const char *subcollection,
1533 const char *property, uint64_t number,
1564 const char *subcollection,
1565 const char *property,
double number,
1596 const char *subcollection,
1597 const char *property,
unsigned char logical,
1631 const char *subcollection,
1632 const char *property,
1633 int type,
void *data,
int length,
1691 const char *subcollection,
1693 const char *refprop,
1696 const char *property,
1702 const char *subcollection,
1704 const char *refprop,
1707 const char *property,
1713 const char *subcollection,
1715 const char *refprop,
1718 const char *property,
1723 const char *subcollection,
1725 const char *refprop,
1728 const char *property,
1733 const char *subcollection,
1735 const char *refprop,
1738 const char *property,
1743 const char *subcollection,
1745 const char *refprop,
1748 const char *property,
1753 const char *subcollection,
1755 const char *refprop,
1758 const char *property,
1763 const char *subcollection,
1765 const char *refprop,
1768 const char *property,
1769 unsigned char logical);
1773 const char *subcollection,
1775 const char *refprop,
1778 const char *property,
1785 const char *subcollection,
1787 const char *refprop,
1790 const char *property,
1797 const char *subcollection,
1799 const char *refprop,
1802 const char *property,
1808 const char *subcollection,
1810 const char *refprop,
1813 const char *property,
1819 const char *subcollection,
1821 const char *refprop,
1824 const char *property,
1830 const char *subcollection,
1832 const char *refprop,
1835 const char *property,
1844 const char *subcollection,
1846 const char *refprop,
1849 const char *property,
1855 const char *subcollection,
1857 const char *refprop,
1860 const char *property,
1861 unsigned char logical,
1866 const char *subcollection,
1868 const char *refprop,
1871 const char *property,
1927 const char *property,
1935 const char *property,
1943 const char *property,
1950 const char *property,
1957 const char *property,
1964 const char *property,
1971 const char *property,
1978 const char *property,
1980 unsigned char logical);
1990 const char *property,
2028 #define COL_CMPIN_PROP_EQU 0x000000004
2030 #define COL_CMPIN_PROP_BEG 0x000000005
2032 #define COL_CMPIN_PROP_MID 0x000000006
2034 #define COL_CMPIN_PROP_END 0x000000007
2047 #define COL_CMPIN_PROP_DOT 0x000000008
2050 #define COL_CMPIN_PROP_LEN 0x000000010
2053 #define COL_CMPIN_TYPE 0x000000020
2056 #define COL_CMPIN_DATA_LEN 0x000000040
2066 #define COL_CMPIN_DATA 0x000000080
2088 #define COL_CMPOUT_PROP_STR 0x00000001
2096 #define COL_CMPOUT_PROP_LEN 0x00000002
2103 #define COL_CMPOUT_DATA_LEN 0x00000004
2112 #define COL_CMPOUT_DATA 0x00000008
2139 #define COL_DSP_END 0
2150 #define COL_DSP_FRONT 1
2163 #define COL_DSP_BEFORE 2
2176 #define COL_DSP_AFTER 3
2195 #define COL_DSP_INDEX 4
2213 #define COL_DSP_FIRSTDUP 5
2233 #define COL_DSP_LASTDUP 6
2263 #define COL_DSP_NDUP 7
2283 #define COL_INSERT_NOCHECK 0
2288 #define COL_INSERT_DUPOVER 1
2293 #define COL_INSERT_DUPOVERT 2
2295 #define COL_INSERT_DUPERROR 3
2300 #define COL_INSERT_DUPERRORT 4
2304 #define COL_INSERT_DUPMOVE 5
2308 #define COL_INSERT_DUPMOVET 6
2426 uint64_t
col_make_hash(
const char *
string,
int sub_len,
int *length);
2458 unsigned *out_flags);
2497 const char *property,
2520 const char *property);
2536 const char *property,
2550 const char *property,
2564 const char *property,
2565 unsigned char logical);
2577 const char *property,
2590 const char *property,
2603 const char *property,
2616 const char *property,
2629 const char *property,
2696 const char *subcollection,
2698 const char *refprop,
2745 const char *refprop,
2798 const char *subcollection,
2800 const char *refprop,
2845 const char *refprop,
2909 const char *subcollection,
2912 const char *refprop,
2959 const char *refprop,