diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-06 00:17:17 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-06 00:27:31 (EDT) |
commit | 56eb9f1b5347dc97bb2d37bfb3b80e6dd4981f3a (patch) | |
tree | 913fa0248207b8ca7846e5fe2f7c8f1b6fc3619f /src/config.h | |
parent | 577978cb2287ff24442c03efbf4adc8adc3c9b9a (diff) | |
download | marquee-56eb9f1b5347dc97bb2d37bfb3b80e6dd4981f3a.zip marquee-56eb9f1b5347dc97bb2d37bfb3b80e6dd4981f3a.tar.gz marquee-56eb9f1b5347dc97bb2d37bfb3b80e6dd4981f3a.tar.bz2 |
src/config.h: Define callback function pointer types
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
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); |