Configuration library ConfInquire() Cookies Library
Programming guideline of WinDom

ConfGetLine()

NAME

ConfGetLine - read acces by line in the configuration file.

PROTOTYPAGE

int ConfGetLine( char *line);

PARAMETERS

line:
pointer to a buffer to store the line,

return:

0:
no more line to read,

positive value:
number of the line read.

DESCRIPTION

ConfGetLine() provides a line acces to read the configuration file. ConfInquire() can only read a line with the following format: variable = value. If the string parameter is NULL, the line pointer inside the file is set to the begin of the application area.

BUGS

string should pointer to a sufficially big buffer to store the line.

SEE ALSO

ConfInquire(), ConfRead(), ConfWrite(), WinDom configuration.