[Fix][stack-buffer-overflow] Use gboolean when using g_variant_get for boolean.
[platform/core/connectivity/net-config.git] / gtest / wifi.h
index ef0200c..17d3b7a 100755 (executable)
@@ -25,9 +25,9 @@ public:
        ~Wifi();
 
 error_e GetWifiState(char *state);
-error_e IsIpConflictDetectEnabled(bool *state);
+error_e IsIpConflictDetectEnabled(gboolean *state);
 error_e SetBgscan(int scan_mode);
-error_e GetAutoscan(bool *state);
+error_e GetAutoscan(gboolean *state);
 error_e GetIpConflictState(int *state);
 error_e GetIpConflictPeriod(int *period);
 error_e GetAutoscanmode(int *autoscanmode);
@@ -52,12 +52,12 @@ error_e DeleteEapConfig(const char *profile_name);
 error_e IpConflictSetEnable(bool detect);
 error_e GetSimImsi(char *imsi);
 error_e ReqSimAuth(const unsigned char *rand_data, unsigned int length,
-       bool *result);
+       gboolean *result);
 error_e ReqAkaAuth(const unsigned char *rand_data, int rand_length,
-       const unsigned char *auth_data, int auth_length, bool *result);
+       const unsigned char *auth_data, int auth_length, gboolean *result);
 error_e GetSimAuth(const unsigned char *auth_data, unsigned int length);
 error_e CheckBlackList(const char *name, const char *sec_type,
-               const char *eap, bool *allowed);
+               const char *eap, gboolean *allowed);
 error_e TdlsDisconnect(const char *peer_mac_address, int *result);
 error_e TdlsConnectedPeer(char *peer_mac_address);
 error_e TdlsConnect(const char *peer_mac_address, int *result);