X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=http%2Fcanned_responses.h;fp=http%2Fcanned_responses.h;h=b04ee3ee32ee5272a91b6015b2d2f42ded2f9c10;hb=1cf0f1ebfbd5b5a621af2a49ac0328fd0cec4bf4;hp=0000000000000000000000000000000000000000;hpb=da5af7e043fdf8992ae30ac19f33446f8133f178;p=blerg.git diff --git a/http/canned_responses.h b/http/canned_responses.h new file mode 100644 index 0000000..b04ee3e --- /dev/null +++ b/http/canned_responses.h @@ -0,0 +1,12 @@ +#ifndef _CANNED_RESPONSES +#define _CANNED_RESPONSES + +struct MHD_Response *response_401; +struct MHD_Response *response_404; +struct MHD_Response *response_405; +struct MHD_Response *response_JSON_Success; +struct MHD_Response *response_JSON_Failure; + +void init_responses(); + +#endif /* _CANNED_RESPONSES */