czmq-ffi-gen 0.9.2-x64-mingw32 → 0.9.3-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e567bcf0127db1f20397629afd8c4deebc8e3ae
4
- data.tar.gz: c9070bf490bfd345527d5c4a9563ca79dac763ed
3
+ metadata.gz: 876e5a9eec779cbba86d17a96bfec910bc670dfd
4
+ data.tar.gz: a8304737e79578c397e32cc541f9d039ae7d916c
5
5
  SHA512:
6
- metadata.gz: 220ceff47ba7d0622903fb10effc5efc3f26a0d861fbc12857629d44ee6f09afe83b5fc5e6d0b84199a149547d1080e1da3be1b57e81db51900abf1280a44d23
7
- data.tar.gz: ad0cc09050221ddc52f1b9190f37d1b59831f9f5a877a0bb45244d59f4dd26fbe96d5d05f266eadadbc7cd70b085636561be81d1990601c9d0a9a71cf10487d6
6
+ metadata.gz: 6dd026fe4fe2576698e413e1de59fe6a1603d65f2c0264a6098fc12ae9797d25bfca33ff3af8b69213738ca77c765706fa8e1c7d8d457f9e8b7985d0da524722
7
+ data.tar.gz: 1262e28f443df88cbd49eb0ad7c1477df439f7006a1e0718e6475a4f757793c8e0a9573f15002a9287a948c5a9c9bac14d9ca557be48c84e1b79754293a855fe
data/CHANGES.md CHANGED
@@ -1,3 +1,8 @@
1
+ 0.9.3 (09/21/2016)
2
+ -----
3
+ * fix issue with special build types (zeromq/czmq@4acc4ed)
4
+ (thanks to Kouhei Sutou)
5
+
1
6
  0.9.2 (09/19/2016)
2
7
  -----
3
8
  * no changes
@@ -10,6 +15,7 @@
10
15
  0.9.0 (09/18/2016)
11
16
  -----
12
17
  * support building and pushing fat gems for Windows x86 and x64
18
+ (thanks to Kouhei Sutou)
13
19
  * upgrade CZMQ low-level binding to fix cross compile errors
14
20
 
15
21
  0.8.3 (03/29/2016)
@@ -1,5 +1,5 @@
1
1
  module CZMQ
2
2
  module FFI
3
- GEM_VERSION = "0.9.2"
3
+ GEM_VERSION = "0.9.3"
4
4
  end
5
5
  end
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -15,7 +15,7 @@ Version: 3.0.3
15
15
  Requires:libzmq
16
16
 
17
17
  Libs: -L${libdir} -lczmq
18
- Cflags: -I${includedir} -DCZMQ_BUILD_DRAFT_API=1
18
+ Cflags: -I${includedir}
19
19
 
20
20
  ################################################################################
21
21
  # THIS FILE IS 100% GENERATED BY ZPROJECT; DO NOT EDIT EXCEPT EXPERIMENTALLY #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: czmq-ffi-gen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Patrik Wenger
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-19 00:00:00.000000000 Z
11
+ date: 2016-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -180,7 +180,6 @@ files:
180
180
  - vendor/local/include/zmsg.h
181
181
  - vendor/local/include/zmutex.h
182
182
  - vendor/local/include/zpoller.h
183
- - vendor/local/include/zproc.h
184
183
  - vendor/local/include/zproxy.h
185
184
  - vendor/local/include/zproxy_v2.h
186
185
  - vendor/local/include/zrex.h
@@ -191,8 +190,6 @@ files:
191
190
  - vendor/local/include/zstr.h
192
191
  - vendor/local/include/zsys.h
193
192
  - vendor/local/include/zthread.h
194
- - vendor/local/include/ztimerset.h
195
- - vendor/local/include/ztrie.h
196
193
  - vendor/local/include/zuuid.h
197
194
  - vendor/local/lib/libczmq.dll.a
198
195
  - vendor/local/lib/liblibzmq.dll.a
