aboutsummaryrefslogtreecommitdiff
path: root/src/include/ipxe
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ipxe')
-rw-r--r--src/include/ipxe/settings.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/include/ipxe/settings.h b/src/include/ipxe/settings.h
index cd44620..a81e5cc 100644
--- a/src/include/ipxe/settings.h
+++ b/src/include/ipxe/settings.h
@@ -280,7 +280,12 @@ extern int fetchf_setting ( struct settings *settings, struct setting *setting,
extern int storef_setting ( struct settings *settings,
struct setting *setting,
const char *value );
-extern int storef_named_setting ( const char *name, const char *value );
+extern int store_named_setting ( const char *name,
+ struct setting_type *default_type,
+ const void *data, size_t len );
+extern int storef_named_setting ( const char *name,
+ struct setting_type *default_type,
+ const char *value );
extern int fetchf_named_setting ( const char *name, char *name_buf,
size_t name_len, char *value_buf,
size_t value_len );
@@ -366,7 +371,7 @@ static inline int delete_setting ( struct settings *settings,
* @ret rc Return status code
*/
static inline int delete_named_setting ( const char *name ) {
- return storef_named_setting ( name, NULL );
+ return store_named_setting ( name, NULL, NULL, 0 );
}
/**