Common stuff for all my devices' web server pages: css, login, log, ipv4, ipv6, firmware update, clock, reset info etc.

Dependents:   oldheating gps motorhome heating

Embed: (wiki syntax)

« Back to documentation index

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

web-net4-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 const char* WebNet4ScriptDate = __DATE__;
00007 const char* WebNet4ScriptTime = __TIME__;
00008 
00009 static const char* script =
00010 #include "../common/web-ajax-class.inc"
00011 #include "web-net-class.inc"
00012 #include "web-net4-script.inc"
00013 ;
00014 void WebNet4Script()
00015 {
00016     HttpOk("application/javascript; charset=UTF-8", "max-age=3600", WebNet4ScriptDate, WebNet4ScriptTime);
00017     HttpAddText(script);
00018 }