summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-12-20 03:22:51 +0000
committerAndrew Tridgell <tridge@samba.org>2000-12-20 03:22:51 +0000
commitabb9a2de72073a8a6f332b60d74af9eb6c3d6f25 (patch)
treed7814a9822c7c0481e227a5620db122d595264c2 /source3/include/smb.h
parent7bf9d8ce4bb7e96a4c72f674e21d015b1ef1481e (diff)
downloadsamba-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/smb.h')
-rw-r--r--source3/include/smb.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index f97e7cd9f5..430b51b8b5 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1553,6 +1553,16 @@ struct nmb_name {
unsigned int name_type;
};
+
+/* A netbios node status array element. */
+struct node_status {
+ char name[16];
+ unsigned char type;
+ unsigned char flags;
+};
+
+
+
#define AGENT_CMD_CON 0
#define AGENT_CMD_CON_ANON 2
#define AGENT_CMD_CON_REUSE 1