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.c') diff --git a/src/config.c b/src/config.c index e8497d2..ff3b7ee 100644 --- a/src/config.c +++ b/src/config.c @@ -38,10 +38,10 @@ enum type { }; union callback { - void (*boolean_cb)(const gchar *, const gboolean, gpointer); - void (*integer_cb)(const gchar *, const gint, gpointer); - void (*double_cb)(const gchar *, const gdouble, gpointer); - void (*string_cb)(const gchar *, const gchar *, gpointer); + MqConfigBooleanCallback boolean_cb; + MqConfigIntegerCallback integer_cb; + MqConfigDoubleCallback double_cb; + MqConfigStringCallback string_cb; }; struct callbacks { -- cgit v0.9.1