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

View File

@@ -0,0 +1,21 @@
#ifndef OMNI_SERVER_UDP_RELAY_H
#define OMNI_SERVER_UDP_RELAY_H
#include "omni_common.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct udp_relay udp_relay_t;
udp_relay_t *udp_relay_open(const char *listen_addr, const char *upstream_addr);
int udp_relay_serve(udp_relay_t *relay);
int udp_relay_close(udp_relay_t *relay);
void udp_relay_free(udp_relay_t *relay);
#ifdef __cplusplus
}
#endif
#endif