[settings] Add fetch_string_setting_copy()
[people/mcb30/gpxe.git] / src / include / gpxe / settings.h
index 37c01b0..e9f0bce 100644 (file)
@@ -175,6 +175,9 @@ extern int fetch_setting_len ( struct settings *settings,
 extern int fetch_string_setting ( struct settings *settings,
                                  struct setting *setting,
                                  char *data, size_t len );
+extern int fetch_string_setting_copy ( struct settings *settings,
+                                      struct setting *setting,
+                                      char **data );
 extern int fetch_ipv4_setting ( struct settings *settings,
                                struct setting *setting, struct in_addr *inp );
 extern int fetch_int_setting ( struct settings *settings,