diff options
author | Volker Lendecke <vl@samba.org> | 2009-03-12 10:12:58 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-03-12 10:20:08 +0100 |
commit | b17f9e15efcc5a826b07afa22c8321d2c653ae72 (patch) | |
tree | 80bf84dbee5dc5e7f853ebb5aecf06e43a427014 /source3/winbindd/winbindd.c | |
parent | 483525f73c5597c0c35de4288d97f53b9d3d262e (diff) | |
download | samba-b17f9e15efcc5a826b07afa22c8321d2c653ae72.tar.gz samba-b17f9e15efcc5a826b07afa22c8321d2c653ae72.tar.bz2 samba-b17f9e15efcc5a826b07afa22c8321d2c653ae72.zip |
Make opt_nocache static to winbindd.c
Diffstat (limited to 'source3/winbindd/winbindd.c')
-rw-r--r-- | source3/winbindd/winbindd.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c index e455d936e0..f5812f9e65 100644 --- a/source3/winbindd/winbindd.c +++ b/source3/winbindd/winbindd.c @@ -28,7 +28,7 @@ #undef DBGC_CLASS #define DBGC_CLASS DBGC_WINBIND -bool opt_nocache = False; +static bool opt_nocache = False; static bool interactive = False; extern bool override_logfile; @@ -1090,6 +1090,16 @@ static void process_loop(void) #endif } +bool winbindd_use_idmap_cache(void) +{ + return !opt_nocache; +} + +bool winbindd_use_cache(void) +{ + return !opt_nocache; +} + /* Main function */ int main(int argc, char **argv, char **envp) |