From: Thadeu Lima de Souza Cascardo Date: Mon, 13 Oct 2008 01:47:17 +0000 (-0300) Subject: Enumerate entries at the start of the program X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fatompub.git;a=commitdiff_plain;h=30502cf64707267390870055cd74f4811f3a3828 Enumerate entries at the start of the program This is required to set the request mappings, so the frontend can identify the backend request needed to retrieve an entry. --- diff --git a/src/main.c b/src/main.c index 20ba70f..4368fb4 100644 --- a/src/main.c +++ b/src/main.c @@ -43,6 +43,7 @@ main (int argc, char **argv) g_message ("%s\n", atom_error_message (error)); exit (1); } + atom_backend_enumerate_entries (ctx, NULL, NULL, NULL); cgi_serve_request (ctx); atom_ctx_delete (ctx); return 0;