26 RCSIDH(exfile_h,
"$Id: 1fe9b15623b3a66ac71fd6a70c66337a4ee1b2de $")
28 #include <freeradius-devel/server/request.h>
#define CC_RELEASE_HANDLE(_tag)
#define CC_ACQUIRE_HANDLE(_tag)
A section grouping multiple CONF_PAIR.
char const * trigger_prefix
Trigger path in the global trigger section.
fr_pair_list_t trigger_args
Arguments to pass to trigger.
int exfile_open(exfile_t *lf, char const *filename, mode_t permissions, off_t *offset)
Open a new log file, or maybe an existing one.
int exfile_close(exfile_t *lf, CC_RELEASE_HANDLE("exfile_fd") int fd)
void exfile_enable_triggers(exfile_t *ef, CONF_SECTION *cs, char const *trigger_prefix, fr_pair_list_t *trigger_args)
Enable triggers for an exfiles handle.
exfile_t * exfile_init(TALLOC_CTX *ctx, uint32_t entries, fr_time_delta_t idle, bool locking)
Initialize a way for multiple threads to log to one or more files.
A time delta, a difference in time measured in nanoseconds.