syslog-ng source
loggen_plugin.h File Reference
#include "compat/glib.h"
#include <gmodule.h>
#include <sys/time.h>
Include dependency graph for loggen_plugin.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PluginOption
 
struct  ThreadData
 
struct  PluginInfo
 

Macros

#define LOGGEN_PLUGIN_INFO   "loggen_plugin_info"
 
#define LOGGEN_PLUGIN_LIB_PREFIX   "libloggen_"
 
#define LOGGEN_PLUGIN_NAME_MAXSIZE   100
 

Typedefs

typedef GOptionEntry *(* get_option_func) (void)
 
typedef gboolean(* start_plugin_func) (PluginOption *option)
 
typedef void(* stop_plugin_func) (PluginOption *option)
 
typedef int(* generate_message_func) (char *buffer, int buffer_size, ThreadData *thread_context, unsigned long seq)
 
typedef void(* set_generate_message_func) (generate_message_func gen_message)
 
typedef int(* get_thread_count_func) (void)
 
typedef gboolean(* is_plugin_activated_func) (void)
 

Functions

gboolean thread_check_exit_criteria (ThreadData *thread_context)
 
gboolean thread_check_time_bucket (ThreadData *thread_context)
 

Macro Definition Documentation

◆ LOGGEN_PLUGIN_INFO

#define LOGGEN_PLUGIN_INFO   "loggen_plugin_info"

◆ LOGGEN_PLUGIN_LIB_PREFIX

#define LOGGEN_PLUGIN_LIB_PREFIX   "libloggen_"

◆ LOGGEN_PLUGIN_NAME_MAXSIZE

#define LOGGEN_PLUGIN_NAME_MAXSIZE   100

Typedef Documentation

◆ generate_message_func

typedef int(* generate_message_func) (char *buffer, int buffer_size, ThreadData *thread_context, unsigned long seq)

◆ get_option_func

typedef GOptionEntry*(* get_option_func) (void)

◆ get_thread_count_func

typedef int(* get_thread_count_func) (void)

◆ is_plugin_activated_func

typedef gboolean(* is_plugin_activated_func) (void)

◆ set_generate_message_func

typedef void(* set_generate_message_func) (generate_message_func gen_message)

◆ start_plugin_func

typedef gboolean(* start_plugin_func) (PluginOption *option)

◆ stop_plugin_func

typedef void(* stop_plugin_func) (PluginOption *option)

Function Documentation

◆ thread_check_exit_criteria()

gboolean thread_check_exit_criteria ( ThreadData thread_context)

◆ thread_check_time_bucket()

gboolean thread_check_time_bucket ( ThreadData thread_context)