Make the logic a lot clearer and fix the comment to match.
[Samba.git] / librpc / ndr / ndr_table.h
blob9e8fea1db6a2ee99492fe95f860e9441221fd122
1 #ifndef _NDR_TABLE_PROTO_H_
2 #define _NDR_TABLE_PROTO_H_
4 NTSTATUS ndr_table_register(const struct ndr_interface_table *table);
5 const char *ndr_interface_name(const struct GUID *uuid, uint32_t if_version);
6 int ndr_interface_num_calls(const struct GUID *uuid, uint32_t if_version);
7 const struct ndr_interface_table *ndr_table_by_name(const char *name);
8 const struct ndr_interface_table *ndr_table_by_uuid(const struct GUID *uuid);
9 const struct ndr_interface_list *ndr_table_list(void);
10 NTSTATUS ndr_table_init(void);
11 NTSTATUS ndr_table_register_builtin_tables(void);
13 #endif /* _NDR_TABLE_PROTO_H_ */