#include "mqtt-destination.h"#include "mqtt-worker.h"#include "plugin.h"#include "messages.h"#include "misc.h"#include "stats/stats-registry.h"#include "logqueue.h"#include "driver.h"#include "plugin-types.h"#include "logthrdest/logthrdestdrv.h"#include <MQTTClient.h>#include <strings.h>
Macros | |
| #define | DEFAULT_MESSAGE_TEMPLATE "$ISODATE $HOST $MSGHDR$MSG" |
Functions | |
| 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) |
| LogDriver * | mqtt_dd_new (GlobalConfig *cfg) |
| LogTemplateOptions * | mqtt_dd_get_template_options (LogDriver *s) |
| gboolean | mqtt_dd_validate_topic_name (const gchar *name, GError **error) |
| GQuark | mqtt_topic_name_error_quark (void) |
| MQTTClientOptions * | mqtt_dd_get_options (LogDriver *s) |
| #define DEFAULT_MESSAGE_TEMPLATE "$ISODATE $HOST $MSGHDR$MSG" |
| MQTTClientOptions* mqtt_dd_get_options | ( | LogDriver * | s | ) |
| LogTemplateOptions* mqtt_dd_get_template_options | ( | LogDriver * | s | ) |
| LogDriver* mqtt_dd_new | ( | GlobalConfig * | cfg | ) |
| void mqtt_dd_set_fallback_topic | ( | LogDriver * | d, |
| const gchar * | fallback_topic | ||
| ) |
| void mqtt_dd_set_message_template_ref | ( | LogDriver * | d, |
| LogTemplate * | message | ||
| ) |
| void mqtt_dd_set_topic_template | ( | LogDriver * | d, |
| LogTemplate * | topic | ||
| ) |
| gboolean mqtt_dd_validate_topic_name | ( | const gchar * | name, |
| GError ** | error | ||
| ) |
| GQuark mqtt_topic_name_error_quark | ( | void | ) |