From f5769109447d8da0f09b102d444a816ad97a00dc Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Fri, 9 May 2008 23:22:12 +0200 Subject: net: Remove globals (This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e) --- source3/include/includes.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source3/include/includes.h') 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; }; -- cgit