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
http-connection.h
00001 #include <stdint.h> 00002 #include <stdbool.h> 00003 00004 struct HttpConnection 00005 { 00006 int id; //An id of zero means the record is empty 00007 uint32_t lastUsed; 00008 int toDo; 00009 bool postComplete; 00010 uint32_t delayUntil; 00011 }; 00012 00013 extern struct HttpConnection* HttpConnectionNew (int connectionId); //Never fails so never returns NULL 00014 extern struct HttpConnection* HttpConnectionOrNull(int connectionId); 00015 extern void HttpConnectionReset (int connectionId);
Generated on Wed Jul 13 2022 14:19:59 by 1.7.2