diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/search.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/search.h b/include/search.h index 27f61072..02e407e3 100644 --- a/include/search.h +++ b/include/search.h @@ -22,6 +22,18 @@ int hcreate(size_t); void hdestroy(void); ENTRY *hsearch(ENTRY, ACTION); +#ifdef _GNU_SOURCE +struct hsearch_data { + struct __tab *__tab; + unsigned int __unused1; + unsigned int __unused2; +}; + +int hcreate_r(size_t, struct hsearch_data *); +void hdestroy_r(struct hsearch_data *); +int hsearch_r(ENTRY, ACTION, ENTRY **, struct hsearch_data *); +#endif + void insque(void *, void *); void remque(void *); |