2 Unix SMB/CIFS implementation.
3 For faking up smb_register_*() functions
4 e.g. smb_register_vfs() in nmbd
5 Copyright (C) Stefan (metze) Metzmacher 2003
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 #ifndef _MODULE_DUMMY_H
23 #define _MODULE_DUMMY_H
25 #ifndef HAVE_SMB_REGISTER_AUTH
26 NTSTATUS smb_register_auth(int version, const char *name, auth_init_function init)
28 return NT_STATUS_NOT_IMPLEMENTED;
30 #endif /*HAVE_SMB_REGISTER_AUTH*/
32 #ifndef HAVE_SMB_REGISTER_PASSDB
33 NTSTATUS smb_register_passdb(int version, const char *name, pdb_init_function init)
35 return NT_STATUS_NOT_IMPLEMENTED;
37 #endif /*HAVE_SMB_REGISTER_PASSDB*/
39 #ifndef HAVE_RPC_PIPE_REGISTER_COMMANDS
40 NTSTATUS rpc_pipe_register_commands(int version, const char *clnt, const char *srv, const struct api_struct *cmds, int size)
42 return NT_STATUS_NOT_IMPLEMENTED;
44 #endif /*HAVE_RPC_PIPE_REGISTER_COMMANDS*/
46 #ifndef HAVE_SMB_REGISTER_VFS
47 NTSTATUS smb_register_vfs(int version, const char *name, vfs_op_tuple *(*init)(const struct vfs_ops *, struct smb_vfs_handle_struct *))
49 return NT_STATUS_NOT_IMPLEMENTED;
51 #endif /*HAVE_SMB_REGISTER_VFS*/
53 #endif /* _MODULE_DUMMY_H */