Revision e11386c0 event_http/chunk_external_interface.h

View differences:

event_http/chunk_external_interface.h
98 98
 *
99 99
 * @param[in] address The IP address the server shall run at
100 100
 * @param[in] port The port the http server shall listen at
101
 * @param[in] path The http server will process only requests sent to this path.
101 102
 * @param[in] data_processor The external function to call and pass the received data block to
102 103
 * @return -1 in case of error, when server does not get initialized, 0 if OK
103 104
 */
104
int ulEventHttpServerSetup(const char *address, unsigned short port, data_processor_function data_processor);
105
int ulEventHttpServerSetup(const char *address, unsigned short port, const char *path, data_processor_function data_processor);
105 106

  
106 107
/**
107 108
 * Processes the received http request.

Also available in: Unified diff