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()
465 request_rec *rr=NULL; in PHP_FUNCTION() local
471 if (!(rr = sub_req_lookup_uri(filename, ((request_rec *) SG(server_context))))) { in PHP_FUNCTION()
477 add_property_long(return_value,"status", rr->status); in PHP_FUNCTION()
479 if (rr->the_request) { in PHP_FUNCTION()
480 add_property_string(return_value,"the_request", rr->the_request, 1); in PHP_FUNCTION()
482 if (rr->status_line) { in PHP_FUNCTION()
483 add_property_string(return_value,"status_line", (char *)rr->status_line, 1); in PHP_FUNCTION()
485 if (rr->method) { in PHP_FUNCTION()
486 add_property_string(return_value,"method", (char *)rr->method, 1); in PHP_FUNCTION()
488 if (rr->content_type) { in PHP_FUNCTION()
489 add_property_string(return_value,"content_type", (char *)rr->content_type, 1); in PHP_FUNCTION()
491 if (rr->handler) { in PHP_FUNCTION()
492 add_property_string(return_value,"handler", (char *)rr->handler, 1); in PHP_FUNCTION()
494 if (rr->uri) { in PHP_FUNCTION()
495 add_property_string(return_value,"uri", rr->uri, 1); in PHP_FUNCTION()
497 if (rr->filename) { in PHP_FUNCTION()
498 add_property_string(return_value,"filename", rr->filename, 1); in PHP_FUNCTION()
500 if (rr->path_info) { in PHP_FUNCTION()
501 add_property_string(return_value,"path_info", rr->path_info, 1); in PHP_FUNCTION()
503 if (rr->args) { in PHP_FUNCTION()
504 add_property_string(return_value,"args", rr->args, 1); in PHP_FUNCTION()
506 if (rr->boundary) { in PHP_FUNCTION()
507 add_property_string(return_value,"boundary", rr->boundary, 1); in PHP_FUNCTION()
510 add_property_long(return_value,"no_cache", rr->no_cache); in PHP_FUNCTION()
511 add_property_long(return_value,"no_local_copy", rr->no_local_copy); in PHP_FUNCTION()
512 add_property_long(return_value,"allowed", rr->allowed); in PHP_FUNCTION()
513 add_property_long(return_value,"sent_bodyct", rr->sent_bodyct); in PHP_FUNCTION()
514 add_property_long(return_value,"bytes_sent", rr->bytes_sent); in PHP_FUNCTION()
515 add_property_long(return_value,"byterange", rr->byterange); in PHP_FUNCTION()
516 add_property_long(return_value,"clength", rr->clength); in PHP_FUNCTION()
519 if (rr->unparsed_uri) { in PHP_FUNCTION()
520 add_property_string(return_value,"unparsed_uri", rr->unparsed_uri, 1); in PHP_FUNCTION()
522 if(rr->mtime) { in PHP_FUNCTION()
523 add_property_long(return_value,"mtime", rr->mtime); in PHP_FUNCTION()
526 if(rr->request_time) { in PHP_FUNCTION()
527 add_property_long(return_value,"request_time", rr->request_time); in PHP_FUNCTION()
530 destroy_sub_req(rr); in PHP_FUNCTION()
542 request_rec *rr=NULL;
549 if(!(rr = ap_sub_req_lookup_uri(filename, ((request_rec *) SG(server_context))))) {
554 RETVAL_LONG(ap_run_sub_req(rr));
555 ap_destroy_sub_req(rr);