Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
1.6 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. browselst.h
  5. Abstract:
  6. Private header file to be included by Browser service modules that
  7. need to deal with the browser list.
  8. Author:
  9. Larry Osterman (larryo) 3-Mar-1992
  10. Revision History:
  11. --*/
  12. #ifndef _BROWSELST_INCLUDED_
  13. #define _BROWSELST_INCLUDED_
  14. //
  15. // The possible roles of this browser server.
  16. //
  17. #define ROLE_POTENTIAL_BACKUP 0x00000001
  18. #define ROLE_BACKUP 0x00000002
  19. #define ROLE_MASTER 0x00000004
  20. #define ROLE_DOMAINMASTER 0x00000008
  21. //
  22. // The HOST_ENTRY structure holds the announcement inside a per-network
  23. // table.
  24. //
  25. typedef struct _HOST_ENTRY {
  26. //
  27. // The HostName is the name of the server.
  28. //
  29. UNICODE_STRING HostName;
  30. //
  31. // The HostComment is the comment associated with the server
  32. //
  33. UNICODE_STRING HostComment;
  34. //
  35. // Services is a bitmask that indicates the services running on the
  36. // server (See LMSERVER.H for details).
  37. //
  38. ULONG Services;
  39. //
  40. // The Periodicity is the frequency that the server announces itself.
  41. //
  42. ULONG Periodicity;
  43. //
  44. // The MajorVersion and MinorVersion number of the software running on
  45. // the server.
  46. //
  47. UCHAR MajorVersion;
  48. UCHAR MinorVersion;
  49. //
  50. // If this server is a backup server, then this links the backup server
  51. // into the network block.
  52. //
  53. LIST_ENTRY BackupChain;
  54. } HOST_ENTRY, *PHOST_ENTRY;
  55. #endif // _BROWSELST_INCLUDED_
  56.