r21745: indent
[Samba/ekacnet.git] / source4 / param / param.h
blobdad5f12b156f7310248d6c012e6f58e5f9d5a693
1 /*
2 Unix SMB/CIFS implementation.
3 Generic parameter parsing interface
4 Copyright (C) Jelmer Vernooij 2005
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 #ifndef _PARAM_H /* _PARAM_H */
22 #define _PARAM_H
24 struct param_context {
25 struct param_section *sections;
28 struct param {
29 const char *name;
30 char *value;
31 const char **list_value;
32 struct param *prev, *next;
35 struct param_section {
36 const char *name;
37 struct param_section *prev, *next;
38 struct param *parameters;
41 struct param_context;
42 struct smbsrv_connection;
44 #define Auto (2)
46 #include "param/proto.h"
48 #endif /* _PARAM_H */