syslog-ng source
control-commands.c File Reference
#include "control/control.h"
#include "control/control-main.h"
#include "messages.h"
#include <string.h>
Include dependency graph for control-commands.c:

Functions

void reset_control_command_list (void)
 
gboolean control_command_start_with_command (const ControlCommand *cmd, const gchar *line)
 
ControlCommandcontrol_find_command (const char *cmd)
 
void control_register_command (const gchar *command_name, ControlCommandFunc function, gpointer user_data, gboolean threaded)
 
void control_replace_command (const gchar *command_name, ControlCommandFunc function, gpointer user_data, gboolean threaded)
 

Function Documentation

◆ control_command_start_with_command()

gboolean control_command_start_with_command ( const ControlCommand cmd,
const gchar *  line 
)

◆ control_find_command()

ControlCommand* control_find_command ( const char *  cmd)

◆ control_register_command()

void control_register_command ( const gchar *  command_name,
ControlCommandFunc  function,
gpointer  user_data,
gboolean  threaded 
)

◆ control_replace_command()

void control_replace_command ( const gchar *  command_name,
ControlCommandFunc  function,
gpointer  user_data,
gboolean  threaded 
)

◆ reset_control_command_list()

void reset_control_command_list ( void  )