main_winsvc.c File Reference

#include "includes.h"
#include <windows.h>
#include "common.h"
#include "wpa_supplicant_i.h"
#include "eloop.h"
Include dependency graph for main_winsvc.c:

Go to the source code of this file.

Defines

#define TBUFLEN   255
#define TSTR   "%s"
#define WPA_KEY_PREFIX   TEXT("SOFTWARE\\wpa_supplicant")
#define WPA_KEY_ROOT   HKEY_LOCAL_MACHINE
#define WPASVC_DESCRIPTION   TEXT("Provides IEEE 802.1X and WPA/WPA2 supplicant functionality")
#define WPASVC_DISPLAY_NAME   TEXT("wpa_supplicant service")

Functions

int main (int argc, char *argv[])
static int register_service (const TCHAR *exe)
static void WINAPI service_ctrl_handler (DWORD control_code)
static void WINAPI service_start (DWORD argc, LPTSTR *argv)
static DWORD svc_thread (LPDWORD param)
 TEXT ("wpasvc")
static int unregister_service (void)
static int wpa_supplicant_thread (void)

Define Documentation

#define TBUFLEN   255
#define TSTR   "%s"
#define WPA_KEY_PREFIX   TEXT("SOFTWARE\\wpa_supplicant")
#define WPA_KEY_ROOT   HKEY_LOCAL_MACHINE
#define WPASVC_DESCRIPTION   TEXT("Provides IEEE 802.1X and WPA/WPA2 supplicant functionality")
#define WPASVC_DISPLAY_NAME   TEXT("wpa_supplicant service")

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 421 of file main_winsvc.c.

static int register_service ( const TCHAR *  exe  )  [static]

Definition at line 260 of file main_winsvc.c.

static void WINAPI service_ctrl_handler ( DWORD  control_code  )  [static]

Definition at line 347 of file main_winsvc.c.

static void WINAPI service_start ( DWORD  argc,
LPTSTR *  argv 
) [static]

Definition at line 368 of file main_winsvc.c.

static DWORD svc_thread ( LPDWORD  param  )  [static]

Definition at line 245 of file main_winsvc.c.

TEXT ( "wpasvc"   ) 

Definition at line 37 of file main_winsvc.c.

static int unregister_service ( void   )  [static]

Definition at line 301 of file main_winsvc.c.

static int wpa_supplicant_thread ( void   )  [static]

Definition at line 140 of file main_winsvc.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Jan 11 10:04:48 2013