Source code of Windows XP (NT5)
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.

97 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1989 Microsoft Corporation
  3. Module Name:
  4. smbctrl.h
  5. Abstract:
  6. This module defines control functions for SMB processing.
  7. Author:
  8. Chuck Lenzmeier (chuckl) 1-Dec-1989
  9. Revision History:
  10. --*/
  11. #ifndef _SMBCTRL_
  12. #define _SMBCTRL_
  13. //#include <ntos.h>
  14. //#include "srvblock.h"
  15. //#include "smbtypes.h"
  16. //
  17. // Control routines for SMB processing.
  18. //
  19. VOID SRVFASTCALL
  20. SrvProcessSmb (
  21. IN OUT PWORK_CONTEXT WorkContext
  22. );
  23. VOID
  24. SrvEndSmbProcessing (
  25. IN OUT PWORK_CONTEXT WorkContext,
  26. IN SMB_STATUS SmbStatus
  27. );
  28. //
  29. // Restart routines.
  30. //
  31. VOID SRVFASTCALL
  32. SrvRestartChainedClose (
  33. IN OUT PWORK_CONTEXT WorkContext
  34. );
  35. VOID SRVFASTCALL
  36. SrvRestartFsdComplete (
  37. IN OUT PWORK_CONTEXT WorkContext
  38. );
  39. VOID SRVFASTCALL
  40. SrvRestartSmbReceived (
  41. IN OUT PWORK_CONTEXT WorkContext
  42. );
  43. VOID SRVFASTCALL
  44. SrvRestartReceive (
  45. IN OUT PWORK_CONTEXT WorkContext
  46. );
  47. VOID SRVFASTCALL
  48. SrvRestartWriteAndUnlock (
  49. IN OUT PWORK_CONTEXT WorkContext
  50. );
  51. VOID SRVFASTCALL
  52. SrvRestartWriteAndXRaw (
  53. IN PWORK_CONTEXT WorkContext
  54. );
  55. VOID SRVFASTCALL
  56. SrvBuildAndSendErrorResponse (
  57. IN PWORK_CONTEXT WorkContext
  58. );
  59. VOID SRVFASTCALL
  60. RestartLargeWriteAndX (
  61. IN PWORK_CONTEXT WorkContext
  62. );
  63. //
  64. // SMB Processing routines.
  65. //
  66. SMB_PROCESSOR_RETURN_TYPE SRVFASTCALL
  67. SrvSmbIllegalCommand (
  68. IN PWORK_CONTEXT WorkContext
  69. );
  70. #endif // def _SMBCTRL_