summaryrefslogtreecommitdiff
path: root/source3/utils/net_proto.h
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2008-05-18 10:56:32 +0200
committerKai Blin <kai@samba.org>2008-06-10 09:45:14 +0200
commit6fd35d25bff4e1ceef07613c732dd7800afda35f (patch)
treec2414234758346b1873f30cfd3b5e944522897a9 /source3/utils/net_proto.h
parent4d9748e44dc58e026136ce0c28526ba4cf1d4f3e (diff)
downloadsamba-6fd35d25bff4e1ceef07613c732dd7800afda35f.tar.gz
samba-6fd35d25bff4e1ceef07613c732dd7800afda35f.tar.bz2
samba-6fd35d25bff4e1ceef07613c732dd7800afda35f.zip
net: Move net_run_function/net_run_function2 to net_util.c
(This used to be commit 73fb5f392dbc1966ec34217e39d565200e071aaf)
Diffstat (limited to 'source3/utils/net_proto.h')
-rw-r--r--source3/utils/net_proto.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/utils/net_proto.h b/source3/utils/net_proto.h
index 7606ba7e08..5af9d9e2cd 100644
--- a/source3/utils/net_proto.h
+++ b/source3/utils/net_proto.h
@@ -43,12 +43,6 @@ void debug_unix_user_token(int dbg_class, int dbg_lev, uid_t uid, gid_t gid,
/* The following definitions come from utils/net.c */
uint32 get_sec_channel_type(const char *param);
-int net_run_function(struct net_context *c, int argc, const char **argv,
- struct functable *table,
- int (*usage_fn)(struct net_context *c,
- int argc, const char **argv));
-int net_run_function2(struct net_context *c, int argc, const char **argv,
- const char *whoami, struct functable2 *table);
/* The following definitions come from utils/net_ads.c */
@@ -460,6 +454,12 @@ NTSTATUS net_make_ipc_connection_ex(struct net_context *c ,const char *domain,
struct sockaddr_storage *pss,
unsigned flags, struct cli_state **pcli);
const char *net_prompt_pass(struct net_context *c, const char *user);
+int net_run_function(struct net_context *c, int argc, const char **argv,
+ struct functable *table,
+ int (*usage_fn)(struct net_context *c,
+ int argc, const char **argv));
+int net_run_function2(struct net_context *c, int argc, const char **argv,
+ const char *whoami, struct functable2 *table);
/* The following definitions come from utils/netlookup.c */