summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2014-01-09 17:27:24 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2014-01-09 17:27:24 -0500
commit55d485365f4d52a84d06bc38d6d34b6a47890b57 (patch)
tree67ed3697d7f212b698cdc3cfc8c530c54e5fba64 /include
parentbb567cd6c1490dcabf53a3dd18f1aebd8e3055e0 (diff)
Add 'html5' .urp directive
Diffstat (limited to 'include')
-rw-r--r--include/urweb/types_cpp.h2
-rw-r--r--include/urweb/urweb_cpp.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/urweb/types_cpp.h b/include/urweb/types_cpp.h
index 789aecb1..cd80b0e7 100644
--- a/include/urweb/types_cpp.h
+++ b/include/urweb/types_cpp.h
@@ -102,6 +102,8 @@ typedef struct {
uw_periodic *periodics; // 0-terminated array
uw_Basis_string time_format;
+
+ int is_html5;
} uw_app;
#define ERROR_BUF_LEN 1024
diff --git a/include/urweb/urweb_cpp.h b/include/urweb/urweb_cpp.h
index 248e54e4..1943a9f9 100644
--- a/include/urweb/urweb_cpp.h
+++ b/include/urweb/urweb_cpp.h
@@ -377,4 +377,6 @@ uw_Basis_string uw_Basis_fieldValue(struct uw_context *, uw_Basis_postField);
uw_Basis_string uw_Basis_remainingFields(struct uw_context *, uw_Basis_postField);
uw_Basis_postField *uw_Basis_firstFormField(struct uw_context *, uw_Basis_string);
+extern const char uw_begin_xhtml[], uw_begin_html5[];
+
#endif