source: git/src/ini.h @ daf88e1

RELEASE/1.0RELEASE/1.1RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernloglog-selectstereowalls-datawalls-data-hanging-as-warningwarn-only-for-hanging-survey
Last change on this file since daf88e1 was a420b49, checked in by Olly Betts <olly@…>, 26 years ago

0.90 beta 2

git-svn-id: file:///home/survex-svn/survex/trunk@116 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

  • Property mode set to 100644
File size: 542 bytes
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 */
12char **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 */
17char **ini_read_hier(FILE *fh, char *section, char **vars);
Note: See TracBrowser for help on using the repository browser.