$search

config_winreg.c File Reference

#include "includes.h"
#include "common.h"
#include "uuid.h"
#include "config.h"
Include dependency graph for config_winreg.c:

Go to the source code of this file.

Defines

#define INT(t)   write_int(netw, #t, ssid->t, 0)
#define INT_DEF(t, def)   write_int(netw, #t, ssid->t, def)
#define INT_DEFe(t, def)   write_int(netw, #t, ssid->eap.t, def)
#define INTe(t)   write_int(netw, #t, ssid->eap.t, 0)
#define STR(t)   write_str(netw, #t, ssid)
#define TNAMELEN   255
#define TSTR   "%s"
#define WPA_KEY_PREFIX   TEXT("SOFTWARE\\wpa_supplicant")

Functions

static int wpa_config_delete_subkeys (HKEY hk, const TCHAR *key)
struct wpa_configwpa_config_read (const char *name)
static int wpa_config_read_blobs (struct wpa_config *config, HKEY hk)
static int wpa_config_read_global (struct wpa_config *config, HKEY hk)
static struct wpa_ssidwpa_config_read_network (HKEY hk, const TCHAR *netw, int id)
static int wpa_config_read_networks (struct wpa_config *config, HKEY hk)
static int wpa_config_read_reg_dword (HKEY hk, const TCHAR *name, int *_val)
static char * wpa_config_read_reg_string (HKEY hk, const TCHAR *name)
int wpa_config_write (const char *name, struct wpa_config *config)
static int wpa_config_write_blob (HKEY hk, struct wpa_config_blob *blob)
static int wpa_config_write_global (struct wpa_config *config, HKEY hk)
static int wpa_config_write_network (HKEY hk, struct wpa_ssid *ssid, int id)
static int wpa_config_write_reg_dword (HKEY hk, const TCHAR *name, int val, int def)
static int wpa_config_write_reg_string (HKEY hk, const char *name, const char *val)
static void write_auth_alg (HKEY hk, struct wpa_ssid *ssid)
static void write_bssid (HKEY hk, struct wpa_ssid *ssid)
static void write_group (HKEY hk, struct wpa_ssid *ssid)
static void write_int (HKEY hk, const char *field, int value, int def)
static void write_key_mgmt (HKEY hk, struct wpa_ssid *ssid)
static void write_pairwise (HKEY hk, struct wpa_ssid *ssid)
static void write_proto (HKEY hk, struct wpa_ssid *ssid)
static void write_psk (HKEY hk, struct wpa_ssid *ssid)
static void write_str (HKEY hk, const char *field, struct wpa_ssid *ssid)
static void write_wep_key (HKEY hk, int idx, struct wpa_ssid *ssid)

Define Documentation

#define INT (  )     write_int(netw, #t, ssid->t, 0)
#define INT_DEF ( t,
def   )     write_int(netw, #t, ssid->t, def)
#define INT_DEFe ( t,
def   )     write_int(netw, #t, ssid->eap.t, def)
#define INTe (  )     write_int(netw, #t, ssid->eap.t, 0)
#define STR (  )     write_str(netw, #t, ssid)
#define TNAMELEN   255
#define TSTR   "%s"

Definition at line 52 of file config_winreg.c.

#define WPA_KEY_PREFIX   TEXT("SOFTWARE\\wpa_supplicant")

Definition at line 46 of file config_winreg.c.


Function Documentation

static int wpa_config_delete_subkeys ( HKEY  hk,
const TCHAR *  key 
) [static]

Definition at line 601 of file config_winreg.c.

struct wpa_config* wpa_config_read ( const char *  name  )  [read]

Definition at line 432 of file config_winreg.c.

static int wpa_config_read_blobs ( struct wpa_config config,
HKEY  hk 
) [static]

Definition at line 56 of file config_winreg.c.

static int wpa_config_read_global ( struct wpa_config config,
HKEY  hk 
) [static]

Definition at line 208 of file config_winreg.c.

static struct wpa_ssid* wpa_config_read_network ( HKEY  hk,
const TCHAR *  netw,
int  id 
) [static, read]

Definition at line 269 of file config_winreg.c.

static int wpa_config_read_networks ( struct wpa_config config,
HKEY  hk 
) [static]

Definition at line 366 of file config_winreg.c.

static int wpa_config_read_reg_dword ( HKEY  hk,
const TCHAR *  name,
int *  _val 
) [static]

Definition at line 126 of file config_winreg.c.

static char* wpa_config_read_reg_string ( HKEY  hk,
const TCHAR *  name 
) [static]

Definition at line 143 of file config_winreg.c.

int wpa_config_write ( const char *  name,
struct wpa_config config 
)

Definition at line 944 of file config_winreg.c.

static int wpa_config_write_blob ( HKEY  hk,
struct wpa_config_blob blob 
) [static]

Definition at line 910 of file config_winreg.c.

static int wpa_config_write_global ( struct wpa_config config,
HKEY  hk 
) [static]

Definition at line 541 of file config_winreg.c.

static int wpa_config_write_network ( HKEY  hk,
struct wpa_ssid ssid,
int  id 
) [static]

Definition at line 799 of file config_winreg.c.

static int wpa_config_write_reg_dword ( HKEY  hk,
const TCHAR *  name,
int  val,
int  def 
) [static]

Definition at line 481 of file config_winreg.c.

static int wpa_config_write_reg_string ( HKEY  hk,
const char *  name,
const char *  val 
) [static]

Definition at line 504 of file config_winreg.c.

static void write_auth_alg ( HKEY  hk,
struct wpa_ssid ssid 
) [static]

Definition at line 754 of file config_winreg.c.

static void write_bssid ( HKEY  hk,
struct wpa_ssid ssid 
) [static]

Definition at line 670 of file config_winreg.c.

static void write_group ( HKEY  hk,
struct wpa_ssid ssid 
) [static]

Definition at line 738 of file config_winreg.c.

static void write_int ( HKEY  hk,
const char *  field,
int  value,
int  def 
) [static]

Definition at line 660 of file config_winreg.c.

static void write_key_mgmt ( HKEY  hk,
struct wpa_ssid ssid 
) [static]

Definition at line 706 of file config_winreg.c.

static void write_pairwise ( HKEY  hk,
struct wpa_ssid ssid 
) [static]

Definition at line 722 of file config_winreg.c.

static void write_proto ( HKEY  hk,
struct wpa_ssid ssid 
) [static]

Definition at line 690 of file config_winreg.c.

static void write_psk ( HKEY  hk,
struct wpa_ssid ssid 
) [static]

Definition at line 680 of file config_winreg.c.

static void write_str ( HKEY  hk,
const char *  field,
struct wpa_ssid ssid 
) [static]

Definition at line 650 of file config_winreg.c.

static void write_wep_key ( HKEY  hk,
int  idx,
struct wpa_ssid ssid 
) [static]

Definition at line 786 of file config_winreg.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Mar 1 15:59:56 2013