syslog-ng source
cryptofuncs.c File Reference
#include "plugin.h"
#include "template/simple-function.h"
#include "cfg.h"
#include "uuid.h"
#include "str-format.h"
#include "plugin-types.h"
#include "compat/openssl_support.h"
#include "crypto-utils.h"
Include dependency graph for cryptofuncs.c:

Classes

struct  TFHashState
 

Functions

 TEMPLATE_FUNCTION_SIMPLE (tf_uuid)
 
 TEMPLATE_FUNCTION (TFHashState, tf_hash, tf_hash_prepare, tf_simple_func_eval, tf_hash_call, tf_simple_func_free_state, NULL)
 
gboolean cryptofuncs_module_init (PluginContext *context, CfgArgs *args)
 

Variables

const ModuleInfo module_info
 

Function Documentation

◆ cryptofuncs_module_init()

gboolean cryptofuncs_module_init ( PluginContext *  context,
CfgArgs *  args 
)

◆ TEMPLATE_FUNCTION()

TEMPLATE_FUNCTION ( TFHashState  ,
tf_hash  ,
tf_hash_prepare  ,
tf_simple_func_eval  ,
tf_hash_call  ,
tf_simple_func_free_state  ,
NULL   
)

◆ TEMPLATE_FUNCTION_SIMPLE()

TEMPLATE_FUNCTION_SIMPLE ( tf_uuid  )

Variable Documentation

◆ module_info

const ModuleInfo module_info
Initial value:
=
{
.canonical_name = "cryptofuncs",
.version = SYSLOG_NG_VERSION,
.description = "The cryptofuncs module provides cryptographic template functions.",
.core_revision = SYSLOG_NG_SOURCE_REVISION,
.plugins = cryptofuncs_plugins,
.plugins_len = G_N_ELEMENTS(cryptofuncs_plugins),
}