X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/be968860e16975c9829cd8d8a11ec6a8adc6c83a..a4243347741f0f7079858e03bca8fc32990f525c:/server/cgi.c diff --git a/server/cgi.c b/server/cgi.c deleted file mode 100644 index 5f9e17f..0000000 --- a/server/cgi.c +++ /dev/null @@ -1,71 +0,0 @@ -/* - * This file is part of DisOrder. - * Copyright (C) 2004-2008 Richard Kettlewell - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - * USA - */ - -#include -#include "types.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "mem.h" -#include "log.h" -#include "hex.h" -#include "charset.h" -#include "configuration.h" -#include "table.h" -#include "syscalls.h" -#include "kvp.h" -#include "vector.h" -#include "split.h" -#include "inputline.h" -#include "regsub.h" -#include "defs.h" -#include "sink.h" -#include "server-cgi.h" -#include "printf.h" -#include "mime.h" -#include "unicode.h" -#include "hash.h" - -void cgi_header(struct sink *output, const char *name, const char *value) { - sink_printf(output, "%s: %s\r\n", name, value); -} - -void cgi_body(struct sink *output) { - sink_printf(output, "\r\n"); -} - -/* -Local Variables: -c-basic-offset:2 -comment-column:40 -End: -*/