libini_config  0.1.3
 All Data Structures Functions Groups Pages
ini_parse.h
1 /*
2  INI LIBRARY
3 
4  Header file for the internal parsing functions.
5 
6  Copyright (C) Dmitri Pal <dpal@redhat.com> 2010
7 
8  INI Library is free software: you can redistribute it and/or modify
9  it under the terms of the GNU Lesser General Public License as published by
10  the Free Software Foundation, either version 3 of the License, or
11  (at your option) any later version.
12 
13  INI Library is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU Lesser General Public License for more details.
17 
18  You should have received a copy of the GNU Lesser General Public License
19  along with INI Library. If not, see <http://www.gnu.org/licenses/>.
20 */
21 
22 #ifndef INI_PARSE_H
23 #define INI_PARSE_H
24 
25 #include <stdio.h>
26 
27 /* Internal function to read line from INI file */
28 int read_line(FILE *file,
29  char *buf,
30  int read_size,
31  char **key,
32  char **value,
33  int *length,
34  int *ext_error);
35 
36 #endif