diff options
Diffstat (limited to 'include/search.h')
| -rw-r--r-- | include/search.h | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/include/search.h b/include/search.h index a7c129377..c827d4dbe 100644 --- a/include/search.h +++ b/include/search.h @@ -80,6 +80,12 @@ extern int hsearch_r(ENTRY __item, ACTION __action, ENTRY ** __retval,   */  extern int hmatch_r(const char *__match, int __last_idx, ENTRY ** __retval,  		    struct hsearch_data *__htab); +/* + * Search for an entry whose key or data contains `MATCH'.  Otherwise, + * Same semantics as hsearch_r(). + */ +extern int hstrstr_r(const char *__match, int __last_idx, ENTRY ** __retval, +		    struct hsearch_data *__htab);  /* Search and delete entry matching ITEM.key in internal hash table. */  extern int hdelete_r(const char *__key, struct hsearch_data *__htab); |