libini_config
0.1.2
|
00001 /* 00002 INI LIBRARY 00003 00004 Header file for the internal parsing functions. 00005 00006 Copyright (C) Dmitri Pal <dpal@redhat.com> 2010 00007 00008 INI Library is free software: you can redistribute it and/or modify 00009 it under the terms of the GNU Lesser General Public License as published by 00010 the Free Software Foundation, either version 3 of the License, or 00011 (at your option) any later version. 00012 00013 INI Library is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 GNU Lesser General Public License for more details. 00017 00018 You should have received a copy of the GNU Lesser General Public License 00019 along with INI Library. If not, see <http://www.gnu.org/licenses/>. 00020 */ 00021 00022 #ifndef INI_PARSE_H 00023 #define INI_PARSE_H 00024 00025 #include <stdio.h> 00026 00027 /* Internal function to read line from INI file */ 00028 int read_line(FILE *file, 00029 char *buf, 00030 int read_size, 00031 char **key, 00032 char **value, 00033 int *length, 00034 int *ext_error); 00035 00036 #endif