bosko lekovic
/
EthToCom_11
nova proba
Diff: doHTML.h
- Revision:
- 7:7ea932eb31f6
- Parent:
- 5:c9a908749d4c
- Child:
- 9:893843262a1f
--- a/doHTML.h Tue Apr 14 13:32:02 2020 +0000 +++ b/doHTML.h Sat Apr 18 22:32:13 2020 +0000 @@ -24,6 +24,18 @@ dxml_t get_serial_option(dxml_t s, int option_idx); void intern_init( void ); + int httpSplitInLines( char *lines[], char * httpresp); + char * httpFirstLine( char **descr, char *line); + + struct S_httpPostValues + { + char *name; + char *value; + } s_hpv[100]; + + struct S_httpPostValues *ps_hpv = s_hpv; + + int extractPostPairs( struct S_httpPostValues ** ps_hpv, char *line); public: @@ -63,8 +75,12 @@ void set_TcpIP( int i, const char* str ); void set_TcpPort( int i, const char* str ); + -}; + void htmlPOST_fun( void ); + char * doHTTP( char * httpcontents); + +}; #endif \ No newline at end of file