EtherLib/apps/http_server.h
Epagris 0a6d007c73 - blocking FIFO name collision fixed, by prepending BlockingFifo function names with "eth_"
- CMake integration added
- OS calls got tailored to CMSIS OS2 interface
2024-04-13 16:57:21 +02:00

20 lines
482 B
C

#ifndef ETHERLIB_TEST_HTTP_SERVER_H
#define ETHERLIB_TEST_HTTP_SERVER_H
#include "../cbd_table.h"
#include "../prefab/packet_parsers/ipv4_types.h"
typedef struct {
cbd serverConn; ///< Server connection
} HttpServer;
/**
* Create a new HTTP-server
* @param addr server bind address
* @param port server port
* @return pointer to newly allocated Http server OR NULL on failure
*/
HttpServer * http_new(ip4_addr addr, uint16_t port);
#endif //ETHERLIB_TEST_HTTP_SERVER_H