From a7b6358bae963fab5e132922385c1d378a43c1bc Mon Sep 17 00:00:00 2001 From: KatAst Date: Mon, 28 Dec 2015 18:28:05 +0100 Subject: [PATCH] New function to check string If there are only alphanumeric chars (including underscore) return 1 else return 0 --- esp-link/cgiwifi.h | 1 + 1 file changed, 1 insertion(+) diff --git a/esp-link/cgiwifi.h b/esp-link/cgiwifi.h index 5fa177c..667f27d 100644 --- a/esp-link/cgiwifi.h +++ b/esp-link/cgiwifi.h @@ -19,6 +19,7 @@ void configWifiIP(); void wifiInit(void); void wifiAddStateChangeCb(WifiStateChangeCb cb); void wifiStartMDNS(struct ip_addr); +int checkString(char *str); extern uint8_t wifiState; extern bool mdns_started;