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

/*++
Copyright (c) 1989 Microsoft Corporation
Module Name:
smbctrl.h
Abstract:
This module defines control functions for SMB processing.
Author:
Chuck Lenzmeier (chuckl) 1-Dec-1989
Revision History:
--*/
#ifndef _SMBCTRL_
#define _SMBCTRL_
//#include <ntos.h>
//#include "srvblock.h"
//#include "smbtypes.h"
//
// Control routines for SMB processing.
//
VOID SRVFASTCALL
SrvProcessSmb (
IN OUT PWORK_CONTEXT WorkContext
);
VOID
SrvEndSmbProcessing (
IN OUT PWORK_CONTEXT WorkContext,
IN SMB_STATUS SmbStatus
);
//
// Restart routines.
//
VOID SRVFASTCALL
SrvRestartChainedClose (
IN OUT PWORK_CONTEXT WorkContext
);
VOID SRVFASTCALL
SrvRestartFsdComplete (
IN OUT PWORK_CONTEXT WorkContext
);
VOID SRVFASTCALL
SrvRestartSmbReceived (
IN OUT PWORK_CONTEXT WorkContext
);
VOID SRVFASTCALL
SrvRestartReceive (
IN OUT PWORK_CONTEXT WorkContext
);
VOID SRVFASTCALL
SrvRestartWriteAndUnlock (
IN OUT PWORK_CONTEXT WorkContext
);
VOID SRVFASTCALL
SrvRestartWriteAndXRaw (
IN PWORK_CONTEXT WorkContext
);
VOID SRVFASTCALL
SrvBuildAndSendErrorResponse (
IN PWORK_CONTEXT WorkContext
);
VOID SRVFASTCALL
RestartLargeWriteAndX (
IN PWORK_CONTEXT WorkContext
);
//
// SMB Processing routines.
//
SMB_PROCESSOR_RETURN_TYPE SRVFASTCALL
SrvSmbIllegalCommand (
IN PWORK_CONTEXT WorkContext
);
#endif // def _SMBCTRL_