Fix bug 8196 - Many (newer) header files don't have copyright / GPL header comments.
[obnox/samba-ctdb.git] / librpc / ndr / ndr_table.h
1 #ifndef _NDR_TABLE_PROTO_H_
2 #define _NDR_TABLE_PROTO_H_
3
4 /*
5    Unix SMB/CIFS implementation.
6
7    (C) 2011 Samba Team.
8
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.
13
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.
18
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/>.
21 */
22
23 NTSTATUS ndr_table_register(const struct ndr_interface_table *table);
24 const char *ndr_interface_name(const struct GUID *uuid, uint32_t if_version);
25 int ndr_interface_num_calls(const struct GUID *uuid, uint32_t if_version);
26 const struct ndr_interface_table *ndr_table_by_name(const char *name);
27 const struct ndr_interface_table *ndr_table_by_uuid(const struct GUID *uuid);
28 const struct ndr_interface_list *ndr_table_list(void);
29 NTSTATUS ndr_table_init(void);
30 NTSTATUS ndr_table_register_builtin_tables(void);
31
32 #endif /* _NDR_TABLE_PROTO_H_ */
33