Andrew Boyson / oldheating

Dependencies:   net 1-wire lpc1768 crypto clock web fram log

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers web-system-script.c Source File

web-system-script.c

00001 #include "http.h"
00002 
00003 //Use http://tomeko.net/online_tools/cpp_text_escape.php   to convert from text to c-multiline
00004 //Use http://tomeko.net/online_tools/cpp_text_unescape.php to convert from c-multiline to text
00005 
00006 static const char* script =
00007 #include "../../web/common/web-ajax-class.inc"
00008 #include "web-system-script.inc"
00009 ;
00010 const char* WebSystemScriptDate = __DATE__;
00011 const char* WebSystemScriptTime = __TIME__;
00012 
00013 void WebSystemScript()
00014 {
00015     HttpOk("application/javascript; charset=UTF-8", "max-age=3600", WebSystemScriptDate, WebSystemScriptTime);
00016     HttpAddText(script);
00017 }