/*************************************************************************************** File: http.h Date: 13.10.2002 Version: 0.1 Author: Jari Lahti (jari@violasystems.com) Description: HTTP 1.0 server function prototypes Version Info: 13.10.2002 - Started (Jari Lahti) ***************************************************************************************/ #ifndef __INCLUDE_OPENTCP_HTTP_SERVER_H__ #define __INCLUDE_OPENTCP_HTTP_SERVER_H__ #define NO_OF_HTTP_SESSIONS 7 #define HTTPS_SERVERPORT 80 #define HTTPS_STATE_FREE 1 #define HTTPS_STATE_RESERVED 2 #define HTTPS_STATE_ACTIVE 3 INT32 https_eventlistener(INT8, UINT8, UINT32, UINT32); INT8 init_http(void); void https_run(void); void https_deletesession(UINT8); INT16 https_searchsession(UINT8); INT16 https_bindsession(UINT8); void https_activatesession(UINT8); INT16 https_calculatehash(UINT32); INT16 https_findfile(UINT8, UINT8); INT16 https_loadbuffer(UINT8, UINT8*, UINT16); void https_callback(void); #endif