22 lines
450 B
C
22 lines
450 B
C
#ifndef OMNI_SERVER_UDP_HUB_H
|
|
#define OMNI_SERVER_UDP_HUB_H
|
|
|
|
#include "transport_udp.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct udp_hub udp_hub_t;
|
|
|
|
udp_hub_t *udp_hub_open(const char *listen_addr, latency_logger_t *logger, tx_timestamp_debug_logger_t *debug_logger, int enable_timestamping);
|
|
int udp_hub_serve(udp_hub_t *hub);
|
|
int udp_hub_close(udp_hub_t *hub);
|
|
void udp_hub_free(udp_hub_t *hub);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|