diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-09-19 13:56:13 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-03-10 14:31:14 +0100 |
commit | eceea8641e9079534a15ce01d24ef94acbe49d98 (patch) | |
tree | ae35990a46a71a80039232024f1aee95faa898d2 | |
parent | 6e4e3f57e43189fa2944c841982621594d167d2d (diff) | |
download | samba-eceea8641e9079534a15ce01d24ef94acbe49d98.tar.gz samba-eceea8641e9079534a15ce01d24ef94acbe49d98.tar.bz2 samba-eceea8641e9079534a15ce01d24ef94acbe49d98.zip |
librpc/ndr: add ndr_interface_call_pipe
metze
-rw-r--r-- | librpc/ndr/libndr.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/librpc/ndr/libndr.h b/librpc/ndr/libndr.h index c9e8a6272e..64c858d950 100644 --- a/librpc/ndr/libndr.h +++ b/librpc/ndr/libndr.h @@ -330,12 +330,28 @@ extern const struct ndr_syntax_id ndr_transfer_syntax; extern const struct ndr_syntax_id ndr64_transfer_syntax; extern const struct ndr_syntax_id null_ndr_syntax_id; +struct ndr_interface_call_pipe { + const char *name; + const char *chunk_struct_name; + size_t chunk_struct_size; + ndr_push_flags_fn_t ndr_push; + ndr_pull_flags_fn_t ndr_pull; + ndr_print_fn_t ndr_print; +}; + +struct ndr_interface_call_pipes { + uint32_t num_pipes; + const struct ndr_interface_call_pipe *pipes; +}; + struct ndr_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; + struct ndr_interface_call_pipes in_pipes; + struct ndr_interface_call_pipes out_pipes; }; struct ndr_interface_string_array { |