Lines Matching refs:LSAPI_Request

131 }LSAPI_Request;  typedef
133 extern LSAPI_Request g_req;
145 int LSAPI_Is_Listen_r( LSAPI_Request * pReq);
147 int LSAPI_InitRequest( LSAPI_Request * pReq, int fd );
149 int LSAPI_Accept_r( LSAPI_Request * pReq );
151 void LSAPI_Reset_r( LSAPI_Request * pReq );
153 int LSAPI_Finish_r( LSAPI_Request * pReq );
155 int LSAPI_Release_r( LSAPI_Request * pReq );
157 char * LSAPI_GetHeader_r( LSAPI_Request * pReq, int headerIndex );
159 int LSAPI_ForeachHeader_r( LSAPI_Request * pReq,
162 int LSAPI_ForeachOrgHeader_r( LSAPI_Request * pReq,
165 int LSAPI_ForeachEnv_r( LSAPI_Request * pReq,
168 int LSAPI_ForeachSpecialEnv_r( LSAPI_Request * pReq,
171 char * LSAPI_GetEnv_r( LSAPI_Request * pReq, const char * name );
173 ssize_t LSAPI_ReadReqBody_r( LSAPI_Request * pReq, char * pBuf, size_t len );
175 int LSAPI_ReqBodyGetChar_r( LSAPI_Request * pReq );
177 int LSAPI_ReqBodyGetLine_r( LSAPI_Request * pReq, char * pBuf, size_t bufLen, int *getLF );
180 int LSAPI_FinalizeRespHeaders_r( LSAPI_Request * pReq );
182 ssize_t LSAPI_Write_r( LSAPI_Request * pReq, const char * pBuf, size_t len );
184 ssize_t LSAPI_sendfile_r( LSAPI_Request * pReq, int fdIn, off_t* off, size_t size );
186 ssize_t LSAPI_Write_Stderr_r( LSAPI_Request * pReq, const char * pBuf, size_t len );
188 int LSAPI_Flush_r( LSAPI_Request * pReq );
190 int LSAPI_AppendRespHeader_r( LSAPI_Request * pReq, const char * pBuf, int len );
192 int LSAPI_AppendRespHeader2_r( LSAPI_Request * pReq, const char * pHeaderName,
195 int LSAPI_ErrResponse_r( LSAPI_Request * pReq, int code, const char ** pRespHeaders,
198 static inline int LSAPI_SetRespStatus_r( LSAPI_Request * pReq, int code ) in LSAPI_SetRespStatus_r()
206 static inline int LSAPI_SetAppData_r( LSAPI_Request * pReq, void * data ) in LSAPI_SetAppData_r()
214 static inline void * LSAPI_GetAppData_r( LSAPI_Request * pReq ) in LSAPI_GetAppData_r()
221 static inline char * LSAPI_GetQueryString_r( LSAPI_Request * pReq ) in LSAPI_GetQueryString_r()
229 static inline char * LSAPI_GetScriptFileName_r( LSAPI_Request * pReq ) in LSAPI_GetScriptFileName_r()
237 static inline char * LSAPI_GetScriptName_r( LSAPI_Request * pReq ) in LSAPI_GetScriptName_r()
245 static inline char * LSAPI_GetRequestMethod_r( LSAPI_Request * pReq) in LSAPI_GetRequestMethod_r()
254 static inline off_t LSAPI_GetReqBodyLen_r( LSAPI_Request * pReq ) in LSAPI_GetReqBodyLen_r()
261 static inline off_t LSAPI_GetReqBodyRemain_r( LSAPI_Request * pReq ) in LSAPI_GetReqBodyRemain_r()
269 int LSAPI_End_Response_r(LSAPI_Request * pReq);
368 int LSAPI_Prefork_Accept_r( LSAPI_Request * pReq );
399 int LSAPI_Accept_Before_Fork(LSAPI_Request * pReq);
401 int LSAPI_Postfork_Child(LSAPI_Request * pReq);
403 int LSAPI_Postfork_Parent(LSAPI_Request * pReq);