From 4cc8059e6344dc06f0417be52c4a2b1ced1be43b Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 22 Oct 2017 18:42:05 -0400 Subject: MqConfig: Make struct definition private --- (limited to 'src') diff --git a/src/config.c b/src/config.c index c4e2bf7..ed2c4d9 100644 --- a/src/config.c +++ b/src/config.c @@ -30,6 +30,14 @@ #include +struct MqConfig { + gchar *profile; + gchar *file_name; + GKeyFile *key_file; + gboolean types_and_cbs_set; + GHashTable *types_and_cbs; +}; + enum type { TYPE_BOOLEAN, TYPE_INTEGER, diff --git a/src/config.h b/src/config.h index 55eeed4..c0ef323 100644 --- a/src/config.h +++ b/src/config.h @@ -26,14 +26,6 @@ typedef struct MqConfig MqConfig; #include -struct MqConfig { - gchar *profile; - gchar *file_name; - GKeyFile *key_file; - gboolean types_and_cbs_set; - GHashTable *types_and_cbs; -}; - typedef void (*MqConfigBooleanCallback)(MqConfig *, const gchar *, const gboolean, gpointer); typedef void (*MqConfigIntegerCallback)(MqConfig *, -- cgit v0.9.1