| 24 | #define APLOG_MODULE_INDEX AP_CORE_MODULE_INDEX |
| 25 | |
| 26 | AP_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 | |
| 39 | AP_DECLARE(void) ap_fcgi_header_from_array(ap_fcgi_header *h, |
| 40 | unsigned char a[]) |
no outgoing calls
no test coverage detected