MCPcopy Create free account
hub / github.com/apache/httpd / ap_fcgi_header_to_array

Function ap_fcgi_header_to_array

server/util_fcgi.c:26–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24#define APLOG_MODULE_INDEX AP_CORE_MODULE_INDEX
25
26AP_DECLARE(void) ap_fcgi_header_to_array(ap_fcgi_header *h,
27 unsigned char a[])
28{
29 a[AP_FCGI_HDR_VERSION_OFFSET] = h->version;
30 a[AP_FCGI_HDR_TYPE_OFFSET] = h->type;
31 a[AP_FCGI_HDR_REQUEST_ID_B1_OFFSET] = h->requestIdB1;
32 a[AP_FCGI_HDR_REQUEST_ID_B0_OFFSET] = h->requestIdB0;
33 a[AP_FCGI_HDR_CONTENT_LEN_B1_OFFSET] = h->contentLengthB1;
34 a[AP_FCGI_HDR_CONTENT_LEN_B0_OFFSET] = h->contentLengthB0;
35 a[AP_FCGI_HDR_PADDING_LEN_OFFSET] = h->paddingLength;
36 a[AP_FCGI_HDR_RESERVED_OFFSET] = h->reserved;
37}
38
39AP_DECLARE(void) ap_fcgi_header_from_array(ap_fcgi_header *h,
40 unsigned char a[])

Callers 5

send_begin_requestFunction · 0.85
send_environmentFunction · 0.85
send_begin_requestFunction · 0.85
send_environmentFunction · 0.85
dispatchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected