diff 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
line wrap: on
line diff
--- a/include/urweb/urweb_cpp.h	Wed Nov 27 08:59:57 2013 -0500
+++ b/include/urweb/urweb_cpp.h	Wed Nov 27 15:28:55 2013 -0500
@@ -58,6 +58,7 @@
 int uw_send(struct uw_context *, int sock);
 int uw_print(struct uw_context *, int fd);
 int uw_output(struct uw_context * ctx, int (*output)(void *data, const char *buf, size_t len), void *data);
+int uw_pagelen(struct uw_context *);
 
 int uw_set_input(struct uw_context *, const char *name, char *value);
 int uw_set_file_input(struct uw_context *, char *name, uw_Basis_file);