@@ -1,168 +0,0 @@
1
- /* =========================================================================
2
- zproc - process configuration and status
3
-
4
- Copyright (c) the Contributors as noted in the AUTHORS file.
5
- This file is part of CZMQ, the high-level C binding for 0MQ:
6
- http://czmq.zeromq.org.
7
-
8
- This Source Code Form is subject to the terms of the Mozilla Public
9
- License, v. 2.0. If a copy of the MPL was not distributed with this
10
- file, You can obtain one at http://mozilla.org/MPL/2.0/.
11
- =========================================================================
12
- */
13
-
14
- #ifndef ZPROC_H_INCLUDED
15
- #define ZPROC_H_INCLUDED
16
-
17
- #ifdef __cplusplus
18
- extern "C" {
19
- #endif
20
-
21
-
22
- // @warning THE FOLLOWING @INTERFACE BLOCK IS AUTO-GENERATED BY ZPROJECT
23
- // @warning Please edit the model at "api/zproc.api" to make changes.
24
- // @interface
25
- // This is a draft class, and may change without notice. It is disabled in
26
- // stable builds by default. If you use this in applications, please ask
27
- // for it to be pushed to stable state. Use --enable-drafts to enable.
28
- #ifdef CZMQ_BUILD_DRAFT_API
29
- // *** Draft method, for development use, may change without warning ***
30
- // Returns CZMQ version as a single 6-digit integer encoding the major
31
- // version (x 10000), the minor version (x 100) and the patch.
32
- CZMQ_EXPORT int
33
- zproc_czmq_version (void);
34
-
35
- // *** Draft method, for development use, may change without warning ***
36
- // Returns true if the process received a SIGINT or SIGTERM signal.
37
- // It is good practice to use this method to exit any infinite loop
38
- // processing messages.
39
- CZMQ_EXPORT bool
40
- zproc_interrupted (void);
41
-
42
- // *** Draft method, for development use, may change without warning ***
43
- // Returns true if the underlying libzmq supports CURVE security.
44
- CZMQ_EXPORT bool
45
- zproc_has_curve (void);
46
-
47
- // *** Draft method, for development use, may change without warning ***
48
- // Return current host name, for use in public tcp:// endpoints.
49
- // If the host name is not resolvable, returns NULL.
50
- // Caller owns return value and must destroy it when done.
51
- CZMQ_EXPORT char *
52
- zproc_hostname (void);
53
-
54
- // *** Draft method, for development use, may change without warning ***
55
- // Move the current process into the background. The precise effect
56
- // depends on the operating system. On POSIX boxes, moves to a specified
57
- // working directory (if specified), closes all file handles, reopens
58
- // stdin, stdout, and stderr to the null device, and sets the process to
59
- // ignore SIGHUP. On Windows, does nothing. Returns 0 if OK, -1 if there
60
- // was an error.
61
- CZMQ_EXPORT void
62
- zproc_daemonize (const char *workdir);
63
-
64
- // *** Draft method, for development use, may change without warning ***
65
- // Drop the process ID into the lockfile, with exclusive lock, and
66
- // switch the process to the specified group and/or user. Any of the
67
- // arguments may be null, indicating a no-op. Returns 0 on success,
68
- // -1 on failure. Note if you combine this with zsys_daemonize, run
69
- // after, not before that method, or the lockfile will hold the wrong
70
- // process ID.
71
- CZMQ_EXPORT void
72
- zproc_run_as (const char *lockfile, const char *group, const char *user);
73
-
74
- // *** Draft method, for development use, may change without warning ***
75
- // Configure the number of I/O threads that ZeroMQ will use. A good
76
- // rule of thumb is one thread per gigabit of traffic in or out. The
77
- // default is 1, sufficient for most applications. If the environment
78
- // variable ZSYS_IO_THREADS is defined, that provides the default.
79
- // Note that this method is valid only before any socket is created.
80
- CZMQ_EXPORT void
81
- zproc_set_io_threads (size_t io_threads);
82
-
83
- // *** Draft method, for development use, may change without warning ***
84
- // Configure the number of sockets that ZeroMQ will allow. The default
85
- // is 1024. The actual limit depends on the system, and you can query it
86
- // by using zsys_socket_limit (). A value of zero means "maximum".
87
- // Note that this method is valid only before any socket is created.
88
- CZMQ_EXPORT void
89
- zproc_set_max_sockets (size_t max_sockets);
90
-
91
- // *** Draft method, for development use, may change without warning ***
92
- // Set network interface name to use for broadcasts, particularly zbeacon.
93
- // This lets the interface be configured for test environments where required.
94
- // For example, on Mac OS X, zbeacon cannot bind to 255.255.255.255 which is
95
- // the default when there is no specified interface. If the environment
96
- // variable ZSYS_INTERFACE is set, use that as the default interface name.
97
- // Setting the interface to "*" means "use all available interfaces".
98
- CZMQ_EXPORT void
99
- zproc_set_biface (const char *value);
100
-
101
- // *** Draft method, for development use, may change without warning ***
102
- // Return network interface to use for broadcasts, or "" if none was set.
103
- CZMQ_EXPORT const char *
104
- zproc_biface (void);
105
-
106
- // *** Draft method, for development use, may change without warning ***
107
- // Set log identity, which is a string that prefixes all log messages sent
108
- // by this process. The log identity defaults to the environment variable
109
- // ZSYS_LOGIDENT, if that is set.
110
- CZMQ_EXPORT void
111
- zproc_set_log_ident (const char *value);
112
-
113
- // *** Draft method, for development use, may change without warning ***
114
- // Sends log output to a PUB socket bound to the specified endpoint. To
115
- // collect such log output, create a SUB socket, subscribe to the traffic
116
- // you care about, and connect to the endpoint. Log traffic is sent as a
117
- // single string frame, in the same format as when sent to stdout. The
118
- // log system supports a single sender; multiple calls to this method will
119
- // bind the same sender to multiple endpoints. To disable the sender, call
120
- // this method with a null argument.
121
- CZMQ_EXPORT void
122
- zproc_set_log_sender (const char *endpoint);
123
-
124
- // *** Draft method, for development use, may change without warning ***
125
- // Enable or disable logging to the system facility (syslog on POSIX boxes,
126
- // event log on Windows). By default this is disabled.
127
- CZMQ_EXPORT void
128
- zproc_set_log_system (bool logsystem);
129
-
130
- // *** Draft method, for development use, may change without warning ***
131
- // Log error condition - highest priority
132
- CZMQ_EXPORT void
133
- zproc_log_error (const char *format, ...) CHECK_PRINTF (1);
134
-
135
- // *** Draft method, for development use, may change without warning ***
136
- // Log warning condition - high priority
137
- CZMQ_EXPORT void
138
- zproc_log_warning (const char *format, ...) CHECK_PRINTF (1);
139
-
140
- // *** Draft method, for development use, may change without warning ***
141
- // Log normal, but significant, condition - normal priority
142
- CZMQ_EXPORT void
143
- zproc_log_notice (const char *format, ...) CHECK_PRINTF (1);
144
-
145
- // *** Draft method, for development use, may change without warning ***
146
- // Log informational message - low priority
147
- CZMQ_EXPORT void
148
- zproc_log_info (const char *format, ...) CHECK_PRINTF (1);
149
-
150
- // *** Draft method, for development use, may change without warning ***
151
- // Log debug-level message - lowest priority
152
- CZMQ_EXPORT void
153
- zproc_log_debug (const char *format, ...) CHECK_PRINTF (1);
154
-
155
- // *** Draft method, for development use, may change without warning ***
156
- // Self test of this class.
157
- CZMQ_EXPORT void
158
- zproc_test (bool verbose);
159
-
160
- #endif // CZMQ_BUILD_DRAFT_API
161
- // @end
162
-
163
-
164
- #ifdef __cplusplus
165
- }
166
- #endif
167
-
168
- #endif
@@ -1,90 +0,0 @@
1
- /* =========================================================================
2
- ztimerset - timer set
3
-
4
- Copyright (c) the Contributors as noted in the AUTHORS file.
5
- This file is part of CZMQ, the high-level C binding for 0MQ:
6
- http://czmq.zeromq.org.
7
-
8
- This Source Code Form is subject to the terms of the Mozilla Public
9
- License, v. 2.0. If a copy of the MPL was not distributed with this
10
- file, You can obtain one at http://mozilla.org/MPL/2.0/.
11
- =========================================================================
12
- */
13
-
14
- #ifndef ZTIMERSET_H_INCLUDED
15
- #define ZTIMERSET_H_INCLUDED
16
-
17
- #ifdef __cplusplus
18
- extern "C" {
19
- #endif
20
-
21
- // @warning THE FOLLOWING @INTERFACE BLOCK IS AUTO-GENERATED BY ZPROJECT
22
- // @warning Please edit the model at "api/ztimerset.api" to make changes.
23
- // @interface
24
- // This is a draft class, and may change without notice. It is disabled in
25
- // stable builds by default. If you use this in applications, please ask
26
- // for it to be pushed to stable state. Use --enable-drafts to enable.
27
- #ifdef CZMQ_BUILD_DRAFT_API
28
- // Callback function for timer event.
29
- typedef void (ztimerset_fn) (
30
- int timer_id, void *arg);
31
-
32
- // *** Draft method, for development use, may change without warning ***
33
- // Create new timer set.
34
- CZMQ_EXPORT ztimerset_t *
35
- ztimerset_new (void);
36
-
37
- // *** Draft method, for development use, may change without warning ***
38
- // Destroy a timer set
39
- CZMQ_EXPORT void
40
- ztimerset_destroy (ztimerset_t **self_p);
41
-
42
- // *** Draft method, for development use, may change without warning ***
43
- // Add a timer to the set. Returns timer id if OK, -1 on failure.
44
- CZMQ_EXPORT int
45
- ztimerset_add (ztimerset_t *self, size_t interval, ztimerset_fn handler, void *arg);
46
-
47
- // *** Draft method, for development use, may change without warning ***
48
- // Cancel a timer. Returns 0 if OK, -1 on failure.
49
- CZMQ_EXPORT int
50
- ztimerset_cancel (ztimerset_t *self, int timer_id);
51
-
52
- // *** Draft method, for development use, may change without warning ***
53
- // Set timer interval. Returns 0 if OK, -1 on failure.
54
- // This method is slow, canceling the timer and adding a new one yield better performance.
55
- CZMQ_EXPORT int
56
- ztimerset_set_interval (ztimerset_t *self, int timer_id, size_t interval);
57
-
58
- // *** Draft method, for development use, may change without warning ***
59
- // Reset timer to start interval counting from current time. Returns 0 if OK, -1 on failure.
60
- // This method is slow, canceling the timer and adding a new one yield better performance.
61
- CZMQ_EXPORT int
62
- ztimerset_reset (ztimerset_t *self, int timer_id);
63
-
64
- // *** Draft method, for development use, may change without warning ***
65
- // Return the time until the next interval.
66
- // Should be used as timeout parameter for the zpoller wait method.
67
- // The timeout is in msec.
68
- CZMQ_EXPORT int
69
- ztimerset_timeout (ztimerset_t *self);
70
-
71
- // *** Draft method, for development use, may change without warning ***
72
- // Invoke callback function of all timers which their interval has elapsed.
73
- // Should be call after zpoller wait method.
74
- // Returns 0 if OK, -1 on failure.
75
- CZMQ_EXPORT int
76
- ztimerset_execute (ztimerset_t *self);
77
-
78
- // *** Draft method, for development use, may change without warning ***
79
- // Self test of this class.
80
- CZMQ_EXPORT void
81
- ztimerset_test (bool verbose);
82
-
83
- #endif // CZMQ_BUILD_DRAFT_API
84
- // @end
85
-
86
- #ifdef __cplusplus
87
- }
88
- #endif
89
-
90
- #endif
@@ -1,106 +0,0 @@
1
- /* =========================================================================
2
- ztrie - simple trie for tokenizable strings
3
-
4
- Copyright (c) 1991-2012 iMatix Corporation -- http://www.imatix.com
5
- Copyright other contributors as noted in the AUTHORS file.
6
-
7
- This file is part of CZMQ, the high-level C binding for 0MQ: http://czmq.zeromq.org
8
-
9
- This Source Code Form is subject to the terms of the Mozilla Public
10
- License, v. 2.0. If a copy of the MPL was not distributed with this
11
- file, You can obtain one at http://mozilla.org/MPL/2.0/.
12
- =========================================================================
13
- */
14
-
15
- #ifndef ZTRIE_H_INCLUDED
16
- #define ZTRIE_H_INCLUDED
17
-
18
- #ifdef __cplusplus
19
- extern "C" {
20
- #endif
21
-
22
-
23
- // @warning THE FOLLOWING @INTERFACE BLOCK IS AUTO-GENERATED BY ZPROJECT
24
- // @warning Please edit the model at "api/ztrie.api" to make changes.
25
- // @interface
26
- // This is a draft class, and may change without notice. It is disabled in
27
- // stable builds by default. If you use this in applications, please ask
28
- // for it to be pushed to stable state. Use --enable-drafts to enable.
29
- #ifdef CZMQ_BUILD_DRAFT_API
30
- // Callback function for ztrie_node to destroy node data.
31
- typedef void (ztrie_destroy_data_fn) (
32
- void **data);
33
-
34
- // *** Draft method, for development use, may change without warning ***
35
- // Creates a new ztrie.
36
- CZMQ_EXPORT ztrie_t *
37
- ztrie_new (char delimiter);
38
-
39
- // *** Draft method, for development use, may change without warning ***
40
- // Destroy the ztrie.
41
- CZMQ_EXPORT void
42
- ztrie_destroy (ztrie_t **self_p);
43
-
44
- // *** Draft method, for development use, may change without warning ***
45
- // Inserts a new route into the tree and attaches the data. Returns -1
46
- // if the route already exists, otherwise 0. This method takes ownership of
47
- // the provided data if a destroy_data_fn is provided.
48
- CZMQ_EXPORT int
49
- ztrie_insert_route (ztrie_t *self, const char *path, void *data, ztrie_destroy_data_fn destroy_data_fn);
50
-
51
- // *** Draft method, for development use, may change without warning ***
52
- // Removes a route from the trie and destroys its data. Returns -1 if the
53
- // route does not exists, otherwise 0.
54
- // the start of the list call zlist_first (). Advances the cursor.
55
- CZMQ_EXPORT int
56
- ztrie_remove_route (ztrie_t *self, const char *path);
57
-
58
- // *** Draft method, for development use, may change without warning ***
59
- // Returns true if the path matches a route in the tree, otherwise false.
60
- CZMQ_EXPORT bool
61
- ztrie_matches (ztrie_t *self, const char *path);
62
-
63
- // *** Draft method, for development use, may change without warning ***
64
- // Returns the data of a matched route from last ztrie_matches. If the path
65
- // did not match, returns NULL. Do not delete the data as it's owned by
66
- // ztrie.
67
- CZMQ_EXPORT void *
68
- ztrie_hit_data (ztrie_t *self);
69
-
70
- // *** Draft method, for development use, may change without warning ***
71
- // Returns the count of parameters that a matched route has.
72
- CZMQ_EXPORT size_t
73
- ztrie_hit_parameter_count (ztrie_t *self);
74
-
75
- // *** Draft method, for development use, may change without warning ***
76
- // Returns the parameters of a matched route with named regexes from last
77
- // ztrie_matches. If the path did not match or the route did not contain any
78
- // named regexes, returns NULL.
79
- CZMQ_EXPORT zhashx_t *
80
- ztrie_hit_parameters (ztrie_t *self);
81
-
82
- // *** Draft method, for development use, may change without warning ***
83
- // Returns the asterisk matched part of a route, if there has been no match
84
- // or no asterisk match, returns NULL.
85
- CZMQ_EXPORT const char *
86
- ztrie_hit_asterisk_match (ztrie_t *self);
87
-
88
- // *** Draft method, for development use, may change without warning ***
89
- // Print the trie
90
- CZMQ_EXPORT void
91
- ztrie_print (ztrie_t *self);
92
-
93
- // *** Draft method, for development use, may change without warning ***
94
- // Self test of this class.
95
- CZMQ_EXPORT void
96
- ztrie_test (bool verbose);
97
-
98
- #endif // CZMQ_BUILD_DRAFT_API
99
- // @end
100
-
101
-
102
- #ifdef __cplusplus
103
- }
104
- #endif
105
-
106
- #endif