syslog-ng source
python-plugin.c File Reference
#include "python-module.h"
#include "python-tf.h"
#include "python-startup.h"
#include "python-debugger.h"
#include "plugin.h"
#include "plugin-types.h"
#include <stdlib.h>
#include <string.h>
Include dependency graph for python-plugin.c:

Functions

gboolean python_module_init (PluginContext *context, CfgArgs *args)
 

Variables

CfgParser python_parser
 
CfgParser python_parser_parser
 
const ModuleInfo module_info
 

Function Documentation

◆ python_module_init()

gboolean python_module_init ( PluginContext *  context,
CfgArgs *  args 
)

Variable Documentation

◆ module_info

const ModuleInfo module_info
Initial value:
=
{
.canonical_name = "python",
.version = SYSLOG_NG_VERSION,
.description = "The python ("PYTHON_MODULE_VERSION") module provides Python scripting support for syslog-ng.",
.core_revision = SYSLOG_NG_SOURCE_REVISION,
.plugins = python_plugins,
.plugins_len = G_N_ELEMENTS(python_plugins),
}
#define PYTHON_MODULE_VERSION
Definition: compat-python.h:33

◆ python_parser

CfgParser python_parser
extern

◆ python_parser_parser

CfgParser python_parser_parser
extern