del: 将go版本的内容删除,只保留处理日志功能
This commit is contained in:
21
include/server_udp_hub.h
Normal file
21
include/server_udp_hub.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user