#include <apr.h>
#include <apr_hash.h>
#include <apr_tables.h>
Go to the source code of this file.
Data Structures | |
| struct | etl_variable_t |
| A variable that can be accessed inside a template. More... | |
Enumerations | |
| enum | etl_variable_type_t { ETL_VARIABLE_STRING, ETL_VARIABLE_INTEGER, ETL_VARIABLE_ARRAY, ETL_VARIABLE_HASH } |
| The types of variables that can appear in a template. More... | |
Functions | |
| etl_variable_t * | etl_variable_make_int (apr_int64_t i, apr_pool_t *pool) |
Helper function to turn an apr_int64_t into a template variable, the variable is allocated in pool. | |
| etl_variable_t * | etl_variable_make_str (const char *str, apr_pool_t *pool) |
| Helper function to turn a string str into a template variable, the variable is allocated in pool. | |
| etl_variable_t * | etl_variable_make_array (int nitems, apr_pool_t *pool) |
| Helper function to create a template variable wrapped around an empty array. | |
| etl_variable_t * | etl_variable_make_hash (apr_pool_t *pool) |
| Helper function to create a template variable wrapped around an empty hash. | |
Definition in file etl_variables.h.
|
|
The types of variables that can appear in a template.
Definition at line 33 of file etl_variables.h. |
|
||||||||||||
|
Helper function to create a template variable wrapped around an empty array. The array is initially sized to hold nitems and is allocated in pool. |
|
|
Helper function to create a template variable wrapped around an empty hash. The array is allocated in pool. |
1.4.4