From 56eb9f1b5347dc97bb2d37bfb3b80e6dd4981f3a Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 06 Oct 2017 00:17:17 -0400 Subject: src/config.h: Define callback function pointer types --- (limited to 'src/config.h') diff --git a/src/config.h b/src/config.h index 60aead7..1f1fb67 100644 --- a/src/config.h +++ b/src/config.h @@ -34,6 +34,12 @@ struct MqConfig { GHashTable *types_and_cbs; }; +typedef void (*MqConfigBooleanCallback)(const gchar *, const gboolean, + gpointer); +typedef void (*MqConfigIntegerCallback)(const gchar *, const gint, gpointer); +typedef void (*MqConfigDoubleCallback)(const gchar *, const gdouble, gpointer); +typedef void (*MqConfigStringCallback)(const gchar *, const gchar *, gpointer); + MqConfig * mq_config_new(const gchar *profile); -- cgit v0.9.1