home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // isapi.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
- // From: isapi.pas
- //----------------------------------------------------------------------------
- #ifndef isapiHPP
- #define isapiHPP
- //----------------------------------------------------------------------------
- #include <Windows.hpp>
- #include <System.hpp>
- #pragma warn -par
- #pragma warn -hid
- #pragma warn -inl
-
- namespace Isapi
- {
- //-- type declarations -------------------------------------------------------
- typedef int HCONN;
-
- struct THSE_VERSION_INFO;
- typedef THSE_VERSION_INFO *PHSE_VERSION_INFO;
-
- #pragma pack(push, 1)
- struct THSE_VERSION_INFO
- {
- int dwExtensionVersion;
- char lpszExtensionDesc[256];
- } ;
- #pragma pack(pop)
-
- typedef DWord __stdcall (*TGetServerVariableProc)(int hConn, char * VariableName, void * Buffer, int
- &Size);
-
- typedef DWord __stdcall (*TWriteClientProc)(int ConnID, void * Buffer, int &Bytes, int dwReserved);
-
- typedef DWord __stdcall (*TReadClientProc)(int ConnID, void * Buffer, int &Size);
-
- typedef DWord __stdcall (*TServerSupportFunctionProc)(int hConn, int HSERRequest, void * Buffer, int
- &Size, int &DataType);
-
- struct TEXTENSION_CONTROL_BLOCK;
- typedef TEXTENSION_CONTROL_BLOCK *PEXTENSION_CONTROL_BLOCK;
-
- #pragma pack(push, 1)
- struct TEXTENSION_CONTROL_BLOCK
- {
- int cbSize;
- int dwVersion;
- int ConnID;
- int dwHttpStatusCode;
- char lpszLogData[80];
- char *lpszMethod;
- char *lpszQueryString;
- char *lpszPathInfo;
- char *lpszPathTranslated;
- int cbTotalBytes;
- int cbAvailable;
- void *lpbData;
- char *lpszContentType;
- TGetServerVariableProc GetServerVariable;
- TWriteClientProc WriteClient;
- TReadClientProc ReadClient;
- TServerSupportFunctionProc ServerSupportFunction;
- } ;
- #pragma pack(pop)
-
- //-- var, const, procedure ---------------------------------------------------
- #define HSE_VERSION_MAJOR (Byte)(1)
- #define HSE_VERSION_MINOR (Byte)(0)
- #define HSE_LOG_BUFFER_LEN (Byte)(80)
- #define HSE_MAX_EXT_DLL_NAME_LEN (Word)(256)
- #define HSE_STATUS_SUCCESS (Byte)(1)
- #define HSE_STATUS_SUCCESS_AND_KEEP_CONN (Byte)(2)
- #define HSE_STATUS_PENDING (Byte)(3)
- #define HSE_STATUS_ERROR (Byte)(4)
- #define HSE_REQ_BASE (Byte)(0)
- #define HSE_REQ_SEND_URL_REDIRECT_RESP (Byte)(1)
- #define HSE_REQ_SEND_URL (Byte)(2)
- #define HSE_REQ_SEND_RESPONSE_HEADER (Byte)(3)
- #define HSE_REQ_DONE_WITH_SESSION (Byte)(4)
- #define HSE_REQ_END_RESERVED (Word)(1000)
- #define HSE_REQ_MAP_URL_TO_PATH (Word)(1001)
- #define HSE_REQ_GET_SSPI_INFO (Word)(1002)
-
- } /* namespace Isapi */
-
- #pragma warn .par
- #pragma warn .hid
- #pragma warn .inl
-
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Isapi;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // isapi
-