mirror of https://github.com/ipxe/ipxe.git
[settings] Expose find_child_settings()
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/598/head
parent
51b65d5f9c
commit
1c2b6d29ea
|
@ -265,7 +265,7 @@ static void autovivified_settings_free ( struct refcnt *refcnt ) {
|
||||||
* @v name Name within this parent
|
* @v name Name within this parent
|
||||||
* @ret settings Settings block, or NULL
|
* @ret settings Settings block, or NULL
|
||||||
*/
|
*/
|
||||||
static struct settings * find_child_settings ( struct settings *parent,
|
struct settings * find_child_settings ( struct settings *parent,
|
||||||
const char *name ) {
|
const char *name ) {
|
||||||
struct settings *settings;
|
struct settings *settings;
|
||||||
|
|
||||||
|
|
|
@ -269,6 +269,8 @@ extern int fetch_uuid_setting ( struct settings *settings,
|
||||||
extern void clear_settings ( struct settings *settings );
|
extern void clear_settings ( struct settings *settings );
|
||||||
extern int setting_cmp ( struct setting *a, struct setting *b );
|
extern int setting_cmp ( struct setting *a, struct setting *b );
|
||||||
|
|
||||||
|
extern struct settings * find_child_settings ( struct settings *parent,
|
||||||
|
const char *name );
|
||||||
extern const char * settings_name ( struct settings *settings );
|
extern const char * settings_name ( struct settings *settings );
|
||||||
extern struct settings * find_settings ( const char *name );
|
extern struct settings * find_settings ( const char *name );
|
||||||
extern struct setting * find_setting ( const char *name );
|
extern struct setting * find_setting ( const char *name );
|
||||||
|
|
Loading…
Reference in New Issue