summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-01-09 18:32:20 +0100
committerVolker Lendecke <vl@samba.org>2009-01-09 23:08:16 +0100
commitf8f878285d348e43a22385c1907dff3e120d4b59 (patch)
treea24c17881abc2eed03885908b2ad29c77402fb71 /source3
parentad6e9c60124ed30ee035cd522db3c4e561e4543a (diff)
downloadsamba-f8f878285d348e43a22385c1907dff3e120d4b59.tar.gz
samba-f8f878285d348e43a22385c1907dff3e120d4b59.tar.bz2
samba-f8f878285d348e43a22385c1907dff3e120d4b59.zip
Add derpc_transport_string_by_transport(), apply some const
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 2a7547334c..e65369e421 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2292,7 +2292,8 @@ _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(struct epm_tower *tower);
+_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);