Lines Matching refs:LSAPI_Request
130 }LSAPI_Request; typedef
132 extern LSAPI_Request g_req;
144 int LSAPI_Is_Listen_r( LSAPI_Request * pReq);
146 int LSAPI_InitRequest( LSAPI_Request * pReq, int fd );
148 int LSAPI_Accept_r( LSAPI_Request * pReq );
150 void LSAPI_Reset_r( LSAPI_Request * pReq );
152 int LSAPI_Finish_r( LSAPI_Request * pReq );
154 int LSAPI_Release_r( LSAPI_Request * pReq );
156 char * LSAPI_GetHeader_r( LSAPI_Request * pReq, int headerIndex );
158 int LSAPI_ForeachHeader_r( LSAPI_Request * pReq,
161 int LSAPI_ForeachOrgHeader_r( LSAPI_Request * pReq,
164 int LSAPI_ForeachEnv_r( LSAPI_Request * pReq,
167 int LSAPI_ForeachSpecialEnv_r( LSAPI_Request * pReq,
170 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()
362 int LSAPI_Prefork_Accept_r( LSAPI_Request * pReq );