ReactOS  0.4.13-dev-92-gf251225
http.h File Reference
#include <winsock2.h>
#include <ws2tcpip.h>
Include dependency graph for http.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _HTTPAPI_VERSION
 

Macros

#define HTTPAPI_VERSION_1   {1,0}
 
#define HTTPAPI_VERSION_2   {2,0}
 
#define HTTP_INITIALIZE_SERVER   0x00000001
 
#define HTTP_INITIALIZE_CONFIG   0x00000002
 

Typedefs

typedef struct _HTTPAPI_VERSION HTTPAPI_VERSION
 
typedef struct _HTTPAPI_VERSIONPHTTPAPI_VERSION
 
typedef enum _HTTP_SERVICE_CONFIG_ID HTTP_SERVICE_CONFIG_ID
 
typedef enum _HTTP_SERVICE_CONFIG_IDPHTTP_SERVICE_CONFIG_ID
 
typedef ULONGLONG HTTP_OPAQUE_ID
 
typedef ULONGLONGPHTTP_OPAQUE_ID
 
typedef HTTP_OPAQUE_ID HTTP_SERVER_SESSION_ID
 
typedef HTTP_OPAQUE_IDPHTTP_SERVER_SESSION_ID
 

Enumerations

enum  _HTTP_SERVICE_CONFIG_ID {
  HttpServiceConfigIPListenList, HttpServiceConfigSSLCertInfo, HttpServiceConfigUrlAclInfo, HttpServiceConfigTimeout,
  HttpServiceConfigMax
}
 

Functions

ULONG WINAPI HttpInitialize (HTTPAPI_VERSION, ULONG, PVOID)
 
ULONG WINAPI HttpTerminate (ULONG, PVOID)
 
ULONG WINAPI HttpAddUrl (HANDLE, PCWSTR, PVOID)
 
ULONG WINAPI HttpCreateHttpHandle (PHANDLE, ULONG)
 
ULONG WINAPI HttpCreateServerSession (HTTPAPI_VERSION, PHTTP_SERVER_SESSION_ID, ULONG)
 
ULONG WINAPI HttpDeleteServiceConfiguration (HANDLE, HTTP_SERVICE_CONFIG_ID, PVOID, ULONG, LPOVERLAPPED)
 
ULONG WINAPI HttpQueryServiceConfiguration (HANDLE, HTTP_SERVICE_CONFIG_ID, PVOID, ULONG, PVOID, ULONG, PULONG, LPOVERLAPPED)
 
ULONG WINAPI HttpSetServiceConfiguration (HANDLE, HTTP_SERVICE_CONFIG_ID, PVOID, ULONG, LPOVERLAPPED)
 

Macro Definition Documentation

◆ HTTP_INITIALIZE_CONFIG

#define HTTP_INITIALIZE_CONFIG   0x00000002

Definition at line 42 of file http.h.

◆ HTTP_INITIALIZE_SERVER

#define HTTP_INITIALIZE_SERVER   0x00000001

Definition at line 41 of file http.h.

◆ HTTPAPI_VERSION_1

#define HTTPAPI_VERSION_1   {1,0}

Definition at line 37 of file http.h.

◆ HTTPAPI_VERSION_2

#define HTTPAPI_VERSION_2   {2,0}

Definition at line 38 of file http.h.

Typedef Documentation

◆ HTTP_OPAQUE_ID

Definition at line 53 of file http.h.

◆ HTTP_SERVER_SESSION_ID

Definition at line 54 of file http.h.

◆ HTTP_SERVICE_CONFIG_ID

◆ HTTPAPI_VERSION

◆ PHTTP_OPAQUE_ID

Definition at line 53 of file http.h.

◆ PHTTP_SERVER_SESSION_ID

Definition at line 54 of file http.h.

◆ PHTTP_SERVICE_CONFIG_ID

◆ PHTTPAPI_VERSION

Enumeration Type Documentation

◆ _HTTP_SERVICE_CONFIG_ID

Enumerator
HttpServiceConfigIPListenList 
HttpServiceConfigSSLCertInfo 
HttpServiceConfigUrlAclInfo 
HttpServiceConfigTimeout 
HttpServiceConfigMax 

Definition at line 44 of file http.h.

Function Documentation

◆ HttpAddUrl()

ULONG WINAPI HttpAddUrl ( HANDLE  ,
PCWSTR  ,
PVOID   
)

Definition at line 181 of file httpapi_main.c.

