#include <apr.h>
#include <apr_hash.h>
#include <apr_tables.h>
#include <apr_buckets.h>
#include "etl_error.h"
#include "etl_resolver.h"
Go to the source code of this file.
Defines | |
| #define | ETL_TEMPLATE_MAJOR_VERSION 0 |
| #define | ETL_TEMPLATE_MINOR_VERSION 1 |
| #define | ETL_TEMPLATE_PATCH_VERSION 0 |
Typedefs | |
| typedef etl_template_t | etl_template_t |
| A parsed template. | |
Functions | |
| etl_error_t * | etl_template_parse (etl_template_t **tmpl, apr_bucket_brigade *input, apr_pool_t *pool) |
| Parse a bucket brigade input that contains ETL Template Language. | |
| etl_error_t * | etl_template_parse_file (etl_template_t **tmpl, const char *fname, apr_pool_t *pool) |
| Parse a file fname, which contains ETL Template Language, returning it in *tmpl and allocating it in pool. | |
| etl_error_t * | etl_template_execute (etl_template_t *tmpl, etl_resolver_t *resolver, apr_hash_t *environment, apr_bucket_brigade *out, apr_pool_t *pool) |
| Execute tmpl in the context of environment sending output to out and using pool for temporary allocations. | |
Definition in file etl_template.h.
|
||||||||||||||||||||||||
|
Execute tmpl in the context of environment sending output to out and using pool for temporary allocations. resolver is used to find included templates.
environment is a hash mapping |
|
||||||||||||||||
|
Parse a bucket brigade input that contains ETL Template Language. Return a template in *tmpl, allocated in pool. |
1.4.4