diff include/urweb.h @ 1065:217eb87dde31

Basis.url and redirects
author Adam Chlipala <adamc@hcoop.net>
date Thu, 10 Dec 2009 13:32:09 -0500
parents e8a35d710ab9
children 740b85ef4352
line wrap: on
line diff
--- a/include/urweb.h	Thu Dec 10 12:06:03 2009 -0500
+++ b/include/urweb.h	Thu Dec 10 13:32:09 2009 -0500
@@ -209,6 +209,7 @@
 uw_Basis_int uw_Basis_blobSize(uw_context, uw_Basis_blob);
 
 __attribute__((noreturn)) void uw_return_blob(uw_context, uw_Basis_blob, uw_Basis_string mimeType);
+__attribute__((noreturn)) void uw_redirect(uw_context, uw_Basis_string url);
 
 uw_Basis_time uw_Basis_now(uw_context);
 extern const uw_Basis_time uw_Basis_minTime;