syslog-ng source
hook-commands.c File Reference
#include "hook-commands.h"
#include "apphook.h"
#include <stdlib.h>
Include dependency graph for hook-commands.c:

Classes

struct  HookCommandsPlugin
 

Macros

#define HOOK_COMMANDS_PLUGIN   "hook-commands"
 

Functions

void hook_commands_plugin_set_startup (HookCommandsPlugin *self, const gchar *startup)
 
void hook_commands_plugin_set_setup (HookCommandsPlugin *self, const gchar *setup)
 
void hook_commands_plugin_set_teardown (HookCommandsPlugin *self, const gchar *teardown)
 
void hook_commands_plugin_set_shutdown (HookCommandsPlugin *self, const gchar *shutdown_)
 
HookCommandsPlugin * hook_commands_plugin_new (void)
 

Macro Definition Documentation

◆ HOOK_COMMANDS_PLUGIN

#define HOOK_COMMANDS_PLUGIN   "hook-commands"

Function Documentation

◆ hook_commands_plugin_new()

HookCommandsPlugin* hook_commands_plugin_new ( void  )

◆ hook_commands_plugin_set_setup()

void hook_commands_plugin_set_setup ( HookCommandsPlugin *  self,
const gchar *  setup 
)

◆ hook_commands_plugin_set_shutdown()

void hook_commands_plugin_set_shutdown ( HookCommandsPlugin *  self,
const gchar *  shutdown_ 
)

◆ hook_commands_plugin_set_startup()

void hook_commands_plugin_set_startup ( HookCommandsPlugin *  self,
const gchar *  startup 
)

◆ hook_commands_plugin_set_teardown()

void hook_commands_plugin_set_teardown ( HookCommandsPlugin *  self,
const gchar *  teardown 
)