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