Added support for initialization of configuration, opening GKeyFile.
[cascardo/atompub.git] / src / ctx.c
index e8e5868..8d219f3 100644 (file)
--- a/src/ctx.c
+++ b/src/ctx.c
@@ -38,3 +38,9 @@ atom_config_data (AtomCtx *ctx)
 {
   return ctx->config_data;
 }
+
+void
+atom_config_data_set (AtomCtx *ctx, void *data)
+{
+  ctx->config_data = data;
+}