Back to index

php5  5.3.10
Classes | Defines | Enumerations
lsapidef.h File Reference
#include <inttypes.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  lsapi_packet_header
struct  lsapi_req_header
struct  lsapi_http_header_index
struct  lsapi_header_offset
struct  lsapi_resp_info
struct  lsapi_resp_header
union  lsapi_packet_header.m_packetLen

Defines

#define LSAPI_SOCK_FILENO   0
#define LSAPI_VERSION_B0   'L'
#define LSAPI_VERSION_B1   'S'
#define LSAPI_ENDIAN_LITTLE   0
#define LSAPI_ENDIAN_BIG   1
#define LSAPI_ENDIAN_BIT   1
#define LSAPI_ENDIAN   LSAPI_ENDIAN_BIG
#define LSAPI_BEGIN_REQUEST   1
#define LSAPI_ABORT_REQUEST   2
#define LSAPI_RESP_HEADER   3
#define LSAPI_RESP_STREAM   4
#define LSAPI_RESP_END   5
#define LSAPI_STDERR_STREAM   6
#define LSAPI_REQ_RECEIVED   7
#define LSAPI_MAX_HEADER_LEN   65535
#define LSAPI_MAX_DATA_PACKET_LEN   16384
#define LSAPI_RESP_HTTP_HEADER_MAX   4096
#define LSAPI_PACKET_HEADER_LEN   8

Enumerations

enum  {
  H_ACCEPT = 0, H_ACC_CHARSET, H_ACC_ENCODING, H_ACC_LANG,
  H_AUTHORIZATION, H_CONNECTION, H_CONTENT_TYPE, H_CONTENT_LENGTH,
  H_COOKIE, H_COOKIE2, H_HOST, H_PRAGMA,
  H_REFERER, H_USERAGENT, H_CACHE_CTRL, H_IF_MODIFIED_SINCE,
  H_IF_MATCH, H_IF_NO_MATCH, H_IF_RANGE, H_IF_UNMOD_SINCE,
  H_KEEP_ALIVE, H_RANGE, H_X_FORWARDED_FOR, H_VIA,
  H_TRANSFER_ENCODING
}

Class Documentation

struct lsapi_packet_header

Definition at line 125 of file lsapidef.h.

Class Members
char m_flag
union lsapi_packet_header m_packetLen
char m_type
char m_versionB0
char m_versionB1
struct lsapi_req_header

Definition at line 148 of file lsapidef.h.

Class Members
int32_t m_cntEnv
int32_t m_cntSpecialEnv
int32_t m_cntUnknownHeaders
int32_t m_httpHeaderLen
int32_t m_queryStringOff
int32_t m_reqBodyLen
int32_t m_requestMethodOff
int32_t m_scriptFileOff
int32_t m_scriptNameOff
struct lsapi_http_header_index

Definition at line 164 of file lsapidef.h.

Class Members
int16_t m_headerLen
int32_t m_headerOff
struct lsapi_header_offset

Definition at line 170 of file lsapidef.h.

Class Members
int32_t nameLen
int32_t nameOff
int32_t valueLen
int32_t valueOff
struct lsapi_resp_info

Definition at line 178 of file lsapidef.h.

Class Members
int32_t m_cntHeaders
int32_t m_status
struct lsapi_resp_header

Definition at line 184 of file lsapidef.h.

union lsapi_packet_header.m_packetLen

Definition at line 131 of file lsapidef.h.

Class Members
char m_bytes
int32_t m_iLen

Define Documentation

#define LSAPI_ABORT_REQUEST   2

Definition at line 110 of file lsapidef.h.

#define LSAPI_BEGIN_REQUEST   1

Definition at line 109 of file lsapidef.h.

Definition at line 105 of file lsapidef.h.

#define LSAPI_ENDIAN_BIG   1

Definition at line 99 of file lsapidef.h.

#define LSAPI_ENDIAN_BIT   1

Definition at line 100 of file lsapidef.h.

#define LSAPI_ENDIAN_LITTLE   0

Definition at line 98 of file lsapidef.h.

#define LSAPI_MAX_DATA_PACKET_LEN   16384

Definition at line 119 of file lsapidef.h.

#define LSAPI_MAX_HEADER_LEN   65535

Definition at line 118 of file lsapidef.h.

#define LSAPI_PACKET_HEADER_LEN   8

Definition at line 122 of file lsapidef.h.

#define LSAPI_REQ_RECEIVED   7

Definition at line 115 of file lsapidef.h.

#define LSAPI_RESP_END   5

Definition at line 113 of file lsapidef.h.

#define LSAPI_RESP_HEADER   3

Definition at line 111 of file lsapidef.h.

#define LSAPI_RESP_HTTP_HEADER_MAX   4096

Definition at line 121 of file lsapidef.h.

#define LSAPI_RESP_STREAM   4

Definition at line 112 of file lsapidef.h.

#define LSAPI_SOCK_FILENO   0

Definition at line 92 of file lsapidef.h.

#define LSAPI_STDERR_STREAM   6

Definition at line 114 of file lsapidef.h.

#define LSAPI_VERSION_B0   'L'

Definition at line 94 of file lsapidef.h.

#define LSAPI_VERSION_B1   'S'

Definition at line 95 of file lsapidef.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
H_ACCEPT 
H_ACC_CHARSET 
H_ACC_ENCODING 
H_ACC_LANG 
H_AUTHORIZATION 
H_CONNECTION 
H_CONTENT_TYPE 
H_CONTENT_LENGTH 
H_COOKIE 
H_COOKIE2 
H_HOST 
H_PRAGMA 
H_REFERER 
H_USERAGENT 
H_CACHE_CTRL 
H_IF_MODIFIED_SINCE 
H_IF_MATCH 
H_IF_NO_MATCH 
H_IF_RANGE 
H_IF_UNMOD_SINCE 
H_KEEP_ALIVE 
H_RANGE 
H_X_FORWARDED_FOR 
H_VIA 
H_TRANSFER_ENCODING 

Definition at line 63 of file lsapidef.h.