syslog-ng source
cond-funcs.c File Reference
This graph shows which files directly or indirectly include this file:

Classes

struct  TFCondState
 

Functions

gboolean tf_cond_prepare (LogTemplateFunction *self, gpointer s, LogTemplate *parent, gint argc, gchar *argv[], GError **error)
 
gboolean tf_grep_prepare (LogTemplateFunction *self, gpointer s, LogTemplate *parent, gint argc, gchar *argv[], GError **error)
 
void tf_grep_call (LogTemplateFunction *self, gpointer s, const LogTemplateInvokeArgs *args, GString *result, LogMessageValueType *type)
 
 TEMPLATE_FUNCTION (TFCondState, tf_grep, tf_grep_prepare, NULL, tf_grep_call, tf_cond_free_state, NULL)
 
gboolean tf_if_prepare (LogTemplateFunction *self, gpointer s, LogTemplate *parent, gint argc, gchar *argv[], GError **error)
 
void tf_if_call (LogTemplateFunction *self, gpointer s, const LogTemplateInvokeArgs *args, GString *result, LogMessageValueType *type)
 
 TEMPLATE_FUNCTION (TFCondState, tf_if, tf_if_prepare, NULL, tf_if_call, tf_cond_free_state, NULL)
 
 TEMPLATE_FUNCTION_SIMPLE (tf_or)
 

Function Documentation

◆ TEMPLATE_FUNCTION() [1/2]

TEMPLATE_FUNCTION ( TFCondState  ,
tf_grep  ,
tf_grep_prepare  ,
NULL  ,
tf_grep_call  ,
tf_cond_free_state  ,
NULL   
)

◆ TEMPLATE_FUNCTION() [2/2]

TEMPLATE_FUNCTION ( TFCondState  ,
tf_if  ,
tf_if_prepare  ,
NULL  ,
tf_if_call  ,
tf_cond_free_state  ,
NULL   
)

◆ TEMPLATE_FUNCTION_SIMPLE()

TEMPLATE_FUNCTION_SIMPLE ( tf_or  )

◆ tf_cond_prepare()

gboolean tf_cond_prepare ( LogTemplateFunction *  self,
gpointer  s,
LogTemplate *  parent,
gint  argc,
gchar *  argv[],
GError **  error 
)

◆ tf_grep_call()

void tf_grep_call ( LogTemplateFunction *  self,
gpointer  s,
const LogTemplateInvokeArgs args,
GString *  result,
LogMessageValueType type 
)

◆ tf_grep_prepare()

gboolean tf_grep_prepare ( LogTemplateFunction *  self,
gpointer  s,
LogTemplate *  parent,
gint  argc,
gchar *  argv[],
GError **  error 
)

◆ tf_if_call()

void tf_if_call ( LogTemplateFunction *  self,
gpointer  s,
const LogTemplateInvokeArgs args,
GString *  result,
LogMessageValueType type 
)

◆ tf_if_prepare()

gboolean tf_if_prepare ( LogTemplateFunction *  self,
gpointer  s,
LogTemplate *  parent,
gint  argc,
gchar *  argv[],
GError **  error 
)