1/* 2 header of nvram_control 3 */ 4 5//#include <bcmnvram.h> 6 7int nvram_smbdav_pc_append(const char* ap_str ); 8 9char* nvram_get_smbdav_str(); 10 11int nvram_set_smbdav_str(const char* pc_info); 12char* nvram_get_sharelink_str(); 13 14int nvram_set_sharelink_str(const char* sharelink_info); 15 16int nvram_do_commit(); 17 18int nvram_is_ddns_enable(); 19 20char* nvram_get_ddns_server_name(); 21char* nvram_get_ddns_host_name(); 22char* nvram_get_ddns_host_name2(); 23int nvram_get_st_samba_mode(); 24char* nvram_get_http_username(); 25char* nvram_get_http_passwd(); 26char* nvram_get_computer_name(); 27char* nvram_get_webdavaidisk(); 28int nvram_set_webdavaidisk(const char* enable); 29char* nvram_get_webdavproxy(); 30int nvram_set_webdavproxy(const char* enable); 31 32char* nvram_get_router_mac(); 33char* nvram_get_firmware_version(); 34char* nvram_get_build_no(); 35 36char* nvram_get_st_webdav_mode(); 37char* nvram_get_webdav_http_port(); 38char* nvram_get_webdav_https_port(); 39 40char* nvram_get_http_enable(); 41char* nvram_get_misc_http_x(); 42char* nvram_get_misc_http_port(); 43char* nvram_get_misc_https_port(); 44 45 46char* nvram_get_enable_webdav_captcha(); 47 48char* nvram_get_enable_webdav_lock(); 49 50char* nvram_get_webdav_acc_lock(); 51int nvram_set_webdav_acc_lock(const char* acc_block); 52 53char* nvram_get_webdav_lock_interval(); 54 55char* nvram_get_webdav_lock_times(); 56 57char* nvram_get_webdav_last_login_info(); 58int nvram_set_webdav_last_login_info(const char* last_login_info); 59char* nvram_get_latest_version(); 60int nvram_get_webs_state_error(); 61 62char* nvram_get_share_link_param(); 63char* nvram_get_time_zone(); 64int nvram_set_share_link_result(const char* result); 65int nvram_wan_primary_ifunit(); 66char* nvram_get_wan_ip(); 67char* nvram_get_swpjverno(); 68char* nvram_get_extendno(); 69char* nvram_get_dms_enable(); 70char* nvram_get_dms_dbcwd(); 71char* nvram_get_dms_dir(); 72char* nvram_get_ms_enable(); 73int nvram_set_https_crt_save(const char* enable); 74int nvram_set_https_crt_cn(const char* cn); 75char* nvram_get_https_crt_cn(); 76int nvram_setfile_https_crt_file(const char* file, int size); 77int nvram_getfile_https_crt_file(const char* file, int size); 78char* nvram_get_https_crt_file(); 79char* nvram_get_odmpid(); 80 81int nvram_set_value(const char* key, const char* value); 82char* nvram_get_value(const char* key); 83 84int check_aicloud_db(const char* username, const char* password); 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115