syslog-ng source
secure-logging.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 <openssl/evp.h>
#include <glib.h>
#include <openssl/rand.h>
#include <sys/mman.h>
#include "slog.h"
Include dependency graph for secure-logging.c:

Classes

struct  TFSlogState
 

Functions

void tf_slog_func_free_state (gpointer s)
 
 TEMPLATE_FUNCTION (TFSlogState, tf_slog, tf_slog_prepare, tf_simple_func_eval, tf_slog_call, tf_slog_func_free_state, NULL)
 
gboolean secure_logging_module_init (PluginContext *context, CfgArgs *args)
 

Variables

const ModuleInfo module_info
 

Function Documentation

◆ secure_logging_module_init()

gboolean secure_logging_module_init ( PluginContext *  context,
CfgArgs *  args 
)

◆ TEMPLATE_FUNCTION()

TEMPLATE_FUNCTION ( TFSlogState  ,
tf_slog  ,
tf_slog_prepare  ,
tf_simple_func_eval  ,
tf_slog_call  ,
tf_slog_func_free_state  ,
NULL   
)

◆ tf_slog_func_free_state()

void tf_slog_func_free_state ( gpointer  s)

Variable Documentation

◆ module_info

const ModuleInfo module_info
Initial value:
=
{
.canonical_name = "secure_logging",
.version = SYSLOG_NG_VERSION,
.description = "The secure logging module provides template functions enabling forward integrity and confidentiality of logs.",
.core_revision = SYSLOG_NG_SOURCE_REVISION,
.plugins = secure_logging_plugins,
.plugins_len = G_N_ELEMENTS(secure_logging_plugins),
}