A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.
Dependents: oldheating gps motorhome heating
Diff: tcp/http/httpshim/httpshim.h
- Revision:
- 147:a6093b52e654
- Parent:
- 146:0fc66d610fd6
- Child:
- 154:ba9879b19d9f
--- a/tcp/http/httpshim/httpshim.h Wed May 15 15:33:15 2019 +0000 +++ b/tcp/http/httpshim/httpshim.h Fri May 17 15:01:32 2019 +0000 @@ -1,12 +1,9 @@ #include <stdint.h> #include <stdbool.h> -extern void HttpShimRequest(int size, char* pRequestStream, uint32_t positionInRequestStream, char* pState, bool secure); - -extern bool HttpShimReplyPoll(char* pState, bool clientFinished, bool secure); - -extern void HttpShimAddChar(char c); - +extern void HttpShimRequest (int size, char* pRequestStream, uint32_t positionInRequestStream, char* pWebState, char* pTlsState, bool secure); +extern bool HttpShimPoll (bool clientFinished, char* pWebState, char* pTlsState, bool secure); +extern bool HttpShimReply ( char* pWebState, char* pTlsState); +extern void HttpShimAddChar (char c); extern bool HttpShimBufFilled(void); - -extern bool HttpShimGetTrace(void); \ No newline at end of file +extern bool HttpShimGetTrace (void); \ No newline at end of file