summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-09-07 21:08:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:51:17 -0500
commit5f8ef621b355941e846ad4943f820968761bd064 (patch)
tree5bfbade8e1b05fb771685c17f50832eadf386623
parented0274433c438a65468238f1f97c1e809fec7bab (diff)
downloadsamba-5f8ef621b355941e846ad4943f820968761bd064.tar.gz
samba-5f8ef621b355941e846ad4943f820968761bd064.tar.bz2
samba-5f8ef621b355941e846ad4943f820968761bd064.zip
r18235: stub header to get past compile issues with pidl ndr output
(This used to be commit 1eaf62557f532d02fb818458c8bf78df7a7bc904)
-rw-r--r--source3/include/dcerpc.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/source3/include/dcerpc.h b/source3/include/dcerpc.h
index e69de29bb2..d765262894 100644
--- a/source3/include/dcerpc.h
+++ b/source3/include/dcerpc.h
@@ -0,0 +1,40 @@
+/* unused. Stub to make the pidl generated NDR parsers compile */
+
+/*
+ this is used to find pointers to calls
+*/
+struct dcerpc_interface_call {
+ const char *name;
+ size_t struct_size;
+ ndr_push_flags_fn_t ndr_push;
+ ndr_pull_flags_fn_t ndr_pull;
+ ndr_print_function_t ndr_print;
+ BOOL async;
+};
+
+struct dcerpc_endpoint_list {
+ uint32_t count;
+ const char * const *names;
+};
+
+struct dcerpc_authservice_list {
+ uint32_t count;
+ const char * const *names;
+};
+
+struct dcerpc_interface_table {
+ const char *name;
+ struct dcerpc_syntax_id syntax_id;
+ const char *helpstring;
+ uint32_t num_calls;
+ const struct dcerpc_interface_call *calls;
+ const struct dcerpc_endpoint_list *endpoints;
+ const struct dcerpc_authservice_list *authservices;
+};
+
+struct dcerpc_interface_list {
+ struct dcerpc_interface_list *prev, *next;
+ const struct dcerpc_interface_table *table;
+};
+
+