summaryrefslogtreecommitdiff
path: root/source3/libsmb/clientgen.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-04 11:25:06 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-04 11:25:06 +0000
commit1970c92c0a56672308314d39718f994302c95c95 (patch)
treec86bf6108aac78b6d8d6c7581d2809f1a7063668 /source3/libsmb/clientgen.c
parentf2c43ee03933b10cd815af233910d3a0c756f219 (diff)
downloadsamba-1970c92c0a56672308314d39718f994302c95c95.tar.gz
samba-1970c92c0a56672308314d39718f994302c95c95.tar.bz2
samba-1970c92c0a56672308314d39718f994302c95c95.zip
support NetServerEnum in smbwrapper. You can now do a ls in /smb/ and
it will list all servers in your workgroup. You can set your workgroup with the SMBW_WORKGROUP environment variable. (This used to be commit 64699810e2d94e8648a0a3341b1cc826d4e8bfd9)
Diffstat (limited to 'source3/libsmb/clientgen.c')
-rw-r--r--source3/libsmb/clientgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index 20c0c36166..6b07eb65b3 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -535,7 +535,7 @@ The callback function takes 3 arguments: the machine name, the server type and
the comment.
****************************************************************************/
BOOL cli_NetServerEnum(struct cli_state *cli, char *workgroup, uint32 stype,
- void (*fn)(char *, uint32, char *))
+ void (*fn)(const char *, uint32, const char *))
{
char *rparam = NULL;
char *rdata = NULL;