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.

31 lines
1.1 KiB

  1. #pragma once
  2. // for malloc/realloc functions
  3. #include <malloc.h>
  4. class CkdMonINI {
  5. private:
  6. // seperate the Servers string got from INI file
  7. BOOL SeperateServerStrings();
  8. public:
  9. // values in "Service" section of INI file
  10. _TCHAR szFromMailID[MAX_PATH]; // Mail ID from which the mail is send
  11. _TCHAR szToMailID[MAX_PATH]; // Mail ID to send alert mail to
  12. DWORD dwRepeatTime; // Time after which logfile scanning is to be repeated. This is in minutes
  13. _TCHAR szDebuggerLogFile[MAX_PATH]; // Debugger log file
  14. // Contains the paths when KD fails
  15. _TCHAR szDebuggerLogArchiveDir[MAX_PATH]; // Debugger log file archive
  16. DWORD dwDebuggerThreshold; // Threshold failures per server after which alert mail is to be sent out
  17. // values in "RPT Servers" section of INI file
  18. _TCHAR szServers[MAX_PATH]; // One string containing names of all RPT servers
  19. _TCHAR **ppszServerNameArray; // Array containing individual ServerName strings
  20. DWORD dwServerCount; // Total Number of Server Names
  21. // function to load these values from INI filename passed
  22. BOOL LoadValues(_TCHAR szINIFile[]);
  23. CkdMonINI();
  24. ~CkdMonINI();
  25. };