r24712: No longer expose the 'BOOL' data type in any interfaces.
[jelmer/samba4-debian.git] / source / librpc / ndr / libndr.h
index 16d215e053d3c7abeb7492ae8c14ede4c0976b49..e138b3eac9940b7da38e6fc0d72f78bb23e2a823 100644 (file)
@@ -296,7 +296,27 @@ struct ndr_interface_call {
        ndr_push_flags_fn_t ndr_push;
        ndr_pull_flags_fn_t ndr_pull;
        ndr_print_function_t ndr_print;
-       BOOL async;
+       bool async;
+};
+
+struct ndr_interface_string_array {
+       uint32_t count;
+       const char * const *names;
+};
+
+struct ndr_interface_table {
+       const char *name;
+       struct ndr_syntax_id syntax_id;
+       const char *helpstring;
+       uint32_t num_calls;
+       const struct ndr_interface_call *calls;
+       const struct ndr_interface_string_array *endpoints;
+       const struct ndr_interface_string_array *authservices;
+};
+
+struct ndr_interface_list {
+       struct ndr_interface_list *prev, *next;
+       const struct ndr_interface_table *table;
 };
 
 /* FIXME: Use represent_as instead */