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.

132 lines
2.1 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. brmaster.h
  5. Abstract:
  6. Private header file which defines the global data which is used for
  7. communication between the service control handler and the
  8. rest of the NT Workstation service.
  9. Author:
  10. Rita Wong (ritaw) 06-May-1991
  11. Revision History:
  12. --*/
  13. #ifndef _BRMASTER_INCLUDED_
  14. #define _BRMASTER_INCLUDED_
  15. NET_API_STATUS
  16. PostBecomeMaster(
  17. PNETWORK Network
  18. );
  19. NET_API_STATUS
  20. PostGetMasterAnnouncement (
  21. PNETWORK Network
  22. );
  23. NET_API_STATUS
  24. BrStopMaster(
  25. IN PNETWORK Network
  26. );
  27. VOID
  28. BrGetMasterServerNameAysnc(
  29. IN PNETWORK Network
  30. );
  31. NET_API_STATUS
  32. GetMasterServerNames(
  33. IN PNETWORK Network
  34. );
  35. VOID
  36. BrMasterAnnouncement(
  37. IN PVOID Context
  38. );
  39. VOID
  40. MasterBrowserTimerRoutine (
  41. IN PVOID TimerContext
  42. );
  43. VOID
  44. BrChangeMasterPeriodicity (
  45. VOID
  46. );
  47. VOID
  48. BrBrowseTableInsertRoutine(
  49. IN PINTERIM_SERVER_LIST InterimTable,
  50. IN PINTERIM_ELEMENT InterimElement
  51. );
  52. VOID
  53. BrBrowseTableDeleteRoutine(
  54. IN PINTERIM_SERVER_LIST InterimTable,
  55. IN PINTERIM_ELEMENT InterimElement
  56. );
  57. VOID
  58. BrBrowseTableUpdateRoutine(
  59. IN PINTERIM_SERVER_LIST InterimTable,
  60. IN PINTERIM_ELEMENT InterimElement
  61. );
  62. BOOLEAN
  63. BrBrowseTableAgeRoutine(
  64. IN PINTERIM_SERVER_LIST InterimTable,
  65. IN PINTERIM_ELEMENT InterimElement
  66. );
  67. VOID
  68. BrDomainTableInsertRoutine(
  69. IN PINTERIM_SERVER_LIST InterimTable,
  70. IN PINTERIM_ELEMENT InterimElement
  71. );
  72. VOID
  73. BrDomainTableDeleteRoutine(
  74. IN PINTERIM_SERVER_LIST InterimTable,
  75. IN PINTERIM_ELEMENT InterimElement
  76. );
  77. VOID
  78. BrDomainTableUpdateRoutine(
  79. IN PINTERIM_SERVER_LIST InterimTable,
  80. IN PINTERIM_ELEMENT InterimElement
  81. );
  82. BOOLEAN
  83. BrDomainTableAgeRoutine(
  84. IN PINTERIM_SERVER_LIST InterimTable,
  85. IN PINTERIM_ELEMENT InterimElement
  86. );
  87. #ifdef ENABLE_PSEUDO_BROWSER
  88. //
  89. // Pseudo Server Helper Routines
  90. //
  91. VOID
  92. BrFreeNetworkTables(
  93. IN PNETWORK Network
  94. );
  95. #endif
  96. #endif // ifndef _BRBACKUP_INCLUDED_