source: git/src/ini.h @ bd283cf6

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 bd283cf6 was d1b1380, checked in by Olly Betts <olly@…>, 27 years ago

Initial revision

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

  • Property mode set to 100644
File size: 572 bytes
Line 
1/* > ini.h
2 * .ini file routines
3 * Copyright (C) 1995 Olly Betts
4 */
5
6/*
71995.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 */
16char **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 */
21char **ini_read_hier( FILE *fh, char *section, char **vars );
Note: See TracBrowser for help on using the repository browser.