summaryrefslogtreecommitdiffstats
path: root/private/net/svcdlls/browser/server/browslst.h
diff options
context:
space:
mode:
Diffstat (limited to 'private/net/svcdlls/browser/server/browslst.h')
-rw-r--r--private/net/svcdlls/browser/server/browslst.h95
1 files changed, 95 insertions, 0 deletions
diff --git a/private/net/svcdlls/browser/server/browslst.h b/private/net/svcdlls/browser/server/browslst.h
new file mode 100644
index 000000000..492275d8b
--- /dev/null
+++ b/private/net/svcdlls/browser/server/browslst.h
@@ -0,0 +1,95 @@
+/*++
+
+Copyright (c) 1991 Microsoft Corporation
+
+Module Name:
+
+ browselst.h
+
+Abstract:
+
+ Private header file to be included by Browser service modules that
+ need to deal with the browser list.
+
+Author:
+
+ Larry Osterman (larryo) 3-Mar-1992
+
+Revision History:
+
+--*/
+
+
+#ifndef _BROWSELST_INCLUDED_
+#define _BROWSELST_INCLUDED_
+
+
+//
+// The possible roles of this browser server.
+//
+
+
+#define ROLE_POTENTIAL_BACKUP 0x00000001
+#define ROLE_BACKUP 0x00000002
+#define ROLE_MASTER 0x00000004
+#define ROLE_DOMAINMASTER 0x00000008
+
+
+//
+// The HOST_ENTRY structure holds the announcement inside a per-network
+// table.
+//
+
+
+typedef struct _HOST_ENTRY {
+
+ //
+ // The HostName is the name of the server.
+ //
+
+ UNICODE_STRING HostName;
+
+ //
+ // The HostComment is the comment associated with the server
+ //
+
+ UNICODE_STRING HostComment;
+
+ //
+ // Services is a bitmask that indicates the services running on the
+ // server (See LMSERVER.H for details).
+ //
+
+ ULONG Services;
+
+ //
+ // The Periodicity is the frequency that the server announces itself.
+ //
+
+ ULONG Periodicity;
+
+ //
+ // The MajorVersion and MinorVersion number of the software running on
+ // the server.
+ //
+
+ UCHAR MajorVersion;
+ UCHAR MinorVersion;
+
+ //
+ // If this server is a backup server, then this links the backup server
+ // into the network block.
+ //
+
+ LIST_ENTRY BackupChain;
+
+ //
+ // If this server is a domain master, than this links the server into
+ // the network block.
+ //
+
+ LIST_ENTRY DomainMasterChain;
+
+} HOST_ENTRY, *PHOST_ENTRY;
+
+#endif // _BROWSELST_INCLUDED_