diff options
author | Günther Deschner <gd@samba.org> | 2011-03-23 23:59:11 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-03-23 23:59:11 +0100 |
commit | b903c289390741e423c7457e7ee82c8c5cb8b74b (patch) | |
tree | 769dce75b8a6fa8688139d7e0536f9da84c8629b /librpc/rpc | |
parent | d2d3ac66eccbd5d1141f90b791704acf26f0227e (diff) | |
download | samba-b903c289390741e423c7457e7ee82c8c5cb8b74b.tar.gz samba-b903c289390741e423c7457e7ee82c8c5cb8b74b.tar.bz2 samba-b903c289390741e423c7457e7ee82c8c5cb8b74b.zip |
librpc: bring more librpc prototypes in common.
Guenther
Diffstat (limited to 'librpc/rpc')
-rw-r--r-- | librpc/rpc/rpc_common.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/librpc/rpc/rpc_common.h b/librpc/rpc/rpc_common.h index fae303f630..d0ffe61c2a 100644 --- a/librpc/rpc/rpc_common.h +++ b/librpc/rpc/rpc_common.h @@ -30,6 +30,7 @@ struct ndr_push; struct ndr_pull; struct ncacn_packet; struct epm_floor; +struct epm_tower; struct tevent_context; struct tstream_context; @@ -116,6 +117,17 @@ NTSTATUS dcerpc_fault_to_nt_status(uint32_t fault_code); const char *epm_floor_string(TALLOC_CTX *mem_ctx, struct epm_floor *epm_floor); const char *dcerpc_floor_get_rhs_data(TALLOC_CTX *mem_ctx, struct epm_floor *epm_floor); enum dcerpc_transport_t dcerpc_transport_by_endpoint_protocol(int prot); +NTSTATUS dcerpc_binding_build_tower(TALLOC_CTX *mem_ctx, + const struct dcerpc_binding *binding, + struct epm_tower *tower); +NTSTATUS dcerpc_binding_from_tower(TALLOC_CTX *mem_ctx, + struct epm_tower *tower, + struct dcerpc_binding **b_out); +NTSTATUS dcerpc_parse_binding(TALLOC_CTX *mem_ctx, const char *s, struct dcerpc_binding **b_out); +char *dcerpc_binding_string(TALLOC_CTX *mem_ctx, const struct dcerpc_binding *b); +NTSTATUS dcerpc_floor_get_lhs_data(const struct epm_floor *epm_floor, struct ndr_syntax_id *syntax); +const char *derpc_transport_string_by_transport(enum dcerpc_transport_t t); +enum dcerpc_transport_t dcerpc_transport_by_tower(const struct epm_tower *tower); /* The following definitions come from ../librpc/rpc/dcerpc_util.c */ |