1 |
/* ---------------------------------------------------------------------------- |
---|
2 |
libconfig - A structured configuration file parsing library |
---|
3 |
Copyright (C) 2005 Mark A Lindner |
---|
4 |
|
---|
5 |
This file is part of libconfig. |
---|
6 |
|
---|
7 |
This library is free software; you can redistribute it and/or |
---|
8 |
modify it under the terms of the GNU Lesser General Public License |
---|
9 |
as published by the Free Software Foundation; either version 2.1 of |
---|
10 |
the License, or (at your option) any later version. |
---|
11 |
|
---|
12 |
This library is distributed in the hope that it will be useful, but |
---|
13 |
WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
15 |
Lesser General Public License for more details. |
---|
16 |
|
---|
17 |
You should have received a copy of the GNU Lesser General Public |
---|
18 |
License along with this library; if not, write to the Free Software |
---|
19 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
---|
20 |
---------------------------------------------------------------------------- |
---|
21 |
*/ |
---|
22 |
|
---|
23 |
#ifndef __libconfig_private_h |
---|
24 |
#define __libconfig_private_h |
---|
25 |
|
---|
26 |
#include "libconfig.h" |
---|
27 |
|
---|
28 |
struct parse_context |
---|
29 |
{ |
---|
30 |
config_t *config; |
---|
31 |
config_setting_t *parent; |
---|
32 |
config_setting_t *setting; |
---|
33 |
char *name; |
---|
34 |
}; |
---|
35 |
|
---|
36 |
// --------------------------------------------------------------------------- |
---|
37 |
#endif // __libconfig_private_h |
---|