czmq-ffi-gen 0.10.0-x86-mingw32 → 0.12.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +8 -0
- data/lib/czmq-ffi-gen/czmq/ffi.rb +345 -209
- data/lib/czmq-ffi-gen/czmq/ffi/version.rb +1 -1
- data/lib/czmq-ffi-gen/czmq/ffi/zcert.rb +0 -12
- data/lib/czmq-ffi-gen/czmq/ffi/zcertstore.rb +0 -12
- data/lib/czmq-ffi-gen/czmq/ffi/zhash.rb +0 -31
- data/lib/czmq-ffi-gen/czmq/ffi/zhashx.rb +0 -44
- data/lib/czmq-ffi-gen/czmq/ffi/zsock.rb +706 -0
- data/lib/czmq-ffi-gen/gem_version.rb +1 -1
- data/vendor/local/bin/inproc_lat.exe +0 -0
- data/vendor/local/bin/inproc_thr.exe +0 -0
- data/vendor/local/bin/libczmq.dll +0 -0
- data/vendor/local/bin/libzmq.dll +0 -0
- data/vendor/local/bin/local_lat.exe +0 -0
- data/vendor/local/bin/local_thr.exe +0 -0
- data/vendor/local/bin/remote_lat.exe +0 -0
- data/vendor/local/bin/remote_thr.exe +0 -0
- data/vendor/local/include/czmq.h +8 -0
- data/vendor/local/include/czmq_library.h +2 -29
- data/vendor/local/include/zauth.h +1 -1
- data/vendor/local/include/zcert.h +0 -8
- data/vendor/local/include/zcertstore.h +0 -8
- data/vendor/local/include/zhash.h +0 -13
- data/vendor/local/include/zhashx.h +0 -21
- data/vendor/local/include/zloop.h +7 -12
- data/vendor/local/include/zpoller.h +7 -12
- data/vendor/local/include/zsock.h +159 -44
- data/vendor/local/include/zsock_option.inc +578 -0
- data/vendor/local/include/zsys.h +9 -0
- data/vendor/local/lib/libczmq.dll.a +0 -0
- data/vendor/local/lib/liblibzmq.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/libczmq.pc +2 -1
- metadata +2 -11
- data/vendor/local/include/zauth_v2.h +0 -88
- data/vendor/local/include/zbeacon_v2.h +0 -75
- data/vendor/local/include/zctx.h +0 -107
- data/vendor/local/include/zmonitor_v2.h +0 -56
- data/vendor/local/include/zmutex.h +0 -55
- data/vendor/local/include/zproxy_v2.h +0 -62
- data/vendor/local/include/zsocket.h +0 -110
- data/vendor/local/include/zsockopt.h +0 -256
- data/vendor/local/include/zthread.h +0 -50
Binary file
|
Binary file
|
Binary file
|
data/vendor/local/bin/libzmq.dll
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/local/include/czmq.h
CHANGED
@@ -9,6 +9,14 @@
|
|
9
9
|
License, v. 2.0. If a copy of the MPL was not distributed with this
|
10
10
|
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
11
11
|
=========================================================================
|
12
|
+
|
13
|
+
"Tell them I was a writer.
|
14
|
+
A maker of software.
|
15
|
+
A humanist. A father.
|
16
|
+
And many things.
|
17
|
+
But above all, a writer.
|
18
|
+
Thank You. :)
|
19
|
+
- Pieter Hintjens
|
12
20
|
*/
|
13
21
|
|
14
22
|
#ifndef __CZMQ_H_INCLUDED__
|
@@ -26,9 +26,9 @@
|
|
26
26
|
#include <zmq.h>
|
27
27
|
|
28
28
|
// CZMQ version macros for compile-time API detection
|
29
|
-
#define CZMQ_VERSION_MAJOR
|
29
|
+
#define CZMQ_VERSION_MAJOR 4
|
30
30
|
#define CZMQ_VERSION_MINOR 0
|
31
|
-
#define CZMQ_VERSION_PATCH
|
31
|
+
#define CZMQ_VERSION_PATCH 0
|
32
32
|
|
33
33
|
#define CZMQ_MAKE_VERSION(major, minor, patch) \
|
34
34
|
((major) * 10000 + (minor) * 100 + (patch))
|
@@ -115,24 +115,6 @@ typedef struct _zrex_t zrex_t;
|
|
115
115
|
#define ZREX_T_DEFINED
|
116
116
|
typedef struct _zsys_t zsys_t;
|
117
117
|
#define ZSYS_T_DEFINED
|
118
|
-
typedef struct _zauth_v2_t zauth_v2_t;
|
119
|
-
#define ZAUTH_V2_T_DEFINED
|
120
|
-
typedef struct _zbeacon_v2_t zbeacon_v2_t;
|
121
|
-
#define ZBEACON_V2_T_DEFINED
|
122
|
-
typedef struct _zctx_t zctx_t;
|
123
|
-
#define ZCTX_T_DEFINED
|
124
|
-
typedef struct _zmonitor_v2_t zmonitor_v2_t;
|
125
|
-
#define ZMONITOR_V2_T_DEFINED
|
126
|
-
typedef struct _zmutex_t zmutex_t;
|
127
|
-
#define ZMUTEX_T_DEFINED
|
128
|
-
typedef struct _zproxy_v2_t zproxy_v2_t;
|
129
|
-
#define ZPROXY_V2_T_DEFINED
|
130
|
-
typedef struct _zsocket_t zsocket_t;
|
131
|
-
#define ZSOCKET_T_DEFINED
|
132
|
-
typedef struct _zsockopt_t zsockopt_t;
|
133
|
-
#define ZSOCKOPT_T_DEFINED
|
134
|
-
typedef struct _zthread_t zthread_t;
|
135
|
-
#define ZTHREAD_T_DEFINED
|
136
118
|
// Draft classes are by default not built in stable releases
|
137
119
|
#ifdef CZMQ_BUILD_DRAFT_API
|
138
120
|
typedef struct _zproc_t zproc_t;
|
@@ -175,15 +157,6 @@ typedef struct _ztrie_t ztrie_t;
|
|
175
157
|
#include "zproxy.h"
|
176
158
|
#include "zrex.h"
|
177
159
|
#include "zsys.h"
|
178
|
-
#include "zauth_v2.h"
|
179
|
-
#include "zbeacon_v2.h"
|
180
|
-
#include "zctx.h"
|
181
|
-
#include "zmonitor_v2.h"
|
182
|
-
#include "zmutex.h"
|
183
|
-
#include "zproxy_v2.h"
|
184
|
-
#include "zsocket.h"
|
185
|
-
#include "zsockopt.h"
|
186
|
-
#include "zthread.h"
|
187
160
|
#ifdef CZMQ_BUILD_DRAFT_API
|
188
161
|
#include "zproc.h"
|
189
162
|
#include "ztimerset.h"
|
@@ -48,7 +48,7 @@ extern "C" {
|
|
48
48
|
// these addresses will be accepted. For PLAIN and CURVE, they will be
|
49
49
|
// allowed to continue with authentication. You can call this method
|
50
50
|
// multiple times to whitelist more IP addresses. If you whitelist one
|
51
|
-
// or
|
51
|
+
// or more addresses, any non-whitelisted addresses are treated as
|
52
52
|
// blacklisted:
|
53
53
|
//
|
54
54
|
// zstr_sendx (auth, "ALLOW", "127.0.0.1", "127.0.0.2", NULL);
|
@@ -25,8 +25,6 @@ extern "C" {
|
|
25
25
|
// is provided in stable builds.
|
26
26
|
// This class has draft methods, which may change over time. They are not
|
27
27
|
// in stable releases, by default. Use --enable-drafts to enable.
|
28
|
-
// This class has legacy methods, which will be removed over time. You
|
29
|
-
// should not use them, and migrate any code that is still using them.
|
30
28
|
// Create and initialize a new certificate in memory
|
31
29
|
CZMQ_EXPORT zcert_t *
|
32
30
|
zcert_new (void);
|
@@ -106,12 +104,6 @@ CZMQ_EXPORT bool
|
|
106
104
|
CZMQ_EXPORT void
|
107
105
|
zcert_print (zcert_t *self);
|
108
106
|
|
109
|
-
// *** Deprecated method, slated for removal: avoid using it ***
|
110
|
-
// Print certificate contents to open stream. This method is deprecated
|
111
|
-
// and you should use the print method.
|
112
|
-
CZMQ_EXPORT void
|
113
|
-
zcert_fprint (zcert_t *self, FILE *file);
|
114
|
-
|
115
107
|
// Self test of this class
|
116
108
|
CZMQ_EXPORT void
|
117
109
|
zcert_test (bool verbose);
|
@@ -25,8 +25,6 @@ extern "C" {
|
|
25
25
|
// is provided in stable builds.
|
26
26
|
// This class has draft methods, which may change over time. They are not
|
27
27
|
// in stable releases, by default. Use --enable-drafts to enable.
|
28
|
-
// This class has legacy methods, which will be removed over time. You
|
29
|
-
// should not use them, and migrate any code that is still using them.
|
30
28
|
// Create a new certificate store from a disk directory, loading and
|
31
29
|
// indexing all certificates in that location. The directory itself may be
|
32
30
|
// absent, and created later, or modified at any time. The certificate store
|
@@ -56,12 +54,6 @@ CZMQ_EXPORT void
|
|
56
54
|
CZMQ_EXPORT void
|
57
55
|
zcertstore_print (zcertstore_t *self);
|
58
56
|
|
59
|
-
// *** Deprecated method, slated for removal: avoid using it ***
|
60
|
-
// Print list of certificates in store to open stream. This method is
|
61
|
-
// deprecated, and you should use the print method.
|
62
|
-
CZMQ_EXPORT void
|
63
|
-
zcertstore_fprint (zcertstore_t *self, FILE *file);
|
64
|
-
|
65
57
|
// Self test of this class
|
66
58
|
CZMQ_EXPORT void
|
67
59
|
zcertstore_test (bool verbose);
|
@@ -23,16 +23,10 @@ extern "C" {
|
|
23
23
|
// @interface
|
24
24
|
// This is a stable class, and may not change except for emergencies. It
|
25
25
|
// is provided in stable builds.
|
26
|
-
// This class has legacy methods, which will be removed over time. You
|
27
|
-
// should not use them, and migrate any code that is still using them.
|
28
26
|
// Callback function for zhash_freefn method
|
29
27
|
typedef void (zhash_free_fn) (
|
30
28
|
void *data);
|
31
29
|
|
32
|
-
// Callback function for zhash_foreach method. Deprecated.
|
33
|
-
typedef int (zhash_foreach_fn) (
|
34
|
-
const char *key, void *item, void *argument);
|
35
|
-
|
36
30
|
// Create a new, empty hash container
|
37
31
|
CZMQ_EXPORT zhash_t *
|
38
32
|
zhash_new (void);
|
@@ -174,13 +168,6 @@ CZMQ_EXPORT int
|
|
174
168
|
CZMQ_EXPORT void
|
175
169
|
zhash_autofree (zhash_t *self);
|
176
170
|
|
177
|
-
// *** Deprecated method, slated for removal: avoid using it ***
|
178
|
-
// Apply function to each item in the hash table. Items are iterated in no
|
179
|
-
// defined order. Stops if callback function returns non-zero and returns
|
180
|
-
// final return code from callback function (zero = success). Deprecated.
|
181
|
-
CZMQ_EXPORT int
|
182
|
-
zhash_foreach (zhash_t *self, zhash_foreach_fn callback, void *argument);
|
183
|
-
|
184
171
|
// Self test of this class.
|
185
172
|
CZMQ_EXPORT void
|
186
173
|
zhash_test (bool verbose);
|
@@ -26,8 +26,6 @@ extern "C" {
|
|
26
26
|
// is provided in stable builds.
|
27
27
|
// This class has draft methods, which may change over time. They are not
|
28
28
|
// in stable releases, by default. Use --enable-drafts to enable.
|
29
|
-
// This class has legacy methods, which will be removed over time. You
|
30
|
-
// should not use them, and migrate any code that is still using them.
|
31
29
|
// Destroy an item
|
32
30
|
typedef void (zhashx_destructor_fn) (
|
33
31
|
void **item);
|
@@ -58,11 +56,6 @@ typedef char * (zhashx_serializer_fn) (
|
|
58
56
|
typedef void * (zhashx_deserializer_fn) (
|
59
57
|
const char *item_str);
|
60
58
|
|
61
|
-
// Callback function for zhashx_foreach method.
|
62
|
-
// This callback is deprecated and you should use zhashx_first/_next instead.
|
63
|
-
typedef int (zhashx_foreach_fn) (
|
64
|
-
const char *key, void *item, void *argument);
|
65
|
-
|
66
59
|
// Create a new, empty hash container
|
67
60
|
CZMQ_EXPORT zhashx_t *
|
68
61
|
zhashx_new (void);
|
@@ -255,20 +248,6 @@ CZMQ_EXPORT void
|
|
255
248
|
CZMQ_EXPORT zhashx_t *
|
256
249
|
zhashx_dup_v2 (zhashx_t *self);
|
257
250
|
|
258
|
-
// *** Deprecated method, slated for removal: avoid using it ***
|
259
|
-
// Set hash for automatic value destruction. This method is deprecated
|
260
|
-
// and you should use set_destructor instead.
|
261
|
-
CZMQ_EXPORT void
|
262
|
-
zhashx_autofree (zhashx_t *self);
|
263
|
-
|
264
|
-
// *** Deprecated method, slated for removal: avoid using it ***
|
265
|
-
// Apply function to each item in the hash table. Items are iterated in no
|
266
|
-
// defined order. Stops if callback function returns non-zero and returns
|
267
|
-
// final return code from callback function (zero = success). This method
|
268
|
-
// is deprecated and you should use zhashx_first/_next instead.
|
269
|
-
CZMQ_EXPORT int
|
270
|
-
zhashx_foreach (zhashx_t *self, zhashx_foreach_fn callback, void *argument);
|
271
|
-
|
272
251
|
// Self test of this class.
|
273
252
|
CZMQ_EXPORT void
|
274
253
|
zhashx_test (bool verbose);
|
@@ -23,8 +23,6 @@ extern "C" {
|
|
23
23
|
// @interface
|
24
24
|
// This is a stable class, and may not change except for emergencies. It
|
25
25
|
// is provided in stable builds.
|
26
|
-
// This class has draft methods, which may change over time. They are not
|
27
|
-
// in stable releases, by default. Use --enable-drafts to enable.
|
28
26
|
// Callback function for reactor socket activity
|
29
27
|
typedef int (zloop_reader_fn) (
|
30
28
|
zloop_t *loop, zsock_t *reader, void *arg);
|
@@ -134,6 +132,13 @@ CZMQ_EXPORT void
|
|
134
132
|
CZMQ_EXPORT void
|
135
133
|
zloop_set_verbose (zloop_t *self, bool verbose);
|
136
134
|
|
135
|
+
// By default the reactor stops if the process receives a SIGINT or SIGTERM
|
136
|
+
// signal. This makes it impossible to shut-down message based architectures
|
137
|
+
// like zactors. This method lets you switch off break handling. The default
|
138
|
+
// nonstop setting is off (false).
|
139
|
+
CZMQ_EXPORT void
|
140
|
+
zloop_set_nonstop (zloop_t *self, bool nonstop);
|
141
|
+
|
137
142
|
// Start the reactor. Takes control of the thread and returns when the 0MQ
|
138
143
|
// context is terminated or the process is interrupted, or any event handler
|
139
144
|
// returns -1. Event handlers may register new sockets and timers, and
|
@@ -145,16 +150,6 @@ CZMQ_EXPORT int
|
|
145
150
|
CZMQ_EXPORT void
|
146
151
|
zloop_test (bool verbose);
|
147
152
|
|
148
|
-
#ifdef CZMQ_BUILD_DRAFT_API
|
149
|
-
// *** Draft method, for development use, may change without warning ***
|
150
|
-
// By default the reactor stops if the process receives a SIGINT or SIGTERM
|
151
|
-
// signal. This makes it impossible to shut-down message based architectures
|
152
|
-
// like zactors. This method lets you switch off break handling. The default
|
153
|
-
// nonstop setting is off (false).
|
154
|
-
CZMQ_EXPORT void
|
155
|
-
zloop_set_nonstop (zloop_t *self, bool nonstop);
|
156
|
-
|
157
|
-
#endif // CZMQ_BUILD_DRAFT_API
|
158
153
|
// @end
|
159
154
|
|
160
155
|
|
@@ -23,8 +23,6 @@ extern "C" {
|
|
23
23
|
// @interface
|
24
24
|
// This is a stable class, and may not change except for emergencies. It
|
25
25
|
// is provided in stable builds.
|
26
|
-
// This class has draft methods, which may change over time. They are not
|
27
|
-
// in stable releases, by default. Use --enable-drafts to enable.
|
28
26
|
// Create new poller, specifying zero or more readers. The list of
|
29
27
|
// readers ends in a NULL. Each reader can be a zsock_t instance, a
|
30
28
|
// zactor_t instance, a libzmq socket (void *), or a file handle.
|
@@ -45,6 +43,13 @@ CZMQ_EXPORT int
|
|
45
43
|
CZMQ_EXPORT int
|
46
44
|
zpoller_remove (zpoller_t *self, void *reader);
|
47
45
|
|
46
|
+
// By default the poller stops if the process receives a SIGINT or SIGTERM
|
47
|
+
// signal. This makes it impossible to shut-down message based architectures
|
48
|
+
// like zactors. This method lets you switch off break handling. The default
|
49
|
+
// nonstop setting is off (false).
|
50
|
+
CZMQ_EXPORT void
|
51
|
+
zpoller_set_nonstop (zpoller_t *self, bool nonstop);
|
52
|
+
|
48
53
|
// Poll the registered readers for I/O, return first reader that has input.
|
49
54
|
// The reader will be a libzmq void * socket, or a zsock_t or zactor_t
|
50
55
|
// instance as specified in zpoller_new/zpoller_add. The timeout should be
|
@@ -71,16 +76,6 @@ CZMQ_EXPORT bool
|
|
71
76
|
CZMQ_EXPORT void
|
72
77
|
zpoller_test (bool verbose);
|
73
78
|
|
74
|
-
#ifdef CZMQ_BUILD_DRAFT_API
|
75
|
-
// *** Draft method, for development use, may change without warning ***
|
76
|
-
// By default the poller stops if the process receives a SIGINT or SIGTERM
|
77
|
-
// signal. This makes it impossible to shut-down message based architectures
|
78
|
-
// like zactors. This method lets you switch off break handling. The default
|
79
|
-
// nonstop setting is off (false).
|
80
|
-
CZMQ_EXPORT void
|
81
|
-
zpoller_set_nonstop (zpoller_t *self, bool nonstop);
|
82
|
-
|
83
|
-
#endif // CZMQ_BUILD_DRAFT_API
|
84
79
|
// @end
|
85
80
|
|
86
81
|
|
@@ -298,6 +298,135 @@ CZMQ_EXPORT bool
|
|
298
298
|
CZMQ_EXPORT void *
|
299
299
|
zsock_resolve (void *self);
|
300
300
|
|
301
|
+
// Get socket option `heartbeat_ivl`.
|
302
|
+
// Caller owns return value and must destroy it when done.
|
303
|
+
CZMQ_EXPORT int
|
304
|
+
zsock_heartbeat_ivl (void *self);
|
305
|
+
|
306
|
+
// Set socket option `heartbeat_ivl`.
|
307
|
+
CZMQ_EXPORT void
|
308
|
+
zsock_set_heartbeat_ivl (void *self, int heartbeat_ivl);
|
309
|
+
|
310
|
+
// Get socket option `heartbeat_ttl`.
|
311
|
+
// Caller owns return value and must destroy it when done.
|
312
|
+
CZMQ_EXPORT int
|
313
|
+
zsock_heartbeat_ttl (void *self);
|
314
|
+
|
315
|
+
// Set socket option `heartbeat_ttl`.
|
316
|
+
CZMQ_EXPORT void
|
317
|
+
zsock_set_heartbeat_ttl (void *self, int heartbeat_ttl);
|
318
|
+
|
319
|
+
// Get socket option `heartbeat_timeout`.
|
320
|
+
// Caller owns return value and must destroy it when done.
|
321
|
+
CZMQ_EXPORT int
|
322
|
+
zsock_heartbeat_timeout (void *self);
|
323
|
+
|
324
|
+
// Set socket option `heartbeat_timeout`.
|
325
|
+
CZMQ_EXPORT void
|
326
|
+
zsock_set_heartbeat_timeout (void *self, int heartbeat_timeout);
|
327
|
+
|
328
|
+
// Get socket option `use_fd`.
|
329
|
+
// Caller owns return value and must destroy it when done.
|
330
|
+
CZMQ_EXPORT int
|
331
|
+
zsock_use_fd (void *self);
|
332
|
+
|
333
|
+
// Set socket option `use_fd`.
|
334
|
+
CZMQ_EXPORT void
|
335
|
+
zsock_set_use_fd (void *self, int use_fd);
|
336
|
+
|
337
|
+
// Set socket option `xpub_manual`.
|
338
|
+
CZMQ_EXPORT void
|
339
|
+
zsock_set_xpub_manual (void *self, int xpub_manual);
|
340
|
+
|
341
|
+
// Set socket option `xpub_welcome_msg`.
|
342
|
+
CZMQ_EXPORT void
|
343
|
+
zsock_set_xpub_welcome_msg (void *self, const char *xpub_welcome_msg);
|
344
|
+
|
345
|
+
// Set socket option `stream_notify`.
|
346
|
+
CZMQ_EXPORT void
|
347
|
+
zsock_set_stream_notify (void *self, int stream_notify);
|
348
|
+
|
349
|
+
// Get socket option `invert_matching`.
|
350
|
+
// Caller owns return value and must destroy it when done.
|
351
|
+
CZMQ_EXPORT int
|
352
|
+
zsock_invert_matching (void *self);
|
353
|
+
|
354
|
+
// Set socket option `invert_matching`.
|
355
|
+
CZMQ_EXPORT void
|
356
|
+
zsock_set_invert_matching (void *self, int invert_matching);
|
357
|
+
|
358
|
+
// Set socket option `xpub_verboser`.
|
359
|
+
CZMQ_EXPORT void
|
360
|
+
zsock_set_xpub_verboser (void *self, int xpub_verboser);
|
361
|
+
|
362
|
+
// Get socket option `connect_timeout`.
|
363
|
+
// Caller owns return value and must destroy it when done.
|
364
|
+
CZMQ_EXPORT int
|
365
|
+
zsock_connect_timeout (void *self);
|
366
|
+
|
367
|
+
// Set socket option `connect_timeout`.
|
368
|
+
CZMQ_EXPORT void
|
369
|
+
zsock_set_connect_timeout (void *self, int connect_timeout);
|
370
|
+
|
371
|
+
// Get socket option `tcp_maxrt`.
|
372
|
+
// Caller owns return value and must destroy it when done.
|
373
|
+
CZMQ_EXPORT int
|
374
|
+
zsock_tcp_maxrt (void *self);
|
375
|
+
|
376
|
+
// Set socket option `tcp_maxrt`.
|
377
|
+
CZMQ_EXPORT void
|
378
|
+
zsock_set_tcp_maxrt (void *self, int tcp_maxrt);
|
379
|
+
|
380
|
+
// Get socket option `thread_safe`.
|
381
|
+
// Caller owns return value and must destroy it when done.
|
382
|
+
CZMQ_EXPORT int
|
383
|
+
zsock_thread_safe (void *self);
|
384
|
+
|
385
|
+
// Get socket option `multicast_maxtpdu`.
|
386
|
+
// Caller owns return value and must destroy it when done.
|
387
|
+
CZMQ_EXPORT int
|
388
|
+
zsock_multicast_maxtpdu (void *self);
|
389
|
+
|
390
|
+
// Set socket option `multicast_maxtpdu`.
|
391
|
+
CZMQ_EXPORT void
|
392
|
+
zsock_set_multicast_maxtpdu (void *self, int multicast_maxtpdu);
|
393
|
+
|
394
|
+
// Get socket option `vmci_buffer_size`.
|
395
|
+
// Caller owns return value and must destroy it when done.
|
396
|
+
CZMQ_EXPORT int
|
397
|
+
zsock_vmci_buffer_size (void *self);
|
398
|
+
|
399
|
+
// Set socket option `vmci_buffer_size`.
|
400
|
+
CZMQ_EXPORT void
|
401
|
+
zsock_set_vmci_buffer_size (void *self, int vmci_buffer_size);
|
402
|
+
|
403
|
+
// Get socket option `vmci_buffer_min_size`.
|
404
|
+
// Caller owns return value and must destroy it when done.
|
405
|
+
CZMQ_EXPORT int
|
406
|
+
zsock_vmci_buffer_min_size (void *self);
|
407
|
+
|
408
|
+
// Set socket option `vmci_buffer_min_size`.
|
409
|
+
CZMQ_EXPORT void
|
410
|
+
zsock_set_vmci_buffer_min_size (void *self, int vmci_buffer_min_size);
|
411
|
+
|
412
|
+
// Get socket option `vmci_buffer_max_size`.
|
413
|
+
// Caller owns return value and must destroy it when done.
|
414
|
+
CZMQ_EXPORT int
|
415
|
+
zsock_vmci_buffer_max_size (void *self);
|
416
|
+
|
417
|
+
// Set socket option `vmci_buffer_max_size`.
|
418
|
+
CZMQ_EXPORT void
|
419
|
+
zsock_set_vmci_buffer_max_size (void *self, int vmci_buffer_max_size);
|
420
|
+
|
421
|
+
// Get socket option `vmci_connect_timeout`.
|
422
|
+
// Caller owns return value and must destroy it when done.
|
423
|
+
CZMQ_EXPORT int
|
424
|
+
zsock_vmci_connect_timeout (void *self);
|
425
|
+
|
426
|
+
// Set socket option `vmci_connect_timeout`.
|
427
|
+
CZMQ_EXPORT void
|
428
|
+
zsock_set_vmci_connect_timeout (void *self, int vmci_connect_timeout);
|
429
|
+
|
301
430
|
// Get socket option `tos`.
|
302
431
|
// Caller owns return value and must destroy it when done.
|
303
432
|
CZMQ_EXPORT int
|
@@ -311,6 +440,36 @@ CZMQ_EXPORT void
|
|
311
440
|
CZMQ_EXPORT void
|
312
441
|
zsock_set_router_handover (void *self, int router_handover);
|
313
442
|
|
443
|
+
// Set socket option `connect_rid`.
|
444
|
+
CZMQ_EXPORT void
|
445
|
+
zsock_set_connect_rid (void *self, const char *connect_rid);
|
446
|
+
|
447
|
+
// Set socket option `connect_rid` from 32-octet binary
|
448
|
+
CZMQ_EXPORT void
|
449
|
+
zsock_set_connect_rid_bin (void *self, const byte *connect_rid);
|
450
|
+
|
451
|
+
// Get socket option `handshake_ivl`.
|
452
|
+
// Caller owns return value and must destroy it when done.
|
453
|
+
CZMQ_EXPORT int
|
454
|
+
zsock_handshake_ivl (void *self);
|
455
|
+
|
456
|
+
// Set socket option `handshake_ivl`.
|
457
|
+
CZMQ_EXPORT void
|
458
|
+
zsock_set_handshake_ivl (void *self, int handshake_ivl);
|
459
|
+
|
460
|
+
// Get socket option `socks_proxy`.
|
461
|
+
// Caller owns return value and must destroy it when done.
|
462
|
+
CZMQ_EXPORT char *
|
463
|
+
zsock_socks_proxy (void *self);
|
464
|
+
|
465
|
+
// Set socket option `socks_proxy`.
|
466
|
+
CZMQ_EXPORT void
|
467
|
+
zsock_set_socks_proxy (void *self, const char *socks_proxy);
|
468
|
+
|
469
|
+
// Set socket option `xpub_nodrop`.
|
470
|
+
CZMQ_EXPORT void
|
471
|
+
zsock_set_xpub_nodrop (void *self, int xpub_nodrop);
|
472
|
+
|
314
473
|
// Set socket option `router_mandatory`.
|
315
474
|
CZMQ_EXPORT void
|
316
475
|
zsock_set_router_mandatory (void *self, int router_mandatory);
|
@@ -776,50 +935,6 @@ CZMQ_EXPORT int
|
|
776
935
|
CZMQ_EXPORT int
|
777
936
|
zsock_leave (void *self, const char *group);
|
778
937
|
|
779
|
-
// *** Draft method, for development use, may change without warning ***
|
780
|
-
// Get socket option `heartbeat_ivl`.
|
781
|
-
// Caller owns return value and must destroy it when done.
|
782
|
-
CZMQ_EXPORT int
|
783
|
-
zsock_heartbeat_ivl (void *self);
|
784
|
-
|
785
|
-
// *** Draft method, for development use, may change without warning ***
|
786
|
-
// Set socket option `heartbeat_ivl`.
|
787
|
-
CZMQ_EXPORT void
|
788
|
-
zsock_set_heartbeat_ivl (void *self, int heartbeat_ivl);
|
789
|
-
|
790
|
-
// *** Draft method, for development use, may change without warning ***
|
791
|
-
// Get socket option `heartbeat_ttl`.
|
792
|
-
// Caller owns return value and must destroy it when done.
|
793
|
-
CZMQ_EXPORT int
|
794
|
-
zsock_heartbeat_ttl (void *self);
|
795
|
-
|
796
|
-
// *** Draft method, for development use, may change without warning ***
|
797
|
-
// Set socket option `heartbeat_ttl`.
|
798
|
-
CZMQ_EXPORT void
|
799
|
-
zsock_set_heartbeat_ttl (void *self, int heartbeat_ttl);
|
800
|
-
|
801
|
-
// *** Draft method, for development use, may change without warning ***
|
802
|
-
// Get socket option `heartbeat_timeout`.
|
803
|
-
// Caller owns return value and must destroy it when done.
|
804
|
-
CZMQ_EXPORT int
|
805
|
-
zsock_heartbeat_timeout (void *self);
|
806
|
-
|
807
|
-
// *** Draft method, for development use, may change without warning ***
|
808
|
-
// Set socket option `heartbeat_timeout`.
|
809
|
-
CZMQ_EXPORT void
|
810
|
-
zsock_set_heartbeat_timeout (void *self, int heartbeat_timeout);
|
811
|
-
|
812
|
-
// *** Draft method, for development use, may change without warning ***
|
813
|
-
// Get socket option `use_fd`.
|
814
|
-
// Caller owns return value and must destroy it when done.
|
815
|
-
CZMQ_EXPORT int
|
816
|
-
zsock_use_fd (void *self);
|
817
|
-
|
818
|
-
// *** Draft method, for development use, may change without warning ***
|
819
|
-
// Set socket option `use_fd`.
|
820
|
-
CZMQ_EXPORT void
|
821
|
-
zsock_set_use_fd (void *self, int use_fd);
|
822
|
-
|
823
938
|
#endif // CZMQ_BUILD_DRAFT_API
|
824
939
|
// @end
|
825
940
|
|