summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-01-04 13:02:35 +0100
committerStefan Metzmacher <metze@samba.org>2011-02-02 15:45:20 +0100
commit1c1aebae827d68feb5a94247787e97c9f4ba43a3 (patch)
tree45da2aac6b406a70474b7d268ad496352a9caa08 /source3
parent0313969aed6b6a5c7d75a3ec92b1797362a99046 (diff)
downloadsamba-1c1aebae827d68feb5a94247787e97c9f4ba43a3.tar.gz
samba-1c1aebae827d68feb5a94247787e97c9f4ba43a3.tar.bz2
samba-1c1aebae827d68feb5a94247787e97c9f4ba43a3.zip
s3:net: make some net_rpc_samsync.c functions static
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_proto.h24
-rw-r--r--source3/utils/net_rpc_samsync.c48
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;