syslog-ng source
mqtt-destination.h File Reference
#include "driver.h"
#include "logthrdest/logthrdestdrv.h"
#include "mqtt-options.h"
Include dependency graph for mqtt-destination.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MQTTDestinationDriver
 

Macros

#define TOPIC_NAME_ERROR   mqtt_topic_name_error_quark()
 

Enumerations

enum  MQTTTopicError { TOPIC_LENGTH_ZERO }
 

Functions

GQuark mqtt_topic_name_error_quark (void)
 
LogDriver * mqtt_dd_new (GlobalConfig *cfg)
 
void mqtt_dd_set_topic_template (LogDriver *d, LogTemplate *topic)
 
void mqtt_dd_set_fallback_topic (LogDriver *d, const gchar *fallback_topic)
 
void mqtt_dd_set_message_template_ref (LogDriver *d, LogTemplate *message)
 
gboolean mqtt_dd_validate_topic_name (const gchar *name, GError **error)
 
LogTemplateOptions * mqtt_dd_get_template_options (LogDriver *s)
 
MQTTClientOptions * mqtt_dd_get_options (LogDriver *s)
 

Macro Definition Documentation

◆ TOPIC_NAME_ERROR

#define TOPIC_NAME_ERROR   mqtt_topic_name_error_quark()

Enumeration Type Documentation

◆ MQTTTopicError

Enumerator
TOPIC_LENGTH_ZERO 

Function Documentation

◆ mqtt_dd_get_options()

MQTTClientOptions* mqtt_dd_get_options ( LogDriver *  s)

◆ mqtt_dd_get_template_options()

LogTemplateOptions* mqtt_dd_get_template_options ( LogDriver *  s)

◆ mqtt_dd_new()

LogDriver* mqtt_dd_new ( GlobalConfig *  cfg)

◆ mqtt_dd_set_fallback_topic()

void mqtt_dd_set_fallback_topic ( LogDriver *  d,
const gchar *  fallback_topic 
)

◆ mqtt_dd_set_message_template_ref()

void mqtt_dd_set_message_template_ref ( LogDriver *  d,
LogTemplate *  message 
)

◆ mqtt_dd_set_topic_template()

void mqtt_dd_set_topic_template ( LogDriver *  d,
LogTemplate *  topic 
)

◆ mqtt_dd_validate_topic_name()

gboolean mqtt_dd_validate_topic_name ( const gchar *  name,
GError **  error 
)

◆ mqtt_topic_name_error_quark()

GQuark mqtt_topic_name_error_quark ( void  )