prg_file_parse()
Abstract
Opens, reads, and parses a regularly-structured ASCII configuration file.
Syntax
prg_file_parse (full_pathname)
| Argument | Type | Description |
|---|---|---|
full_pathname |
const char * |
Full or partial path name of the file to be read in. |
Return Type
PrgT_File_Parse*
Pointer to a parse data structure used by the remaining functions in the file parse package.
Header
prg_file_funcs.h
Details
Opens, reads, and parses the configuration file specified by the filename argument and returns a parse data structure that can be queried. The data structure must eventually be destroyed with a call to prg_file_parse_destroy().