From abb9a2de72073a8a6f332b60d74af9eb6c3d6f25 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 20 Dec 2000 03:22:51 +0000 Subject: 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) --- source3/include/smb.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source3/include/smb.h') 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 -- cgit