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.

62 lines
1.6 KiB

  1. /*++
  2. Copyright (c) 1989 Microsoft Corporation
  3. Module Name:
  4. NpData.c
  5. Abstract:
  6. This module declares the global data used by the Named Pipe file system.
  7. Author:
  8. Gary Kimura [GaryKi] 28-Dec-1989
  9. Revision History:
  10. --*/
  11. #include "NpProcs.h"
  12. //
  13. // The Bug check file id for this module
  14. //
  15. #define BugCheckFileId (NPFS_BUG_CHECK_NPDATA)
  16. //
  17. // Local debug trace level
  18. //
  19. #define Dbg (DEBUG_TRACE_CATCH_EXCEPTIONS)
  20. PVCB NpVcb = NULL;
  21. FAST_IO_DISPATCH NpFastIoDispatch = { sizeof(FAST_IO_DISPATCH),
  22. NULL, // FastIoCheck
  23. NpFastRead, // Read
  24. NpFastWrite, // Write
  25. NULL, // QueryBasicInfo
  26. NULL, // QueryStandardInfo
  27. NULL, // Lock
  28. NULL, // UnlockSingle
  29. NULL, // UnlockAll
  30. NULL }; // UnlockAllByKey
  31. //
  32. // Lists of pipe name aliases.
  33. //
  34. SINGLE_LIST_ENTRY NpAliasListByLength[(MAX_LENGTH_ALIAS_ARRAY-MIN_LENGTH_ALIAS_ARRAY)/sizeof(WCHAR)+1] = {NULL};
  35. SINGLE_LIST_ENTRY NpAliasList = {NULL};
  36. PVOID NpAliases = NULL; // single allocation containing all aliases
  37. #ifdef NPDBG
  38. LONG NpDebugTraceLevel = 0x00000000;
  39. LONG NpDebugTraceIndent = 0;
  40. #endif // NPDBG