1
6
7
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/* ... */
/* ... */
#ifndef _CTRL_SOCK_H_
#define _CTRL_SOCK_H_
#ifdef __cplusplus
extern "C" {
#endif
/* ... */
int cs_create_ctrl_sock(int port);
/* ... */
void cs_free_ctrl_sock(int fd);
/* ... */
int cs_send_to_ctrl_sock(int send_fd, int port, void *data, unsigned int data_len);
/* ... */
int cs_recv_from_ctrl_sock(int fd, void *data, unsigned int data_len);
#ifdef __cplusplus
}{...}
#endif
/* ... */
#endif