diff packages/redboot/current/include/flash_config.h @ 1451:077fd39935a2

Expand fconfig access via virtual vectors. Work around a TCP timing issue.
author gthomas
date Sun, 21 Dec 2003 13:17:51 +0000
parents dbcfe4e0dbd2
children
line wrap: on
line diff
--- a/packages/redboot/current/include/flash_config.h
+++ b/packages/redboot/current/include/flash_config.h
@@ -87,9 +87,13 @@ CYG_HAL_TABLE_QUALIFIED_ENTRY(RedBoot_co
    {#_n_,_t_,_e_,_ie_,_type_,(unsigned long)_dflt_};
 
 // Cause the in-memory configuration data to be written to flash
-void flash_write_config(void);
+void flash_write_config(bool prompt);
 // Fetch a data item from flash storage, returns 'false' if not found
 bool flash_get_config(char *key, void *val, int type);
+// Update a data item from flash storage, returns 'false' if not found
+bool flash_set_config(char *key, void *val, int type);
+// Enumerate keys from configuration
+bool flash_next_key(char *key, int keylen, int *type, int *offset);
 // Add a new data item to configuration data base.  Returns 'false'
 // if no space is available.
 bool flash_add_config(struct config_option *opt, bool update);