Exported API for registering custom variables. See #120.

Simple example in api/mod_var_remote_host_port.c
This commit is contained in:
brectanus
2007-05-03 03:26:30 +00:00
parent b47059a5b3
commit 2aa6e61605
7 changed files with 174 additions and 1 deletions

View File

@@ -243,6 +243,11 @@ struct msre_actionset {
int auditlog;
};
void msre_engine_variable_register(msre_engine *engine, const char *name,
unsigned int type, unsigned int argc_min, unsigned int argc_max,
FN_VAR_VALIDATE(validate), FN_VAR_GENERATE(generate),
unsigned int is_cacheable, unsigned int availability);
msre_actionset *msre_actionset_create(msre_engine *engine, const char *text,
char **error_msg);