diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-14 15:22:36 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:57:17 -0500 |
commit | 61933e159cc2a8399f8bb1fa53844a67f8bba55b (patch) | |
tree | baba882669ebcca5508caadf017fe2e81e561d6c /source4/param/param.h | |
parent | e3f2414cf9e582a4e4deecc662b64a7bb2679a34 (diff) | |
download | samba-61933e159cc2a8399f8bb1fa53844a67f8bba55b.tar.gz samba-61933e159cc2a8399f8bb1fa53844a67f8bba55b.tar.xz samba-61933e159cc2a8399f8bb1fa53844a67f8bba55b.zip |
r14381: Kill structs.h
(This used to be commit 1ffb82a7596f989c90df69573083a2c2e28f8808)
Diffstat (limited to 'source4/param/param.h')
-rw-r--r-- | source4/param/param.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/source4/param/param.h b/source4/param/param.h new file mode 100644 index 00000000000..923b06eb864 --- /dev/null +++ b/source4/param/param.h @@ -0,0 +1,46 @@ +/* + Unix SMB/CIFS implementation. + Generic parameter parsing interface + Copyright (C) Jelmer Vernooij 2005 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + +#ifndef _PARAM_H /* _PARAM_H */ +#define _PARAM_H + +struct param_context { + struct param_section *sections; +}; + +struct param { + const char *name; + char *value; + const char **list_value; + struct param *prev, *next; +}; + +struct param_section { + const char *name; + struct param_section *prev, *next; + struct param *parameters; +}; + +struct param_context; +struct smbsrv_connection; + +#include "param/proto.h" + +#endif /* _PARAM_H */ |