client/Response: new Client wrapper class for writing responses

This commit is contained in:
Max Kellermann
2015-08-06 22:10:25 +02:00
parent b1480167be
commit 7652a2986b
49 changed files with 1068 additions and 780 deletions

View File

@@ -25,17 +25,18 @@
enum TagType : uint8_t;
struct Tag;
class Client;
void tag_print_types(Client &client);
class Response;
void
tag_print(Client &client, TagType type, const char *value);
tag_print_types(Response &response);
void
tag_print_values(Client &client, const Tag &tag);
tag_print(Response &response, TagType type, const char *value);
void
tag_print(Client &client, const Tag &tag);
tag_print_values(Response &response, const Tag &tag);
void
tag_print(Response &response, const Tag &tag);
#endif