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