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 StringTable!(char*)

our own cache of the program environment

filename const(char)[]

name of the file being parsed

path const(char)[]

what @P will expand to

buffer const(ubyte)[]

contents of configuration file

sections const(Strings)*

section names

Meta