syslog-ng source
str-funcs.c File Reference
#include <string.h>
#include <ctype.h>
Include dependency graph for str-funcs.c:
This graph shows which files directly or indirectly include this file:

Classes

struct  TFSanitizeState
 
struct  TFStringPaddingState
 
struct  TFBinaryState
 

Functions

 TEMPLATE_FUNCTION_SIMPLE (tf_echo)
 
 TEMPLATE_FUNCTION_SIMPLE (tf_length)
 
 TEMPLATE_FUNCTION_SIMPLE (tf_substr)
 
 TEMPLATE_FUNCTION_SIMPLE (tf_strip)
 
 TEMPLATE_FUNCTION (TFSanitizeState, tf_sanitize, tf_sanitize_prepare, tf_simple_func_eval, tf_sanitize_call, tf_sanitize_free_state, NULL)
 
void tf_indent_multi_line (LogMessage *msg, gint argc, GString *argv[], GString *text, LogMessageValueType *type)
 
 TEMPLATE_FUNCTION_SIMPLE (tf_indent_multi_line)
 
void tf_lowercase (LogMessage *msg, gint argc, GString *argv[], GString *result, LogMessageValueType *type)
 
 TEMPLATE_FUNCTION_SIMPLE (tf_lowercase)
 
void tf_uppercase (LogMessage *msg, gint argc, GString *argv[], GString *result, LogMessageValueType *type)
 
 TEMPLATE_FUNCTION_SIMPLE (tf_uppercase)
 
void tf_replace_delimiter (LogMessage *msg, gint argc, GString *argv[], GString *result, LogMessageValueType *type)
 
 TEMPLATE_FUNCTION_SIMPLE (tf_replace_delimiter)
 
 TEMPLATE_FUNCTION (TFStringPaddingState, tf_string_padding, tf_string_padding_prepare, tf_simple_func_eval, tf_string_padding_call, tf_string_padding_free_state, NULL)
 
 TEMPLATE_FUNCTION (TFBinaryState, tf_binary, tf_binary_prepare, tf_simple_func_eval, tf_binary_call, tf_binary_free_state, NULL)
 
 TEMPLATE_FUNCTION_SIMPLE (tf_base64encode)
 

Function Documentation

◆ TEMPLATE_FUNCTION() [1/3]

TEMPLATE_FUNCTION ( TFBinaryState  ,
tf_binary  ,
tf_binary_prepare  ,
tf_simple_func_eval  ,
tf_binary_call  ,
tf_binary_free_state  ,
NULL   
)

◆ TEMPLATE_FUNCTION() [2/3]

TEMPLATE_FUNCTION ( TFSanitizeState  ,
tf_sanitize  ,
tf_sanitize_prepare  ,
tf_simple_func_eval  ,
tf_sanitize_call  ,
tf_sanitize_free_state  ,
NULL   
)

◆ TEMPLATE_FUNCTION() [3/3]

TEMPLATE_FUNCTION ( TFStringPaddingState  ,
tf_string_padding  ,
tf_string_padding_prepare  ,
tf_simple_func_eval  ,
tf_string_padding_call  ,
tf_string_padding_free_state  ,
NULL   
)

◆ TEMPLATE_FUNCTION_SIMPLE() [1/9]

TEMPLATE_FUNCTION_SIMPLE ( tf_base64encode  )

◆ TEMPLATE_FUNCTION_SIMPLE() [2/9]

TEMPLATE_FUNCTION_SIMPLE ( tf_echo  )

◆ TEMPLATE_FUNCTION_SIMPLE() [3/9]

TEMPLATE_FUNCTION_SIMPLE ( tf_indent_multi_line  )

◆ TEMPLATE_FUNCTION_SIMPLE() [4/9]

TEMPLATE_FUNCTION_SIMPLE ( tf_length  )

◆ TEMPLATE_FUNCTION_SIMPLE() [5/9]

TEMPLATE_FUNCTION_SIMPLE ( tf_lowercase  )

◆ TEMPLATE_FUNCTION_SIMPLE() [6/9]

TEMPLATE_FUNCTION_SIMPLE ( tf_replace_delimiter  )

◆ TEMPLATE_FUNCTION_SIMPLE() [7/9]

TEMPLATE_FUNCTION_SIMPLE ( tf_strip  )

◆ TEMPLATE_FUNCTION_SIMPLE() [8/9]

TEMPLATE_FUNCTION_SIMPLE ( tf_substr  )

◆ TEMPLATE_FUNCTION_SIMPLE() [9/9]

TEMPLATE_FUNCTION_SIMPLE ( tf_uppercase  )

◆ tf_indent_multi_line()

void tf_indent_multi_line ( LogMessage *  msg,
gint  argc,
GString *  argv[],
GString *  text,
LogMessageValueType type 
)

◆ tf_lowercase()

void tf_lowercase ( LogMessage *  msg,
gint  argc,
GString *  argv[],
GString *  result,
LogMessageValueType type 
)

◆ tf_replace_delimiter()

void tf_replace_delimiter ( LogMessage *  msg,
gint  argc,
GString *  argv[],
GString *  result,
LogMessageValueType type 
)

◆ tf_uppercase()

void tf_uppercase ( LogMessage *  msg,
gint  argc,
GString *  argv[],
GString *  result,
LogMessageValueType type 
)