Apache HTTPD
Macros | Functions | Variables
ajp_msg.c File Reference
#include "ajp.h"

Go to the source code of this file.

Macros

#define AJP_MSG_DUMP_BYTES_PER_LINE   16
 
#define AJP_MSG_DUMP_PREFIX_LENGTH   strlen("XXXX ")
 
#define AJP_MSG_DUMP_LINE_LENGTH
 

Functions

apr_status_t ajp_msg_dump (apr_pool_t *pool, ajp_msg_t *msg, char *err, apr_size_t count, char **buf)
 
apr_status_t ajp_msg_log (request_rec *r, ajp_msg_t *msg, char *err)
 
apr_status_t ajp_msg_check_header (ajp_msg_t *msg, apr_size_t *len)
 
apr_status_t ajp_msg_reset (ajp_msg_t *msg)
 
apr_status_t ajp_msg_reuse (ajp_msg_t *msg)
 
apr_status_t ajp_msg_end (ajp_msg_t *msg)
 
static APR_INLINE int ajp_log_overflow (ajp_msg_t *msg, const char *context)
 
apr_status_t ajp_msg_append_uint32 (ajp_msg_t *msg, apr_uint32_t value)
 
apr_status_t ajp_msg_append_uint16 (ajp_msg_t *msg, apr_uint16_t value)
 
apr_status_t ajp_msg_append_uint8 (ajp_msg_t *msg, apr_byte_t value)
 
apr_status_t ajp_msg_append_string_ex (ajp_msg_t *msg, const char *value, int convert)
 
apr_status_t ajp_msg_append_bytes (ajp_msg_t *msg, const apr_byte_t *value, apr_size_t valuelen)
 
apr_status_t ajp_msg_get_uint32 (ajp_msg_t *msg, apr_uint32_t *rvalue)
 
apr_status_t ajp_msg_get_uint16 (ajp_msg_t *msg, apr_uint16_t *rvalue)
 
apr_status_t ajp_msg_peek_uint16 (ajp_msg_t *msg, apr_uint16_t *rvalue)
 
apr_status_t ajp_msg_peek_uint8 (ajp_msg_t *msg, apr_byte_t *rvalue)
 
apr_status_t ajp_msg_get_uint8 (ajp_msg_t *msg, apr_byte_t *rvalue)
 
apr_status_t ajp_msg_get_string (ajp_msg_t *msg, const char **rvalue)
 
apr_status_t ajp_msg_get_bytes (ajp_msg_t *msg, apr_byte_t **rvalue, apr_size_t *rvalue_len)
 
apr_status_t ajp_msg_create (apr_pool_t *pool, apr_size_t size, ajp_msg_t **rmsg)
 
apr_status_t ajp_msg_copy (ajp_msg_t *smsg, ajp_msg_t *dmsg)
 
apr_status_t ajp_msg_serialize_ping (ajp_msg_t *msg)
 
apr_status_t ajp_msg_serialize_cping (ajp_msg_t *msg)
 

Variables

static int *const aplog_module_index = &( proxy_ajp_module.module_index)
 
static charhex_table = "0123456789ABCDEF"
 

Macro Definition Documentation

◆ AJP_MSG_DUMP_BYTES_PER_LINE

#define AJP_MSG_DUMP_BYTES_PER_LINE   16

Definition at line 21 of file ajp_msg.c.

◆ AJP_MSG_DUMP_LINE_LENGTH

#define AJP_MSG_DUMP_LINE_LENGTH
Value:
strlen("XX .")) + \
strlen(" - ") + 1)
#define AJP_MSG_DUMP_BYTES_PER_LINE
Definition ajp_msg.c:21
#define AJP_MSG_DUMP_PREFIX_LENGTH
Definition ajp_msg.c:24
apr_size_t size

Definition at line 25 of file ajp_msg.c.

◆ AJP_MSG_DUMP_PREFIX_LENGTH

#define AJP_MSG_DUMP_PREFIX_LENGTH   strlen("XXXX ")

Definition at line 24 of file ajp_msg.c.

Function Documentation

◆ ajp_log_overflow()

static APR_INLINE int ajp_log_overflow ( ajp_msg_t msg,
const char context 
)
static

Definition at line 244 of file ajp_msg.c.

Variable Documentation

◆ aplog_module_index

int* const aplog_module_index = &( proxy_ajp_module.module_index)
static

Definition at line 19 of file ajp_msg.c.

◆ hex_table

char* hex_table = "0123456789ABCDEF"
static

Definition at line 30 of file ajp_msg.c.