Lines Matching refs:pReq
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() argument
200 if ( !pReq ) in LSAPI_SetRespStatus_r()
202 pReq->m_respHeader.m_respInfo.m_status = code; in LSAPI_SetRespStatus_r()
206 static inline int LSAPI_SetAppData_r( LSAPI_Request * pReq, void * data ) in LSAPI_SetAppData_r() argument
208 if ( !pReq ) in LSAPI_SetAppData_r()
210 pReq->m_pAppData = data; in LSAPI_SetAppData_r()
214 static inline void * LSAPI_GetAppData_r( LSAPI_Request * pReq ) in LSAPI_GetAppData_r() argument
216 if ( !pReq ) in LSAPI_GetAppData_r()
218 return pReq->m_pAppData; in LSAPI_GetAppData_r()
221 static inline char * LSAPI_GetQueryString_r( LSAPI_Request * pReq ) in LSAPI_GetQueryString_r() argument
223 if ( pReq ) in LSAPI_GetQueryString_r()
224 return pReq->m_pQueryString; in LSAPI_GetQueryString_r()
229 static inline char * LSAPI_GetScriptFileName_r( LSAPI_Request * pReq ) in LSAPI_GetScriptFileName_r() argument
231 if ( pReq ) in LSAPI_GetScriptFileName_r()
232 return pReq->m_pScriptFile; in LSAPI_GetScriptFileName_r()
237 static inline char * LSAPI_GetScriptName_r( LSAPI_Request * pReq ) in LSAPI_GetScriptName_r() argument
239 if ( pReq ) in LSAPI_GetScriptName_r()
240 return pReq->m_pScriptName; in LSAPI_GetScriptName_r()
245 static inline char * LSAPI_GetRequestMethod_r( LSAPI_Request * pReq) in LSAPI_GetRequestMethod_r() argument
247 if ( pReq ) in LSAPI_GetRequestMethod_r()
248 return pReq->m_pRequestMethod; in LSAPI_GetRequestMethod_r()
254 static inline off_t LSAPI_GetReqBodyLen_r( LSAPI_Request * pReq ) in LSAPI_GetReqBodyLen_r() argument
256 if ( pReq ) in LSAPI_GetReqBodyLen_r()
257 return pReq->m_reqBodyLen; in LSAPI_GetReqBodyLen_r()
261 static inline off_t LSAPI_GetReqBodyRemain_r( LSAPI_Request * pReq ) in LSAPI_GetReqBodyRemain_r() argument
263 if ( pReq ) in LSAPI_GetReqBodyRemain_r()
264 return pReq->m_reqBodyLen - pReq->m_reqBodyRead; in LSAPI_GetReqBodyRemain_r()
362 int LSAPI_Prefork_Accept_r( LSAPI_Request * pReq );