Main Page | Modules | Data Structures | File List | Data Fields

String Interpolation
[State Utility Library]


Data Structures

struct  sul_interp_value_t

Typedefs

typedef sul_interp_value_t sul_interp_value_t

Functions

 sul_interpolate_from_table (const char *src, apr_table_t *frame, apr_pool_t *pool)
 sul_interpolate_from_hash (const char *src, apr_hash_t *frame, apr_pool_t *pool)
 sul_interpolate (const char *src, sul_interp_value_t *frame, apr_pool_t *pool)

Typedef Documentation

typedef struct sul_interp_value_t sul_interp_value_t
 

Value available to strings as they are being interpolated.


Function Documentation

sul_interpolate const char *  src,
sul_interp_value_t frame,
apr_pool_t *  pool
 

Interpolates a string, substituting values for keys that are found in the source string.

Parameters:
src Source string to be interpolated.
frame Array of key values to be substituted if they're found.
pool Pool to allocate memory from.
Returns:
The result of the string interpolation.

sul_interpolate_from_hash const char *  src,
apr_hash_t *  frame,
apr_pool_t *  pool
 

Interpolates a string, substituting values for keys that are found in the source string.

Parameters:
src Source string to be interpolated.
frame Array of key values to be substituted if they're found.
pool Pool to allocate memory from.
Returns:
The result of the string interpolation.

sul_interpolate_from_table const char *  src,
apr_table_t *  frame,
apr_pool_t *  pool
 

Interpolates a string, substituting values for keys that are found in the source string.

Parameters:
src Source string to be interpolated.
frame Array of key values to be substituted if they're found.
pool Pool to allocate memory from.
Returns:
The result of the string interpolation.


Generated on Wed Apr 28 09:38:38 2004 for State by doxygen 1.3.5