diff options
author | Adam Chlipala <adam@chlipala.net> | 2014-01-09 17:27:24 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2014-01-09 17:27:24 -0500 |
commit | 3fa9d88d8280de6df377d750c66fc317a79bb9b4 (patch) | |
tree | 67ed3697d7f212b698cdc3cfc8c530c54e5fba64 /include/urweb | |
parent | 32424af0dce5c3395e4245b95478d34122759fcf (diff) |
Add 'html5' .urp directive
Diffstat (limited to 'include/urweb')
-rw-r--r-- | include/urweb/types_cpp.h | 2 | ||||
-rw-r--r-- | include/urweb/urweb_cpp.h | 2 |
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 |