all_string_sub() is broken as it doesn't handle mb chars correctly (and
[Samba.git] / source / include / modconf.h
blobf5cc5ef4889e85e5985837b8939e0ca5304c0e0f
1 #ifndef _MODCONF_H_
2 #define _MODCONF_H_
3 /*
4 Unix SMB/CIFS implementation.
6 ModConf headers
8 Copyright (C) Simo Sorce 2003
10 This library is free software; you can redistribute it and/or
11 modify it under the terms of the GNU Library General Public
12 License as published by the Free Software Foundation; either
13 version 2 of the License, or (at your option) any later version.
15 This library is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Library General Public License for more details.
20 You should have received a copy of the GNU Library General Public
21 License along with this library; if not, write to the
22 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23 Boston, MA 02111-1307, USA.
26 #define SAMBA_CONFIG_INTERFACE_VERSION 1
28 /* Filled out by config backends */
29 struct config_functions {
30 NTSTATUS (*init)(char *params);
31 NTSTATUS (*load)(BOOL (*sfunc)(const char *),BOOL (*pfunc)(const char *, const char *));
32 NTSTATUS (*close)(void);
34 #endif /* _MODCONF_H_ */