syslog-ng source
afunix-source.c File Reference
#include "afunix-source.h"
#include "messages.h"
#include "gprocess.h"
#include "transport-mapper-unix.h"
#include "socket-options-unix.h"
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdlib.h>
Include dependency graph for afunix-source.c:

Functions

AFUnixSourceDriverafunix_sd_new_instance (TransportMapper *transport_mapper, gchar *filename, GlobalConfig *cfg)
 
void afunix_sd_set_pass_unix_credentials (AFUnixSourceDriver *self, gboolean pass)
 
void afunix_sd_set_create_dirs (AFUnixSourceDriver *self, gboolean create_dirs)
 
AFUnixSourceDriverafunix_sd_new_dgram (gchar *filename, GlobalConfig *cfg)
 
AFUnixSourceDriverafunix_sd_new_stream (gchar *filename, GlobalConfig *cfg)
 

Function Documentation

◆ afunix_sd_new_dgram()

AFUnixSourceDriver* afunix_sd_new_dgram ( gchar *  filename,
GlobalConfig *  cfg 
)

◆ afunix_sd_new_instance()

AFUnixSourceDriver* afunix_sd_new_instance ( TransportMapper *  transport_mapper,
gchar *  filename,
GlobalConfig *  cfg 
)

◆ afunix_sd_new_stream()

AFUnixSourceDriver* afunix_sd_new_stream ( gchar *  filename,
GlobalConfig *  cfg 
)

◆ afunix_sd_set_create_dirs()

void afunix_sd_set_create_dirs ( AFUnixSourceDriver self,
gboolean  create_dirs 
)

◆ afunix_sd_set_pass_unix_credentials()

void afunix_sd_set_pass_unix_credentials ( AFUnixSourceDriver self,
gboolean  pass 
)