diff options
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/config.h b/src/config.h index d76ab3b..55eeed4 100644 --- a/src/config.h +++ b/src/config.h @@ -34,11 +34,14 @@ 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); +typedef void (*MqConfigBooleanCallback)(MqConfig *, + const gchar *, const gboolean, gpointer); +typedef void (*MqConfigIntegerCallback)(MqConfig *, + const gchar *, const gint, gpointer); +typedef void (*MqConfigDoubleCallback)(MqConfig *, + const gchar *, const gdouble, gpointer); +typedef void (*MqConfigStringCallback)(MqConfig *, + const gchar *, const gchar *, gpointer); MqConfig * mq_config_new(const gchar *profile); |