X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=server%2Ffastcgi.h;h=aad2421fc8f79699c8335fa5d63af12137ad750a;hb=a304c5e3c9ef6f145b7e30ebc618e03e749cba95;hp=74468aedd3d6ab498b174fa7e21b640ae694b1ec;hpb=218c2d77e10b28315864990acbcf55ffe26a76e9;p=matches%2FMCTX3420.git diff --git a/server/fastcgi.h b/server/fastcgi.h index 74468ae..aad2421 100644 --- a/server/fastcgi.h +++ b/server/fastcgi.h @@ -60,6 +60,7 @@ extern bool FCGI_HasControl(FCGIContext *context, const char *key); extern char *FCGI_KeyPair(char *in, const char **key, const char **value); extern bool FCGI_ParseRequest(FCGIContext *context, char *params, FCGIValue values[], size_t count); extern void FCGI_BeginJSON(FCGIContext *context, StatusCodes status_code); +extern void FCGI_AcceptJSON(FCGIContext *context, const char *description, const char *cookie); extern void FCGI_JSONPair(const char *key, const char *value); extern void FCGI_JSONLong(const char *key, long value); extern void FCGI_JSONDouble(const char *key, double value);