summaryrefslogtreecommitdiff
path: root/include/urweb.h
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-04-17 13:43:00 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2011-04-17 13:43:00 -0400
commitea09e1d6960f3169751c4c384993d007a804c3d2 (patch)
tree1ef3d07d85c0a8e80ae15c3cc4d8701a161f4fbe /include/urweb.h
parent8d5d88110f12eb56558cf6f1b1514338792487da (diff)
Before allowing an indirect return, check (dynamically, for now) that we aren't in an RPC handler
Diffstat (limited to 'include/urweb.h')
-rw-r--r--include/urweb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/urweb.h b/include/urweb.h
index 15ef33e5..019761f7 100644
--- a/include/urweb.h
+++ b/include/urweb.h
@@ -238,6 +238,7 @@ void uw_postBody(uw_context, uw_Basis_postBody);
int uw_hasPostBody(uw_context);
uw_Basis_postBody uw_getPostBody(uw_context);
+void uw_mayReturnIndirectly(uw_context);
__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);