Apache HTTPD
Macros | Functions | Variables
apr_escape.c File Reference
#include "apr_escape.h"
#include "apr_escape_test_char.h"
#include "apr_encode_private.h"
#include "apr_lib.h"
#include "apr_strings.h"

Go to the source code of this file.

Macros

#define TEST_CHAR(c, f)   (test_char_table[(unsigned)(c)] & (f))
 
#define MAXENTLEN   (6)
 

Functions

 APR_DECLARE (apr_status_t)
 
 APR_DECLARE (const char *)
 
static char x2c (const char *what)
 
static APR_INLINE unsigned charc2x (unsigned what, unsigned char prefix, unsigned char *where)
 
 APR_DECLARE (const void *)
 

Variables

static const char c2x_table [] = "0123456789abcdef"
 

Macro Definition Documentation

◆ MAXENTLEN

#define MAXENTLEN   (6)

Definition at line 658 of file apr_escape.c.

◆ TEST_CHAR

#define TEST_CHAR (   c,
  f 
)    (test_char_table[(unsigned)(c)] & (f))

Definition at line 39 of file apr_escape.c.

Function Documentation

◆ c2x()

static APR_INLINE unsigned char * c2x ( unsigned  what,
unsigned char  prefix,
unsigned char where 
)
static

Definition at line 289 of file apr_escape.c.

◆ x2c()

static char x2c ( const char what)
static

Definition at line 118 of file apr_escape.c.

Variable Documentation

◆ c2x_table

const char c2x_table[] = "0123456789abcdef"
static

Definition at line 287 of file apr_escape.c.