struct _atom_ctx
{
AtomError *error;
- gpointer config_data;
+ AtomConfig *config;
AtomBackend *backend;
AtomFrontend *frontend;
GHashTable *bemap;
AtomCtx *ctx;
ctx = g_slice_new (AtomCtx);
ctx->error = NULL;
- ctx->config_data = NULL;
+ ctx->config = NULL;
ctx->backend = NULL;
ctx->frontend = NULL;
ctx->bemap = g_hash_table_new_full (g_str_hash, g_str_equal,
return ctx->error;
}
-void *
-atom_config_data (AtomCtx *ctx)
+AtomConfig *
+atom_config (AtomCtx *ctx)
{
- return ctx->config_data;
+ return ctx->config;
}
void
-atom_config_data_set (AtomCtx *ctx, void *data)
+atom_config_set (AtomCtx *ctx, AtomConfig *config)
{
- ctx->config_data = data;
+ ctx->config = config;
}
AtomBackend *