s3:smb: include "smbXsrv.h" before "vfs.h"
[Samba.git] / librpc / ndr / ndr_table.h
blob207618f644e8c009efc61ee158d114cfc8b6a46a
1 /*
2 Unix SMB/CIFS implementation.
4 dcerpc utility functions
6 Copyright (C) Andrew Tridgell 2003
7 Copyright (C) Jelmer Vernooij 2004
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 3 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/>.
23 #ifndef _NDR_TABLE_PROTO_H_
24 #define _NDR_TABLE_PROTO_H_
26 NTSTATUS ndr_table_register(const struct ndr_interface_table *table);
27 const char *ndr_interface_name(const struct GUID *uuid, uint32_t if_version);
28 int ndr_interface_num_calls(const struct GUID *uuid, uint32_t if_version);
29 const struct ndr_interface_table *ndr_table_by_name(const char *name);
30 const struct ndr_interface_table *ndr_table_by_uuid(const struct GUID *uuid);
31 const struct ndr_interface_list *ndr_table_list(void);
32 NTSTATUS ndr_table_init(void);
33 NTSTATUS ndr_table_register_builtin_tables(void);
35 #endif /* _NDR_TABLE_PROTO_H_ */