line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#define PERL_constant_NOTFOUND 1 |
2
|
|
|
|
|
|
|
#define PERL_constant_NOTDEF 2 |
3
|
|
|
|
|
|
|
#define PERL_constant_ISIV 3 |
4
|
|
|
|
|
|
|
#define PERL_constant_ISNO 4 |
5
|
|
|
|
|
|
|
#define PERL_constant_ISNV 5 |
6
|
|
|
|
|
|
|
#define PERL_constant_ISPV 6 |
7
|
|
|
|
|
|
|
#define PERL_constant_ISPVN 7 |
8
|
|
|
|
|
|
|
#define PERL_constant_ISSV 8 |
9
|
|
|
|
|
|
|
#define PERL_constant_ISUNDEF 9 |
10
|
|
|
|
|
|
|
#define PERL_constant_ISUV 10 |
11
|
|
|
|
|
|
|
#define PERL_constant_ISYES 11 |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
#ifndef NVTYPE |
14
|
|
|
|
|
|
|
typedef double NV; /* 5.6 and later define NVTYPE, and typedef NV to it. */ |
15
|
|
|
|
|
|
|
#endif |
16
|
|
|
|
|
|
|
#ifndef aTHX_ |
17
|
|
|
|
|
|
|
#define aTHX_ /* 5.6 or later define this for threading support. */ |
18
|
|
|
|
|
|
|
#endif |
19
|
|
|
|
|
|
|
#ifndef pTHX_ |
20
|
|
|
|
|
|
|
#define pTHX_ /* 5.6 or later define this for threading support. */ |
21
|
|
|
|
|
|
|
#endif |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
static int |
24
|
3
|
|
|
|
|
|
_socket_option_8 (pTHX_ const char *name, IV *iv_return) { |
25
|
|
|
|
|
|
|
/* When generated this function returned values for the list of names given |
26
|
|
|
|
|
|
|
here. However, subsequent manual editing may have added or removed some. |
27
|
|
|
|
|
|
|
ZMQ_IPV6 ZMQ_RATE ZMQ_TYPE */ |
28
|
|
|
|
|
|
|
/* Offset 6 gives the best switch position. */ |
29
|
3
|
|
|
|
|
|
switch (name[6]) { |
30
|
|
|
|
|
|
|
case 'P': |
31
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_TYPE", 8)) { |
32
|
|
|
|
|
|
|
/* ^ */ |
33
|
|
|
|
|
|
|
#ifdef ZMQ_TYPE |
34
|
1
|
|
|
|
|
|
*iv_return = ZMQ_TYPE; |
35
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
36
|
|
|
|
|
|
|
#else |
37
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
38
|
|
|
|
|
|
|
#endif |
39
|
|
|
|
|
|
|
} |
40
|
0
|
|
|
|
|
|
break; |
41
|
|
|
|
|
|
|
case 'T': |
42
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_RATE", 8)) { |
43
|
|
|
|
|
|
|
/* ^ */ |
44
|
|
|
|
|
|
|
#ifdef ZMQ_RATE |
45
|
1
|
|
|
|
|
|
*iv_return = ZMQ_RATE; |
46
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
47
|
|
|
|
|
|
|
#else |
48
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
49
|
|
|
|
|
|
|
#endif |
50
|
|
|
|
|
|
|
} |
51
|
0
|
|
|
|
|
|
break; |
52
|
|
|
|
|
|
|
case 'V': |
53
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_IPV6", 8)) { |
54
|
|
|
|
|
|
|
/* ^ */ |
55
|
|
|
|
|
|
|
#ifdef ZMQ_IPV6 |
56
|
1
|
|
|
|
|
|
*iv_return = ZMQ_IPV6; |
57
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
58
|
|
|
|
|
|
|
#else |
59
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
60
|
|
|
|
|
|
|
#endif |
61
|
|
|
|
|
|
|
} |
62
|
0
|
|
|
|
|
|
break; |
63
|
|
|
|
|
|
|
} |
64
|
0
|
|
|
|
|
|
return PERL_constant_NOTFOUND; |
65
|
|
|
|
|
|
|
} |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
static int |
68
|
8
|
|
|
|
|
|
_socket_option_10 (pTHX_ const char *name, IV *iv_return) { |
69
|
|
|
|
|
|
|
/* When generated this function returned values for the list of names given |
70
|
|
|
|
|
|
|
here. However, subsequent manual editing may have added or removed some. |
71
|
|
|
|
|
|
|
ZMQ_BLOCKY ZMQ_EVENTS ZMQ_LINGER ZMQ_RCVBUF ZMQ_RCVHWM ZMQ_SNDBUF |
72
|
|
|
|
|
|
|
ZMQ_SNDHWM ZMQ_USE_FD */ |
73
|
|
|
|
|
|
|
/* Offset 8 gives the best switch position. */ |
74
|
8
|
|
|
|
|
|
switch (name[8]) { |
75
|
|
|
|
|
|
|
case 'E': |
76
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_LINGER", 10)) { |
77
|
|
|
|
|
|
|
/* ^ */ |
78
|
|
|
|
|
|
|
#ifdef ZMQ_LINGER |
79
|
1
|
|
|
|
|
|
*iv_return = ZMQ_LINGER; |
80
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
81
|
|
|
|
|
|
|
#else |
82
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
83
|
|
|
|
|
|
|
#endif |
84
|
|
|
|
|
|
|
} |
85
|
0
|
|
|
|
|
|
break; |
86
|
|
|
|
|
|
|
case 'F': |
87
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_USE_FD", 10)) { |
88
|
|
|
|
|
|
|
/* ^ */ |
89
|
|
|
|
|
|
|
#ifdef ZMQ_USE_FD |
90
|
1
|
|
|
|
|
|
*iv_return = ZMQ_USE_FD; |
91
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
92
|
|
|
|
|
|
|
#else |
93
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
94
|
|
|
|
|
|
|
#endif |
95
|
|
|
|
|
|
|
} |
96
|
0
|
|
|
|
|
|
break; |
97
|
|
|
|
|
|
|
case 'K': |
98
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_BLOCKY", 10)) { |
99
|
|
|
|
|
|
|
/* ^ */ |
100
|
|
|
|
|
|
|
#ifdef ZMQ_BLOCKY |
101
|
1
|
|
|
|
|
|
*iv_return = ZMQ_BLOCKY; |
102
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
103
|
|
|
|
|
|
|
#else |
104
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
105
|
|
|
|
|
|
|
#endif |
106
|
|
|
|
|
|
|
} |
107
|
0
|
|
|
|
|
|
break; |
108
|
|
|
|
|
|
|
case 'T': |
109
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_EVENTS", 10)) { |
110
|
|
|
|
|
|
|
/* ^ */ |
111
|
|
|
|
|
|
|
#ifdef ZMQ_EVENTS |
112
|
1
|
|
|
|
|
|
*iv_return = ZMQ_EVENTS; |
113
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
114
|
|
|
|
|
|
|
#else |
115
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
116
|
|
|
|
|
|
|
#endif |
117
|
|
|
|
|
|
|
} |
118
|
0
|
|
|
|
|
|
break; |
119
|
|
|
|
|
|
|
case 'U': |
120
|
2
|
100
|
|
|
|
|
if (memEQ(name, "ZMQ_RCVBUF", 10)) { |
121
|
|
|
|
|
|
|
/* ^ */ |
122
|
|
|
|
|
|
|
#ifdef ZMQ_RCVBUF |
123
|
1
|
|
|
|
|
|
*iv_return = ZMQ_RCVBUF; |
124
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
125
|
|
|
|
|
|
|
#else |
126
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
127
|
|
|
|
|
|
|
#endif |
128
|
|
|
|
|
|
|
} |
129
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_SNDBUF", 10)) { |
130
|
|
|
|
|
|
|
/* ^ */ |
131
|
|
|
|
|
|
|
#ifdef ZMQ_SNDBUF |
132
|
1
|
|
|
|
|
|
*iv_return = ZMQ_SNDBUF; |
133
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
134
|
|
|
|
|
|
|
#else |
135
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
136
|
|
|
|
|
|
|
#endif |
137
|
|
|
|
|
|
|
} |
138
|
0
|
|
|
|
|
|
break; |
139
|
|
|
|
|
|
|
case 'W': |
140
|
2
|
100
|
|
|
|
|
if (memEQ(name, "ZMQ_RCVHWM", 10)) { |
141
|
|
|
|
|
|
|
/* ^ */ |
142
|
|
|
|
|
|
|
#ifdef ZMQ_RCVHWM |
143
|
1
|
|
|
|
|
|
*iv_return = ZMQ_RCVHWM; |
144
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
145
|
|
|
|
|
|
|
#else |
146
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
147
|
|
|
|
|
|
|
#endif |
148
|
|
|
|
|
|
|
} |
149
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_SNDHWM", 10)) { |
150
|
|
|
|
|
|
|
/* ^ */ |
151
|
|
|
|
|
|
|
#ifdef ZMQ_SNDHWM |
152
|
1
|
|
|
|
|
|
*iv_return = ZMQ_SNDHWM; |
153
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
154
|
|
|
|
|
|
|
#else |
155
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
156
|
|
|
|
|
|
|
#endif |
157
|
|
|
|
|
|
|
} |
158
|
0
|
|
|
|
|
|
break; |
159
|
|
|
|
|
|
|
} |
160
|
0
|
|
|
|
|
|
return PERL_constant_NOTFOUND; |
161
|
|
|
|
|
|
|
} |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
static int |
164
|
5
|
|
|
|
|
|
_socket_option_12 (pTHX_ const char *name, IV *iv_return) { |
165
|
|
|
|
|
|
|
/* When generated this function returned values for the list of names given |
166
|
|
|
|
|
|
|
here. However, subsequent manual editing may have added or removed some. |
167
|
|
|
|
|
|
|
ZMQ_AFFINITY ZMQ_CONFLATE ZMQ_IDENTITY ZMQ_RCVTIMEO ZMQ_SNDTIMEO */ |
168
|
|
|
|
|
|
|
/* Offset 5 gives the best switch position. */ |
169
|
5
|
|
|
|
|
|
switch (name[5]) { |
170
|
|
|
|
|
|
|
case 'C': |
171
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_RCVTIMEO", 12)) { |
172
|
|
|
|
|
|
|
/* ^ */ |
173
|
|
|
|
|
|
|
#ifdef ZMQ_RCVTIMEO |
174
|
1
|
|
|
|
|
|
*iv_return = ZMQ_RCVTIMEO; |
175
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
176
|
|
|
|
|
|
|
#else |
177
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
178
|
|
|
|
|
|
|
#endif |
179
|
|
|
|
|
|
|
} |
180
|
0
|
|
|
|
|
|
break; |
181
|
|
|
|
|
|
|
case 'D': |
182
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_IDENTITY", 12)) { |
183
|
|
|
|
|
|
|
/* ^ */ |
184
|
|
|
|
|
|
|
#ifdef ZMQ_IDENTITY |
185
|
1
|
|
|
|
|
|
*iv_return = ZMQ_IDENTITY; |
186
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
187
|
|
|
|
|
|
|
#else |
188
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
189
|
|
|
|
|
|
|
#endif |
190
|
|
|
|
|
|
|
} |
191
|
0
|
|
|
|
|
|
break; |
192
|
|
|
|
|
|
|
case 'F': |
193
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_AFFINITY", 12)) { |
194
|
|
|
|
|
|
|
/* ^ */ |
195
|
|
|
|
|
|
|
#ifdef ZMQ_AFFINITY |
196
|
1
|
|
|
|
|
|
*iv_return = ZMQ_AFFINITY; |
197
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
198
|
|
|
|
|
|
|
#else |
199
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
200
|
|
|
|
|
|
|
#endif |
201
|
|
|
|
|
|
|
} |
202
|
0
|
|
|
|
|
|
break; |
203
|
|
|
|
|
|
|
case 'N': |
204
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_SNDTIMEO", 12)) { |
205
|
|
|
|
|
|
|
/* ^ */ |
206
|
|
|
|
|
|
|
#ifdef ZMQ_SNDTIMEO |
207
|
1
|
|
|
|
|
|
*iv_return = ZMQ_SNDTIMEO; |
208
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
209
|
|
|
|
|
|
|
#else |
210
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
211
|
|
|
|
|
|
|
#endif |
212
|
|
|
|
|
|
|
} |
213
|
0
|
|
|
|
|
|
break; |
214
|
|
|
|
|
|
|
case 'O': |
215
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_CONFLATE", 12)) { |
216
|
|
|
|
|
|
|
/* ^ */ |
217
|
|
|
|
|
|
|
#ifdef ZMQ_CONFLATE |
218
|
1
|
|
|
|
|
|
*iv_return = ZMQ_CONFLATE; |
219
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
220
|
|
|
|
|
|
|
#else |
221
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
222
|
|
|
|
|
|
|
#endif |
223
|
|
|
|
|
|
|
} |
224
|
0
|
|
|
|
|
|
break; |
225
|
|
|
|
|
|
|
} |
226
|
0
|
|
|
|
|
|
return PERL_constant_NOTFOUND; |
227
|
|
|
|
|
|
|
} |
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
static int |
230
|
4
|
|
|
|
|
|
_socket_option_13 (pTHX_ const char *name, IV *iv_return) { |
231
|
|
|
|
|
|
|
/* When generated this function returned values for the list of names given |
232
|
|
|
|
|
|
|
here. However, subsequent manual editing may have added or removed some. |
233
|
|
|
|
|
|
|
ZMQ_IMMEDIATE ZMQ_MECHANISM ZMQ_SUBSCRIBE ZMQ_TCP_MAXRT */ |
234
|
|
|
|
|
|
|
/* Offset 4 gives the best switch position. */ |
235
|
4
|
|
|
|
|
|
switch (name[4]) { |
236
|
|
|
|
|
|
|
case 'I': |
237
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_IMMEDIATE", 13)) { |
238
|
|
|
|
|
|
|
/* ^ */ |
239
|
|
|
|
|
|
|
#ifdef ZMQ_IMMEDIATE |
240
|
1
|
|
|
|
|
|
*iv_return = ZMQ_IMMEDIATE; |
241
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
242
|
|
|
|
|
|
|
#else |
243
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
244
|
|
|
|
|
|
|
#endif |
245
|
|
|
|
|
|
|
} |
246
|
0
|
|
|
|
|
|
break; |
247
|
|
|
|
|
|
|
case 'M': |
248
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_MECHANISM", 13)) { |
249
|
|
|
|
|
|
|
/* ^ */ |
250
|
|
|
|
|
|
|
#ifdef ZMQ_MECHANISM |
251
|
1
|
|
|
|
|
|
*iv_return = ZMQ_MECHANISM; |
252
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
253
|
|
|
|
|
|
|
#else |
254
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
255
|
|
|
|
|
|
|
#endif |
256
|
|
|
|
|
|
|
} |
257
|
0
|
|
|
|
|
|
break; |
258
|
|
|
|
|
|
|
case 'S': |
259
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_SUBSCRIBE", 13)) { |
260
|
|
|
|
|
|
|
/* ^ */ |
261
|
|
|
|
|
|
|
#ifdef ZMQ_SUBSCRIBE |
262
|
1
|
|
|
|
|
|
*iv_return = ZMQ_SUBSCRIBE; |
263
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
264
|
|
|
|
|
|
|
#else |
265
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
266
|
|
|
|
|
|
|
#endif |
267
|
|
|
|
|
|
|
} |
268
|
0
|
|
|
|
|
|
break; |
269
|
|
|
|
|
|
|
case 'T': |
270
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_TCP_MAXRT", 13)) { |
271
|
|
|
|
|
|
|
/* ^ */ |
272
|
|
|
|
|
|
|
#ifdef ZMQ_TCP_MAXRT |
273
|
1
|
|
|
|
|
|
*iv_return = ZMQ_TCP_MAXRT; |
274
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
275
|
|
|
|
|
|
|
#else |
276
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
277
|
|
|
|
|
|
|
#endif |
278
|
|
|
|
|
|
|
} |
279
|
0
|
|
|
|
|
|
break; |
280
|
|
|
|
|
|
|
} |
281
|
0
|
|
|
|
|
|
return PERL_constant_NOTFOUND; |
282
|
|
|
|
|
|
|
} |
283
|
|
|
|
|
|
|
|
284
|
|
|
|
|
|
|
static int |
285
|
3
|
|
|
|
|
|
_socket_option_14 (pTHX_ const char *name, IV *iv_return) { |
286
|
|
|
|
|
|
|
/* When generated this function returned values for the list of names given |
287
|
|
|
|
|
|
|
here. However, subsequent manual editing may have added or removed some. |
288
|
|
|
|
|
|
|
ZMQ_MAXMSGSIZE ZMQ_ROUTER_RAW ZMQ_ROUTING_ID ZMQ_ZAP_DOMAIN */ |
289
|
|
|
|
|
|
|
/* Offset 9 gives the best switch position. */ |
290
|
3
|
|
|
|
|
|
switch (name[9]) { |
291
|
|
|
|
|
|
|
case 'G': |
292
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_MAXMSGSIZE", 14)) { |
293
|
|
|
|
|
|
|
/* ^ */ |
294
|
|
|
|
|
|
|
#ifdef ZMQ_MAXMSGSIZE |
295
|
1
|
|
|
|
|
|
*iv_return = ZMQ_MAXMSGSIZE; |
296
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
297
|
|
|
|
|
|
|
#else |
298
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
299
|
|
|
|
|
|
|
#endif |
300
|
|
|
|
|
|
|
} |
301
|
0
|
|
|
|
|
|
break; |
302
|
|
|
|
|
|
|
case 'N': |
303
|
0
|
0
|
|
|
|
|
if (memEQ(name, "ZMQ_ROUTING_ID", 14)) { |
304
|
|
|
|
|
|
|
/* ^ */ |
305
|
|
|
|
|
|
|
#ifdef ZMQ_ROUTING_ID |
306
|
0
|
|
|
|
|
|
*iv_return = ZMQ_ROUTING_ID; |
307
|
0
|
|
|
|
|
|
return PERL_constant_ISIV; |
308
|
|
|
|
|
|
|
#else |
309
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
310
|
|
|
|
|
|
|
#endif |
311
|
|
|
|
|
|
|
} |
312
|
0
|
|
|
|
|
|
break; |
313
|
|
|
|
|
|
|
case 'O': |
314
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_ZAP_DOMAIN", 14)) { |
315
|
|
|
|
|
|
|
/* ^ */ |
316
|
|
|
|
|
|
|
#ifdef ZMQ_ZAP_DOMAIN |
317
|
1
|
|
|
|
|
|
*iv_return = ZMQ_ZAP_DOMAIN; |
318
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
319
|
|
|
|
|
|
|
#else |
320
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
321
|
|
|
|
|
|
|
#endif |
322
|
|
|
|
|
|
|
} |
323
|
0
|
|
|
|
|
|
break; |
324
|
|
|
|
|
|
|
case 'R': |
325
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_ROUTER_RAW", 14)) { |
326
|
|
|
|
|
|
|
/* ^ */ |
327
|
|
|
|
|
|
|
#ifdef ZMQ_ROUTER_RAW |
328
|
1
|
|
|
|
|
|
*iv_return = ZMQ_ROUTER_RAW; |
329
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
330
|
|
|
|
|
|
|
#else |
331
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
332
|
|
|
|
|
|
|
#endif |
333
|
|
|
|
|
|
|
} |
334
|
0
|
|
|
|
|
|
break; |
335
|
|
|
|
|
|
|
} |
336
|
0
|
|
|
|
|
|
return PERL_constant_NOTFOUND; |
337
|
|
|
|
|
|
|
} |
338
|
|
|
|
|
|
|
|
339
|
|
|
|
|
|
|
static int |
340
|
7
|
|
|
|
|
|
_socket_option_15 (pTHX_ const char *name, IV *iv_return) { |
341
|
|
|
|
|
|
|
/* When generated this function returned values for the list of names given |
342
|
|
|
|
|
|
|
here. However, subsequent manual editing may have added or removed some. |
343
|
|
|
|
|
|
|
ZMQ_CONNECT_RID ZMQ_REQ_RELAXED ZMQ_SOCKS_PROXY ZMQ_THREAD_SAFE |
344
|
|
|
|
|
|
|
ZMQ_UNSUBSCRIBE ZMQ_XPUB_MANUAL ZMQ_XPUB_NODROP */ |
345
|
|
|
|
|
|
|
/* Offset 13 gives the best switch position. */ |
346
|
7
|
|
|
|
|
|
switch (name[13]) { |
347
|
|
|
|
|
|
|
case 'A': |
348
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_XPUB_MANUAL", 15)) { |
349
|
|
|
|
|
|
|
/* ^ */ |
350
|
|
|
|
|
|
|
#ifdef ZMQ_XPUB_MANUAL |
351
|
1
|
|
|
|
|
|
*iv_return = ZMQ_XPUB_MANUAL; |
352
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
353
|
|
|
|
|
|
|
#else |
354
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
355
|
|
|
|
|
|
|
#endif |
356
|
|
|
|
|
|
|
} |
357
|
0
|
|
|
|
|
|
break; |
358
|
|
|
|
|
|
|
case 'B': |
359
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_UNSUBSCRIBE", 15)) { |
360
|
|
|
|
|
|
|
/* ^ */ |
361
|
|
|
|
|
|
|
#ifdef ZMQ_UNSUBSCRIBE |
362
|
1
|
|
|
|
|
|
*iv_return = ZMQ_UNSUBSCRIBE; |
363
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
364
|
|
|
|
|
|
|
#else |
365
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
366
|
|
|
|
|
|
|
#endif |
367
|
|
|
|
|
|
|
} |
368
|
0
|
|
|
|
|
|
break; |
369
|
|
|
|
|
|
|
case 'E': |
370
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_REQ_RELAXED", 15)) { |
371
|
|
|
|
|
|
|
/* ^ */ |
372
|
|
|
|
|
|
|
#ifdef ZMQ_REQ_RELAXED |
373
|
1
|
|
|
|
|
|
*iv_return = ZMQ_REQ_RELAXED; |
374
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
375
|
|
|
|
|
|
|
#else |
376
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
377
|
|
|
|
|
|
|
#endif |
378
|
|
|
|
|
|
|
} |
379
|
0
|
|
|
|
|
|
break; |
380
|
|
|
|
|
|
|
case 'F': |
381
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_THREAD_SAFE", 15)) { |
382
|
|
|
|
|
|
|
/* ^ */ |
383
|
|
|
|
|
|
|
#ifdef ZMQ_THREAD_SAFE |
384
|
1
|
|
|
|
|
|
*iv_return = ZMQ_THREAD_SAFE; |
385
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
386
|
|
|
|
|
|
|
#else |
387
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
388
|
|
|
|
|
|
|
#endif |
389
|
|
|
|
|
|
|
} |
390
|
0
|
|
|
|
|
|
break; |
391
|
|
|
|
|
|
|
case 'I': |
392
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_CONNECT_RID", 15)) { |
393
|
|
|
|
|
|
|
/* ^ */ |
394
|
|
|
|
|
|
|
#ifdef ZMQ_CONNECT_RID |
395
|
1
|
|
|
|
|
|
*iv_return = ZMQ_CONNECT_RID; |
396
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
397
|
|
|
|
|
|
|
#else |
398
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
399
|
|
|
|
|
|
|
#endif |
400
|
|
|
|
|
|
|
} |
401
|
0
|
|
|
|
|
|
break; |
402
|
|
|
|
|
|
|
case 'O': |
403
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_XPUB_NODROP", 15)) { |
404
|
|
|
|
|
|
|
/* ^ */ |
405
|
|
|
|
|
|
|
#ifdef ZMQ_XPUB_NODROP |
406
|
1
|
|
|
|
|
|
*iv_return = ZMQ_XPUB_NODROP; |
407
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
408
|
|
|
|
|
|
|
#else |
409
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
410
|
|
|
|
|
|
|
#endif |
411
|
|
|
|
|
|
|
} |
412
|
0
|
|
|
|
|
|
break; |
413
|
|
|
|
|
|
|
case 'X': |
414
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_SOCKS_PROXY", 15)) { |
415
|
|
|
|
|
|
|
/* ^ */ |
416
|
|
|
|
|
|
|
#ifdef ZMQ_SOCKS_PROXY |
417
|
1
|
|
|
|
|
|
*iv_return = ZMQ_SOCKS_PROXY; |
418
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
419
|
|
|
|
|
|
|
#else |
420
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
421
|
|
|
|
|
|
|
#endif |
422
|
|
|
|
|
|
|
} |
423
|
0
|
|
|
|
|
|
break; |
424
|
|
|
|
|
|
|
} |
425
|
0
|
|
|
|
|
|
return PERL_constant_NOTFOUND; |
426
|
|
|
|
|
|
|
} |
427
|
|
|
|
|
|
|
|
428
|
|
|
|
|
|
|
static int |
429
|
6
|
|
|
|
|
|
_socket_option_16 (pTHX_ const char *name, IV *iv_return) { |
430
|
|
|
|
|
|
|
/* When generated this function returned values for the list of names given |
431
|
|
|
|
|
|
|
here. However, subsequent manual editing may have added or removed some. |
432
|
|
|
|
|
|
|
ZMQ_CURVE_SERVER ZMQ_PLAIN_SERVER ZMQ_PROBE_ROUTER ZMQ_RECOVERY_IVL |
433
|
|
|
|
|
|
|
ZMQ_XPUB_VERBOSE */ |
434
|
|
|
|
|
|
|
/* Offset 5 gives the best switch position. */ |
435
|
6
|
|
|
|
|
|
switch (name[5]) { |
436
|
|
|
|
|
|
|
case 'E': |
437
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_RECOVERY_IVL", 16)) { |
438
|
|
|
|
|
|
|
/* ^ */ |
439
|
|
|
|
|
|
|
#ifdef ZMQ_RECOVERY_IVL |
440
|
1
|
|
|
|
|
|
*iv_return = ZMQ_RECOVERY_IVL; |
441
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
442
|
|
|
|
|
|
|
#else |
443
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
444
|
|
|
|
|
|
|
#endif |
445
|
|
|
|
|
|
|
} |
446
|
0
|
|
|
|
|
|
break; |
447
|
|
|
|
|
|
|
case 'L': |
448
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_PLAIN_SERVER", 16)) { |
449
|
|
|
|
|
|
|
/* ^ */ |
450
|
|
|
|
|
|
|
#ifdef ZMQ_PLAIN_SERVER |
451
|
1
|
|
|
|
|
|
*iv_return = ZMQ_PLAIN_SERVER; |
452
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
453
|
|
|
|
|
|
|
#else |
454
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
455
|
|
|
|
|
|
|
#endif |
456
|
|
|
|
|
|
|
} |
457
|
0
|
|
|
|
|
|
break; |
458
|
|
|
|
|
|
|
case 'P': |
459
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_XPUB_VERBOSE", 16)) { |
460
|
|
|
|
|
|
|
/* ^ */ |
461
|
|
|
|
|
|
|
#ifdef ZMQ_XPUB_VERBOSE |
462
|
1
|
|
|
|
|
|
*iv_return = ZMQ_XPUB_VERBOSE; |
463
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
464
|
|
|
|
|
|
|
#else |
465
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
466
|
|
|
|
|
|
|
#endif |
467
|
|
|
|
|
|
|
} |
468
|
0
|
|
|
|
|
|
break; |
469
|
|
|
|
|
|
|
case 'R': |
470
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_PROBE_ROUTER", 16)) { |
471
|
|
|
|
|
|
|
/* ^ */ |
472
|
|
|
|
|
|
|
#ifdef ZMQ_PROBE_ROUTER |
473
|
1
|
|
|
|
|
|
*iv_return = ZMQ_PROBE_ROUTER; |
474
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
475
|
|
|
|
|
|
|
#else |
476
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
477
|
|
|
|
|
|
|
#endif |
478
|
|
|
|
|
|
|
} |
479
|
0
|
|
|
|
|
|
break; |
480
|
|
|
|
|
|
|
case 'U': |
481
|
2
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_CURVE_SERVER", 16)) { |
482
|
|
|
|
|
|
|
/* ^ */ |
483
|
|
|
|
|
|
|
#ifdef ZMQ_CURVE_SERVER |
484
|
2
|
|
|
|
|
|
*iv_return = ZMQ_CURVE_SERVER; |
485
|
2
|
|
|
|
|
|
return PERL_constant_ISIV; |
486
|
|
|
|
|
|
|
#else |
487
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
488
|
|
|
|
|
|
|
#endif |
489
|
|
|
|
|
|
|
} |
490
|
0
|
|
|
|
|
|
break; |
491
|
|
|
|
|
|
|
} |
492
|
0
|
|
|
|
|
|
return PERL_constant_NOTFOUND; |
493
|
|
|
|
|
|
|
} |
494
|
|
|
|
|
|
|
|
495
|
|
|
|
|
|
|
static int |
496
|
10
|
|
|
|
|
|
_socket_option_17 (pTHX_ const char *name, IV *iv_return) { |
497
|
|
|
|
|
|
|
/* When generated this function returned values for the list of names given |
498
|
|
|
|
|
|
|
here. However, subsequent manual editing may have added or removed some. |
499
|
|
|
|
|
|
|
ZMQ_GSSAPI_SERVER ZMQ_HANDSHAKE_IVL ZMQ_HEARTBEAT_IVL ZMQ_HEARTBEAT_TTL |
500
|
|
|
|
|
|
|
ZMQ_LAST_ENDPOINT ZMQ_RECONNECT_IVL ZMQ_REQ_CORRELATE ZMQ_ROUTER_NOTIFY |
501
|
|
|
|
|
|
|
ZMQ_STREAM_NOTIFY ZMQ_TCP_KEEPALIVE ZMQ_XPUB_VERBOSER */ |
502
|
|
|
|
|
|
|
/* Offset 9 gives the best switch position. */ |
503
|
10
|
|
|
|
|
|
switch (name[9]) { |
504
|
|
|
|
|
|
|
case 'B': |
505
|
2
|
100
|
|
|
|
|
if (memEQ(name, "ZMQ_HEARTBEAT_IVL", 17)) { |
506
|
|
|
|
|
|
|
/* ^ */ |
507
|
|
|
|
|
|
|
#ifdef ZMQ_HEARTBEAT_IVL |
508
|
1
|
|
|
|
|
|
*iv_return = ZMQ_HEARTBEAT_IVL; |
509
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
510
|
|
|
|
|
|
|
#else |
511
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
512
|
|
|
|
|
|
|
#endif |
513
|
|
|
|
|
|
|
} |
514
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_HEARTBEAT_TTL", 17)) { |
515
|
|
|
|
|
|
|
/* ^ */ |
516
|
|
|
|
|
|
|
#ifdef ZMQ_HEARTBEAT_TTL |
517
|
1
|
|
|
|
|
|
*iv_return = ZMQ_HEARTBEAT_TTL; |
518
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
519
|
|
|
|
|
|
|
#else |
520
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
521
|
|
|
|
|
|
|
#endif |
522
|
|
|
|
|
|
|
} |
523
|
0
|
|
|
|
|
|
break; |
524
|
|
|
|
|
|
|
case 'E': |
525
|
2
|
100
|
|
|
|
|
if (memEQ(name, "ZMQ_LAST_ENDPOINT", 17)) { |
526
|
|
|
|
|
|
|
/* ^ */ |
527
|
|
|
|
|
|
|
#ifdef ZMQ_LAST_ENDPOINT |
528
|
1
|
|
|
|
|
|
*iv_return = ZMQ_LAST_ENDPOINT; |
529
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
530
|
|
|
|
|
|
|
#else |
531
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
532
|
|
|
|
|
|
|
#endif |
533
|
|
|
|
|
|
|
} |
534
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_TCP_KEEPALIVE", 17)) { |
535
|
|
|
|
|
|
|
/* ^ */ |
536
|
|
|
|
|
|
|
#ifdef ZMQ_TCP_KEEPALIVE |
537
|
1
|
|
|
|
|
|
*iv_return = ZMQ_TCP_KEEPALIVE; |
538
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
539
|
|
|
|
|
|
|
#else |
540
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
541
|
|
|
|
|
|
|
#endif |
542
|
|
|
|
|
|
|
} |
543
|
0
|
|
|
|
|
|
break; |
544
|
|
|
|
|
|
|
case 'H': |
545
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_HANDSHAKE_IVL", 17)) { |
546
|
|
|
|
|
|
|
/* ^ */ |
547
|
|
|
|
|
|
|
#ifdef ZMQ_HANDSHAKE_IVL |
548
|
1
|
|
|
|
|
|
*iv_return = ZMQ_HANDSHAKE_IVL; |
549
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
550
|
|
|
|
|
|
|
#else |
551
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
552
|
|
|
|
|
|
|
#endif |
553
|
|
|
|
|
|
|
} |
554
|
0
|
|
|
|
|
|
break; |
555
|
|
|
|
|
|
|
case 'I': |
556
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_GSSAPI_SERVER", 17)) { |
557
|
|
|
|
|
|
|
/* ^ */ |
558
|
|
|
|
|
|
|
#ifdef ZMQ_GSSAPI_SERVER |
559
|
1
|
|
|
|
|
|
*iv_return = ZMQ_GSSAPI_SERVER; |
560
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
561
|
|
|
|
|
|
|
#else |
562
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
563
|
|
|
|
|
|
|
#endif |
564
|
|
|
|
|
|
|
} |
565
|
0
|
|
|
|
|
|
break; |
566
|
|
|
|
|
|
|
case 'M': |
567
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_STREAM_NOTIFY", 17)) { |
568
|
|
|
|
|
|
|
/* ^ */ |
569
|
|
|
|
|
|
|
#ifdef ZMQ_STREAM_NOTIFY |
570
|
1
|
|
|
|
|
|
*iv_return = ZMQ_STREAM_NOTIFY; |
571
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
572
|
|
|
|
|
|
|
#else |
573
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
574
|
|
|
|
|
|
|
#endif |
575
|
|
|
|
|
|
|
} |
576
|
0
|
|
|
|
|
|
break; |
577
|
|
|
|
|
|
|
case 'N': |
578
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_RECONNECT_IVL", 17)) { |
579
|
|
|
|
|
|
|
/* ^ */ |
580
|
|
|
|
|
|
|
#ifdef ZMQ_RECONNECT_IVL |
581
|
1
|
|
|
|
|
|
*iv_return = ZMQ_RECONNECT_IVL; |
582
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
583
|
|
|
|
|
|
|
#else |
584
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
585
|
|
|
|
|
|
|
#endif |
586
|
|
|
|
|
|
|
} |
587
|
0
|
|
|
|
|
|
break; |
588
|
|
|
|
|
|
|
case 'O': |
589
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_REQ_CORRELATE", 17)) { |
590
|
|
|
|
|
|
|
/* ^ */ |
591
|
|
|
|
|
|
|
#ifdef ZMQ_REQ_CORRELATE |
592
|
1
|
|
|
|
|
|
*iv_return = ZMQ_REQ_CORRELATE; |
593
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
594
|
|
|
|
|
|
|
#else |
595
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
596
|
|
|
|
|
|
|
#endif |
597
|
|
|
|
|
|
|
} |
598
|
0
|
|
|
|
|
|
break; |
599
|
|
|
|
|
|
|
case 'R': |
600
|
0
|
0
|
|
|
|
|
if (memEQ(name, "ZMQ_ROUTER_NOTIFY", 17)) { |
601
|
|
|
|
|
|
|
/* ^ */ |
602
|
|
|
|
|
|
|
#ifdef ZMQ_ROUTER_NOTIFY |
603
|
0
|
|
|
|
|
|
*iv_return = ZMQ_ROUTER_NOTIFY; |
604
|
0
|
|
|
|
|
|
return PERL_constant_ISIV; |
605
|
|
|
|
|
|
|
#else |
606
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
607
|
|
|
|
|
|
|
#endif |
608
|
|
|
|
|
|
|
} |
609
|
0
|
|
|
|
|
|
break; |
610
|
|
|
|
|
|
|
case 'V': |
611
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_XPUB_VERBOSER", 17)) { |
612
|
|
|
|
|
|
|
/* ^ */ |
613
|
|
|
|
|
|
|
#ifdef ZMQ_XPUB_VERBOSER |
614
|
1
|
|
|
|
|
|
*iv_return = ZMQ_XPUB_VERBOSER; |
615
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
616
|
|
|
|
|
|
|
#else |
617
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
618
|
|
|
|
|
|
|
#endif |
619
|
|
|
|
|
|
|
} |
620
|
0
|
|
|
|
|
|
break; |
621
|
|
|
|
|
|
|
} |
622
|
0
|
|
|
|
|
|
return PERL_constant_NOTFOUND; |
623
|
|
|
|
|
|
|
} |
624
|
|
|
|
|
|
|
|
625
|
|
|
|
|
|
|
static int |
626
|
3
|
|
|
|
|
|
_socket_option_18 (pTHX_ const char *name, IV *iv_return) { |
627
|
|
|
|
|
|
|
/* When generated this function returned values for the list of names given |
628
|
|
|
|
|
|
|
here. However, subsequent manual editing may have added or removed some. |
629
|
|
|
|
|
|
|
ZMQ_MULTICAST_HOPS ZMQ_PLAIN_PASSWORD ZMQ_PLAIN_USERNAME */ |
630
|
|
|
|
|
|
|
/* Offset 16 gives the best switch position. */ |
631
|
3
|
|
|
|
|
|
switch (name[16]) { |
632
|
|
|
|
|
|
|
case 'M': |
633
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_PLAIN_USERNAME", 18)) { |
634
|
|
|
|
|
|
|
/* ^ */ |
635
|
|
|
|
|
|
|
#ifdef ZMQ_PLAIN_USERNAME |
636
|
1
|
|
|
|
|
|
*iv_return = ZMQ_PLAIN_USERNAME; |
637
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
638
|
|
|
|
|
|
|
#else |
639
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
640
|
|
|
|
|
|
|
#endif |
641
|
|
|
|
|
|
|
} |
642
|
0
|
|
|
|
|
|
break; |
643
|
|
|
|
|
|
|
case 'P': |
644
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_MULTICAST_HOPS", 18)) { |
645
|
|
|
|
|
|
|
/* ^ */ |
646
|
|
|
|
|
|
|
#ifdef ZMQ_MULTICAST_HOPS |
647
|
1
|
|
|
|
|
|
*iv_return = ZMQ_MULTICAST_HOPS; |
648
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
649
|
|
|
|
|
|
|
#else |
650
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
651
|
|
|
|
|
|
|
#endif |
652
|
|
|
|
|
|
|
} |
653
|
0
|
|
|
|
|
|
break; |
654
|
|
|
|
|
|
|
case 'R': |
655
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_PLAIN_PASSWORD", 18)) { |
656
|
|
|
|
|
|
|
/* ^ */ |
657
|
|
|
|
|
|
|
#ifdef ZMQ_PLAIN_PASSWORD |
658
|
1
|
|
|
|
|
|
*iv_return = ZMQ_PLAIN_PASSWORD; |
659
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
660
|
|
|
|
|
|
|
#else |
661
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
662
|
|
|
|
|
|
|
#endif |
663
|
|
|
|
|
|
|
} |
664
|
0
|
|
|
|
|
|
break; |
665
|
|
|
|
|
|
|
} |
666
|
0
|
|
|
|
|
|
return PERL_constant_NOTFOUND; |
667
|
|
|
|
|
|
|
} |
668
|
|
|
|
|
|
|
|
669
|
|
|
|
|
|
|
static int |
670
|
9
|
|
|
|
|
|
_socket_option_19 (pTHX_ const char *name, IV *iv_return) { |
671
|
|
|
|
|
|
|
/* When generated this function returned values for the list of names given |
672
|
|
|
|
|
|
|
here. However, subsequent manual editing may have added or removed some. |
673
|
|
|
|
|
|
|
ZMQ_CONNECT_TIMEOUT ZMQ_CURVE_PUBLICKEY ZMQ_CURVE_SECRETKEY |
674
|
|
|
|
|
|
|
ZMQ_CURVE_SERVERKEY ZMQ_INVERT_MATCHING ZMQ_ROUTER_HANDOVER */ |
675
|
|
|
|
|
|
|
/* Offset 13 gives the best switch position. */ |
676
|
9
|
|
|
|
|
|
switch (name[13]) { |
677
|
|
|
|
|
|
|
case 'I': |
678
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_CONNECT_TIMEOUT", 19)) { |
679
|
|
|
|
|
|
|
/* ^ */ |
680
|
|
|
|
|
|
|
#ifdef ZMQ_CONNECT_TIMEOUT |
681
|
1
|
|
|
|
|
|
*iv_return = ZMQ_CONNECT_TIMEOUT; |
682
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
683
|
|
|
|
|
|
|
#else |
684
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
685
|
|
|
|
|
|
|
#endif |
686
|
|
|
|
|
|
|
} |
687
|
0
|
|
|
|
|
|
break; |
688
|
|
|
|
|
|
|
case 'L': |
689
|
2
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_CURVE_PUBLICKEY", 19)) { |
690
|
|
|
|
|
|
|
/* ^ */ |
691
|
|
|
|
|
|
|
#ifdef ZMQ_CURVE_PUBLICKEY |
692
|
2
|
|
|
|
|
|
*iv_return = ZMQ_CURVE_PUBLICKEY; |
693
|
2
|
|
|
|
|
|
return PERL_constant_ISIV; |
694
|
|
|
|
|
|
|
#else |
695
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
696
|
|
|
|
|
|
|
#endif |
697
|
|
|
|
|
|
|
} |
698
|
0
|
|
|
|
|
|
break; |
699
|
|
|
|
|
|
|
case 'N': |
700
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_ROUTER_HANDOVER", 19)) { |
701
|
|
|
|
|
|
|
/* ^ */ |
702
|
|
|
|
|
|
|
#ifdef ZMQ_ROUTER_HANDOVER |
703
|
1
|
|
|
|
|
|
*iv_return = ZMQ_ROUTER_HANDOVER; |
704
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
705
|
|
|
|
|
|
|
#else |
706
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
707
|
|
|
|
|
|
|
#endif |
708
|
|
|
|
|
|
|
} |
709
|
0
|
|
|
|
|
|
break; |
710
|
|
|
|
|
|
|
case 'R': |
711
|
2
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_CURVE_SECRETKEY", 19)) { |
712
|
|
|
|
|
|
|
/* ^ */ |
713
|
|
|
|
|
|
|
#ifdef ZMQ_CURVE_SECRETKEY |
714
|
2
|
|
|
|
|
|
*iv_return = ZMQ_CURVE_SECRETKEY; |
715
|
2
|
|
|
|
|
|
return PERL_constant_ISIV; |
716
|
|
|
|
|
|
|
#else |
717
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
718
|
|
|
|
|
|
|
#endif |
719
|
|
|
|
|
|
|
} |
720
|
0
|
|
|
|
|
|
break; |
721
|
|
|
|
|
|
|
case 'T': |
722
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_INVERT_MATCHING", 19)) { |
723
|
|
|
|
|
|
|
/* ^ */ |
724
|
|
|
|
|
|
|
#ifdef ZMQ_INVERT_MATCHING |
725
|
1
|
|
|
|
|
|
*iv_return = ZMQ_INVERT_MATCHING; |
726
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
727
|
|
|
|
|
|
|
#else |
728
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
729
|
|
|
|
|
|
|
#endif |
730
|
|
|
|
|
|
|
} |
731
|
0
|
|
|
|
|
|
break; |
732
|
|
|
|
|
|
|
case 'V': |
733
|
2
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_CURVE_SERVERKEY", 19)) { |
734
|
|
|
|
|
|
|
/* ^ */ |
735
|
|
|
|
|
|
|
#ifdef ZMQ_CURVE_SERVERKEY |
736
|
2
|
|
|
|
|
|
*iv_return = ZMQ_CURVE_SERVERKEY; |
737
|
2
|
|
|
|
|
|
return PERL_constant_ISIV; |
738
|
|
|
|
|
|
|
#else |
739
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
740
|
|
|
|
|
|
|
#endif |
741
|
|
|
|
|
|
|
} |
742
|
0
|
|
|
|
|
|
break; |
743
|
|
|
|
|
|
|
} |
744
|
0
|
|
|
|
|
|
return PERL_constant_NOTFOUND; |
745
|
|
|
|
|
|
|
} |
746
|
|
|
|
|
|
|
|
747
|
|
|
|
|
|
|
static int |
748
|
5
|
|
|
|
|
|
_socket_option_20 (pTHX_ const char *name, IV *iv_return) { |
749
|
|
|
|
|
|
|
/* When generated this function returned values for the list of names given |
750
|
|
|
|
|
|
|
here. However, subsequent manual editing may have added or removed some. |
751
|
|
|
|
|
|
|
ZMQ_GSSAPI_PLAINTEXT ZMQ_GSSAPI_PRINCIPAL ZMQ_ROUTER_MANDATORY |
752
|
|
|
|
|
|
|
ZMQ_VMCI_BUFFER_SIZE ZMQ_XPUB_WELCOME_MSG */ |
753
|
|
|
|
|
|
|
/* Offset 17 gives the best switch position. */ |
754
|
5
|
|
|
|
|
|
switch (name[17]) { |
755
|
|
|
|
|
|
|
case 'E': |
756
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_GSSAPI_PLAINTEXT", 20)) { |
757
|
|
|
|
|
|
|
/* ^ */ |
758
|
|
|
|
|
|
|
#ifdef ZMQ_GSSAPI_PLAINTEXT |
759
|
1
|
|
|
|
|
|
*iv_return = ZMQ_GSSAPI_PLAINTEXT; |
760
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
761
|
|
|
|
|
|
|
#else |
762
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
763
|
|
|
|
|
|
|
#endif |
764
|
|
|
|
|
|
|
} |
765
|
0
|
|
|
|
|
|
break; |
766
|
|
|
|
|
|
|
case 'I': |
767
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_VMCI_BUFFER_SIZE", 20)) { |
768
|
|
|
|
|
|
|
/* ^ */ |
769
|
|
|
|
|
|
|
#ifdef ZMQ_VMCI_BUFFER_SIZE |
770
|
1
|
|
|
|
|
|
*iv_return = ZMQ_VMCI_BUFFER_SIZE; |
771
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
772
|
|
|
|
|
|
|
#else |
773
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
774
|
|
|
|
|
|
|
#endif |
775
|
|
|
|
|
|
|
} |
776
|
0
|
|
|
|
|
|
break; |
777
|
|
|
|
|
|
|
case 'M': |
778
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_XPUB_WELCOME_MSG", 20)) { |
779
|
|
|
|
|
|
|
/* ^ */ |
780
|
|
|
|
|
|
|
#ifdef ZMQ_XPUB_WELCOME_MSG |
781
|
1
|
|
|
|
|
|
*iv_return = ZMQ_XPUB_WELCOME_MSG; |
782
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
783
|
|
|
|
|
|
|
#else |
784
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
785
|
|
|
|
|
|
|
#endif |
786
|
|
|
|
|
|
|
} |
787
|
0
|
|
|
|
|
|
break; |
788
|
|
|
|
|
|
|
case 'O': |
789
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_ROUTER_MANDATORY", 20)) { |
790
|
|
|
|
|
|
|
/* ^ */ |
791
|
|
|
|
|
|
|
#ifdef ZMQ_ROUTER_MANDATORY |
792
|
1
|
|
|
|
|
|
*iv_return = ZMQ_ROUTER_MANDATORY; |
793
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
794
|
|
|
|
|
|
|
#else |
795
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
796
|
|
|
|
|
|
|
#endif |
797
|
|
|
|
|
|
|
} |
798
|
0
|
|
|
|
|
|
break; |
799
|
|
|
|
|
|
|
case 'P': |
800
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_GSSAPI_PRINCIPAL", 20)) { |
801
|
|
|
|
|
|
|
/* ^ */ |
802
|
|
|
|
|
|
|
#ifdef ZMQ_GSSAPI_PRINCIPAL |
803
|
1
|
|
|
|
|
|
*iv_return = ZMQ_GSSAPI_PRINCIPAL; |
804
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
805
|
|
|
|
|
|
|
#else |
806
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
807
|
|
|
|
|
|
|
#endif |
808
|
|
|
|
|
|
|
} |
809
|
0
|
|
|
|
|
|
break; |
810
|
|
|
|
|
|
|
} |
811
|
0
|
|
|
|
|
|
return PERL_constant_NOTFOUND; |
812
|
|
|
|
|
|
|
} |
813
|
|
|
|
|
|
|
|
814
|
|
|
|
|
|
|
static int |
815
|
4
|
|
|
|
|
|
_socket_option_21 (pTHX_ const char *name, IV *iv_return) { |
816
|
|
|
|
|
|
|
/* When generated this function returned values for the list of names given |
817
|
|
|
|
|
|
|
here. However, subsequent manual editing may have added or removed some. |
818
|
|
|
|
|
|
|
ZMQ_HEARTBEAT_TIMEOUT ZMQ_MULTICAST_MAXTPDU ZMQ_RECONNECT_IVL_MAX |
819
|
|
|
|
|
|
|
ZMQ_TCP_KEEPALIVE_CNT */ |
820
|
|
|
|
|
|
|
/* Offset 8 gives the best switch position. */ |
821
|
4
|
|
|
|
|
|
switch (name[8]) { |
822
|
|
|
|
|
|
|
case 'I': |
823
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_MULTICAST_MAXTPDU", 21)) { |
824
|
|
|
|
|
|
|
/* ^ */ |
825
|
|
|
|
|
|
|
#ifdef ZMQ_MULTICAST_MAXTPDU |
826
|
1
|
|
|
|
|
|
*iv_return = ZMQ_MULTICAST_MAXTPDU; |
827
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
828
|
|
|
|
|
|
|
#else |
829
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
830
|
|
|
|
|
|
|
#endif |
831
|
|
|
|
|
|
|
} |
832
|
0
|
|
|
|
|
|
break; |
833
|
|
|
|
|
|
|
case 'K': |
834
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_TCP_KEEPALIVE_CNT", 21)) { |
835
|
|
|
|
|
|
|
/* ^ */ |
836
|
|
|
|
|
|
|
#ifdef ZMQ_TCP_KEEPALIVE_CNT |
837
|
1
|
|
|
|
|
|
*iv_return = ZMQ_TCP_KEEPALIVE_CNT; |
838
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
839
|
|
|
|
|
|
|
#else |
840
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
841
|
|
|
|
|
|
|
#endif |
842
|
|
|
|
|
|
|
} |
843
|
0
|
|
|
|
|
|
break; |
844
|
|
|
|
|
|
|
case 'N': |
845
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_RECONNECT_IVL_MAX", 21)) { |
846
|
|
|
|
|
|
|
/* ^ */ |
847
|
|
|
|
|
|
|
#ifdef ZMQ_RECONNECT_IVL_MAX |
848
|
1
|
|
|
|
|
|
*iv_return = ZMQ_RECONNECT_IVL_MAX; |
849
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
850
|
|
|
|
|
|
|
#else |
851
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
852
|
|
|
|
|
|
|
#endif |
853
|
|
|
|
|
|
|
} |
854
|
0
|
|
|
|
|
|
break; |
855
|
|
|
|
|
|
|
case 'T': |
856
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_HEARTBEAT_TIMEOUT", 21)) { |
857
|
|
|
|
|
|
|
/* ^ */ |
858
|
|
|
|
|
|
|
#ifdef ZMQ_HEARTBEAT_TIMEOUT |
859
|
1
|
|
|
|
|
|
*iv_return = ZMQ_HEARTBEAT_TIMEOUT; |
860
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
861
|
|
|
|
|
|
|
#else |
862
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
863
|
|
|
|
|
|
|
#endif |
864
|
|
|
|
|
|
|
} |
865
|
0
|
|
|
|
|
|
break; |
866
|
|
|
|
|
|
|
} |
867
|
0
|
|
|
|
|
|
return PERL_constant_NOTFOUND; |
868
|
|
|
|
|
|
|
} |
869
|
|
|
|
|
|
|
|
870
|
|
|
|
|
|
|
static int |
871
|
3
|
|
|
|
|
|
_socket_option_24 (pTHX_ const char *name, IV *iv_return) { |
872
|
|
|
|
|
|
|
/* When generated this function returned values for the list of names given |
873
|
|
|
|
|
|
|
here. However, subsequent manual editing may have added or removed some. |
874
|
|
|
|
|
|
|
ZMQ_VMCI_BUFFER_MAX_SIZE ZMQ_VMCI_BUFFER_MIN_SIZE ZMQ_VMCI_CONNECT_TIMEOUT |
875
|
|
|
|
|
|
|
*/ |
876
|
|
|
|
|
|
|
/* Offset 18 gives the best switch position. */ |
877
|
3
|
|
|
|
|
|
switch (name[18]) { |
878
|
|
|
|
|
|
|
case 'I': |
879
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_VMCI_CONNECT_TIMEOUT", 24)) { |
880
|
|
|
|
|
|
|
/* ^ */ |
881
|
|
|
|
|
|
|
#ifdef ZMQ_VMCI_CONNECT_TIMEOUT |
882
|
1
|
|
|
|
|
|
*iv_return = ZMQ_VMCI_CONNECT_TIMEOUT; |
883
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
884
|
|
|
|
|
|
|
#else |
885
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
886
|
|
|
|
|
|
|
#endif |
887
|
|
|
|
|
|
|
} |
888
|
0
|
|
|
|
|
|
break; |
889
|
|
|
|
|
|
|
case 'N': |
890
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_VMCI_BUFFER_MIN_SIZE", 24)) { |
891
|
|
|
|
|
|
|
/* ^ */ |
892
|
|
|
|
|
|
|
#ifdef ZMQ_VMCI_BUFFER_MIN_SIZE |
893
|
1
|
|
|
|
|
|
*iv_return = ZMQ_VMCI_BUFFER_MIN_SIZE; |
894
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
895
|
|
|
|
|
|
|
#else |
896
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
897
|
|
|
|
|
|
|
#endif |
898
|
|
|
|
|
|
|
} |
899
|
0
|
|
|
|
|
|
break; |
900
|
|
|
|
|
|
|
case 'X': |
901
|
1
|
50
|
|
|
|
|
if (memEQ(name, "ZMQ_VMCI_BUFFER_MAX_SIZE", 24)) { |
902
|
|
|
|
|
|
|
/* ^ */ |
903
|
|
|
|
|
|
|
#ifdef ZMQ_VMCI_BUFFER_MAX_SIZE |
904
|
1
|
|
|
|
|
|
*iv_return = ZMQ_VMCI_BUFFER_MAX_SIZE; |
905
|
1
|
|
|
|
|
|
return PERL_constant_ISIV; |
906
|
|
|
|
|
|
|
#else |
907
|
|
|
|
|
|
|
return PERL_constant_NOTDEF; |
908
|
|
|
|
|
|
|
#endif |
909
|
|
|
|
|
|
|
} |
910
|
0
|
|
|
|
|
|
break; |
911
|
|
|
|
|
|
|
} |
912
|
0
|
|
|
|
|
|
return PERL_constant_NOTFOUND; |
913
|
|
|
|
|
|
|
} |
914
|
|
|
|
|
|
|
|
915
|
|
|
|
|
|
|
static int |
916
|
77
|
|
|
|
|
|
_socket_option (pTHX_ const char *name, STRLEN len, IV *iv_return) { |
917
|
|
|
|
|
|
|
/* Initially switch on the length of the name. */ |
918
|
|
|
|
|
|
|
/* When generated this function returned values for the list of names given |
919
|
|
|
|
|
|
|
in this section of perl code. Rather than manually editing these functions |
920
|
|
|
|
|
|
|
to add or remove constants, which would result in this comment and section |
921
|
|
|
|
|
|
|
of code becoming inaccurate, we recommend that you edit this section of |
922
|
|
|
|
|
|
|
code, and use it to regenerate a new set of constant functions which you |
923
|
|
|
|
|
|
|
then use to replace the originals. |
924
|
|
|
|
|
|
|
|
925
|
|
|
|
|
|
|
Regenerate these constant functions by feeding this entire source file to |
926
|
|
|
|
|
|
|
perl -x |
927
|
|
|
|
|
|
|
|
928
|
|
|
|
|
|
|
#!/usr/local/bin/perl -w |
929
|
|
|
|
|
|
|
use ExtUtils::Constant qw (constant_types C_constant XS_constant); |
930
|
|
|
|
|
|
|
|
931
|
|
|
|
|
|
|
my $types = {map {($_, 1)} qw(IV)}; |
932
|
|
|
|
|
|
|
my @names = (qw(ZMQ_AFFINITY ZMQ_BACKLOG ZMQ_BLOCKY ZMQ_CONFLATE |
933
|
|
|
|
|
|
|
ZMQ_CONNECT_RID ZMQ_CONNECT_TIMEOUT ZMQ_CURVE_PUBLICKEY |
934
|
|
|
|
|
|
|
ZMQ_CURVE_SECRETKEY ZMQ_CURVE_SERVER ZMQ_CURVE_SERVERKEY |
935
|
|
|
|
|
|
|
ZMQ_EVENTS ZMQ_FD ZMQ_GSSAPI_PLAINTEXT ZMQ_GSSAPI_PRINCIPAL |
936
|
|
|
|
|
|
|
ZMQ_GSSAPI_SERVER ZMQ_GSSAPI_SERVICE_PRINCIPAL ZMQ_HANDSHAKE_IVL |
937
|
|
|
|
|
|
|
ZMQ_HEARTBEAT_IVL ZMQ_HEARTBEAT_TIMEOUT ZMQ_HEARTBEAT_TTL |
938
|
|
|
|
|
|
|
ZMQ_IDENTITY ZMQ_IMMEDIATE ZMQ_INVERT_MATCHING ZMQ_IPV6 |
939
|
|
|
|
|
|
|
ZMQ_LAST_ENDPOINT ZMQ_LINGER ZMQ_MAXMSGSIZE ZMQ_MECHANISM |
940
|
|
|
|
|
|
|
ZMQ_MULTICAST_HOPS ZMQ_MULTICAST_MAXTPDU ZMQ_PLAIN_PASSWORD |
941
|
|
|
|
|
|
|
ZMQ_PLAIN_SERVER ZMQ_PLAIN_USERNAME ZMQ_PROBE_ROUTER ZMQ_RATE |
942
|
|
|
|
|
|
|
ZMQ_RCVBUF ZMQ_RCVHWM ZMQ_RCVMORE ZMQ_RCVTIMEO ZMQ_RECONNECT_IVL |
943
|
|
|
|
|
|
|
ZMQ_RECONNECT_IVL_MAX ZMQ_RECOVERY_IVL ZMQ_REQ_CORRELATE |
944
|
|
|
|
|
|
|
ZMQ_REQ_RELAXED ZMQ_ROUTER_HANDOVER ZMQ_ROUTER_MANDATORY |
945
|
|
|
|
|
|
|
ZMQ_ROUTER_NOTIFY ZMQ_ROUTER_RAW ZMQ_ROUTING_ID ZMQ_SNDBUF |
946
|
|
|
|
|
|
|
ZMQ_SNDHWM ZMQ_SNDTIMEO ZMQ_SOCKS_PROXY ZMQ_STREAM_NOTIFY |
947
|
|
|
|
|
|
|
ZMQ_SUBSCRIBE ZMQ_TCP_KEEPALIVE ZMQ_TCP_KEEPALIVE_CNT |
948
|
|
|
|
|
|
|
ZMQ_TCP_KEEPALIVE_IDLE ZMQ_TCP_KEEPALIVE_INTVL ZMQ_TCP_MAXRT |
949
|
|
|
|
|
|
|
ZMQ_THREAD_SAFE ZMQ_TOS ZMQ_TYPE ZMQ_UNSUBSCRIBE ZMQ_USE_FD |
950
|
|
|
|
|
|
|
ZMQ_VMCI_BUFFER_MAX_SIZE ZMQ_VMCI_BUFFER_MIN_SIZE |
951
|
|
|
|
|
|
|
ZMQ_VMCI_BUFFER_SIZE ZMQ_VMCI_CONNECT_TIMEOUT ZMQ_XPUB_MANUAL |
952
|
|
|
|
|
|
|
ZMQ_XPUB_NODROP ZMQ_XPUB_VERBOSE ZMQ_XPUB_VERBOSER |
953
|
|
|
|
|
|
|
ZMQ_XPUB_WELCOME_MSG ZMQ_ZAP_DOMAIN)); |
954
|
|
|
|
|
|
|
|
955
|
|
|
|
|
|
|
print constant_types(), "\n"; # macro defs |
956
|
|
|
|
|
|
|
foreach (C_constant ("ZMQ::Raw::Socket", '_socket_option', 'IV', $types, undef, 3, @names) ) { |
957
|
|
|
|
|
|
|
print $_, "\n"; # C constant subs |
958
|
|
|
|
|
|
|
} |
959
|
|
|
|
|
|
|
print "\n#### XS Section:\n"; |
960
|
|
|
|
|
|
|
print XS_constant ("ZMQ::Raw::Socket", $types); |
961
|
|
|
|
|
|
|
__END__ |