Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenhttp.h
Go to the documentation of this file.
00001 /* 00002 * HTTP Server API definitions 00003 * 00004 * Copyright (C) 2009 Andrey Turkin 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Lesser General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2.1 of the License, or (at your option) any later version. 00010 * 00011 * This library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public 00017 * License along with this library; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 00019 */ 00020 00021 #ifndef __WINE_HTTP_H 00022 #define __WINE_HTTP_H 00023 00024 #include <winsock2.h> 00025 #include <ws2tcpip.h> 00026 00027 #ifdef __cplusplus 00028 extern "C" { 00029 #endif 00030 00031 typedef struct _HTTPAPI_VERSION 00032 { 00033 USHORT HttpApiMajorVersion; 00034 USHORT HttpApiMinorVersion; 00035 } HTTPAPI_VERSION, *PHTTPAPI_VERSION; 00036 00037 #define HTTPAPI_VERSION_1 {1,0} 00038 #define HTTPAPI_VERSION_2 {2,0} 00039 00040 /* HttpInitialize and HttpTerminate flags */ 00041 #define HTTP_INITIALIZE_SERVER 0x00000001 00042 #define HTTP_INITIALIZE_CONFIG 0x00000002 00043 00044 typedef enum _HTTP_SERVICE_CONFIG_ID 00045 { 00046 HttpServiceConfigIPListenList, 00047 HttpServiceConfigSSLCertInfo, 00048 HttpServiceConfigUrlAclInfo, 00049 HttpServiceConfigTimeout, 00050 HttpServiceConfigMax 00051 } HTTP_SERVICE_CONFIG_ID, *PHTTP_SERVICE_CONFIG_ID; 00052 00053 ULONG WINAPI HttpInitialize(HTTPAPI_VERSION,ULONG,PVOID); 00054 ULONG WINAPI HttpTerminate(ULONG,PVOID); 00055 00056 ULONG WINAPI HttpDeleteServiceConfiguration(HANDLE,HTTP_SERVICE_CONFIG_ID,PVOID,ULONG,LPOVERLAPPED); 00057 ULONG WINAPI HttpQueryServiceConfiguration(HANDLE,HTTP_SERVICE_CONFIG_ID,PVOID,ULONG,PVOID,ULONG,PULONG,LPOVERLAPPED); 00058 ULONG WINAPI HttpSetServiceConfiguration(HANDLE,HTTP_SERVICE_CONFIG_ID,PVOID,ULONG,LPOVERLAPPED); 00059 00060 #ifdef __cplusplus 00061 } 00062 #endif 00063 00064 #endif /* __WINE_HTTP_H */ Generated on Sun May 27 2012 04:31:31 for ReactOS by
1.7.6.1
|