private fork

Fork of GSwifiInterface by gs fan

Revision:
21:6431364fc667
Parent:
8:64184a968e3b
--- a/GSwifiInterface.h	Thu Jun 05 06:06:19 2014 +0000
+++ b/GSwifiInterface.h	Thu Jun 05 06:12:59 2014 +0000
@@ -58,7 +58,7 @@
   * \param gateway the gateway to use
   * \return 0 on success, a negative number on failure
   */
-  int init(const char* ip, const char* mask, const char* gateway, const char* name = NULL);
+  int init(const char* ip, const char* mask, const char* gateway, const char* dns = NULL, const char* name = NULL);
 
   /** Connect
   * Bring the interface up, start DHCP if needed.
@@ -105,3 +105,4 @@
 #include "UDPSocket.h"
 
 #endif /* GSWIFIINTERFACE_H_ */
+