Files
selfcare/proxy_c/selfcare_udp.h
2025-03-03 11:40:37 +08:00

27 lines
448 B
C

#ifndef __SELFCARE_UDP_H__
#define __SELFCARE_UDP_H__
#ifdef __cplusplus
extern "C" {
#endif
typedef struct _selfcare_udp_handle_s
{
int (*handle)(char *buff, int len);
}selfcare_udp_handle_s;
int selfcare_udp_init(void);
void selfcare_udp_uninit(void);
int selfcare_udp_reg(selfcare_udp_handle_s *handle);
int selfcare_udp_send(char *buf, short len);
#ifdef __cplusplus
}
#endif
#endif /* __SELFCARE_UDP_H__ */