Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[settings] Expose find_child_settings()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Oct 15, 2012
1 parent 51b65d5 commit 1c2b6d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/settings.c
Expand Up @@ -265,8 +265,8 @@ static void autovivified_settings_free ( struct refcnt *refcnt ) {
* @v name Name within this parent
* @ret settings Settings block, or NULL
*/
static struct settings * find_child_settings ( struct settings *parent,
const char *name ) {
struct settings * find_child_settings ( struct settings *parent,
const char *name ) {
struct settings *settings;

/* Treat empty name as meaning "this block" */
Expand Down
2 changes: 2 additions & 0 deletions src/include/ipxe/settings.h
Expand Up @@ -269,6 +269,8 @@ extern int fetch_uuid_setting ( struct settings *settings,
extern void clear_settings ( struct settings *settings );
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 struct settings * find_settings ( const char *name );
extern struct setting * find_setting ( const char *name );
Expand Down

0 comments on commit 1c2b6d2

Please sign in to comment.