about summary refs log tree commit diff
path: root/conform/data/search.h-data
blob: 7da11c97c18edb54ab60d2282e71d84867ee902c (plain) (blame)
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
27
28
29
30
#if !defined ISO && !defined POSIX
type ENTRY
type {struct entry}
element {struct entry} {char*} key
element {struct entry} {void*} data

type ACTION
constant FIND
constant ENTER

type VISIT
constant preorder
constant postorder
constant endorder
constant leaf

function int hcreate (size_t)
function void hdestroy (void)
function {ENTRY*} hsearch (ENTRY, ACTION)
function void insque (void*, void*)
function {void*} lfind (const void*, const void*, size_t*, size_t, int (*)(const void*, const void*))
function {void*} lsearch (const void*, void*, size_t*, size_t, int (*)(const void*, const void*))
function void remque (void*)
function {void*} tdelete (const void*, void**, int(*)(const void*, const void*))
function {void*} tfind (const void*, void*const*, int(*)(const void*, const void*)) tfind (const void*, void*const*, int(*)(const void*, const void*))
function {void*} tsearch (const void*, void**, int(*)(const void*, const void*))
function void twalk (const void*, void (*) (const void*, VISIT, int))

allow *_t
#endif