parseConfFile

Read and analyze .ini file. Write the entries into environment as well as any entries in one of the specified section(s).

void
parseConfFile
(,
const(char)[] filename
,
const(char)[] path
,
const(ubyte)[] buffer
,
const(Strings)* sections
)

Parameters

environment
Type: StringTable!(char*)

our own cache of the program environment

filename
Type: const(char)[]

name of the file being parsed

path
Type: const(char)[]

what @P will expand to

buffer
Type: const(ubyte)[]

contents of configuration file

sections
Type: const(Strings)*

section names

Meta