aboutsummaryrefslogtreecommitdiff
path: root/conform/data/search.h-data
diff options
context:
space:
mode:
Diffstat (limited to 'conform/data/search.h-data')
-rw-r--r--conform/data/search.h-data28
1 files changed, 28 insertions, 0 deletions
diff --git a/conform/data/search.h-data b/conform/data/search.h-data
new file mode 100644
index 0000000..e7c81d3
--- /dev/null
+++ b/conform/data/search.h-data
@@ -0,0 +1,28 @@
+#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))
+#endif