syslog-ng source
logscheduler.h File Reference
#include "logpipe.h"
#include "mainloop-io-worker.h"
#include "template/templates.h"
#include <iv_list.h>
#include <iv_event.h>
Include dependency graph for logscheduler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LogSchedulerBatch
 
struct  LogSchedulerPartition
 
struct  LogSchedulerThreadState
 
struct  LogSchedulerOptions
 
struct  LogScheduler
 

Macros

#define LOGSCHEDULER_MAX_PARTITIONS   16
 

Functions

gboolean log_scheduler_init (LogScheduler *self)
 
void log_scheduler_deinit (LogScheduler *self)
 
void log_scheduler_push (LogScheduler *self, LogMessage *msg, const LogPathOptions *path_options)
 
LogSchedulerlog_scheduler_new (LogSchedulerOptions *options, LogPipe *front_pipe)
 
void log_scheduler_free (LogScheduler *self)
 
void log_scheduler_options_set_partition_key_ref (LogSchedulerOptions *options, LogTemplate *partition_key)
 
void log_scheduler_options_defaults (LogSchedulerOptions *options)
 
gboolean log_scheduler_options_init (LogSchedulerOptions *options, GlobalConfig *cfg)
 
void log_scheduler_options_destroy (LogSchedulerOptions *options)
 

Macro Definition Documentation

◆ LOGSCHEDULER_MAX_PARTITIONS

#define LOGSCHEDULER_MAX_PARTITIONS   16

Function Documentation

◆ log_scheduler_deinit()

void log_scheduler_deinit ( LogScheduler self)

◆ log_scheduler_free()

void log_scheduler_free ( LogScheduler self)

◆ log_scheduler_init()

gboolean log_scheduler_init ( LogScheduler self)

◆ log_scheduler_new()

LogScheduler* log_scheduler_new ( LogSchedulerOptions options,
LogPipe *  front_pipe 
)

◆ log_scheduler_options_defaults()

void log_scheduler_options_defaults ( LogSchedulerOptions options)

◆ log_scheduler_options_destroy()

void log_scheduler_options_destroy ( LogSchedulerOptions options)

◆ log_scheduler_options_init()

gboolean log_scheduler_options_init ( LogSchedulerOptions options,
GlobalConfig *  cfg 
)

◆ log_scheduler_options_set_partition_key_ref()

void log_scheduler_options_set_partition_key_ref ( LogSchedulerOptions options,
LogTemplate *  partition_key 
)

◆ log_scheduler_push()

void log_scheduler_push ( LogScheduler self,
LogMessage *  msg,
const LogPathOptions *  path_options 
)