FreeRDP
TestIni.c File Reference
#include <winpr/crt.h>
#include <winpr/ini.h>

Functions

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

Variables

static const char TEST_INI_01 []
 
static const char TEST_INI_02 []
 
static const char TEST_INI_03 []
 

Function Documentation

◆ TestIni()

int TestIni ( int  argc,
char *  argv[] 
)
Here is the call graph for this function:

Variable Documentation

◆ TEST_INI_01

const char TEST_INI_01[]
static
Initial value:
= "; This is a sample .ini config file\n"
"\n"
"[first_section]\n"
"one = 1\n"
"five = 5\n"
"animal = BIRD\n"
"\n"
"[second_section]\n"
"path = \"/usr/local/bin\"\n"
"URL = \"http://www.example.com/~username\"\n"
"\n"

◆ TEST_INI_02

const char TEST_INI_02[]
static
Initial value:
= "[FreeRDS]\n"
"prefix=\"/usr/local\"\n"
"bindir=\"bin\"\n"
"sbindir=\"sbin\"\n"
"libdir=\"lib\"\n"
"datarootdir=\"share\"\n"
"localstatedir=\"var\"\n"
"sysconfdir=\"etc\"\n"
"\n"

◆ TEST_INI_03

const char TEST_INI_03[]
static
Initial value:
= "[FreeRDS]\n"
"prefix=\"/usr/local\"\n"
"bindir=\"bin\"\n"
"# some illegal string\n"
"sbindir=\"sbin\"\n"
"libdir=\"lib\"\n"
"invalid key-value pair\n"
"datarootdir=\"share\"\n"
"localstatedir=\"var\"\n"
"sysconfdir=\"etc\"\n"
"\n"