summaryrefslogtreecommitdiff
path: root/source3/librpc/rpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@sernet.private>2010-03-19 19:16:35 +0100
committerStefan Metzmacher <metze@samba.org>2010-03-23 18:44:31 +0100
commit845f9c01ed279495919e2781db2e8927ebd3e968 (patch)
treeac035c712dd258e2de2567b03d2713cef58f1c04 /source3/librpc/rpc
parentbf9f24f571e87f5c6ae39cf68c5af3c99664a102 (diff)
downloadsamba-845f9c01ed279495919e2781db2e8927ebd3e968.tar.gz
samba-845f9c01ed279495919e2781db2e8927ebd3e968.tar.bz2
samba-845f9c01ed279495919e2781db2e8927ebd3e968.zip
s3:librpc/rpc: move prototypes to dcerpc.h
metze
Diffstat (limited to 'source3/librpc/rpc')
-rw-r--r--source3/librpc/rpc/dcerpc.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/source3/librpc/rpc/dcerpc.h b/source3/librpc/rpc/dcerpc.h
index 07e03e9612..0c120dfef5 100644
--- a/source3/librpc/rpc/dcerpc.h
+++ b/source3/librpc/rpc/dcerpc.h
@@ -93,4 +93,22 @@ struct dcerpc_binding {
/* use NDR64 transport */
#define DCERPC_NDR64 (1<<21)
+/* The following definitions come from librpc/rpc/binding.c */
+
+const char *epm_floor_string(TALLOC_CTX *mem_ctx, struct epm_floor *epm_floor);
+_PUBLIC_ char *dcerpc_binding_string(TALLOC_CTX *mem_ctx, const struct dcerpc_binding *b);
+_PUBLIC_ NTSTATUS dcerpc_parse_binding(TALLOC_CTX *mem_ctx, const char *s, struct dcerpc_binding **b_out);
+_PUBLIC_ NTSTATUS dcerpc_floor_get_lhs_data(const struct epm_floor *epm_floor,
+ struct ndr_syntax_id *syntax);
+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);
+_PUBLIC_ enum dcerpc_transport_t dcerpc_transport_by_tower(const struct epm_tower *tower);
+_PUBLIC_ const char *derpc_transport_string_by_transport(enum dcerpc_transport_t t);
+_PUBLIC_ NTSTATUS dcerpc_binding_from_tower(TALLOC_CTX *mem_ctx,
+ struct epm_tower *tower,
+ struct dcerpc_binding **b_out);
+_PUBLIC_ NTSTATUS dcerpc_binding_build_tower(TALLOC_CTX *mem_ctx,
+ const struct dcerpc_binding *binding,
+ struct epm_tower *tower);
+
#endif /* __DCERPC_H__ */