selfcare init
This commit is contained in:
26
proxy_c/selfcare_udp.h
Normal file
26
proxy_c/selfcare_udp.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#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__ */
|
||||
Reference in New Issue
Block a user