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.

244 lines
4.8 KiB

  1. /*++
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name :
  4. server_support.hxx
  5. Abstract:
  6. IIS Plus ServerSupportFunction command implementations
  7. Author:
  8. Wade Hilmo (wadeh) 05-Apr-2000
  9. Project:
  10. w3isapi.dll
  11. --*/
  12. #ifndef _SERVER_SUPPORT_HXX_
  13. #define _SERVER_SUPPORT_HXX_
  14. HRESULT
  15. SSFSendResponseHeader(
  16. ISAPI_CONTEXT * pIsapiContext,
  17. LPSTR szStatus,
  18. LPSTR szHeaders
  19. );
  20. HRESULT
  21. SSFSendResponseHeaderEx(
  22. ISAPI_CONTEXT * pIsapiContext,
  23. HSE_SEND_HEADER_EX_INFO * pHeaderInfo
  24. );
  25. HRESULT
  26. SSFMapUrlToPath(
  27. ISAPI_CONTEXT * pIsapiContext,
  28. LPSTR szBuffer,
  29. LPDWORD pcbBuffer
  30. );
  31. HRESULT
  32. SSFMapUrlToPathEx(
  33. ISAPI_CONTEXT * pIsapiContext,
  34. LPSTR szUrl,
  35. HSE_URL_MAPEX_INFO * pHseMapInfo,
  36. LPDWORD pcbMappedPath
  37. );
  38. HRESULT
  39. SSFMapUnicodeUrlToPath(
  40. ISAPI_CONTEXT * pIsapiContext,
  41. LPWSTR szBuffer,
  42. LPDWORD pcbBuffer
  43. );
  44. HRESULT
  45. SSFMapUnicodeUrlToPathEx(
  46. ISAPI_CONTEXT * pIsapiContext,
  47. LPWSTR szUrl,
  48. HSE_UNICODE_URL_MAPEX_INFO *pHseMapInfo,
  49. LPDWORD pcbMappedPath
  50. );
  51. HRESULT
  52. SSFGetImpersonationToken(
  53. ISAPI_CONTEXT * pIsapiContext,
  54. HANDLE * phToken
  55. );
  56. HRESULT
  57. SSFIsKeepConn(
  58. ISAPI_CONTEXT * pIsapiContext,
  59. BOOL * pfIsKeepAlive
  60. );
  61. HRESULT
  62. SSFDoneWithSession(
  63. ISAPI_CONTEXT * pIsapiContext,
  64. DWORD * pHseResult
  65. );
  66. HRESULT
  67. SSFGetCertInfoEx(
  68. ISAPI_CONTEXT * pIsapiContext,
  69. CERT_CONTEXT_EX * pCertContext
  70. );
  71. HRESULT
  72. SSFIoCompletion(
  73. ISAPI_CONTEXT * pIsapiContext,
  74. PFN_HSE_IO_COMPLETION pCompletionRoutine,
  75. LPVOID pHseIoContext
  76. );
  77. HRESULT
  78. SSFAsyncReadClient(
  79. ISAPI_CONTEXT * pIsapiContext,
  80. LPVOID pBuffer,
  81. LPDWORD pcbBuffer
  82. );
  83. HRESULT
  84. SSFTransmitFile(
  85. ISAPI_CONTEXT * pIsapiContext,
  86. HSE_TF_INFO * pTfInfo
  87. );
  88. HRESULT
  89. SSFSendRedirect(
  90. ISAPI_CONTEXT * pIsapiContext,
  91. LPSTR szUrl
  92. );
  93. HRESULT
  94. SSFIsConnected(
  95. ISAPI_CONTEXT * pIsapiContext,
  96. BOOL * pfIsConnected
  97. );
  98. HRESULT
  99. SSFAppendLog(
  100. ISAPI_CONTEXT * pIsapiContext,
  101. LPSTR szExtraParam
  102. );
  103. HRESULT
  104. SSFExecuteUrl(
  105. ISAPI_CONTEXT * pIsapiContext,
  106. VOID * pExecUrlInfo,
  107. BOOL fIsUnicode
  108. );
  109. HRESULT
  110. SSFGetExecuteUrlStatus(
  111. ISAPI_CONTEXT * pIsapiContext,
  112. HSE_EXEC_URL_STATUS * pExecUrlStatus
  113. );
  114. HRESULT
  115. SSFSendCustomError(
  116. ISAPI_CONTEXT * pIsapiContext,
  117. HSE_CUSTOM_ERROR_INFO * pCustomErrorInfo
  118. );
  119. HRESULT
  120. SSFVectorSend(
  121. ISAPI_CONTEXT * pIsapiContext,
  122. HSE_RESPONSE_VECTOR * pResponseVector
  123. );
  124. HRESULT
  125. SSFVectorSendDeprecated(
  126. ISAPI_CONTEXT * pIsapiContext,
  127. HSE_RESPONSE_VECTOR_DEPRECATED * pResponseVector
  128. );
  129. HRESULT
  130. SSFGetCustomErrorPage(
  131. ISAPI_CONTEXT * pIsapiContext,
  132. HSE_CUSTOM_ERROR_PAGE_INFO * pInfo
  133. );
  134. HRESULT
  135. SSFIsInProcess(
  136. ISAPI_CONTEXT * pIsapiContext,
  137. DWORD * pdwAppFlag
  138. );
  139. HRESULT
  140. SSFGetSspiInfo(
  141. ISAPI_CONTEXT * pIsapiContext,
  142. CtxtHandle * pCtxtHandle,
  143. CredHandle * pCredHandle
  144. );
  145. HRESULT
  146. SSFGetVirtualPathToken(
  147. ISAPI_CONTEXT * pIsapiContext,
  148. LPSTR szUrl,
  149. HANDLE * pToken,
  150. BOOL fUnicode
  151. );
  152. HRESULT
  153. SSFGetAnonymousToken(
  154. ISAPI_CONTEXT * pIsapiContext,
  155. LPSTR szUrl,
  156. HANDLE * pToken,
  157. BOOL fUnicode
  158. );
  159. HRESULT
  160. SSFReportUnhealthy(
  161. ISAPI_CONTEXT * pIsapiContext,
  162. LPSTR szReason
  163. );
  164. HRESULT
  165. SSFNormalizeUrl(
  166. LPSTR pszURL
  167. );
  168. HRESULT
  169. SSFAddFragmentToCache(
  170. ISAPI_CONTEXT * pIsapiContext,
  171. HSE_VECTOR_ELEMENT * pHseVectorElement,
  172. WCHAR * pszFragmentName
  173. );
  174. HRESULT
  175. SSFReadFragmentFromCache(
  176. ISAPI_CONTEXT * pIsapiContext,
  177. WCHAR * pszFragmentName,
  178. BYTE * pvBuffer,
  179. DWORD * pcbSize
  180. );
  181. HRESULT
  182. SSFRemoveFragmentFromCache(
  183. ISAPI_CONTEXT * pIsapiContext,
  184. WCHAR * pszFragmentName
  185. );
  186. HRESULT
  187. SSFGetMetadataProperty(
  188. ISAPI_CONTEXT * pIsapiContext,
  189. DWORD_PTR dwPropertyId,
  190. BYTE * pbBuffer,
  191. DWORD * pcbBuffer
  192. );
  193. HRESULT
  194. SSFGetCacheInvalidationCallback(
  195. ISAPI_CONTEXT * pIsapiContext,
  196. PFN_HSE_CACHE_INVALIDATION_CALLBACK * pfnCallback
  197. );
  198. HRESULT
  199. SSFCloseConnection(
  200. ISAPI_CONTEXT * pIsapiContext
  201. );
  202. #endif //_SERVER_SUPPORT_HXX_