diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/corenet_ds.h | 3 | ||||
| -rw-r--r-- | include/search.h | 6 | 
2 files changed, 8 insertions, 1 deletions
| diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h index 4e2b3fb98..bec8cd1ce 100644 --- a/include/configs/corenet_ds.h +++ b/include/configs/corenet_ds.h @@ -476,14 +476,15 @@   */  #include <config_cmd_default.h> +#define CONFIG_CMD_DHCP  #define CONFIG_CMD_ELF  #define CONFIG_CMD_ERRATA +#define CONFIG_CMD_GREPENV  #define CONFIG_CMD_IRQ  #define CONFIG_CMD_I2C  #define CONFIG_CMD_MII  #define CONFIG_CMD_PING  #define CONFIG_CMD_SETEXPR -#define CONFIG_CMD_DHCP  #ifdef CONFIG_PCI  #define CONFIG_CMD_PCI 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); |