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
Diff: web.h
- Revision:
- 130:9a5b8fe308f1
- Parent:
- 128:fc9708e1d17c
--- a/web.h Sun Sep 01 18:12:48 2019 +0000 +++ b/web.h Tue Sep 24 18:16:47 2019 +0000 @@ -7,4 +7,11 @@ #define DO_THIS 200 #define DO_SEND_SESSION_ID 300 -extern int WebInit(void); \ No newline at end of file +extern bool WebTrace; + +extern void WebInit (void); + +extern void WebAddResponse (int todo); +extern int WebHandleQuery (char* pQuery, char* pCookies, int* pTodo, uint32_t* pDelayUntil); //return -1 on stop; 0 on continue +extern void WebHandlePost (int todo, int contentLength, int contentStart, int size, char* pRequestStream, uint32_t positionInRequestStream, bool* pComplete); +extern int WebDecideWhatToDo(char *pPath, char* pLastModified);