syslog-ng source
afstomp.c File Reference
#include "afstomp.h"
#include "afstomp-parser.h"
#include "plugin.h"
#include "messages.h"
#include "stats/stats-registry.h"
#include "logmsg/nvtable.h"
#include "logqueue.h"
#include "scratch-buffers.h"
#include "plugin-types.h"
#include <glib.h>
#include <stomp.h>
#include "logthrdest/logthrdestdrv.h"
Include dependency graph for afstomp.c:

Classes

struct  STOMPDestDriver
 

Functions

void afstomp_dd_set_user (LogDriver *d, const gchar *user)
 
void afstomp_dd_set_password (LogDriver *d, const gchar *password)
 
void afstomp_dd_set_host (LogDriver *d, const gchar *host)
 
void afstomp_dd_set_port (LogDriver *d, gint port)
 
void afstomp_dd_set_destination (LogDriver *d, const gchar *destination)
 
void afstomp_dd_set_body (LogDriver *d, LogTemplate *body_template)
 
void afstomp_dd_set_persistent (LogDriver *s, gboolean persistent)
 
void afstomp_dd_set_ack (LogDriver *s, gboolean ack_needed)
 
void afstomp_dd_set_value_pairs (LogDriver *s, ValuePairs *vp)
 
LogTemplateOptions * afstomp_dd_get_template_options (LogDriver *s)
 
LogDriver * afstomp_dd_new (GlobalConfig *cfg)
 
gboolean afstomp_module_init (PluginContext *context, CfgArgs *args)
 

Variables

CfgParser afstomp_dd_parser
 
const ModuleInfo module_info
 

Function Documentation

◆ afstomp_dd_get_template_options()

LogTemplateOptions* afstomp_dd_get_template_options ( LogDriver *  s)

◆ afstomp_dd_new()

LogDriver* afstomp_dd_new ( GlobalConfig *  cfg)

◆ afstomp_dd_set_ack()

void afstomp_dd_set_ack ( LogDriver *  s,
gboolean  ack_needed 
)

◆ afstomp_dd_set_body()

void afstomp_dd_set_body ( LogDriver *  d,
LogTemplate *  body_template 
)

◆ afstomp_dd_set_destination()

void afstomp_dd_set_destination ( LogDriver *  d,
const gchar *  destination 
)

◆ afstomp_dd_set_host()

void afstomp_dd_set_host ( LogDriver *  d,
const gchar *  host 
)

◆ afstomp_dd_set_password()

void afstomp_dd_set_password ( LogDriver *  d,
const gchar *  password 
)

◆ afstomp_dd_set_persistent()

void afstomp_dd_set_persistent ( LogDriver *  s,
gboolean  persistent 
)

◆ afstomp_dd_set_port()

void afstomp_dd_set_port ( LogDriver *  d,
gint  port 
)

◆ afstomp_dd_set_user()

void afstomp_dd_set_user ( LogDriver *  d,
const gchar *  user 
)

◆ afstomp_dd_set_value_pairs()

void afstomp_dd_set_value_pairs ( LogDriver *  s,
ValuePairs *  vp 
)

◆ afstomp_module_init()

gboolean afstomp_module_init ( PluginContext *  context,
CfgArgs *  args 
)

Variable Documentation

◆ afstomp_dd_parser

CfgParser afstomp_dd_parser
extern

◆ module_info

const ModuleInfo module_info
Initial value:
=
{
.canonical_name = "afstomp",
.version = SYSLOG_NG_VERSION,
.description = "The afstomp module provides STOMP destination support for syslog-ng.",
.core_revision = SYSLOG_NG_SOURCE_REVISION,
.plugins = &afstomp_plugin,
.plugins_len = 1,
}