syslog-ng source
mainloop-control.c File Reference
#include "mainloop.h"
#include "control/control-commands.h"
#include "control/control-connection.h"
#include "messages.h"
#include "cfg.h"
#include "cfg-path.h"
#include "apphook.h"
#include "secret-storage/secret-storage.h"
#include "cfg-walker.h"
#include "logpipe.h"
#include "console.h"
#include "debugger/debugger-main.h"
#include <string.h>
#include <unistd.h>
Include dependency graph for mainloop-control.c:

Classes

struct  AttachCommandArgs
 

Functions

void _wait_until_peer_disappears (ControlConnection *cc, gint max_seconds, gboolean *cancelled)
 
gboolean secret_storage_status_accumulator (SecretStatus *status, gpointer user_data)
 
void main_loop_register_control_commands (MainLoop *main_loop)
 

Variables

ControlCommand default_commands []
 

Function Documentation

◆ _wait_until_peer_disappears()

void _wait_until_peer_disappears ( ControlConnection *  cc,
gint  max_seconds,
gboolean *  cancelled 
)

◆ main_loop_register_control_commands()

void main_loop_register_control_commands ( MainLoop *  main_loop)

◆ secret_storage_status_accumulator()

gboolean secret_storage_status_accumulator ( SecretStatus status,
gpointer  user_data 
)

Variable Documentation

◆ default_commands

ControlCommand default_commands[]
Initial value:
=
{
{ "ATTACH", control_connection_attach, .threaded = TRUE },
{ "LOG", control_connection_message_log },
{ "STOP", control_connection_stop_process },
{ "RELOAD", control_connection_reload },
{ "REOPEN", control_connection_reopen },
{ "CONFIG", control_connection_config },
{ "LICENSE", show_ose_license_info },
{ "PWD", process_credentials },
{ "LISTFILES", control_connection_list_files },
{ "EXPORT_CONFIG_GRAPH", export_config_graph },
{ NULL, NULL },
}