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 3 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, see <http://www.gnu.org/licenses/>.
20 #ifndef _PARAM_H /* _PARAM_H */
24 struct param_opt *prev, *next;
30 struct param_context {
31 struct param_section *sections;
34 struct param_section {
36 struct param_section *prev, *next;
37 struct param_opt *parameters;
41 struct smbsrv_connection;
45 typedef NTSTATUS (*init_module_fn) (void);
50 ROLE_DOMAIN_CONTROLLER=2,
53 enum announce_as {/* Types of machine we can announce as. */
54 ANNOUNCE_AS_NT_SERVER=1,
57 ANNOUNCE_AS_NT_WORKSTATION=4
60 struct loadparm_context;
61 struct loadparm_service;
62 struct smbcli_options;
64 #include "param/proto.h"
66 extern struct loadparm_context *global_loadparm;