syslog-ng source
pdb-action.h File Reference
#include "syslog-ng.h"
#include "synthetic-message.h"
#include "synthetic-context.h"
#include "filter/filter-expr.h"
Include dependency graph for pdb-action.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PDBAction
 

Enumerations

enum  PDBActionTrigger { RAT_MATCH = 1 , RAT_TIMEOUT }
 
enum  PDBActionContentType { RAC_NONE , RAC_MESSAGE , RAC_CREATE_CONTEXT }
 

Functions

void pdb_action_set_condition (PDBAction *self, GlobalConfig *cfg, const gchar *filter_string, GError **error)
 
void pdb_action_set_rate (PDBAction *self, const gchar *rate_)
 
void pdb_action_set_trigger (PDBAction *self, const gchar *trigger, GError **error)
 
PDBActionpdb_action_new (gint id)
 
void pdb_action_free (PDBAction *self)
 

Enumeration Type Documentation

◆ PDBActionContentType

Enumerator
RAC_NONE 
RAC_MESSAGE 
RAC_CREATE_CONTEXT 

◆ PDBActionTrigger

Enumerator
RAT_MATCH 
RAT_TIMEOUT 

Function Documentation

◆ pdb_action_free()

void pdb_action_free ( PDBAction self)

◆ pdb_action_new()

PDBAction* pdb_action_new ( gint  id)

◆ pdb_action_set_condition()

void pdb_action_set_condition ( PDBAction self,
GlobalConfig *  cfg,
const gchar *  filter_string,
GError **  error 
)

◆ pdb_action_set_rate()

void pdb_action_set_rate ( PDBAction self,
const gchar *  rate_ 
)

◆ pdb_action_set_trigger()

void pdb_action_set_trigger ( PDBAction self,
const gchar *  trigger,
GError **  error 
)