#ifndef _ENV_H_ #define _ENV_H_ #include #if IS_ENABLED(CONFIG_AVM_PROM_ENVIRONMENT) extern char *prom_getenv(char *envname); extern char *getcmdline(void); #if IS_ENABLED(CONFIG_AVM_PROM_MRPC) extern int avm_prom_tffs_sync(void); /* Old stuff we hopefully get rid of: */ extern int copy_wlan_dect_config2user(char *buffer, size_t bufferlen) __deprecated; extern int test_wlan_dect_config(char *buffer, size_t *bufferlen) __deprecated; #endif #else #warning AVM PROM environment support is NOT enabled! #endif #if IS_ENABLED(CONFIG_AVM_ENHANCED) && IS_ENABLED(CONFIG_MIPS) #include #endif #endif