diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-12-20 03:22:51 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-12-20 03:22:51 +0000 |
commit | abb9a2de72073a8a6f332b60d74af9eb6c3d6f25 (patch) | |
tree | d7814a9822c7c0481e227a5620db122d595264c2 /source3/include/proto.h | |
parent | 7bf9d8ce4bb7e96a4c72f674e21d015b1ef1481e (diff) | |
download | samba-abb9a2de72073a8a6f332b60d74af9eb6c3d6f25.tar.gz samba-abb9a2de72073a8a6f332b60d74af9eb6c3d6f25.tar.bz2 samba-abb9a2de72073a8a6f332b60d74af9eb6c3d6f25.zip |
implemented a much nicer name_status() interface. It now returns a
list of structures rather than the dodgy parsing code we had before
this also gets smbw working correctly with no initial workgroup (using
name_status_find on __MSBROWSE__ returns)
(This used to be commit f2be88a8738a39ca5c98936edb7537cd701348a1)
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 168600a59f..c92aeae6f1 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -840,8 +840,9 @@ BOOL deal_with_creds(uchar sess_key[8], /*The following definitions come from libsmb/namequery.c */ -BOOL name_status(int fd,char *name,int name_type,BOOL recurse, - struct in_addr to_ip,char *master,char *rname); +struct node_status *name_status_query(int fd,struct nmb_name *name, + struct in_addr to_ip, int *num_names); +BOOL name_status_find(int type, struct in_addr to_ip, char *name); struct in_addr *name_query(int fd,const char *name,int name_type, BOOL bcast,BOOL recurse, struct in_addr to_ip, int *count); |