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.

174 lines
3.1 KiB

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. all.hxx
  5. Abstract:
  6. SIS Groveler top-level include file
  7. Authors:
  8. Cedric Krumbein, 1998
  9. Environment:
  10. User Mode
  11. Revision History:
  12. --*/
  13. #ifndef _INC_GROVEL
  14. #define _INC_GROVEL
  15. /*
  16. * This is the top-level include file for three different executables:
  17. * grovel.exe, grovctrl.exe, and grovperf.dll.
  18. *
  19. */
  20. #define WIN32_LEAN_AND_MEAN 1
  21. /*
  22. * The following manifest constants should be defined in the sources file:
  23. * SERVICE
  24. * TIME_SEQUENCE_VIRTUAL
  25. * DISK_PRIORITY_MANUAL
  26. * WRITE_ALL_PARAMETERS
  27. * DEBUG_WAIT
  28. * MIN_MESSAGE_SEVERITY
  29. *
  30. */
  31. #include <tchar.h>
  32. #include <stddef.h>
  33. #include <nt.h>
  34. #include <ntrtl.h>
  35. #include <nturtl.h>
  36. #include <rpc.h>
  37. #include <io.h>
  38. #include <windows.h>
  39. #include "debug.h"
  40. #include "trace.h"
  41. #include "..\filter\sis.h"
  42. #define STRSAFE_NO_DEPRECATE
  43. #include <strsafe.h>
  44. #include "utility.h"
  45. #include <esent.h>
  46. #include "database.h"
  47. #include <fcntl.h>
  48. #include <direct.h>
  49. #include <math.h>
  50. #include <float.h>
  51. #include <stdio.h>
  52. #include <stdlib.h>
  53. #include <winperf.h>
  54. #include <pdhmsg.h>
  55. #include <new.h>
  56. #include <stdarg.h>
  57. #include <pdh.h>
  58. #ifdef _CRTDBG
  59. #define _CRTDBG_MAP_ALLOC
  60. #include "crtdbg.h"
  61. #endif
  62. enum Exception
  63. {
  64. exception_memory_allocation,
  65. exception_create_event
  66. };
  67. _main(int argc, _TCHAR **argv);
  68. class Service;
  69. class Registry;
  70. class IniFile;
  71. class EventLog;
  72. class SyncEvent;
  73. class Mutex;
  74. class SharedData;
  75. class Volumes;
  76. class VolumeMountPoints;
  77. class SISDrives;
  78. struct ReadParameters;
  79. struct WriteParameters;
  80. struct ReadDiskInformation;
  81. struct WriteDiskInformation;
  82. struct PathList;
  83. class LogDrive;
  84. class EventTimer;
  85. class TemporalFilter;
  86. class DirectedTemporalFilter;
  87. class IncidentFilter;
  88. class ConfidenceEstimator;
  89. class DecayingAccumulator;
  90. class MeanComparator;
  91. class PeakFinder;
  92. class PartitionController;
  93. class CentralController;
  94. class Groveler;
  95. #include "groveler.h"
  96. #include "grovmsg.h"
  97. #include "servctrl.h"
  98. #include "service.h"
  99. #include "timeseq.h"
  100. #include "registry.h"
  101. #include "inifile.h"
  102. #include "eventlog.h"
  103. #include "event.h"
  104. #include "mutex.h"
  105. #include "share.h"
  106. #include "volumes.h"
  107. #include "sisdrive.h"
  108. #include "params.h"
  109. #include "diskinfo.h"
  110. #include "pathlist.h"
  111. #include "logdrive.h"
  112. #include "etimer.h"
  113. #include "filter.h"
  114. #include "confest.h"
  115. #include "decayacc.h"
  116. #include "meancomp.h"
  117. #include "meancomp.h"
  118. #include "peakfind.h"
  119. #include "partctrl.h"
  120. #include "centctrl.h"
  121. #include "perfctrs.h"
  122. #include "grovperf.h"
  123. #include "grovctrl.h"
  124. extern EventTimer event_timer;
  125. extern EventLog eventlog;
  126. extern SyncEvent sync_event;
  127. extern SISDrives sis_drives;
  128. extern LogDrive *log_drive;
  129. extern SharedData *shared_data;
  130. extern CentralController *controller;
  131. extern int GrovelAllPaths;
  132. extern PWCHAR RISVolumeName;
  133. extern PWCHAR RISVolumeGuidName;
  134. extern PWCHAR RISPath;
  135. #if DISK_PRIORITY_MANUAL
  136. extern _TCHAR favored_disk;
  137. #endif // DISK_PRIORITY_MANUAL
  138. #endif /* _INC_GROVEL */