#include "apr.h"
#include "apr_lib.h"
#include "libsed.h"
#include "sed.h"
#include "apr_strings.h"
#include "regexp.h"
Go to the source code of this file.
|
| int | sed_step (char *p1, char *p2, int circf, step_vars_storage *vars) |
| |
| static int | substitute (sed_eval_t *eval, sed_reptr_t *ipc, step_vars_storage *step_vars) |
| |
| static apr_status_t | execute (sed_eval_t *eval) |
| |
| static int | match (sed_eval_t *eval, char *expbuf, int gf, step_vars_storage *step_vars) |
| |
| static apr_status_t | dosub (sed_eval_t *eval, char *rhsbuf, int n, step_vars_storage *step_vars) |
| |
| static char * | place (sed_eval_t *eval, char *asp, char *al1, char *al2) |
| |
| static apr_status_t | command (sed_eval_t *eval, sed_reptr_t *ipc, step_vars_storage *step_vars) |
| |
| static apr_status_t | wline (sed_eval_t *eval, char *buf, apr_size_t sz) |
| |
| static apr_status_t | arout (sed_eval_t *eval) |
| |
| static void | eval_errf (sed_eval_t *eval, const char *fmt,...) |
| |
| static apr_status_t | grow_buffer (apr_pool_t *pool, char **buffer, char **spend, apr_size_t *cursize, apr_size_t newsize) |
| |
| static apr_status_t | grow_line_buffer (sed_eval_t *eval, apr_size_t newsize) |
| |
| static apr_status_t | grow_hold_buffer (sed_eval_t *eval, apr_size_t newsize) |
| |
| static apr_status_t | grow_gen_buffer (sed_eval_t *eval, apr_size_t newsize, char **gspend) |
| |
| static apr_status_t | appendmem_to_linebuf (sed_eval_t *eval, const char *sz, apr_size_t len) |
| |
| static apr_status_t | append_to_linebuf (sed_eval_t *eval, const char *sz, step_vars_storage *step_vars) |
| |
| static apr_status_t | copy_to_linebuf (sed_eval_t *eval, const char *sz, step_vars_storage *step_vars) |
| |
| static apr_status_t | append_to_holdbuf (sed_eval_t *eval, const char *sz) |
| |
| static apr_status_t | copy_to_holdbuf (sed_eval_t *eval, const char *sz) |
| |
| static apr_status_t | append_to_genbuf (sed_eval_t *eval, const char *sz, char **gspend) |
| |
| static apr_status_t | copy_to_genbuf (sed_eval_t *eval, const char *sz) |
| |
| apr_status_t | sed_init_eval (sed_eval_t *eval, sed_commands_t *commands, sed_err_fn_t *errfn, void *data, sed_write_fn_t *writefn, apr_pool_t *p) |
| |
| apr_status_t | sed_reset_eval (sed_eval_t *eval, sed_commands_t *commands, sed_err_fn_t *errfn, void *data) |
| |
| void | sed_destroy_eval (sed_eval_t *eval) |
| |
| apr_status_t | sed_eval_file (sed_eval_t *eval, apr_file_t *fin, void *fout) |
| |
| apr_status_t | sed_eval_buffer (sed_eval_t *eval, const char *buf, apr_size_t bufsz, void *fout) |
| |
| apr_status_t | sed_finalize_eval (sed_eval_t *eval, void *fout) |
| |
◆ INIT_BUF_SIZE
◆ MAX_BUF_SIZE
| #define MAX_BUF_SIZE 1024*8192 |
◆ append_to_genbuf()
◆ append_to_holdbuf()
◆ append_to_linebuf()
◆ appendmem_to_linebuf()
◆ arout()
◆ command()
◆ copy_to_genbuf()
◆ copy_to_holdbuf()
◆ copy_to_linebuf()
◆ dosub()
◆ eval_errf()
◆ execute()
◆ grow_buffer()
◆ grow_gen_buffer()
◆ grow_hold_buffer()
◆ grow_line_buffer()
◆ match()
◆ place()
◆ sed_destroy_eval()
◆ sed_eval_buffer()
◆ sed_eval_file()
◆ sed_finalize_eval()
◆ sed_init_eval()
◆ sed_reset_eval()
◆ sed_step()
◆ substitute()
◆ wline()
◆ rub
◆ trans