Mercurial > urweb
comparison include/urweb/urweb_cpp.h @ 1915:52e88e139b25
Add Connection and Content-length headers to raw HTTP responses
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Wed, 27 Nov 2013 15:28:55 -0500 |
parents | a5b08bdfa450 |
children | 1a04b1edded2 1e360ea06a09 |
comparison
equal
deleted
inserted
replaced
1914:6a2cc604a322 | 1915:52e88e139b25 |
---|---|
56 void uw_memstats(struct uw_context *); | 56 void uw_memstats(struct uw_context *); |
57 | 57 |
58 int uw_send(struct uw_context *, int sock); | 58 int uw_send(struct uw_context *, int sock); |
59 int uw_print(struct uw_context *, int fd); | 59 int uw_print(struct uw_context *, int fd); |
60 int uw_output(struct uw_context * ctx, int (*output)(void *data, const char *buf, size_t len), void *data); | 60 int uw_output(struct uw_context * ctx, int (*output)(void *data, const char *buf, size_t len), void *data); |
61 int uw_pagelen(struct uw_context *); | |
61 | 62 |
62 int uw_set_input(struct uw_context *, const char *name, char *value); | 63 int uw_set_input(struct uw_context *, const char *name, char *value); |
63 int uw_set_file_input(struct uw_context *, char *name, uw_Basis_file); | 64 int uw_set_file_input(struct uw_context *, char *name, uw_Basis_file); |
64 | 65 |
65 char *uw_get_input(struct uw_context *, int name); | 66 char *uw_get_input(struct uw_context *, int name); |