syslog-ng source
afuser.c File Reference
#include "afuser.h"
#include "messages.h"
#include "compat/getutent.h"
#include "timeutils/format.h"
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
Include dependency graph for afuser.c:

Classes

struct  AFUserDestDriver
 

Typedefs

typedef struct utmp UtmpEntry
 

Functions

 G_LOCK_DEFINE_STATIC (utmp_lock)
 
void afuser_dd_set_time_reopen (LogDriver *s, time_t time_reopen)
 
void afuser_dd_free (LogPipe *s)
 
LogDriver * afuser_dd_new (gchar *user, GlobalConfig *cfg)
 

Typedef Documentation

◆ UtmpEntry

typedef struct utmp UtmpEntry

Function Documentation

◆ afuser_dd_free()

void afuser_dd_free ( LogPipe *  s)

◆ afuser_dd_new()

LogDriver* afuser_dd_new ( gchar *  user,
GlobalConfig *  cfg 
)

◆ afuser_dd_set_time_reopen()

void afuser_dd_set_time_reopen ( LogDriver *  s,
time_t  time_reopen 
)

◆ G_LOCK_DEFINE_STATIC()

G_LOCK_DEFINE_STATIC ( utmp_lock  )