Go to the source code of this file.
◆ TEMPLATE_FUNCTION
| #define TEMPLATE_FUNCTION |
( |
|
state_struct, |
|
|
|
prefix, |
|
|
|
prepare, |
|
|
|
eval, |
|
|
|
call, |
|
|
|
free_state, |
|
|
|
arg |
|
) |
| |
Value:
{ \
static LogTemplateFunction func = { \
sizeof(state_struct), \
prepare, \
eval, \
call, \
free_state, \
NULL, \
arg \
}; \
return &func; \
}
#define TEMPLATE_FUNCTION_PROTOTYPE(prefix)
Definition: function.h:79
◆ TEMPLATE_FUNCTION_DECLARE
◆ TEMPLATE_FUNCTION_PLUGIN
| #define TEMPLATE_FUNCTION_PLUGIN |
( |
|
x, |
|
|
|
tf_name |
|
) |
| |
Value: { \
.type = LL_CONTEXT_TEMPLATE_FUNC, \
.name = tf_name, \
.construct = x ## _construct, \
}
◆ TEMPLATE_FUNCTION_PROTOTYPE
| #define TEMPLATE_FUNCTION_PROTOTYPE |
( |
|
prefix | ) |
|
Value: gpointer \
prefix ## _construct(Plugin *self)
◆ TEMPLATE_INVOKE_MAX_ARGS
| #define TEMPLATE_INVOKE_MAX_ARGS 64 |