diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-24 11:45:33 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-24 11:45:33 +0000 |
commit | bbb11d4a0dc02a6125855620e0a59a6b24107e4d (patch) | |
tree | eccf9712b09d9936a5e8eed05c72596a3e8035c7 /source4/librpc/rpc/dcerpc.h | |
parent | 5e64ecac2f2de4888d83872aaf273e3c1882c772 (diff) | |
download | samba-bbb11d4a0dc02a6125855620e0a59a6b24107e4d.tar.gz samba-bbb11d4a0dc02a6125855620e0a59a6b24107e4d.tar.bz2 samba-bbb11d4a0dc02a6125855620e0a59a6b24107e4d.zip |
* prepared the dcerpc subsystem for adding the RPC over TCP transport
* fixed a uninitialised variable bug in pidl (found by valgrind)
(This used to be commit 8bce61b8af6351c72c0dd84dc61b49d8aeb1fbbd)
Diffstat (limited to 'source4/librpc/rpc/dcerpc.h')
-rw-r--r-- | source4/librpc/rpc/dcerpc.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h index 6ba0f8429a..e0e7c8bd5a 100644 --- a/source4/librpc/rpc/dcerpc.h +++ b/source4/librpc/rpc/dcerpc.h @@ -31,13 +31,21 @@ struct dcerpc_pipe { TALLOC_CTX *mem_ctx; - uint16 fnum; int reference_count; uint32 call_id; uint32 srv_max_xmit_frag; uint32 srv_max_recv_frag; - struct cli_tree *tree; unsigned flags; + + struct dcerpc_transport { + void *private; + NTSTATUS (*full_request)(struct dcerpc_pipe *, + TALLOC_CTX *, DATA_BLOB *, DATA_BLOB *); + NTSTATUS (*secondary_request)(struct dcerpc_pipe *, TALLOC_CTX *, DATA_BLOB *); + NTSTATUS (*initial_request)(struct dcerpc_pipe *, TALLOC_CTX *, DATA_BLOB *); + NTSTATUS (*shutdown_pipe)(struct dcerpc_pipe *); + const char *(*peer_name)(struct dcerpc_pipe *); + } transport; }; /* dcerpc pipe flags */ |