Lines Matching refs:pReq
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() 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()
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);