2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
46
47
48
49
50
51
52
53
54
55
56LWS_VISIBLE LWS_EXTERN
int
60
61
62
63
64
65
66
67
68
69
70
71
72LWS_VISIBLE LWS_EXTERN
int
77
78
79
80
81
82
83
84
85
86
87
88
89LWS_VISIBLE LWS_EXTERN
int
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109LWS_VISIBLE LWS_EXTERN
int
114
115
116
117
118
119
120
121
122
123
124
125
126LWS_VISIBLE LWS_EXTERN
int
127lws_callback_all_protocol_vhost(
struct lws_vhost *vh,
128 const struct lws_protocols *protocol,
133
134
135
136
137
138
139
140
141
142
143
144
145
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168LWS_VISIBLE LWS_EXTERN
int
169lws_callback_vhost_protocols(
struct lws *wsi,
int reason,
void *in, size_t len)
173
174
175
176
177
178
179
180
181
182
183
184
185LWS_VISIBLE LWS_EXTERN
int
189LWS_VISIBLE LWS_EXTERN
int
191 void *user,
void *in, size_t len);
194
195
196
197
198
199
200LWS_VISIBLE LWS_EXTERN lws_sockfd_type
201lws_get_socket_fd(
struct lws *wsi);
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224LWS_VISIBLE LWS_EXTERN lws_fileofs_t
225lws_get_peer_write_allowance(
struct lws *wsi);
228
229
230
231
232
233
234
235
236
237
238
239
240#define LWSTXCR_US_TO_PEER 0
241#define LWSTXCR_PEER_TO_US 1
243LWS_VISIBLE LWS_EXTERN
int
LWS_VISIBLE LWS_EXTERN int lws_wsi_tx_credit(struct lws *wsi, char peer_to_us, int add)
LWS_VISIBLE int lws_callback_all_protocol_vhost_args(struct lws_vhost *vh, const struct lws_protocols *protocol, int reason, void *argp, size_t len)
LWS_VISIBLE LWS_EXTERN int lws_callback_on_writable_all_protocol_vhost(const struct lws_vhost *vhost, const struct lws_protocols *protocol)
LWS_VISIBLE LWS_EXTERN int lws_callback_on_writable(struct lws *wsi)
LWS_VISIBLE LWS_EXTERN int lws_callback_http_dummy(struct lws *wsi, enum lws_callback_reasons reason, void *user, void *in, size_t len)
LWS_VISIBLE LWS_EXTERN int lws_callback_on_writable_all_protocol(const struct lws_context *context, const struct lws_protocols *protocol)
LWS_VISIBLE LWS_EXTERN int lws_callback_vhost_protocols_vhost(struct lws_vhost *vh, int reason, void *in, size_t len)
LWS_VISIBLE LWS_EXTERN int lws_callback_all_protocol(struct lws_context *context, const struct lws_protocols *protocol, int reason)