summaryrefslogtreecommitdiffstats
path: root/src/response.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/response.h')
-rw-r--r--src/response.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/response.h b/src/response.h
index 925a4a5..6f4d6f2 100644
--- a/src/response.h
+++ b/src/response.h
@@ -1,6 +1,11 @@
+#ifndef RESPONSE_H
+#define REPSONSE_H
+
#include <string>
+#include "ocelot.h"
-std::string response(const std::string &body, bool gzip, bool html);
-std::string response_head(bool gzip, bool html);
-std::string error(const std::string &err);
-std::string warning(const std::string &msg);
+const std::string response(const std::string &body, client_opts_t &client_opts);
+const std::string response_head(size_t content_length, client_opts_t &client_opts);
+const std::string error(const std::string &err, client_opts_t &client_opts);
+const std::string warning(const std::string &msg);
+#endif