Lines Matching refs:PHG
41 #define PHG(v) TSRMG(ph_globals_id, phttpd_globals_struct *, v) macro
60 sent_bytes = fd_write(PHG(cip)->fd, str, str_length); in php_phttpd_sapi_ub_write()
75 http_sendheaders(PHG(cip)->fd, PHG(cip), SG(sapi_headers).http_response_code, NULL); in php_phttpd_sapi_header_handler()
86 fd_printf(PHG(cip)->fd,"%s: %s\n", header_name, header_content); in php_phttpd_sapi_header_handler()
100 fd_printf(PHG(cip)->fd,"Content-Type: text/html\n"); in php_phttpd_sapi_send_headers()
103 fd_putc('\n', PHG(cip)->fd); in php_phttpd_sapi_send_headers()
188 SG(request_info).query_string = PHG(cip)->hip->request; in php_phttpd_request_ctor()
189 SG(request_info).request_method = PHG(cip)->hip->method; in php_phttpd_request_ctor()
192 …if (url_expand(PHG(cip)->hip->url, SG(request_info).path_translated, MAXPATHLEN, &PHG(sb), NULL, N… in php_phttpd_request_ctor()
245 struct httpinfo *hip = PHG(cip)->hip; in php_doit()
289 PHG(cip) = cip; in pm_request()