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.

39 lines
1.0 KiB

  1. #include "precomp.h"
  2. TABLE_INFO gLogRecordTable[] = {
  3. {RECORD_IDX_STR, 0, JET_coltypLong, JET_bitColumnAutoincrement},
  4. {RECORD_ID_STR, 0, JET_coltypLong, 0},
  5. {COMPONENT_ID_STR, 0, JET_coltypLong, 0},
  6. {CATEGORY_STR, 0, JET_coltypLong, 0},
  7. {TIMESTAMP_STR, 0, JET_coltypDateTime, 0},
  8. {MESSAGE_STR, 0, JET_coltypLongText, 0},
  9. {INTERFACE_MAC_STR, 0, JET_coltypText, 0},
  10. {DEST_MAC_STR, 0, JET_coltypText, 0},
  11. {SSID_STR, 0, JET_coltypText, 0},
  12. {CONTEXT_STR, 0, JET_coltypLongText, 0}
  13. };
  14. DWORD RECORD_TABLE_NUM_COLS = (sizeof(gLogRecordTable) / sizeof(TABLE_INFO));
  15. PSESSION_CONTAINER gpSessionCont;
  16. DWORD gdwCurrentHeader;
  17. DWORD gdwCurrentTableSize;
  18. DWORD gdwCurrentMaxRecordID;
  19. JET_INSTANCE gJetInstance;
  20. WZC_RW_LOCK gWZCDbSessionRWLock;
  21. PWZC_RW_LOCK gpWZCDbSessionRWLock = NULL;
  22. DWORD gdwWZCDbSessionCount;
  23. SESSION_CONTAINER gAppendSessionCont;
  24. PSESSION_CONTAINER gpAppendSessionCont;
  25. BOOL gbDBOpened;
  26. BOOL gbEnableDbLogging;