RELEASE/1.0RELEASE/1.1RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernloglog-selectstereowalls-datawalls-data-hanging-as-warningwarn-only-for-hanging-survey
Line | |
---|
1 | /* > ini.h |
---|
2 | * .ini file routines |
---|
3 | * Copyright (C) 1995 Olly Betts |
---|
4 | */ |
---|
5 | |
---|
6 | #include <stdio.h> |
---|
7 | |
---|
8 | /* section is the section of the ini file to read from |
---|
9 | * vars is a list of variables to read (terminated by NULL) |
---|
10 | * returns a list of values with NULL for "not found" (not terminated) |
---|
11 | */ |
---|
12 | char **ini_read(FILE *fh, char *section, char **vars); |
---|
13 | |
---|
14 | /* very similar to ini_read, but recursively tries the section indicated |
---|
15 | * by "like=..." until it finds the variable or finds no "like=..." |
---|
16 | */ |
---|
17 | char **ini_read_hier(FILE *fh, char *section, char **vars); |
---|
Note: See
TracBrowser
for help on using the repository browser.