summaryrefslogtreecommitdiff
path: root/source3/msdfs
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2000-03-10 17:12:24 +0000
committerJean-François Micouleau <jfm@samba.org>2000-03-10 17:12:24 +0000
commite0ebb76a7453c07c16e8f736233226a774ab58e8 (patch)
tree4fd3de938678780c5c443e68ebb0e258b1ca9447 /source3/msdfs
parent115d98e639b94fdd0773bfb9516af14d857c59d2 (diff)
downloadsamba-e0ebb76a7453c07c16e8f736233226a774ab58e8.tar.gz
samba-e0ebb76a7453c07c16e8f736233226a774ab58e8.tar.bz2
samba-e0ebb76a7453c07c16e8f736233226a774ab58e8.zip
getprinter level 0: was to short, found most of the fields, undocumented,
undecoded, nothing in MSDN, but now it works :-) cleanup of error codes. fixed some dfs declarations function. J.F. (This used to be commit 87da4404aba29a2ebd999886e4c06958c96d3e05)
Diffstat (limited to 'source3/msdfs')
-rw-r--r--source3/msdfs/msdfs_tdb.c4
-rw-r--r--source3/msdfs/parse_dfs_map.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/msdfs/msdfs_tdb.c b/source3/msdfs/msdfs_tdb.c
index 6f3b150c1e..9ea5fe6641 100644
--- a/source3/msdfs/msdfs_tdb.c
+++ b/source3/msdfs/msdfs_tdb.c
@@ -242,7 +242,7 @@ BOOL isDfsShare(char* svc,char* vol)
}
-void msdfs_close()
+void msdfs_close(void)
{
if(msdfs_map != NULL)
tdb_close(msdfs_map);
@@ -250,7 +250,7 @@ void msdfs_close()
msdfs_map = NULL;
}
-void msdfs_end()
+void msdfs_end(void)
{
pstring fname;
msdfs_close();
diff --git a/source3/msdfs/parse_dfs_map.c b/source3/msdfs/parse_dfs_map.c
index d7cc2b8725..30bd010089 100644
--- a/source3/msdfs/parse_dfs_map.c
+++ b/source3/msdfs/parse_dfs_map.c
@@ -111,7 +111,7 @@ BOOL parse_referral(char* s, struct referral* ref)
return True;
}
-void load_dfsmaps()
+void load_dfsmaps(void)
{
int i=0;
if(!lp_host_msdfs())
@@ -247,7 +247,7 @@ BOOL load_dfsmap(char* fname, int snum)
#else
/* Stub function if MS_DFS is not defined */
-void load_dfsmaps()
+void load_dfsmaps(void)
{}
#endif