X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/8f9616f198b617214724183e32d598339c3bbbc4..c617bac5ba2c520255597c36a9e25f8ae704cfd0:/server/cgi.h diff --git a/server/cgi.h b/server/cgi.h index 385b9f2..8a76d31 100644 --- a/server/cgi.h +++ b/server/cgi.h @@ -1,6 +1,6 @@ /* * This file is part of DisOrder. - * Copyright (C) 2004, 2005, 2008 Richard Kettlewell + * Copyright (C) 2004, 2005, 2007, 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 @@ -65,6 +65,11 @@ struct cgi_expansion { void (*handler)(int nargs, char **args, cgi_sink *output, void *u); }; +void cgi_define(const char *name, + int nargs, + char **args, + const char *value); + void cgi_expand(const char *name, const struct cgi_expansion *expansions, size_t nexpansions,