Andrew Boyson / web

Dependents:   oldheating gps motorhome heating

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);