syslog-ng source
systemd-syslog-source.c File Reference
#include "systemd-syslog-source.h"
#include "afunix-source.h"
#include "afsocket-systemd-override.h"
#include "service-management.h"
#include "fdhelpers.h"
#include <stdlib.h>
#include <unistd.h>
Include dependency graph for systemd-syslog-source.c:

Enumerations

enum  SocketType { ST_DGRAM , ST_STREAM }
 

Functions

SystemDSyslogSourceDriversystemd_syslog_sd_new (GlobalConfig *cfg, gboolean fallback)
 
AFSocketSourceDriver * create_afunix_sd (gchar *filename, GlobalConfig *cfg, SocketType socket_type)
 
AFSocketSourceDriver * create_and_set_unix_dgram_or_systemd_syslog_source (gchar *filename, GlobalConfig *cfg)
 
AFSocketSourceDriver * create_and_set_unix_stream_or_systemd_syslog_source (gchar *filename, GlobalConfig *cfg)
 

Enumeration Type Documentation

◆ SocketType

enum SocketType
Enumerator
ST_DGRAM 
ST_STREAM 

Function Documentation

◆ create_afunix_sd()

AFSocketSourceDriver* create_afunix_sd ( gchar *  filename,
GlobalConfig *  cfg,
SocketType  socket_type 
)

◆ create_and_set_unix_dgram_or_systemd_syslog_source()

AFSocketSourceDriver* create_and_set_unix_dgram_or_systemd_syslog_source ( gchar *  filename,
GlobalConfig *  cfg 
)

◆ create_and_set_unix_stream_or_systemd_syslog_source()

AFSocketSourceDriver* create_and_set_unix_stream_or_systemd_syslog_source ( gchar *  filename,
GlobalConfig *  cfg 
)

◆ systemd_syslog_sd_new()

SystemDSyslogSourceDriver* systemd_syslog_sd_new ( GlobalConfig *  cfg,
gboolean  fallback 
)