1
/* Copyright 2001-2004 The Apache Software Foundation
3
* Licensed under the Apache License, Version 2.0 (the "License");
4
* you may not use this file except in compliance with the License.
5
* You may obtain a copy of the License at
7
* http://www.apache.org/licenses/LICENSE-2.0
9
* Unless required by applicable law or agreed to in writing, software
10
* distributed under the License is distributed on an "AS IS" BASIS,
11
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
* See the License for the specific language governing permissions and
13
* limitations under the License.
16
/* XXX: this should probably named $r->cgi_header_parse
17
* and send_cgi_header an alias in Apache::compat
19
#define mpxs_Apache__RequestRec_send_cgi_header(r, sv) \
23
const char *bodytext; \
24
MP_CGI_HEADER_PARSER_OFF(rcfg); \
25
SvPV_force(sv, len); \
26
modperl_cgi_header_parse(r, SvPVX(sv), (apr_size_t*)&len, &bodytext); \
28
MP_CHECK_WBUCKET_INIT("$r->send_cgi_header"); \
29
modperl_wbucket_write(aTHX_ rcfg->wbucket, bodytext, &len); \
34
mpxs_Apache__RequestRec_set_last_modified(request_rec *r, apr_time_t mtime)
37
ap_update_mtime(r, mtime);
39
ap_set_last_modified(r);