Lines Matching refs:lpCB

53 	LPCONTROL_BLOCK lpCB = (LPCONTROL_BLOCK) SG(server_context);  in php_info_pi3web()  local
54 PIDB *pDB = (PIDB *)lpCB->GetVariableNames(lpCB->ConnID); in php_info_pi3web()
66 if (lpCB->GetServerVariable(lpCB->ConnID, "SERVER_NAME", variable_buf, &variable_len) in php_info_pi3web()
78 php_info_print_table_row(2, "HTTP Request Line", lpCB->lpszReq); in php_info_pi3web()
90 if (lpCB->GetServerVariable(lpCB->ConnID, pKey, variable_buf, &variable_len) in php_info_pi3web()
97 if (lpCB->GetServerVariable(lpCB->ConnID, pKey, tmp_variable_buf, &variable_len) in php_info_pi3web()
166 LPCONTROL_BLOCK lpCB = (LPCONTROL_BLOCK) SG(server_context); in sapi_pi3web_send_headers() local
190 lpCB->dwHttpStatusCode = SG(sapi_headers).http_response_code; in sapi_pi3web_send_headers()
191 lpCB->SendHeaderFunction(lpCB->ConnID, &total_length, (LPDWORD) combined_headers); in sapi_pi3web_send_headers()
214 LPCONTROL_BLOCK lpCB = (LPCONTROL_BLOCK) SG(server_context); in sapi_pi3web_read_post() local
219 if ((DWORD)SG(read_post_bytes) < lpCB->cbAvailable) { in sapi_pi3web_read_post()
220 read_from_buf = MIN(lpCB->cbAvailable-SG(read_post_bytes), count_bytes); in sapi_pi3web_read_post()
221 memcpy(buffer, lpCB->lpbData+SG(read_post_bytes), read_from_buf); in sapi_pi3web_read_post()
225 && (SG(read_post_bytes)+read_from_buf) < lpCB->cbTotalBytes) { in sapi_pi3web_read_post()
228 …read_from_input = MIN(count_bytes-read_from_buf, lpCB->cbTotalBytes-SG(read_post_bytes)-read_from_… in sapi_pi3web_read_post()
231 if (!lpCB->ReadClient(lpCB->ConnID, buffer+read_from_buf+cbRead, &cbSize) || cbSize==0) { in sapi_pi3web_read_post()
247 LPCONTROL_BLOCK lpCB = (LPCONTROL_BLOCK) SG(server_context); in sapi_pi3web_read_cookies() local
251 if (lpCB->GetServerVariable(lpCB->ConnID, "HTTP_COOKIE", variable_buf, &variable_len)) { in sapi_pi3web_read_cookies()
256 if (lpCB->GetServerVariable(lpCB->ConnID, "HTTP_COOKIE", tmp_variable_buf, &variable_len)) { in sapi_pi3web_read_cookies()
266 static void init_request_info(LPCONTROL_BLOCK lpCB TSRMLS_DC) in init_request_info()
268 SG(server_context) = lpCB; in init_request_info()
269 SG(request_info).request_method = lpCB->lpszMethod; in init_request_info()
270 SG(request_info).query_string = lpCB->lpszQueryString; in init_request_info()
271 SG(request_info).path_translated = lpCB->lpszPathTranslated; in init_request_info()
272 SG(request_info).request_uri = lpCB->lpszUri; in init_request_info()
273 SG(request_info).content_type = lpCB->lpszContentType; in init_request_info()
274 SG(request_info).content_length = lpCB->cbTotalBytes; in init_request_info()
275 …SG(request_info).auth_user = (lpCB->lpszUser) ? (char *)estrdup((const char *)(lpCB->lpszUse… in init_request_info()
276 …SG(request_info).auth_password = (lpCB->lpszPassword) ? (char *)estrdup((const char *)(lpCB->lps… in init_request_info()
285 LPCONTROL_BLOCK lpCB = (LPCONTROL_BLOCK) SG(server_context); in sapi_pi3web_register_variables() local
286 PIDB *pDB = (PIDB *)lpCB->GetVariableNames(lpCB->ConnID); in sapi_pi3web_register_variables()
297 if (lpCB->GetServerVariable(lpCB->ConnID, pKey, static_variable_buf, &variable_len) in sapi_pi3web_register_variables()
302 if (lpCB->GetServerVariable(lpCB->ConnID, pKey, variable_buf, &variable_len)) { in sapi_pi3web_register_variables()
313 if (lpCB->GetServerVariable(lpCB->ConnID, "SCRIPT_NAME", static_variable_buf, &variable_len) in sapi_pi3web_register_variables()
345 MODULE_API DWORD PHP5_wrapper(LPCONTROL_BLOCK lpCB) in PHP5_wrapper() argument
352 file_handle.filename = lpCB->lpszFileName; in PHP5_wrapper()
357 init_request_info(lpCB TSRMLS_CC); in PHP5_wrapper()
360 switch ( lpCB->dwBehavior ) { in PHP5_wrapper()