-
Notifications
You must be signed in to change notification settings - Fork 8
/
httpext.inc
157 lines (144 loc) · 5.45 KB
/
httpext.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
;--- include file created by h2incx v0.99.11, copyright 2005 japheth
;--- source file: c:\programme\devstudio\vc6\include\HTTPEXT.H, last modified: 4/24/1998 0:0
ifndef _HTTPEXT_H_
_HTTPEXT_H_ EQU <>
include windows.inc
ifdef __cplusplus
;extern "C"
;{
endif
HSE_VERSION_MAJOR EQU 4
HSE_VERSION_MINOR EQU 0
HSE_LOG_BUFFER_LEN EQU 80
HSE_MAX_EXT_DLL_NAME_LEN EQU 256
HSE_VERSION EQU <MAKELONG ( HSE_VERSION_MINOR , HSE_VERSION_MAJOR )>
HSE_STATUS_SUCCESS EQU 1
HSE_STATUS_SUCCESS_AND_KEEP_CONN EQU 2
HSE_STATUS_PENDING EQU 3
HSE_STATUS_ERROR EQU 4
HSE_REQ_BASE EQU 0
HSE_REQ_SEND_URL_REDIRECT_RESP EQU ( HSE_REQ_BASE + 1 )
HSE_REQ_SEND_URL EQU ( HSE_REQ_BASE + 2 )
HSE_REQ_SEND_RESPONSE_HEADER EQU ( HSE_REQ_BASE + 3 )
HSE_REQ_DONE_WITH_SESSION EQU ( HSE_REQ_BASE + 4 )
HSE_REQ_END_RESERVED EQU 1000
HSE_REQ_MAP_URL_TO_PATH EQU ( HSE_REQ_END_RESERVED + 1 )
HSE_REQ_GET_SSPI_INFO EQU ( HSE_REQ_END_RESERVED + 2 )
HSE_APPEND_LOG_PARAMETER EQU ( HSE_REQ_END_RESERVED + 3 )
HSE_REQ_IO_COMPLETION EQU ( HSE_REQ_END_RESERVED + 5 )
HSE_REQ_TRANSMIT_FILE EQU ( HSE_REQ_END_RESERVED + 6 )
HSE_REQ_REFRESH_ISAPI_ACL EQU ( HSE_REQ_END_RESERVED + 7 )
HSE_REQ_IS_KEEP_CONN EQU ( HSE_REQ_END_RESERVED + 8 )
HSE_REQ_ASYNC_READ_CLIENT EQU ( HSE_REQ_END_RESERVED + 10 )
HSE_REQ_GET_IMPERSONATION_TOKEN EQU ( HSE_REQ_END_RESERVED + 11 )
HSE_REQ_MAP_URL_TO_PATH_EX EQU ( HSE_REQ_END_RESERVED + 12 )
HSE_REQ_ABORTIVE_CLOSE EQU ( HSE_REQ_END_RESERVED + 14 )
HSE_REQ_GET_CERT_INFO_EX EQU ( HSE_REQ_END_RESERVED + 15 )
HSE_REQ_SEND_RESPONSE_HEADER_EX EQU ( HSE_REQ_END_RESERVED + 16 )
HSE_TERM_ADVISORY_UNLOAD EQU 00000001h
HSE_TERM_MUST_UNLOAD EQU 00000002h
HSE_IO_SYNC EQU 00000001h
HSE_IO_ASYNC EQU 00000002h
HSE_IO_DISCONNECT_AFTER_SEND EQU 00000004h
HSE_IO_SEND_HEADERS EQU 00000008h
HCONN typedef LPVOID
HSE_VERSION_INFO struct
dwExtensionVersion DWORD ?
lpszExtensionDesc CHAR HSE_MAX_EXT_DLL_NAME_LEN dup (?)
HSE_VERSION_INFO ends
LPHSE_VERSION_INFO typedef ptr HSE_VERSION_INFO
EXTENSION_CONTROL_BLOCK struct
cbSize DWORD ?
dwVersion DWORD ?
ConnID HCONN ?
dwHttpStatusCode DWORD ?
lpszLogData CHAR HSE_LOG_BUFFER_LEN dup (?)
lpszMethod LPSTR ?
lpszQueryString LPSTR ?
lpszPathInfo LPSTR ?
lpszPathTranslated LPSTR ?
cbTotalBytes DWORD ?
cbAvailable DWORD ?
lpbData LPBYTE ?
lpszContentType LPSTR ?
protoEXTENSION_CONTROL_BLOCK_GetServerVariable typedef proto WINSTDCALLCONV :HCONN,:LPSTR,:LPVOID,:LPDWORD
pEXTENSION_CONTROL_BLOCK_GetServerVariable typedef ptr protoEXTENSION_CONTROL_BLOCK_GetServerVariable
GetServerVariable pEXTENSION_CONTROL_BLOCK_GetServerVariable ?
protoEXTENSION_CONTROL_BLOCK_WriteClient typedef proto WINSTDCALLCONV :HCONN,:LPVOID,:LPDWORD,:DWORD
pEXTENSION_CONTROL_BLOCK_WriteClient typedef ptr protoEXTENSION_CONTROL_BLOCK_WriteClient
WriteClient pEXTENSION_CONTROL_BLOCK_WriteClient ?
protoEXTENSION_CONTROL_BLOCK_ReadClient typedef proto WINSTDCALLCONV :HCONN,:LPVOID,:LPDWORD
pEXTENSION_CONTROL_BLOCK_ReadClient typedef ptr protoEXTENSION_CONTROL_BLOCK_ReadClient
ReadClient pEXTENSION_CONTROL_BLOCK_ReadClient ?
protoEXTENSION_CONTROL_BLOCK_ServerSupportFunction typedef proto WINSTDCALLCONV :HCONN,:DWORD,:LPVOID,:LPDWORD,:LPDWORD
pEXTENSION_CONTROL_BLOCK_ServerSupportFunction typedef ptr protoEXTENSION_CONTROL_BLOCK_ServerSupportFunction
ServerSupportFunction pEXTENSION_CONTROL_BLOCK_ServerSupportFunction ?
EXTENSION_CONTROL_BLOCK ends
LPEXTENSION_CONTROL_BLOCK typedef ptr EXTENSION_CONTROL_BLOCK
HSE_URL_FLAGS_READ EQU 00000001h
HSE_URL_FLAGS_WRITE EQU 00000002h
HSE_URL_FLAGS_EXECUTE EQU 00000004h
HSE_URL_FLAGS_SSL EQU 00000008h
HSE_URL_FLAGS_DONT_CACHE EQU 00000010h
HSE_URL_FLAGS_NEGO_CERT EQU 00000020h
HSE_URL_FLAGS_REQUIRE_CERT EQU 00000040h
HSE_URL_FLAGS_MAP_CERT EQU 00000080h
HSE_URL_FLAGS_SSL128 EQU 00000100h
HSE_URL_FLAGS_SCRIPT EQU 00000200h
HSE_URL_FLAGS_MASK EQU 000003ffh
HSE_URL_MAPEX_INFO struct
lpszPath CHAR MAX_PATH dup (?)
dwFlags DWORD ?
cchMatchingPath DWORD ?
cchMatchingURL DWORD ?
dwReserved1 DWORD ?
dwReserved2 DWORD ?
HSE_URL_MAPEX_INFO ends
LPHSE_URL_MAPEX_INFO typedef ptr HSE_URL_MAPEX_INFO
proto_PFN_HSE_IO_COMPLETION typedef proto WINSTDCALLCONV :ptr EXTENSION_CONTROL_BLOCK,:PVOID,:DWORD,:DWORD
PFN_HSE_IO_COMPLETION typedef ptr proto_PFN_HSE_IO_COMPLETION
HSE_TF_INFO struct
pfnHseIO PFN_HSE_IO_COMPLETION ?
pContext PVOID ?
hFile HANDLE ?
pszStatusCode LPSTR ?
BytesToWrite DWORD ?
Offset_ DWORD ?
pHead PVOID ?
HeadLength DWORD ?
pTail PVOID ?
TailLength DWORD ?
dwFlags DWORD ?
HSE_TF_INFO ends
LPHSE_TF_INFO typedef ptr HSE_TF_INFO
HSE_SEND_HEADER_EX_INFO struct
pszStatus LPSTR ?
pszHeader LPSTR ?
cchStatus DWORD ?
cchHeader DWORD ?
fKeepConn BOOL ?
HSE_SEND_HEADER_EX_INFO ends
LPHSE_SEND_HEADER_EX_INFO typedef ptr HSE_SEND_HEADER_EX_INFO
if (_WIN32_WINNT ge 400h)
include wincrypt.inc
CERT_CONTEXT_EX struct
CertContext CERT_CONTEXT <>
cbAllocated DWORD ?
dwCertificateFlags DWORD ?
CERT_CONTEXT_EX ends
endif
GetExtensionVersion proto WINSTDCALLCONV :ptr HSE_VERSION_INFO
HttpExtensionProc proto WINSTDCALLCONV :ptr EXTENSION_CONTROL_BLOCK
TerminateExtension proto WINSTDCALLCONV :DWORD
proto_PFN_GETEXTENSIONVERSION typedef proto WINSTDCALLCONV :ptr HSE_VERSION_INFO
PFN_GETEXTENSIONVERSION typedef ptr proto_PFN_GETEXTENSIONVERSION
proto_PFN_HTTPEXTENSIONPROC typedef proto WINSTDCALLCONV :ptr EXTENSION_CONTROL_BLOCK
PFN_HTTPEXTENSIONPROC typedef ptr proto_PFN_HTTPEXTENSIONPROC
proto_PFN_TERMINATEEXTENSION typedef proto WINSTDCALLCONV :DWORD
PFN_TERMINATEEXTENSION typedef ptr proto_PFN_TERMINATEEXTENSION
ifdef __cplusplus
;}
endif
endif
;--- errors: 0
;--- end of file ---