From f98c599316357e226405a39d12c39fa6ddda1498 Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Sun, 12 Oct 2008 17:12:58 -0300 Subject: [PATCH] Added CGI frontend structure implementation --- frontend/cgi/cgi.c | 9 +++++++++ 1 file changed, 9 insertions(+) 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; +} -- 2.20.1