extern void cgi_serve_request (AtomCtx *ctx);
extern AtomBackend * gio_backend (void);
extern AtomFrontend * cgi_frontend (void);
+extern AtomConfig * gkeyfile_atom_config_init (AtomCtx *, char *);
int
main (int argc, char **argv)
AtomError *error;
g_type_init ();
ctx = atom_ctx_new ();
- atom_config_init (ctx);
+ atom_config_set (ctx, gkeyfile_atom_config_init (ctx, "atompub.conf"));
atom_backend_set (ctx, gio_backend ());
atom_frontend_set (ctx, cgi_frontend ());
if ((error = atom_error_get (ctx)) != NULL)