summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2008-05-09 23:22:12 +0200
committerKai Blin <kai@samba.org>2008-05-10 09:22:27 +0200
commitf5769109447d8da0f09b102d444a816ad97a00dc (patch)
treefe7b470486ace083b3f48a54334a3db0bb9633d2 /source3/include
parent378527215e663c0c9d36c565a16723e0a1979ea0 (diff)
downloadsamba-f5769109447d8da0f09b102d444a816ad97a00dc.tar.gz
samba-f5769109447d8da0f09b102d444a816ad97a00dc.tar.bz2
samba-f5769109447d8da0f09b102d444a816ad97a00dc.zip
net: Remove globals
(This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 70e1b48fa1..d9c699a439 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -727,14 +727,16 @@ typedef char fstring[FSTRING_LEN];
#include "lib/smbconf/smbconf.h"
/* used in net.c */
+struct net_context;
+
struct functable {
const char *funcname;
- int (*fn)(int argc, const char **argv);
+ int (*fn)(struct net_context *c, int argc, const char **argv);
};
struct functable2 {
const char *funcname;
- int (*fn)(int argc, const char **argv);
+ int (*fn)(struct net_context *c, int argc, const char **argv);
const char *helptext;
};