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.

48 lines
1.1 KiB

  1. #include <windows.h>
  2. #include <windowsx.h>
  3. #include <commctrl.h>
  4. #include <wininet.h>
  5. #include <time.h>
  6. #include <tchar.h>
  7. #include <stdio.h>
  8. #include <shlwapi.h>
  9. #include <strsafe.h>
  10. #include <commdlg.h>
  11. #include <stdlib.h>
  12. #include <stdio.h>
  13. #include "ErrorCodes.h"
  14. #include "Logging.h"
  15. #define C_COLUMNS 9
  16. typedef struct SiteStats
  17. {
  18. TCHAR UploadTime[255];
  19. TCHAR ProcessingTime[255];
  20. TCHAR Status[255];
  21. TCHAR ReturnedUrl[255];
  22. TCHAR ProcessStatus[50];
  23. TCHAR UploadStatus[50];
  24. TCHAR ErrorString[255];
  25. TCHAR AvgProcessTime[50];
  26. TCHAR AvgUploadTime[50];
  27. TCHAR ThreadExecution[50];
  28. TCHAR SendQueueTime[50];
  29. TCHAR ReceiveQueueTime[50];
  30. }SITESTATS, *PSITESTATS;
  31. typedef struct MonitoringOptions
  32. {
  33. DWORD dwPingRate;
  34. DWORD dwSiteID;
  35. TCHAR LogFileName[MAX_PATH];
  36. BOOL bUploadMethod; // True = Manual, False = Auto ( no upload timing available
  37. TCHAR ServerName[MAX_PATH];
  38. BOOL CollectUploadTime;
  39. BOOL CollectProcessTime;
  40. BOOL UploadSingle;
  41. TCHAR FilePath[MAX_PATH];
  42. TCHAR Directory[MAX_PATH];
  43. TCHAR VirtualDirectory[255];
  44. int iSeverIndex;
  45. }MONITOR_OPTIONS, *PMONINTOR_OPTIONS;