X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=frontend%2Fcgi%2Fcgi.c;h=3c5d72aaece358ef19794cf1285cd4103696702a;hb=f98c599316357e226405a39d12c39fa6ddda1498;hp=1209cebd03155cc51a305081df04dac422b2e41a;hpb=96e5b38f3f79a7b91fd26feb2281bc31f82235e9;p=cascardo%2Fatompub.git diff --git a/frontend/cgi/cgi.c b/frontend/cgi/cgi.c index 1209ceb..3c5d72a 100644 --- a/frontend/cgi/cgi.c +++ b/frontend/cgi/cgi.c @@ -78,3 +78,12 @@ cgi_serve_request (AtomCtx *ctx) fprintf (stdout, "Status: 501 Not Implemented\n\n"); } } + +AtomFrontend * +cgi_frontend (void) +{ + AtomFrontend *frontend; + frontend = atom_frontend_new (); + atom_frontend_map_entries_set (frontend, atom_map_frontend_requests); + return frontend; +}