Lines Matching refs:rr
351 request_rec *rr = NULL; in PHP_FUNCTION() local
357 if (!(rr = sub_req_lookup_uri (filename, ((request_rec *) SG(server_context))))) { in PHP_FUNCTION()
359 if (rr) in PHP_FUNCTION()
360 destroy_sub_req (rr); in PHP_FUNCTION()
364 if (rr->status != 200) { in PHP_FUNCTION()
366 if (rr) in PHP_FUNCTION()
367 destroy_sub_req (rr); in PHP_FUNCTION()
374 if (run_sub_req(rr)) { in PHP_FUNCTION()
376 if (rr) in PHP_FUNCTION()
377 destroy_sub_req (rr); in PHP_FUNCTION()
381 if (rr) in PHP_FUNCTION()
382 destroy_sub_req (rr); in PHP_FUNCTION()
463 request_rec *rr=NULL; in PHP_FUNCTION() local
469 if (!(rr = sub_req_lookup_uri(filename, ((request_rec *) SG(server_context))))) { in PHP_FUNCTION()
475 add_property_long(return_value,"status", rr->status); in PHP_FUNCTION()
477 if (rr->the_request) { in PHP_FUNCTION()
478 add_property_string(return_value,"the_request", rr->the_request, 1); in PHP_FUNCTION()
480 if (rr->status_line) { in PHP_FUNCTION()
481 add_property_string(return_value,"status_line", (char *)rr->status_line, 1); in PHP_FUNCTION()
483 if (rr->method) { in PHP_FUNCTION()
484 add_property_string(return_value,"method", (char *)rr->method, 1); in PHP_FUNCTION()
486 if (rr->content_type) { in PHP_FUNCTION()
487 add_property_string(return_value,"content_type", (char *)rr->content_type, 1); in PHP_FUNCTION()
489 if (rr->handler) { in PHP_FUNCTION()
490 add_property_string(return_value,"handler", (char *)rr->handler, 1); in PHP_FUNCTION()
492 if (rr->uri) { in PHP_FUNCTION()
493 add_property_string(return_value,"uri", rr->uri, 1); in PHP_FUNCTION()
495 if (rr->filename) { in PHP_FUNCTION()
496 add_property_string(return_value,"filename", rr->filename, 1); in PHP_FUNCTION()
498 if (rr->path_info) { in PHP_FUNCTION()
499 add_property_string(return_value,"path_info", rr->path_info, 1); in PHP_FUNCTION()
501 if (rr->args) { in PHP_FUNCTION()
502 add_property_string(return_value,"args", rr->args, 1); in PHP_FUNCTION()
504 if (rr->boundary) { in PHP_FUNCTION()
505 add_property_string(return_value,"boundary", rr->boundary, 1); in PHP_FUNCTION()
508 add_property_long(return_value,"no_cache", rr->no_cache); in PHP_FUNCTION()
509 add_property_long(return_value,"no_local_copy", rr->no_local_copy); in PHP_FUNCTION()
510 add_property_long(return_value,"allowed", rr->allowed); in PHP_FUNCTION()
511 add_property_long(return_value,"sent_bodyct", rr->sent_bodyct); in PHP_FUNCTION()
512 add_property_long(return_value,"bytes_sent", rr->bytes_sent); in PHP_FUNCTION()
513 add_property_long(return_value,"byterange", rr->byterange); in PHP_FUNCTION()
514 add_property_long(return_value,"clength", rr->clength); in PHP_FUNCTION()
517 if (rr->unparsed_uri) { in PHP_FUNCTION()
518 add_property_string(return_value,"unparsed_uri", rr->unparsed_uri, 1); in PHP_FUNCTION()
520 if(rr->mtime) { in PHP_FUNCTION()
521 add_property_long(return_value,"mtime", rr->mtime); in PHP_FUNCTION()
524 if(rr->request_time) { in PHP_FUNCTION()
525 add_property_long(return_value,"request_time", rr->request_time); in PHP_FUNCTION()
528 destroy_sub_req(rr); in PHP_FUNCTION()
541 request_rec *rr=NULL;
547 if(!(rr = ap_sub_req_lookup_uri(filename, ((request_rec *) SG(server_context))))) {
552 RETVAL_LONG(ap_run_sub_req(rr));
553 ap_destroy_sub_req(rr);