del: 将go版本的内容删除,只保留处理日志功能

This commit is contained in:
2026-03-30 15:57:36 +08:00
parent 88ed9e2707
commit 24467c04c0
117 changed files with 142 additions and 13890 deletions

21
include/server_udp_hub.h Normal file
View 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