diff options
author | Herb Lewis <herb@samba.org> | 1998-12-16 23:37:49 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 1998-12-16 23:37:49 +0000 |
commit | 75da3f03e321c06ec2dcc8edbdad850c1322f824 (patch) | |
tree | db2981038434d07c205416fb15685fe685bcd348 /source/param/loadparm.c | |
parent | b9b6af70047e52bac4089f4898c5ffd8e6b5d3d5 (diff) | |
download | samba-75da3f03e321c06ec2dcc8edbdad850c1322f824.tar.gz samba-75da3f03e321c06ec2dcc8edbdad850c1322f824.tar.xz samba-75da3f03e321c06ec2dcc8edbdad850c1322f824.zip |
loadparm.c added function to reset number of services (for swat)
swat.c fixed create new share and printer
proto.h new function in loadparm.c
Diffstat (limited to 'source/param/loadparm.c')
-rw-r--r-- | source/param/loadparm.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/param/loadparm.c b/source/param/loadparm.c index 0d3e78d01aa..84f186756f7 100644 --- a/source/param/loadparm.c +++ b/source/param/loadparm.c @@ -2529,6 +2529,14 @@ BOOL lp_load(char *pszFname,BOOL global_only, BOOL save_defaults, BOOL add_ipc) /*************************************************************************** +reset the max number of services +***************************************************************************/ +void lp_resetnumservices(void) +{ + iNumServices = 0; +} + +/*************************************************************************** return the max number of services ***************************************************************************/ int lp_numservices(void) |