From c29896d0ae66f7ad19d32ded6d0333dbadcb51e2 Mon Sep 17 00:00:00 2001 From: Rafal Szczesniak Date: Sat, 11 Jun 2005 10:31:33 +0000 Subject: r7490: Rename functions and prefices s/rpc_composite/libnet_rpc/ This makes more clear where the functions belong to. Also the rule will be that lowercased function names are not part of "official" libnet API (though it doesn't mean one absolutely cannot use them). rafal (This used to be commit f6ef7b882acc6ee07422944a417a8d9013c9d8d2) --- source4/libnet/domain.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'source4/libnet/domain.c') diff --git a/source4/libnet/domain.c b/source4/libnet/domain.c index 802a3f12c0..eec2a31e3d 100644 --- a/source4/libnet/domain.c +++ b/source4/libnet/domain.c @@ -19,7 +19,7 @@ */ /* - a composite function for getting user information via samr pipe + a composite function for domain handling */ #include "includes.h" @@ -142,9 +142,9 @@ static void domain_open_handler(struct rpc_request *req) } -struct composite_context *rpc_composite_domain_open_send(struct dcerpc_pipe *p, - struct rpc_composite_domain_open *io, - void (*monitor)(struct monitor_msg*)) +struct composite_context *libnet_rpc_domain_open_send(struct dcerpc_pipe *p, + struct libnet_rpc_domain_open *io, + void (*monitor)(struct monitor_msg*)) { struct composite_context *c; struct domain_open_state *s; @@ -185,8 +185,8 @@ failure: } -NTSTATUS rpc_composite_domain_open_recv(struct composite_context *c, TALLOC_CTX *mem_ctx, - struct rpc_composite_domain_open *io) +NTSTATUS libnet_rpc_domain_open_recv(struct composite_context *c, TALLOC_CTX *mem_ctx, + struct libnet_rpc_domain_open *io) { NTSTATUS status; struct domain_open_state *s; @@ -203,10 +203,10 @@ NTSTATUS rpc_composite_domain_open_recv(struct composite_context *c, TALLOC_CTX } -NTSTATUS rpc_composite_domain_open(struct dcerpc_pipe *p, - TALLOC_CTX *mem_ctx, - struct rpc_composite_domain_open *io) +NTSTATUS libnet_rpc_domain_open(struct dcerpc_pipe *p, + TALLOC_CTX *mem_ctx, + struct libnet_rpc_domain_open *io) { - struct composite_context *c = rpc_composite_domain_open_send(p, io, NULL); - return rpc_composite_domain_open_recv(c, mem_ctx, io); + struct composite_context *c = libnet_rpc_domain_open_send(p, io, NULL); + return libnet_rpc_domain_open_recv(c, mem_ctx, io); } -- cgit