Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching defs:INT

56 static int wpa_config_read_blobs(struct wpa_config *config, HKEY hk)
59 int errors = 0;
87 (unsigned int) ret);
100 (int) i, name, (int) datalen);
126 static int wpa_config_read_reg_dword(HKEY hk, const TCHAR *name, int *_val)
134 wpa_printf(MSG_DEBUG, TSTR "=%d", name, (int) val);
170 static int wpa_config_read_global_uuid(struct wpa_config *config, HKEY hk)
173 int ret = 0;
188 static int wpa_config_read_global_os_version(struct wpa_config *config,
192 int ret = 0;
208 static int wpa_config_read_global(struct wpa_config *config, HKEY hk)
210 int errors = 0;
216 (int *) &config->dot11RSNAConfigPMKLifetime);
219 (int *)
222 (int *) &config->dot11RSNAConfigSATimeout);
263 int id)
269 int errors = 0;
302 (unsigned int) ret);
359 static int wpa_config_read_networks(struct wpa_config *config, HKEY hk)
363 int errors = 0;
388 (unsigned int) ret);
428 int errors = 0;
474 static int wpa_config_write_reg_dword(HKEY hk, const TCHAR *name, int val,
475 int def)
489 name, val, (int) GetLastError());
497 static int wpa_config_write_reg_string(HKEY hk, const char *name,
522 "error %d", name, val, (int) GetLastError());
534 static int wpa_config_write_global(struct wpa_config *config, HKEY hk)
586 static int wpa_config_delete_subkeys(HKEY hk, const TCHAR *key)
589 int i, errors = 0;
596 (unsigned int) ret, (int) GetLastError());
613 (unsigned int) ret, (int) GetLastError());
624 (unsigned int) ret, (int) GetLastError());
645 static void write_int(HKEY hk, const char *field, int value, int def)
771 static void write_wep_key(HKEY hk, int idx, struct wpa_ssid *ssid)
784 static int wpa_config_write_network(HKEY hk, struct wpa_ssid *ssid, int id)
786 int i, errors = 0;
795 (unsigned int) ret, (int) GetLastError());
810 name, (unsigned int) ret, (int) GetLastError());
815 #define INT(t) write_int(netw, #t, ssid->t, 0)
821 INT(scan_ssid);
869 INT(wep_tx_keyidx);
870 INT(priority);
876 INT(mode);
877 INT(proactive_key_caching);
878 INT(disabled);
879 INT(peerkey);
881 INT(ieee80211w);
886 #undef INT
895 static int wpa_config_write_blob(HKEY hk, struct wpa_config_blob *blob)
906 (unsigned int) ret, (int) GetLastError());
915 "error 0x%x (%d)", blob->name, (unsigned int) ret,
916 (int) GetLastError());
929 int wpa_config_write(const char *name, struct wpa_config *config)
934 int errors = 0;
937 int id;
951 (int) GetLastError());