[Settings] Migrate DHCP and NVO code to the new settings API (untested)
This commit is contained in:
@@ -151,6 +151,9 @@ extern int store_setting ( struct settings *settings, unsigned int tag,
|
||||
const void *data, size_t len );
|
||||
extern int fetch_setting ( struct settings *settings, unsigned int tag,
|
||||
void *data, size_t len );
|
||||
extern int copy_setting ( struct settings *dest, unsigned int dest_tag,
|
||||
struct settings *source, unsigned int source_tag );
|
||||
extern int copy_settings ( struct settings *dest, struct settings *source );
|
||||
extern int fetch_setting_len ( struct settings *settings, unsigned int tag );
|
||||
extern int fetch_string_setting ( struct settings *settings, unsigned int tag,
|
||||
char *data, size_t len );
|
||||
@@ -163,6 +166,8 @@ extern int fetch_uint_setting ( struct settings *settings, unsigned int tag,
|
||||
extern long fetch_intz_setting ( struct settings *settings, unsigned int tag );
|
||||
extern unsigned long fetch_uintz_setting ( struct settings *settings,
|
||||
unsigned int tag );
|
||||
extern struct settings * find_child_settings ( struct settings *parent,
|
||||
const char *name );
|
||||
extern struct settings * find_settings ( const char *name );
|
||||
extern int store_typed_setting ( struct settings *settings,
|
||||
unsigned int tag, struct setting_type *type,
|
||||
|
||||
Reference in New Issue
Block a user