mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-15 12:33:30 +08:00
f095bb7204
The header conformance testing code needed extending for XPG7. This exposed a few bugs in the headers. There are more changes to come.
31 lines
984 B
Plaintext
31 lines
984 B
Plaintext
#if !defined ISO && !defined POSIX && !defined POSIX2008
|
|
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*))
|
|
function {void*} tsearch (const void*, void**, int(*)(const void*, const void*))
|
|
function void twalk (const void*, void (*) (const void*, VISIT, int))
|
|
|
|
allow *_t
|
|
#endif
|