Lines Matching refs:pReq
143 int LSAPI_Is_Listen_r( LSAPI_Request * pReq);
145 int LSAPI_InitRequest( LSAPI_Request * pReq, int fd );
147 int LSAPI_Accept_r( LSAPI_Request * pReq );
149 void LSAPI_Reset_r( LSAPI_Request * pReq );
151 int LSAPI_Finish_r( LSAPI_Request * pReq );
153 int LSAPI_Release_r( LSAPI_Request * pReq );
155 char * LSAPI_GetHeader_r( LSAPI_Request * pReq, int headerIndex );
157 int LSAPI_ForeachHeader_r( LSAPI_Request * pReq,
160 int LSAPI_ForeachOrgHeader_r( LSAPI_Request * pReq,
163 int LSAPI_ForeachEnv_r( LSAPI_Request * pReq,
166 int LSAPI_ForeachSpecialEnv_r( LSAPI_Request * pReq,
169 char * LSAPI_GetEnv_r( LSAPI_Request * pReq, const char * name );
171 ssize_t LSAPI_ReadReqBody_r( LSAPI_Request * pReq, char * pBuf, size_t len );
173 int LSAPI_ReqBodyGetChar_r( LSAPI_Request * pReq );
175 int LSAPI_ReqBodyGetLine_r( LSAPI_Request * pReq, char * pBuf, size_t bufLen, int *getLF );
178 int LSAPI_FinalizeRespHeaders_r( LSAPI_Request * pReq );
180 ssize_t LSAPI_Write_r( LSAPI_Request * pReq, const char * pBuf, size_t len );
182 ssize_t LSAPI_sendfile_r( LSAPI_Request * pReq, int fdIn, off_t* off, size_t size );
184 ssize_t LSAPI_Write_Stderr_r( LSAPI_Request * pReq, const char * pBuf, size_t len );
186 int LSAPI_Flush_r( LSAPI_Request * pReq );
188 int LSAPI_AppendRespHeader_r( LSAPI_Request * pReq, const char * pBuf, int len );
190 int LSAPI_AppendRespHeader2_r( LSAPI_Request * pReq, const char * pHeaderName,
193 int LSAPI_ErrResponse_r( LSAPI_Request * pReq, int code, const char ** pRespHeaders,
196 static inline int LSAPI_SetRespStatus_r( LSAPI_Request * pReq, int code ) in LSAPI_SetRespStatus_r() argument
198 if ( !pReq ) in LSAPI_SetRespStatus_r()
200 pReq->m_respHeader.m_respInfo.m_status = code; in LSAPI_SetRespStatus_r()
204 static inline int LSAPI_SetAppData_r( LSAPI_Request * pReq, void * data ) in LSAPI_SetAppData_r() argument
206 if ( !pReq ) in LSAPI_SetAppData_r()
208 pReq->m_pAppData = data; in LSAPI_SetAppData_r()
212 static inline void * LSAPI_GetAppData_r( LSAPI_Request * pReq ) in LSAPI_GetAppData_r() argument
214 if ( !pReq ) in LSAPI_GetAppData_r()
216 return pReq->m_pAppData; in LSAPI_GetAppData_r()
219 static inline char * LSAPI_GetQueryString_r( LSAPI_Request * pReq ) in LSAPI_GetQueryString_r() argument
221 if ( pReq ) in LSAPI_GetQueryString_r()
222 return pReq->m_pQueryString; in LSAPI_GetQueryString_r()
227 static inline char * LSAPI_GetScriptFileName_r( LSAPI_Request * pReq ) in LSAPI_GetScriptFileName_r() argument
229 if ( pReq ) in LSAPI_GetScriptFileName_r()
230 return pReq->m_pScriptFile; in LSAPI_GetScriptFileName_r()
235 static inline char * LSAPI_GetScriptName_r( LSAPI_Request * pReq ) in LSAPI_GetScriptName_r() argument
237 if ( pReq ) in LSAPI_GetScriptName_r()
238 return pReq->m_pScriptName; in LSAPI_GetScriptName_r()
243 static inline char * LSAPI_GetRequestMethod_r( LSAPI_Request * pReq) in LSAPI_GetRequestMethod_r() argument
245 if ( pReq ) in LSAPI_GetRequestMethod_r()
246 return pReq->m_pRequestMethod; in LSAPI_GetRequestMethod_r()
252 static inline off_t LSAPI_GetReqBodyLen_r( LSAPI_Request * pReq ) in LSAPI_GetReqBodyLen_r() argument
254 if ( pReq ) in LSAPI_GetReqBodyLen_r()
255 return pReq->m_reqBodyLen; in LSAPI_GetReqBodyLen_r()
259 static inline off_t LSAPI_GetReqBodyRemain_r( LSAPI_Request * pReq ) in LSAPI_GetReqBodyRemain_r() argument
261 if ( pReq ) in LSAPI_GetReqBodyRemain_r()
262 return pReq->m_reqBodyLen - pReq->m_reqBodyRead; in LSAPI_GetReqBodyRemain_r()
267 int LSAPI_End_Response_r(LSAPI_Request * pReq);
366 int LSAPI_Prefork_Accept_r( LSAPI_Request * pReq );
397 int LSAPI_Accept_Before_Fork(LSAPI_Request * pReq);
399 int LSAPI_Postfork_Child(LSAPI_Request * pReq);
401 int LSAPI_Postfork_Parent(LSAPI_Request * pReq);