buildtools: Always reset the build environment
[Samba.git] / librpc / ndr / ndr_table.h
blob1f6858a5f04c8434c9127379e598da4f5de3f685
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_syntax(const struct ndr_syntax_id *syntax);
31 const struct ndr_interface_table *ndr_table_by_uuid(const struct GUID *uuid);
32 const struct ndr_interface_list *ndr_table_list(void);
33 NTSTATUS ndr_table_init(void);
34 NTSTATUS ndr_table_register_builtin_tables(void);
36 #endif /* _NDR_TABLE_PROTO_H_ */