Apache HTTPD
Macros | Functions
sed0.c File Reference
#include "apr.h"
#include "apr_strings.h"
#include "libsed.h"
#include "sed.h"
#include "regexp.h"

Go to the source code of this file.

Macros

#define CCEOF   22
 

Functions

static int fcomp (sed_commands_t *commands, apr_file_t *fin)
 
static charcompsub (sed_commands_t *commands, sed_comp_args *compargs, char *rhsbuf)
 
static int rline (sed_commands_t *commands, apr_file_t *fin, char *lbuf, char *lbend)
 
static charaddress (sed_commands_t *commands, char *expbuf, apr_status_t *status)
 
static chartext (sed_commands_t *commands, char *textbuf, char *endbuf)
 
static sed_label_tsearch (sed_commands_t *commands)
 
static charycomp (sed_commands_t *commands, char *expbuf)
 
static charcomple (sed_commands_t *commands, sed_comp_args *compargs, char *x1, char *ep, char *x3, char x4)
 
static sed_reptr_talloc_reptr (sed_commands_t *commands)
 
static int check_finalized (const sed_commands_t *commands)
 
void command_errf (sed_commands_t *commands, const char *fmt,...)
 
apr_status_t sed_init_commands (sed_commands_t *commands, sed_err_fn_t *errfn, void *data, apr_pool_t *p)
 
void sed_destroy_commands (sed_commands_t *commands)
 
apr_status_t sed_compile_string (sed_commands_t *commands, const char *s)
 
apr_status_t sed_compile_file (sed_commands_t *commands, apr_file_t *fin)
 
charsed_get_finalize_error (const sed_commands_t *commands, apr_pool_t *pool)
 
int sed_canbe_finalized (const sed_commands_t *commands)
 
static void dechain (sed_label_t *lpt, sed_reptr_t *address)
 

Macro Definition Documentation

◆ CCEOF

#define CCEOF   22

Definition at line 27 of file sed0.c.

Function Documentation

◆ address()

static char * address ( sed_commands_t commands,
char expbuf,
apr_status_t status 
)
static

Definition at line 812 of file sed0.c.

◆ alloc_reptr()

static sed_reptr_t * alloc_reptr ( sed_commands_t commands)
static

Definition at line 1002 of file sed0.c.

◆ check_finalized()

static int check_finalized ( const sed_commands_t commands)
static

Definition at line 160 of file sed0.c.

◆ command_errf()

void command_errf ( sed_commands_t commands,
const char fmt,
  ... 
)

Definition at line 44 of file sed0.c.

◆ comple()

static char * comple ( sed_commands_t commands,
sed_comp_args compargs,
char x1,
char ep,
char x3,
char  x4 
)
static

Definition at line 987 of file sed0.c.

◆ compsub()

static char * compsub ( sed_commands_t commands,
sed_comp_args compargs,
char rhsbuf 
)
static

Definition at line 673 of file sed0.c.

◆ dechain()

static void dechain ( sed_label_t lpt,
sed_reptr_t address 
)
static

Definition at line 179 of file sed0.c.

◆ fcomp()

static int fcomp ( sed_commands_t commands,
apr_file_t fin 
)
static

Definition at line 199 of file sed0.c.

◆ rline()

static int rline ( sed_commands_t commands,
apr_file_t fin,
char lbuf,
char lbend 
)
static

Definition at line 714 of file sed0.c.

◆ search()

static sed_label_t * search ( sed_commands_t commands)
static

Definition at line 907 of file sed0.c.

◆ sed_canbe_finalized()

int sed_canbe_finalized ( const sed_commands_t commands)

Definition at line 152 of file sed0.c.

◆ sed_compile_file()

apr_status_t sed_compile_file ( sed_commands_t commands,
apr_file_t fin 
)

Definition at line 118 of file sed0.c.

◆ sed_compile_string()

apr_status_t sed_compile_string ( sed_commands_t commands,
const char s 
)

Definition at line 99 of file sed0.c.

◆ sed_destroy_commands()

void sed_destroy_commands ( sed_commands_t commands)

Definition at line 92 of file sed0.c.

◆ sed_get_finalize_error()

char * sed_get_finalize_error ( const sed_commands_t commands,
apr_pool_t pool 
)

Definition at line 127 of file sed0.c.

◆ sed_init_commands()

apr_status_t sed_init_commands ( sed_commands_t commands,
sed_err_fn_t errfn,
void *  data,
apr_pool_t p 
)

Definition at line 59 of file sed0.c.

◆ text()

static char * text ( sed_commands_t commands,
char textbuf,
char endbuf 
)
static

Definition at line 869 of file sed0.c.

◆ ycomp()

static char * ycomp ( sed_commands_t commands,
char expbuf 
)
static

Definition at line 926 of file sed0.c.