diff options
-rw-r--r-- | source3/utils/net_proto.h | 24 | ||||
-rw-r--r-- | source3/utils/net_rpc_samsync.c | 48 |
2 files changed, 24 insertions, 48 deletions
diff --git a/source3/utils/net_proto.h b/source3/utils/net_proto.h index 2475c9f35d..22a44c4cf6 100644 --- a/source3/utils/net_proto.h +++ b/source3/utils/net_proto.h @@ -332,32 +332,8 @@ NTSTATUS rpc_samdump_internals(struct net_context *c, int argc, const char **argv); int rpc_vampire_usage(struct net_context *c, int argc, const char **argv); -NTSTATUS rpc_vampire_internals(struct net_context *c, - const struct dom_sid *domain_sid, - const char *domain_name, - struct cli_state *cli, - struct rpc_pipe_client *pipe_hnd, - TALLOC_CTX *mem_ctx, - int argc, - const char **argv); int rpc_vampire_passdb(struct net_context *c, int argc, const char **argv); int rpc_vampire_ldif(struct net_context *c, int argc, const char **argv); -NTSTATUS rpc_vampire_ldif_internals(struct net_context *c, - const struct dom_sid *domain_sid, - const char *domain_name, - struct cli_state *cli, - struct rpc_pipe_client *pipe_hnd, - TALLOC_CTX *mem_ctx, - int argc, - const char **argv); -NTSTATUS rpc_vampire_keytab_internals(struct net_context *c, - const struct dom_sid *domain_sid, - const char *domain_name, - struct cli_state *cli, - struct rpc_pipe_client *pipe_hnd, - TALLOC_CTX *mem_ctx, - int argc, - const char **argv); int rpc_vampire_keytab(struct net_context *c, int argc, const char **argv); /* The following definitions come from utils/net_rpc_service.c */ diff --git a/source3/utils/net_rpc_samsync.c b/source3/utils/net_rpc_samsync.c index f115259885..cd7131bd89 100644 --- a/source3/utils/net_rpc_samsync.c +++ b/source3/utils/net_rpc_samsync.c @@ -176,14 +176,14 @@ int rpc_vampire_usage(struct net_context *c, int argc, const char **argv) /* dump sam database via samsync rpc calls */ -NTSTATUS rpc_vampire_internals(struct net_context *c, - const struct dom_sid *domain_sid, - const char *domain_name, - struct cli_state *cli, - struct rpc_pipe_client *pipe_hnd, - TALLOC_CTX *mem_ctx, - int argc, - const char **argv) +static NTSTATUS rpc_vampire_internals(struct net_context *c, + const struct dom_sid *domain_sid, + const char *domain_name, + struct cli_state *cli, + struct rpc_pipe_client *pipe_hnd, + TALLOC_CTX *mem_ctx, + int argc, + const char **argv) { NTSTATUS result; struct samsync_context *ctx = NULL; @@ -269,14 +269,14 @@ int rpc_vampire_passdb(struct net_context *c, int argc, const char **argv) rpc_vampire_internals, argc, argv); } -NTSTATUS rpc_vampire_ldif_internals(struct net_context *c, - const struct dom_sid *domain_sid, - const char *domain_name, - struct cli_state *cli, - struct rpc_pipe_client *pipe_hnd, - TALLOC_CTX *mem_ctx, - int argc, - const char **argv) +static NTSTATUS rpc_vampire_ldif_internals(struct net_context *c, + const struct dom_sid *domain_sid, + const char *domain_name, + struct cli_state *cli, + struct rpc_pipe_client *pipe_hnd, + TALLOC_CTX *mem_ctx, + int argc, + const char **argv) { NTSTATUS status; struct samsync_context *ctx = NULL; @@ -354,14 +354,14 @@ int rpc_vampire_ldif(struct net_context *c, int argc, const char **argv) } -NTSTATUS rpc_vampire_keytab_internals(struct net_context *c, - const struct dom_sid *domain_sid, - const char *domain_name, - struct cli_state *cli, - struct rpc_pipe_client *pipe_hnd, - TALLOC_CTX *mem_ctx, - int argc, - const char **argv) +static NTSTATUS rpc_vampire_keytab_internals(struct net_context *c, + const struct dom_sid *domain_sid, + const char *domain_name, + struct cli_state *cli, + struct rpc_pipe_client *pipe_hnd, + TALLOC_CTX *mem_ctx, + int argc, + const char **argv) { NTSTATUS status; struct samsync_context *ctx = NULL; |