182 {
183  FIXME( "(%p, %s, %p): stub!\n", handle, debugstr_w(url), reserved );
185 }
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
r reserved
Definition: btrfs.c:2655
static const WCHAR url[]
Definition: encode.c:1432
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:92

◆ HttpCreateHttpHandle()

ULONG WINAPI HttpCreateHttpHandle ( PHANDLE  ,
ULONG   
)

Definition at line 172 of file httpapi_main.c.

173 {
174  FIXME( "(%p, %d): stub!\n", handle, reserved);
176 }
#define FIXME(fmt,...)
Definition: debug.h:110
r reserved
Definition: btrfs.c:2655
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:92

◆ HttpCreateServerSession()

ULONG WINAPI HttpCreateServerSession ( HTTPAPI_VERSION  ,
PHTTP_SERVER_SESSION_ID  ,
ULONG   
)

◆ HttpDeleteServiceConfiguration()

ULONG WINAPI HttpDeleteServiceConfiguration ( HANDLE  ,
HTTP_SERVICE_CONFIG_ID  ,
PVOID  ,
ULONG  ,
LPOVERLAPPED   
)

Definition at line 101 of file httpapi_main.c.

103 {
104  FIXME( "(%p, %d, %p, %d, %p): stub!\n", handle, type, config, length, overlapped );
105  return NO_ERROR;
106 }
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
#define NO_ERROR
Definition: dderror.h:5
#define FIXME(fmt,...)
Definition: debug.h:110
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
namespace GUID const ADDRINFOEXW ADDRINFOEXW struct timeval OVERLAPPED * overlapped
Definition: sock.c:82

◆ HttpInitialize()

ULONG WINAPI HttpInitialize ( HTTPAPI_VERSION  ,
ULONG  ,
PVOID   
)

Definition at line 59 of file httpapi_main.c.

60 {
61  FIXME( "({%d,%d}, 0x%x, %p): stub!\n", version.HttpApiMajorVersion,
62  version.HttpApiMinorVersion, flags, reserved );
63  return NO_ERROR;
64 }
#define NO_ERROR
Definition: dderror.h:5
#define FIXME(fmt,...)
Definition: debug.h:110
r reserved
Definition: btrfs.c:2655
static const WCHAR version[]
Definition: asmname.c:64
GLbitfield flags
Definition: glext.h:7161

◆ HttpQueryServiceConfiguration()

ULONG WINAPI HttpQueryServiceConfiguration ( HANDLE  ,
HTTP_SERVICE_CONFIG_ID  ,
PVOID  ,
ULONG  ,
PVOID  ,
ULONG  ,
PULONG  ,
LPOVERLAPPED   
)

Definition at line 127 of file httpapi_main.c.

130 {
131  FIXME( "(%p, %d, %p, %d, %p, %d, %p, %p): stub!\n", handle, type, query, query_len,
132  buffer, buffer_len, data_len, overlapped );
133  return ERROR_FILE_NOT_FOUND;
134 }
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLuint buffer
Definition: glext.h:5915
#define FIXME(fmt,...)
Definition: debug.h:110
#define ERROR_FILE_NOT_FOUND
Definition: disk.h:79
namespace GUID const ADDRINFOEXW ADDRINFOEXW struct timeval OVERLAPPED * overlapped
Definition: sock.c:82

◆ HttpSetServiceConfiguration()

ULONG WINAPI HttpSetServiceConfiguration ( HANDLE  ,
HTTP_SERVICE_CONFIG_ID  ,
PVOID  ,
ULONG  ,
LPOVERLAPPED   
)

Definition at line 152 of file httpapi_main.c.

154 {
155  FIXME( "(%p, %d, %p, %d, %p): stub!\n", handle, type, config, length, overlapped );
156  return NO_ERROR;
157 }
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
#define NO_ERROR
Definition: dderror.h:5
#define FIXME(fmt,...)
Definition: debug.h:110
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
namespace GUID const ADDRINFOEXW ADDRINFOEXW struct timeval OVERLAPPED * overlapped
Definition: sock.c:82

◆ HttpTerminate()

ULONG WINAPI HttpTerminate ( ULONG  ,
PVOID   
)

Definition at line 79 of file httpapi_main.c.

80 {
81  FIXME( "(0x%x, %p): stub!\n", flags, reserved );
82  return NO_ERROR;
83 }
#define NO_ERROR
Definition: dderror.h:5
#define FIXME(fmt,...)
Definition: debug.h:110
r reserved
Definition: btrfs.c:2655
GLbitfield flags
Definition: glext.h:7161