diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-03-08 14:14:49 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-03-08 14:14:49 +0000 |
commit | 35d67dd80aa3ba72b75683cb1f35c81066e21223 (patch) | |
tree | 946248a3dfaf9710586856ba20e82a0a661b2a61 /source3/include/proto.h | |
parent | f3eeb2f1fa528b0d952d2519f719d30f4a2489fa (diff) | |
download | samba-35d67dd80aa3ba72b75683cb1f35c81066e21223.tar.gz samba-35d67dd80aa3ba72b75683cb1f35c81066e21223.tar.bz2 samba-35d67dd80aa3ba72b75683cb1f35c81066e21223.zip |
Jeremy is going to hate me ...
These are some hacks on SWAT. Maybe users will actually be able to
work out how to use it now.
Unfortunately these changes required some editing in loadparm.c and
smb.h which will make Jeremys merge job harder. Sorry!
(This used to be commit 674c88a6bf4c8009769a482c53f105efdc54bbc8)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 47ef5812ca..06b2d4ec78 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -29,6 +29,7 @@ char *urlquote(char *s); char *quotequotes(char *s); void quote_spaces(char *buf); void cgi_setup(char *rootdir); +char *cgi_baseurl(void); /*The following definitions come from charcnv.c */ @@ -382,9 +383,9 @@ BOOL lp_add_home(char *pszHomename, int iDefaultService, char *pszHomedir); int lp_add_service(char *pszService, int iDefaultService); BOOL lp_add_printer(char *pszPrintername, int iDefaultService); BOOL lp_file_list_changed(void); +void *lp_local_ptr(int snum, void *ptr); BOOL lp_do_parameter(int snum, char *pszParmName, char *pszParmValue); -int lp_next_parameter(int snum, int *i, char *label, - char *value, int allparameters); +struct parm_struct *lp_next_parameter(int snum, int *i, int allparameters); BOOL lp_snum_ok(int iService); BOOL lp_loaded(void); void lp_killunused(BOOL (*snumused)(int )); |