Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
web-base.h@105:43ef124233cd, 2019-04-28 (annotated)
- Committer:
- andrewboyson
- Date:
- Sun Apr 28 08:37:44 2019 +0000
- Revision:
- 105:43ef124233cd
- Parent:
- 103:91194cc19bbb
- Child:
- 106:7cff473be687
Removed Server name
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| andrewboyson | 103:91194cc19bbb | 1 | #include <stdint.h> |
| andrewboyson | 103:91194cc19bbb | 2 | #include <stdbool.h> |
| andrewboyson | 103:91194cc19bbb | 3 | |
| andrewboyson | 103:91194cc19bbb | 4 | #include "web-derived.h" |
| andrewboyson | 103:91194cc19bbb | 5 | |
| andrewboyson | 103:91194cc19bbb | 6 | extern void WebLoginHtml (void); |
| andrewboyson | 103:91194cc19bbb | 7 | extern void WebLoginQuery (char* pQuery); |
| andrewboyson | 103:91194cc19bbb | 8 | extern bool WebLoginQueryPasswordOk; |
| andrewboyson | 103:91194cc19bbb | 9 | extern int WebLoginOriginalToDo; |
| andrewboyson | 103:91194cc19bbb | 10 | extern bool WebLoginCookiesContainValidSessionId(char* pCookies); |
| andrewboyson | 103:91194cc19bbb | 11 | extern char* WebLoginSessionNameGet(void); |
| andrewboyson | 103:91194cc19bbb | 12 | extern int WebLoginSessionNameLife(void); |
| andrewboyson | 103:91194cc19bbb | 13 | extern char* WebLoginSessionIdGet(void); |
| andrewboyson | 103:91194cc19bbb | 14 | extern void WebLoginSessionIdNew(void); |
| andrewboyson | 103:91194cc19bbb | 15 | extern bool WebLoginSessionIdIsSet(void); |
| andrewboyson | 103:91194cc19bbb | 16 | extern void WebLoginInit(void); |
| andrewboyson | 103:91194cc19bbb | 17 | |
| andrewboyson | 103:91194cc19bbb | 18 | extern void WebFavicon (void); |
| andrewboyson | 103:91194cc19bbb | 19 | extern const char* WebFaviconDate; |
| andrewboyson | 103:91194cc19bbb | 20 | extern const char* WebFaviconTime; |
| andrewboyson | 103:91194cc19bbb | 21 | extern const int WebFaviconSize; |
| andrewboyson | 103:91194cc19bbb | 22 | |
| andrewboyson | 103:91194cc19bbb | 23 | extern void WebBaseCss (void); |
| andrewboyson | 103:91194cc19bbb | 24 | extern const char* WebBaseCssDate; |
| andrewboyson | 103:91194cc19bbb | 25 | extern const char* WebBaseCssTime; |
| andrewboyson | 103:91194cc19bbb | 26 | extern void WebNavCss (void); |
| andrewboyson | 103:91194cc19bbb | 27 | extern const char* WebNavCssDate; |
| andrewboyson | 103:91194cc19bbb | 28 | extern const char* WebNavCssTime; |
| andrewboyson | 103:91194cc19bbb | 29 | |
| andrewboyson | 103:91194cc19bbb | 30 | extern void WebTraceHtml (void); |
| andrewboyson | 103:91194cc19bbb | 31 | extern void WebTraceScript (void); |
| andrewboyson | 103:91194cc19bbb | 32 | extern const char* WebTraceScriptDate; |
| andrewboyson | 103:91194cc19bbb | 33 | extern const char* WebTraceScriptTime; |
| andrewboyson | 103:91194cc19bbb | 34 | extern void WebTraceAjax (void); |
| andrewboyson | 103:91194cc19bbb | 35 | extern void WebTraceQuery (char* pQuery); |
| andrewboyson | 103:91194cc19bbb | 36 | |
| andrewboyson | 103:91194cc19bbb | 37 | extern void WebClockHtml (void); |
| andrewboyson | 103:91194cc19bbb | 38 | extern void WebClockScript (void); |
| andrewboyson | 103:91194cc19bbb | 39 | extern const char* WebClockScriptDate; |
| andrewboyson | 103:91194cc19bbb | 40 | extern const char* WebClockScriptTime; |
| andrewboyson | 103:91194cc19bbb | 41 | extern void WebClockAjax (void); |
| andrewboyson | 103:91194cc19bbb | 42 | extern void WebClockQuery (char* pQuery); |
| andrewboyson | 103:91194cc19bbb | 43 | |
| andrewboyson | 103:91194cc19bbb | 44 | extern void WebLogHtml (void); |
| andrewboyson | 103:91194cc19bbb | 45 | extern void WebLogQuery (char* pQuery); |
| andrewboyson | 103:91194cc19bbb | 46 | |
| andrewboyson | 103:91194cc19bbb | 47 | extern void WebNetHtml (void); |
| andrewboyson | 103:91194cc19bbb | 48 | extern void WebNet4Html (void); |
| andrewboyson | 103:91194cc19bbb | 49 | extern void WebNet4Script (void); |
| andrewboyson | 103:91194cc19bbb | 50 | extern const char* WebNet4ScriptDate; |
| andrewboyson | 103:91194cc19bbb | 51 | extern const char* WebNet4ScriptTime; |
| andrewboyson | 103:91194cc19bbb | 52 | extern void WebNet4Ajax (void); |
| andrewboyson | 103:91194cc19bbb | 53 | extern void WebNet6Html (void); |
| andrewboyson | 103:91194cc19bbb | 54 | extern void WebNet6Script (void); |
| andrewboyson | 103:91194cc19bbb | 55 | extern const char* WebNet6ScriptDate; |
| andrewboyson | 103:91194cc19bbb | 56 | extern const char* WebNet6ScriptTime; |
| andrewboyson | 103:91194cc19bbb | 57 | extern void WebNet6Ajax (void); |
| andrewboyson | 103:91194cc19bbb | 58 | |
| andrewboyson | 103:91194cc19bbb | 59 | extern void WebFaultHtml (void); |
| andrewboyson | 103:91194cc19bbb | 60 | extern void WebFaultQuery (char* pQuery); |
| andrewboyson | 103:91194cc19bbb | 61 | |
| andrewboyson | 103:91194cc19bbb | 62 | extern void WebFirmwareHtml (void); |
| andrewboyson | 103:91194cc19bbb | 63 | extern void WebFirmwareScript(void); |
| andrewboyson | 103:91194cc19bbb | 64 | extern const char* WebFirmwareScriptDate; |
| andrewboyson | 103:91194cc19bbb | 65 | extern const char* WebFirmwareScriptTime; |
| andrewboyson | 103:91194cc19bbb | 66 | extern void WebFirmwareQuery (char* pQuery); |
| andrewboyson | 103:91194cc19bbb | 67 | extern int WebFirmwareTargetLength; |
| andrewboyson | 103:91194cc19bbb | 68 | extern int WebFirmwareActualLength; |
| andrewboyson | 103:91194cc19bbb | 69 | extern char* WebFirmwareFileName; |
| andrewboyson | 103:91194cc19bbb | 70 | extern bool WebFirmwarePost (int contentLength, int contentStart, int size, char* pRequestStream, uint32_t positionInRequestStream); |
| andrewboyson | 103:91194cc19bbb | 71 | extern void WebFirmwareAjax (void); |
| andrewboyson | 103:91194cc19bbb | 72 | |
| andrewboyson | 105:43ef124233cd | 73 | extern int WebInit(void); |
| andrewboyson | 103:91194cc19bbb | 74 | |
| andrewboyson | 103:91194cc19bbb | 75 | #define DO_NOTHING 0 |
| andrewboyson | 103:91194cc19bbb | 76 | #define DO_NOT_FOUND 1 |
| andrewboyson | 103:91194cc19bbb | 77 | #define DO_NOT_MODIFIED 2 |
| andrewboyson | 103:91194cc19bbb | 78 | #define DO_SERVER 3 |
| andrewboyson | 103:91194cc19bbb | 79 | #define DO_DERIVED 100 |