summaryrefslogtreecommitdiff
path: root/include
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
commit71f049713bc52fab0c85b84265c6e3db783d69c3 (patch)
tree1ef3d07d85c0a8e80ae15c3cc4d8701a161f4fbe /include
parentc4b35bfac2f71541d5fddb948ca0d82039dc67fe (diff)
Before allowing an indirect return, check (dynamically, for now) that we aren't in an RPC handler
Diffstat (limited to 'include')
-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);