12345678910111213141516171819202122232425262728293031323334353637383940 |
- #ifndef __INCLUDE_NVRAM_CONFIG_H__
- #define __INCLUDE_NVRAM_CONFIG_H__
- #ifdef __cplusplus
- extern "C" {
- #endif
- #include <shell/shell.h>
- int nvram_config_get(const char *name, void *data, int max_len);
- int nvram_config_set(const char *name, const void *data, int len);
- int nvram_config_clear(int len);
- int nvram_config_clear_all(void);
- void nvram_config_dump(const struct shell *shell);
- int nvram_config_get_factory(const char *name, void *data, int max_len);
- int nvram_config_set_factory(const char *name, const void *data, int len);
- int nvram_config_defrag_user(void);
- #ifdef __cplusplus
- }
- #endif
- #endif
|