OpenVPN
Macros | Functions
test_openvpnserv.c File Reference
#include <setjmp.h>
#include <cmocka.h>
#include "test_common.h"
#include <winsock2.h>
#include <windows.h>
#include "interactive.c"
Include dependency graph for test_openvpnserv.c:

Go to the source code of this file.

Macros

#define BUF_SIZE   64
 

Functions

BOOL ReportStatusToSCMgr (SERVICE_STATUS_HANDLE service, SERVICE_STATUS *status)
 
static void test_list_contains_domain (void **state)
 
static void test_convert_itf_dns_domains (void **state)
 
int wmain (void)
 

Macro Definition Documentation

◆ BUF_SIZE

#define BUF_SIZE   64

Definition at line 56 of file test_openvpnserv.c.

Function Documentation

◆ ReportStatusToSCMgr()

BOOL ReportStatusToSCMgr ( SERVICE_STATUS_HANDLE  service,
SERVICE_STATUS *  status 
)

Definition at line 38 of file test_openvpnserv.c.

◆ test_convert_itf_dns_domains()

static void test_convert_itf_dns_domains ( void **  state)
static

Definition at line 58 of file test_openvpnserv.c.

References BUF_SIZE, and ConvertItfDnsDomains().

Referenced by wmain().

◆ test_list_contains_domain()

static void test_list_contains_domain ( void **  state)
static

Definition at line 44 of file test_openvpnserv.c.

References ListContainsDomain().

Referenced by wmain().

◆ wmain()

int wmain ( void  )