qpid_proton 0.17.0 → 0.18.0

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: 98f1b972dacfed18fba7181a88b4552c891b46a4
4
- data.tar.gz: 7fd25bf8ec9093f1611f115545d375a702425226
3
+ metadata.gz: 1222bd4f9d3015d79eb4216f620b100955f60d54
4
+ data.tar.gz: b773f8c39654d2c5038c6c181492600317553f65
5
5
  SHA512:
6
- metadata.gz: 8b9bb2b6b1c19020f61af94c7debbf113e7e257b6bbd9704196b158e5dd37c2fa28ae9aa32377ab1566d89be6f73ddb149752437daa6033dc25bdc17886a022d
7
- data.tar.gz: 45fb0bb90335659c2044cd97d46ed77b14b51c892a0ac13e2df6a2741817853fa4962cbd98cd8a4cf95ddd7771231fad09cfe90a67504b803e77b5fdb41f057f
6
+ metadata.gz: b1674ce996a89c690d34ab362db76462c8510ce9c65b7caf4f17cfbddfc66e1c4b3ee606a51a1e947ec26c9405b54a6df2f2010d547ddb4fbb87665a01accc6b
7
+ data.tar.gz: a32969e8b2cae0da98bc8cab222090d470cb11321820db47640b7f3fb4057d014e4f950f9055bcb5a61d84baf98e94f59310b14b6d83f3eac336b65228a2e90f
data/ChangeLog CHANGED
@@ -1,36 +1,185 @@
1
- Version 0.7:
2
- * PROTON-452: Exposed Messenger interrupt method.
3
- * PROTON-454: Add route method to Messenger.
4
- * PROTON-455: Add rewrite method to Messenger.
5
- * PROTON-456: Add password property to Messenger.
6
1
 
7
- Version 0.6:
8
- * PROTON-427: Removed the flag argument from Messenger.settle.
2
+ version 0.17.0:
3
+
4
+ version 0.16.0:
5
+ * PROTON-1350 PROTON-1351: Introduce proton-c core library - Created new core proton library qpid-proton-core which only contains protocol processsing and no IO. - Rearranged source tree to separate core protocol code and io/reactor/extra code - Rearranged code so that compiler dependent code is isolated and platform (OS) dependent code is isolated
6
+
7
+ version 0.15.0:
8
+ * PROTON-1282: Seg Fault in Ruby Messenger pn_messenger_free
9
+
10
+ version 0.14.0:
11
+
12
+ version 0.13.1:
13
+
14
+ version 0.13.0:
15
+
16
+ version 0.12.2:
17
+
18
+ version 0.12.1:
19
+
20
+ version 0.12.0:
21
+ * PROTON-1059: ruby binding broken in 0.11 release and on master
22
+ * PROTON-949: fix proton build with ccache swig
23
+
24
+ version 0.11.1:
25
+ * PROTON-1059: ruby binding broken in 0.11 release and on master
26
+
27
+ version 0.11.0:
28
+ * PROTON-949: fix proton build with ccache swig
29
+
30
+ version 0.10:
31
+ * PROTON-904: No longer need to include libuuid header
32
+ * PROTON-781: Update CMake to install new Ruby packages.
33
+ * PROTON-781: Added the set of LinkOption classes to Ruby.
34
+ * PROTON-781: Added support for reactors to the Ruby Endpoint class.
35
+ * PROTON-781: Added Container to the Ruby reactive APIs.
36
+ * PROTON-781: Added SessionPerConnection to the Ruby reactive APIs.
37
+ * PROTON-781: Added Backoff to the Ruby reactive APIs.
38
+ * PROTON-781: Added Connector to the Ruby reactive APIs.
39
+ * PROTON-781: Added URLs to the Ruby reactive APIs.
40
+ * PROTON-781: Added the URL class to the Ruby core APIs.
41
+ * PROTON-781: Added Reactor and Task to the ClassWrapper
42
+ * PROTON-781: Added the Reactor mixin to the Ruby reactive APIs.
43
+ * PROTON-781: Added the Handler mixin to the Ruby reactive APIs.
44
+ * PROTON-781: Added the Timeout mixin to the Ruby APIs.
45
+ * PROTON-781: Added GlobalOverrides to the Ruby reactive APIs.
46
+ * PROTON-781: Added SSLConfig to the Ruby reactive APIs.
47
+ * PROTON-781: Added reactor support to the Ruby Event class.
48
+ * PROTON-781: Added the Reactor class to the Ruby reactor APIs.
49
+ * PROTON-781: Added Acceptor to the Ruby reactive APIs.
50
+ * PROTON-781: Added the Task class to the Ruby reactor APIs.
51
+ * PROTON-781: Added MessagingHandler to the Ruby reactive APIs.
52
+ * PROTON-781: Added OutgoingMessageHandler to the Ruby reactive APIs.
53
+ * PROTON-781: Added IncomingMessageHandler to the Ruby reactive APIs.
54
+ * PROTON-781: Added the BaseHandler class to the Ruby reactive APIs.
55
+ * PROTON-781: Added the CFlowController class to the Ruby reactive APIs.
56
+ * PROTON-781: Added EndpointStateHandler to the Ruby reactive APIs.
57
+ * PROTON-781: Added the Acking mixin to the Ruby reactive APIs.
58
+ * PROTON-781: Refactored the Ruby Selectable class.
59
+ * PROTON-781: Repackaged the Ruby Selectable class to Qpid::Proton.
60
+ * PROTON-781: Deleted the Ruby Filter mixin.
61
+ * PROTON-781: Added the WrappedHandler class to the Ruby reactor APIs.
62
+ * PROTON-799: Update CMake INSTALL for 81a5449
63
+ * PROTON-914: Fix for getting the SSL peer hostname in Ruby.
64
+ * PROTON-898: Update Ruby bindings to use pn_selectable_get_fd
65
+ * PROTON-799: Test for the Wrapper and rbkey system
66
+ * PROTON-799: Adjusted the Ruby error macro
67
+ * PROTON-799: Added yardopts
68
+ * PROTON-799: Added the Event classes to the Ruby engine APIs.
69
+ * PROTON-799: Added the ClassWrapper mixin for the Ruby engine APIs.
70
+ * PROTON-799: Added the Transport class to the Ruby engine APIs.
71
+ * PROTON-799: Added the SSL classes to the Ruby engine APIs.
72
+ * PROTON-799: Added the SASL class to the Ruby engine APIs.
73
+ * PROTON-799: Added the SASLError and TransportError errors to Ruby.
74
+ * PROTON-799: Added the Connection class to the Ruby engine APIs.
75
+ * PROTON-799: Added the Receiver class to the Ruby engine APIs.
76
+ * PROTON-799: Added the Sender class to the Ruby engine APIs.
77
+ * PROTON-799: Added the Link class to the Ruby engine APIs.
78
+ * PROTON-799: Added the Delivery class to the Ruby engine APIs.
79
+ * PROTON-799: Added the Disposition class to the Ruby engine APIs.
80
+ * PROTON-799: Added the Terminus class to the Ruby engine APIs.
81
+ * PROTON-799: Added the Session class to the Ruby engine APIs.
82
+ * PROTON-799: Added the Endpoint class to the Ruby engine APIs.
83
+ * PROTON-799: Added the Wrapper mixin to the Ruby engine APIs.
84
+ * PROTON-799: Added the Condition class to the Ruby engine APIs.
85
+ * PROTON-799: Added the UUID mixin for the Ruby reactive APIs.
86
+ * PROTON-799: Created a utility module for the Ruby Engine APIs.
87
+ * PROTON-799: Added the Collector class to the Ruby engine APIs.
88
+ * PROTON-799: Added the pn_rbkey_t type to the Ruby APIs.
89
+ * PROTON-799: Created a wrapper helper module for Ruby bindings.
90
+ * PROTON-799: Added a constants value mixin to the Ruby bindings.
91
+ * PROTON-799: Added the object/object= methods to Ruby Data class
92
+ * PROTON-799: Updated the Ruby namespaces.
93
+ * PROTON-799: Rearranged Ruby library.
94
+ * PROTON-883: Fixed using a pointer value as a size - It's not clear to me how the warning message this caused went ignored - It's also not clear to me why this error passed the tests without crashing, probably the ruby tests need improving.
95
+ * PROTON-883: Wrap pn_transport_peek for Ruby.
96
+ * PROTON-873: Replaced send with __send__ in Ruby Mapping class
97
+
98
+ version 0.9.1:
99
+
100
+ version 0.9:
101
+ * PROTON-822: removed some references I missed in my prior purge of deprecated message cruft
102
+ * PROTON-822: removed deprecated message save/load as it has been deprecated for a while now and was also the cause of a valgrind error
103
+ * PROTON-775: Ensure that annotation keys in Ruby are encoded as symbols.
104
+ * PROTON-737: add missing PN_STATE_ERR error to ruby
105
+ * PROTON-765: Fix Ruby's support for 64-bit values on 32-bit systems
106
+ * PROTON-755: Changed how the Data rspec test sets a single random character.
107
+ * PROTON-755: Add SecureRandom for use by Ruby 1.8 tests
108
+ * PROTON-755: Updated rspec tests to use the newer expect syntax
109
+ * PROTON-752: Release the GIL on blocking calls in Ruby.
110
+ * PROTON-736: Tweaked how Ruby 1.8 determines if a string is UTF-8
111
+ * PROTON-752: Provide a non-blocking means to receive messages in Ruby.
112
+ * PROTON-747: Around wrappers for Ruby Messenger methods that raise errors
113
+ * PROTON-736: Replace missed force_encoding with encode
114
+ * PROTON-743: Provide a means to clear errors in a Ruby Messenger.
115
+ * PROTON-746: Fix encoding a Ruby symbol into a message body.
116
+ * PROTON-736: Default Ruby 1.8 encoding to be binary unless explicit
117
+ * PROTON-736: Created the UTFString and BinaryString classes for Ruby.
118
+ * PROTON-739: Add TTL to Ruby Messenger subscribe method.
119
+ * PROTON-736: Only encode Ruby strings as UTF-8 if it says it's UTF-8
120
+ * PROTON-736: Ruby Message does not return all content.
121
+
122
+ version 0.8:
123
+ * PROTON-693: Python Url class to wrap C function pni_parse_url
124
+ * PROTON-651: remove the extraineous 'PN_' if under the proton namespace.
125
+ * PROTON-651: added version constants for python, php, and ruby bindings
126
+ * PROTON-615: Fix binding dependencies
127
+ * PROTON-549: fixed warnings from ruby binding
128
+ * PROTON-531: Removed Selectable.killable? from Ruby bindings
129
+ * PROTON-531: Created the Selectable class for Ruby.
130
+ * PROTON-531: Expose the passive mode in Ruby bindings.
131
+
132
+ version 0.7:
133
+ * PROTON-550: Fail build if Ruby is enabled but missing dependencies.
134
+ * PROTON-551: Fixed a typo in the Ruby Messenger blocking call.
135
+ * PROTON-538: more readme fixes and install tweaks
136
+ * PROTON-538: fixed install to not use irregular paths, marked a lot of noisy variables as advanced, removed extra level of caching from cmake variables that had confusing effects, updated the readme to match what the build actually does
137
+ * PROTON-445: Dynamic languages honor CMAKE_INSTALL_PREFIX
138
+
139
+ version 0.6:
140
+ * PROTON-482: Fix the Ruby install directory.
141
+ * PROTON-479: Fixed typo in status
142
+ * PROTON-479: Added PENDING status to Ruby Trackers
143
+ * PROTON-260 Improve API rdoc comments for Ruby.
144
+ * PROTON-464: Install Ruby bindings to install prefix if specified.
145
+ * PROTON-456: Added password property to Ruby Messenger class.
146
+ * PROTON-455: Added rewrite method to Ruby Messenger class.
147
+ * PROTON-454: Added the route method to Ruby's Messenger class.
148
+ * PROTON-452: Expose the Messenger interrupt method in Ruby.
149
+ * PROTON-450: Use random ports for Ruby Rspec tests.
150
+ * PROTON-448: Backing out the Ruby data change.
151
+ * PROTON-448: Added missed ChangeLog entry
152
+ * PROTON-448: Added support for Data encode/decode to Ruby Swig.
153
+ * PROTON-431: Fixed the Ruby spec tests.
154
+ * PROTON-273: Removed the content Rspec test for Ruby.
155
+ * PROTON-427: Removed the flag argument from Messenger.settle
9
156
 
10
157
  version 0.5:
11
- * Duck typed the Array class to work with Qpid::Proton::Data.
12
- * Duck typed the Hash class to work with Qpid::Proton::Data.
13
- * Fixed broken Rspec tests due to changes in under Proton C.
14
- - Messenger.receive can accept a negative maximum
15
- - When testing bad subscribe attempts, tests now use a random string.
16
- * Fixed encoding decimal128 values.
17
- * Added properties field to Qpid::Proton::Message.
18
- * Hashes are now automatically encoded into Data objects.
19
- * Fixed encoding Time objects.
20
- * Added instructions field to Qpid::Proton::Message.
21
- * Added annotations field to Qpid::Proton::Message.
22
- * Fixed encoding Symbol objects.
23
- * Added body field to Qpid::Proton::Message.
158
+ * PROTON-406: Fix installing the Ruby bindings.
159
+ * PROTON-399: Ruby bindings now install with the rest of Proton.
160
+ * PROTON-369: Add the properties= method to Ruby Message.
161
+ * PROTON-380: Added the body property to Ruby Message class.
162
+ * PROTON-379: Added annotations property to Ruby Message class.
163
+ * PROTON-381: Fixed encoding a Ruby symbol into a Data object.
164
+ * PROTON-378: Add instructions property to Ruby Message class.
165
+ * PROTON-369: Ruby Message.clear clears out properties
166
+ * PROTON-377: Ruby automatically encodes an instance of Time.
167
+ * PROTON-376: Fix how a ::hash is automatically added to Data in Ruby
168
+ * PROTON-369: Add properties field to Qpid:Proton::Message
169
+ * PROTON-341: Update the Ruby interop tests.
170
+ * PROTON-322: Extend the Ruby Hash class to work with the Data class.
171
+ * PROTON-322: Extended the Ruby Array class to work with the Data class.
172
+ * PROTON-306: Fixes to the Ruby list helper type for Data.
173
+ * PROTON-304: Removed accept mode from the Ruby bindings.
174
+ * PROTON-227: Added missing elements to the Rdoc for qpid::proton::Data
175
+ * PROTON-215: Added ruby interop test.
176
+ * PROTON-227: Created the Data class for the Ruby bindings.
24
177
 
25
178
  version 0.4:
26
- * No language-specific features developed in this release.
27
179
 
28
180
  version 0.3:
29
- * No language-specific features developed in this release.
30
- * Dropped the Rakefile in favor of packaging with a gemspec.
31
- * Removed the qpid_proton/version.rb file as unused.
181
+ * PROTON-188: applied modified patch
32
182
 
33
183
  version 0.2:
34
- * First implementation of the stable APIs on top of swig.
35
- * Wrote the Rspec tests to test the new APIs.
36
- * Added SimpleCov support to monitor Rspec test coverage.
184
+
185
+ version 0.1:
data/TODO CHANGED
@@ -1,14 +1,8 @@
1
1
  Proton Ruby bindings TODO List
2
2
  ========================================================================
3
3
 
4
- Beyond this simple laundry list, you can find the list of bugs and
5
- enhacements to be fixed by going to Apache Proton JIRA instance:
4
+ You can find the list of bugs and enhacements to be fixed at:
6
5
 
7
- https://issues.apache.org/jira/browse/PROTON
6
+ https://issues.apache.org/jira/issues/?jql=project%20%3D%20PROTON%20AND%20status%20in%20(Open%2C%20%22In%20Progress%22%2C%20Reopened)%20AND%20component%20%3D%20ruby-binding
8
7
 
9
- Fixes & Improvements
10
- ========================================================================
11
- * Fix the data mangling that occurs at specific lengths.
12
- * Find a better way to map between nil/empty strings for pn_atom_t.
13
- * Fill out the remaining tests for Qpid::Proton::Messenger
14
8
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 3.0.12
3
+ * Version 3.0.11
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1837,46 +1837,48 @@ int SWIG_Ruby_arity( VALUE proc, int minimal )
1837
1837
  #define SWIGTYPE_p_pn_iterator_t swig_types[34]
1838
1838
  #define SWIGTYPE_p_pn_link_t swig_types[35]
1839
1839
  #define SWIGTYPE_p_pn_list_t swig_types[36]
1840
- #define SWIGTYPE_p_pn_map_t swig_types[37]
1841
- #define SWIGTYPE_p_pn_message_t swig_types[38]
1842
- #define SWIGTYPE_p_pn_messenger_t swig_types[39]
1843
- #define SWIGTYPE_p_pn_rcv_settle_mode_t swig_types[40]
1844
- #define SWIGTYPE_p_pn_reactor_t swig_types[41]
1845
- #define SWIGTYPE_p_pn_record_t swig_types[42]
1846
- #define SWIGTYPE_p_pn_rwbytes_t swig_types[43]
1847
- #define SWIGTYPE_p_pn_sasl_outcome_t swig_types[44]
1848
- #define SWIGTYPE_p_pn_sasl_t swig_types[45]
1849
- #define SWIGTYPE_p_pn_selectable_t swig_types[46]
1850
- #define SWIGTYPE_p_pn_session_t swig_types[47]
1851
- #define SWIGTYPE_p_pn_snd_settle_mode_t swig_types[48]
1852
- #define SWIGTYPE_p_pn_ssl_cert_subject_subfield swig_types[49]
1853
- #define SWIGTYPE_p_pn_ssl_domain_t swig_types[50]
1854
- #define SWIGTYPE_p_pn_ssl_hash_alg swig_types[51]
1855
- #define SWIGTYPE_p_pn_ssl_mode_t swig_types[52]
1856
- #define SWIGTYPE_p_pn_ssl_resume_status_t swig_types[53]
1857
- #define SWIGTYPE_p_pn_ssl_t swig_types[54]
1858
- #define SWIGTYPE_p_pn_ssl_verify_mode_t swig_types[55]
1859
- #define SWIGTYPE_p_pn_status_t swig_types[56]
1860
- #define SWIGTYPE_p_pn_string_t swig_types[57]
1861
- #define SWIGTYPE_p_pn_subscription_t swig_types[58]
1862
- #define SWIGTYPE_p_pn_task_t swig_types[59]
1863
- #define SWIGTYPE_p_pn_terminus_t swig_types[60]
1864
- #define SWIGTYPE_p_pn_terminus_type_t swig_types[61]
1865
- #define SWIGTYPE_p_pn_timer_t swig_types[62]
1866
- #define SWIGTYPE_p_pn_transport_t swig_types[63]
1867
- #define SWIGTYPE_p_pn_type_t swig_types[64]
1868
- #define SWIGTYPE_p_pn_url_t swig_types[65]
1869
- #define SWIGTYPE_p_pn_uuid_t swig_types[66]
1870
- #define SWIGTYPE_p_short swig_types[67]
1871
- #define SWIGTYPE_p_signed_char swig_types[68]
1872
- #define SWIGTYPE_p_unsigned_char swig_types[69]
1873
- #define SWIGTYPE_p_unsigned_int swig_types[70]
1874
- #define SWIGTYPE_p_unsigned_long swig_types[71]
1875
- #define SWIGTYPE_p_unsigned_long_long swig_types[72]
1876
- #define SWIGTYPE_p_unsigned_short swig_types[73]
1877
- #define SWIGTYPE_p_void swig_types[74]
1878
- static swig_type_info *swig_types[76];
1879
- static swig_module_info swig_module = {swig_types, 75, 0, 0, 0, 0};
1840
+ #define SWIGTYPE_p_pn_listener_t swig_types[37]
1841
+ #define SWIGTYPE_p_pn_map_t swig_types[38]
1842
+ #define SWIGTYPE_p_pn_message_t swig_types[39]
1843
+ #define SWIGTYPE_p_pn_messenger_t swig_types[40]
1844
+ #define SWIGTYPE_p_pn_proactor_t swig_types[41]
1845
+ #define SWIGTYPE_p_pn_rcv_settle_mode_t swig_types[42]
1846
+ #define SWIGTYPE_p_pn_reactor_t swig_types[43]
1847
+ #define SWIGTYPE_p_pn_record_t swig_types[44]
1848
+ #define SWIGTYPE_p_pn_rwbytes_t swig_types[45]
1849
+ #define SWIGTYPE_p_pn_sasl_outcome_t swig_types[46]
1850
+ #define SWIGTYPE_p_pn_sasl_t swig_types[47]
1851
+ #define SWIGTYPE_p_pn_selectable_t swig_types[48]
1852
+ #define SWIGTYPE_p_pn_session_t swig_types[49]
1853
+ #define SWIGTYPE_p_pn_snd_settle_mode_t swig_types[50]
1854
+ #define SWIGTYPE_p_pn_ssl_cert_subject_subfield swig_types[51]
1855
+ #define SWIGTYPE_p_pn_ssl_domain_t swig_types[52]
1856
+ #define SWIGTYPE_p_pn_ssl_hash_alg swig_types[53]
1857
+ #define SWIGTYPE_p_pn_ssl_mode_t swig_types[54]
1858
+ #define SWIGTYPE_p_pn_ssl_resume_status_t swig_types[55]
1859
+ #define SWIGTYPE_p_pn_ssl_t swig_types[56]
1860
+ #define SWIGTYPE_p_pn_ssl_verify_mode_t swig_types[57]
1861
+ #define SWIGTYPE_p_pn_status_t swig_types[58]
1862
+ #define SWIGTYPE_p_pn_string_t swig_types[59]
1863
+ #define SWIGTYPE_p_pn_subscription_t swig_types[60]
1864
+ #define SWIGTYPE_p_pn_task_t swig_types[61]
1865
+ #define SWIGTYPE_p_pn_terminus_t swig_types[62]
1866
+ #define SWIGTYPE_p_pn_terminus_type_t swig_types[63]
1867
+ #define SWIGTYPE_p_pn_timer_t swig_types[64]
1868
+ #define SWIGTYPE_p_pn_transport_t swig_types[65]
1869
+ #define SWIGTYPE_p_pn_type_t swig_types[66]
1870
+ #define SWIGTYPE_p_pn_url_t swig_types[67]
1871
+ #define SWIGTYPE_p_pn_uuid_t swig_types[68]
1872
+ #define SWIGTYPE_p_short swig_types[69]
1873
+ #define SWIGTYPE_p_signed_char swig_types[70]
1874
+ #define SWIGTYPE_p_unsigned_char swig_types[71]
1875
+ #define SWIGTYPE_p_unsigned_int swig_types[72]
1876
+ #define SWIGTYPE_p_unsigned_long swig_types[73]
1877
+ #define SWIGTYPE_p_unsigned_long_long swig_types[74]
1878
+ #define SWIGTYPE_p_unsigned_short swig_types[75]
1879
+ #define SWIGTYPE_p_void swig_types[76]
1880
+ static swig_type_info *swig_types[78];
1881
+ static swig_module_info swig_module = {swig_types, 77, 0, 0, 0, 0};
1880
1882
  #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1881
1883
  #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1882
1884
 
@@ -1891,7 +1893,7 @@ static VALUE mCproton;
1891
1893
  #define SWIG_RUBY_THREAD_END_BLOCK
1892
1894
 
1893
1895
 
1894
- #define SWIGVERSION 0x030012
1896
+ #define SWIGVERSION 0x030011
1895
1897
  #define SWIG_VERSION SWIGVERSION
1896
1898
 
1897
1899
 
@@ -1923,7 +1925,7 @@ SWIG_ruby_failed(void)
1923
1925
  }
1924
1926
 
1925
1927
 
1926
- /*@SWIG:/usr/share/swig/3.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
1928
+ /*@SWIG:/usr/share/swig/3.0.11/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
1927
1929
  SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
1928
1930
  {
1929
1931
  VALUE obj = args[0];
@@ -1968,7 +1970,7 @@ SWIG_AsVal_unsigned_SS_long (VALUE obj, unsigned long *val)
1968
1970
 
1969
1971
 
1970
1972
  #ifdef SWIG_LONG_LONG_AVAILABLE
1971
- /*@SWIG:/usr/share/swig/3.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
1973
+ /*@SWIG:/usr/share/swig/3.0.11/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
1972
1974
  SWIGINTERN VALUE SWIG_AUX_NUM2ULL(VALUE *args)
1973
1975
  {
1974
1976
  VALUE obj = args[0];
@@ -2297,7 +2299,7 @@ SWIG_From_bool (bool value)
2297
2299
 
2298
2300
 
2299
2301
 
2300
- /*@SWIG:/usr/share/swig/3.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2302
+ /*@SWIG:/usr/share/swig/3.0.11/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2301
2303
  SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
2302
2304
  {
2303
2305
  VALUE obj = args[0];
@@ -2543,11 +2545,9 @@ SWIG_From_size_t (size_t value)
2543
2545
  * versions.
2544
2546
  *
2545
2547
  * Make sure namespace std exists to avoid compiler warnings.
2546
- *
2547
- * extern "C++" is required as this fragment can end up inside an extern "C" { } block
2548
2548
  */
2549
2549
  namespace std { }
2550
- extern "C++" template<typename T>
2550
+ template<typename T>
2551
2551
  inline int SWIG_isfinite_func(T x) {
2552
2552
  using namespace std;
2553
2553
  return isfinite(x);
@@ -2570,7 +2570,7 @@ inline int SWIG_isfinite_func(T x) {
2570
2570
  #endif
2571
2571
 
2572
2572
 
2573
- /*@SWIG:/usr/share/swig/3.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2573
+ /*@SWIG:/usr/share/swig/3.0.11/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2574
2574
  SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE *args)
2575
2575
  {
2576
2576
  VALUE obj = args[0];
@@ -2659,7 +2659,7 @@ SWIG_AsVal_unsigned_SS_short (VALUE obj, unsigned short *val)
2659
2659
 
2660
2660
 
2661
2661
  #ifdef SWIG_LONG_LONG_AVAILABLE
2662
- /*@SWIG:/usr/share/swig/3.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2662
+ /*@SWIG:/usr/share/swig/3.0.11/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2663
2663
  SWIGINTERN VALUE SWIG_AUX_NUM2LL(VALUE *args)
2664
2664
  {
2665
2665
  VALUE obj = args[0];
@@ -3929,7 +3929,7 @@ SWIGINTERN VALUE
3929
3929
  _wrap_pn_rwbytes_null_get(VALUE self) {
3930
3930
  VALUE _val;
3931
3931
 
3932
- _val = SWIG_NewPointerObj(SWIG_as_voidptr(&pn_rwbytes_null), SWIGTYPE_p_pn_bytes_t, 0 );
3932
+ _val = SWIG_NewPointerObj(SWIG_as_voidptr(&pn_rwbytes_null), SWIGTYPE_p_pn_rwbytes_t, 0 );
3933
3933
  return _val;
3934
3934
  }
3935
3935
 
@@ -5436,7 +5436,7 @@ _wrap_pn_map_next(int argc, VALUE *argv, VALUE self) {
5436
5436
  SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pn_handle_t","pn_map_next", 2, argv[1] ));
5437
5437
  }
5438
5438
  arg2 = (pn_handle_t)(val2);
5439
- result = (pn_handle_t)pn_map_next(arg1,arg2);
5439
+ result = (pn_handle_t)pn_map_next(arg1,(void const *)arg2);
5440
5440
  vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
5441
5441
  return vresult;
5442
5442
  fail:
@@ -5468,7 +5468,7 @@ _wrap_pn_map_key(int argc, VALUE *argv, VALUE self) {
5468
5468
  SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pn_handle_t","pn_map_key", 2, argv[1] ));
5469
5469
  }
5470
5470
  arg2 = (pn_handle_t)(val2);
5471
- result = (void *)pn_map_key(arg1,arg2);
5471
+ result = (void *)pn_map_key(arg1,(void const *)arg2);
5472
5472
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
5473
5473
  return vresult;
5474
5474
  fail:
@@ -5500,7 +5500,7 @@ _wrap_pn_map_value(int argc, VALUE *argv, VALUE self) {
5500
5500
  SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pn_handle_t","pn_map_value", 2, argv[1] ));
5501
5501
  }
5502
5502
  arg2 = (pn_handle_t)(val2);
5503
- result = (void *)pn_map_value(arg1,arg2);
5503
+ result = (void *)pn_map_value(arg1,(void const *)arg2);
5504
5504
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
5505
5505
  return vresult;
5506
5506
  fail:
@@ -5719,7 +5719,7 @@ _wrap_pn_hash_next(int argc, VALUE *argv, VALUE self) {
5719
5719
  SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pn_handle_t","pn_hash_next", 2, argv[1] ));
5720
5720
  }
5721
5721
  arg2 = (pn_handle_t)(val2);
5722
- result = (pn_handle_t)pn_hash_next(arg1,arg2);
5722
+ result = (pn_handle_t)pn_hash_next(arg1,(void const *)arg2);
5723
5723
  vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
5724
5724
  return vresult;
5725
5725
  fail:
@@ -5751,7 +5751,7 @@ _wrap_pn_hash_key(int argc, VALUE *argv, VALUE self) {
5751
5751
  SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pn_handle_t","pn_hash_key", 2, argv[1] ));
5752
5752
  }
5753
5753
  arg2 = (pn_handle_t)(val2);
5754
- result = (uintptr_t)pn_hash_key(arg1,arg2);
5754
+ result = (uintptr_t)pn_hash_key(arg1,(void const *)arg2);
5755
5755
  vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
5756
5756
  return vresult;
5757
5757
  fail:
@@ -5783,7 +5783,7 @@ _wrap_pn_hash_value(int argc, VALUE *argv, VALUE self) {
5783
5783
  SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pn_handle_t","pn_hash_value", 2, argv[1] ));
5784
5784
  }
5785
5785
  arg2 = (pn_handle_t)(val2);
5786
- result = (void *)pn_hash_value(arg1,arg2);
5786
+ result = (void *)pn_hash_value(arg1,(void const *)arg2);
5787
5787
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
5788
5788
  return vresult;
5789
5789
  fail:
@@ -6376,7 +6376,7 @@ _wrap_pn_record_def(int argc, VALUE *argv, VALUE self) {
6376
6376
  SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "pn_class_t const *","pn_record_def", 3, argv[2] ));
6377
6377
  }
6378
6378
  arg3 = (pn_class_t *)(argp3);
6379
- pn_record_def(arg1,arg2,(struct pn_class_t const *)arg3);
6379
+ pn_record_def(arg1,(void const *)arg2,(struct pn_class_t const *)arg3);
6380
6380
  return Qnil;
6381
6381
  fail:
6382
6382
  return Qnil;
@@ -6407,7 +6407,7 @@ _wrap_pn_record_has(int argc, VALUE *argv, VALUE self) {
6407
6407
  SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pn_handle_t","pn_record_has", 2, argv[1] ));
6408
6408
  }
6409
6409
  arg2 = (pn_handle_t)(val2);
6410
- result = (bool)pn_record_has(arg1,arg2);
6410
+ result = (bool)pn_record_has(arg1,(void const *)arg2);
6411
6411
  vresult = SWIG_From_bool((bool)(result));
6412
6412
  return vresult;
6413
6413
  fail:
@@ -6439,7 +6439,7 @@ _wrap_pn_record_get(int argc, VALUE *argv, VALUE self) {
6439
6439
  SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pn_handle_t","pn_record_get", 2, argv[1] ));
6440
6440
  }
6441
6441
  arg2 = (pn_handle_t)(val2);
6442
- result = (void *)pn_record_get(arg1,arg2);
6442
+ result = (void *)pn_record_get(arg1,(void const *)arg2);
6443
6443
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
6444
6444
  return vresult;
6445
6445
  fail:
@@ -6475,7 +6475,7 @@ _wrap_pn_record_set(int argc, VALUE *argv, VALUE self) {
6475
6475
  if (!SWIG_IsOK(res3)) {
6476
6476
  SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "void *","pn_record_set", 3, argv[2] ));
6477
6477
  }
6478
- pn_record_set(arg1,arg2,arg3);
6478
+ pn_record_set(arg1,(void const *)arg2,arg3);
6479
6479
  return Qnil;
6480
6480
  fail:
6481
6481
  return Qnil;
@@ -10517,6 +10517,30 @@ fail:
10517
10517
  }
10518
10518
 
10519
10519
 
10520
+ SWIGINTERN VALUE
10521
+ _wrap_pn_delivery_aborted(int argc, VALUE *argv, VALUE self) {
10522
+ pn_delivery_t *arg1 = (pn_delivery_t *) 0 ;
10523
+ void *argp1 = 0 ;
10524
+ int res1 = 0 ;
10525
+ bool result;
10526
+ VALUE vresult = Qnil;
10527
+
10528
+ if ((argc < 1) || (argc > 1)) {
10529
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10530
+ }
10531
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_delivery_t, 0 | 0 );
10532
+ if (!SWIG_IsOK(res1)) {
10533
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_delivery_t *","pn_delivery_aborted", 1, argv[0] ));
10534
+ }
10535
+ arg1 = (pn_delivery_t *)(argp1);
10536
+ result = (bool)pn_delivery_aborted(arg1);
10537
+ vresult = SWIG_From_bool((bool)(result));
10538
+ return vresult;
10539
+ fail:
10540
+ return Qnil;
10541
+ }
10542
+
10543
+
10520
10544
  SWIGINTERN VALUE
10521
10545
  _wrap_pn_delivery_writable(int argc, VALUE *argv, VALUE self) {
10522
10546
  pn_delivery_t *arg1 = (pn_delivery_t *) 0 ;
@@ -10671,6 +10695,27 @@ fail:
10671
10695
  }
10672
10696
 
10673
10697
 
10698
+ SWIGINTERN VALUE
10699
+ _wrap_pn_delivery_abort(int argc, VALUE *argv, VALUE self) {
10700
+ pn_delivery_t *arg1 = (pn_delivery_t *) 0 ;
10701
+ void *argp1 = 0 ;
10702
+ int res1 = 0 ;
10703
+
10704
+ if ((argc < 1) || (argc > 1)) {
10705
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10706
+ }
10707
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_delivery_t, 0 | 0 );
10708
+ if (!SWIG_IsOK(res1)) {
10709
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_delivery_t *","pn_delivery_abort", 1, argv[0] ));
10710
+ }
10711
+ arg1 = (pn_delivery_t *)(argp1);
10712
+ pn_delivery_abort(arg1);
10713
+ return Qnil;
10714
+ fail:
10715
+ return Qnil;
10716
+ }
10717
+
10718
+
10674
10719
  SWIGINTERN VALUE
10675
10720
  _wrap_pn_delivery_settle(int argc, VALUE *argv, VALUE self) {
10676
10721
  pn_delivery_t *arg1 = (pn_delivery_t *) 0 ;
@@ -10817,6 +10862,30 @@ fail:
10817
10862
  }
10818
10863
 
10819
10864
 
10865
+ SWIGINTERN VALUE
10866
+ _wrap_pn_disposition_type_name(int argc, VALUE *argv, VALUE self) {
10867
+ uint64_t arg1 ;
10868
+ unsigned long long val1 ;
10869
+ int ecode1 = 0 ;
10870
+ char *result = 0 ;
10871
+ VALUE vresult = Qnil;
10872
+
10873
+ if ((argc < 1) || (argc > 1)) {
10874
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10875
+ }
10876
+ ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(argv[0], &val1);
10877
+ if (!SWIG_IsOK(ecode1)) {
10878
+ SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "uint64_t","pn_disposition_type_name", 1, argv[0] ));
10879
+ }
10880
+ arg1 = (uint64_t)(val1);
10881
+ result = (char *)pn_disposition_type_name(arg1);
10882
+ vresult = SWIG_FromCharPtr((const char *)result);
10883
+ return vresult;
10884
+ fail:
10885
+ return Qnil;
10886
+ }
10887
+
10888
+
10820
10889
  SWIGINTERN VALUE
10821
10890
  _wrap_pn_disposition_condition(int argc, VALUE *argv, VALUE self) {
10822
10891
  pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
@@ -12126,6 +12195,54 @@ fail:
12126
12195
  }
12127
12196
 
12128
12197
 
12198
+ SWIGINTERN VALUE
12199
+ _wrap_pn_transport_head_closed(int argc, VALUE *argv, VALUE self) {
12200
+ pn_transport_t *arg1 = (pn_transport_t *) 0 ;
12201
+ void *argp1 = 0 ;
12202
+ int res1 = 0 ;
12203
+ bool result;
12204
+ VALUE vresult = Qnil;
12205
+
12206
+ if ((argc < 1) || (argc > 1)) {
12207
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
12208
+ }
12209
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_transport_t, 0 | 0 );
12210
+ if (!SWIG_IsOK(res1)) {
12211
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_transport_t *","pn_transport_head_closed", 1, argv[0] ));
12212
+ }
12213
+ arg1 = (pn_transport_t *)(argp1);
12214
+ result = (bool)pn_transport_head_closed(arg1);
12215
+ vresult = SWIG_From_bool((bool)(result));
12216
+ return vresult;
12217
+ fail:
12218
+ return Qnil;
12219
+ }
12220
+
12221
+
12222
+ SWIGINTERN VALUE
12223
+ _wrap_pn_transport_tail_closed(int argc, VALUE *argv, VALUE self) {
12224
+ pn_transport_t *arg1 = (pn_transport_t *) 0 ;
12225
+ void *argp1 = 0 ;
12226
+ int res1 = 0 ;
12227
+ bool result;
12228
+ VALUE vresult = Qnil;
12229
+
12230
+ if ((argc < 1) || (argc > 1)) {
12231
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
12232
+ }
12233
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_transport_t, 0 | 0 );
12234
+ if (!SWIG_IsOK(res1)) {
12235
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_transport_t *","pn_transport_tail_closed", 1, argv[0] ));
12236
+ }
12237
+ arg1 = (pn_transport_t *)(argp1);
12238
+ result = (bool)pn_transport_tail_closed(arg1);
12239
+ vresult = SWIG_From_bool((bool)(result));
12240
+ return vresult;
12241
+ fail:
12242
+ return Qnil;
12243
+ }
12244
+
12245
+
12129
12246
  SWIGINTERN VALUE
12130
12247
  _wrap_pn_transport_closed(int argc, VALUE *argv, VALUE self) {
12131
12248
  pn_transport_t *arg1 = (pn_transport_t *) 0 ;
@@ -12336,6 +12453,27 @@ fail:
12336
12453
  }
12337
12454
 
12338
12455
 
12456
+ SWIGINTERN VALUE
12457
+ _wrap_pn_collector_drain(int argc, VALUE *argv, VALUE self) {
12458
+ pn_collector_t *arg1 = (pn_collector_t *) 0 ;
12459
+ void *argp1 = 0 ;
12460
+ int res1 = 0 ;
12461
+
12462
+ if ((argc < 1) || (argc > 1)) {
12463
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
12464
+ }
12465
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_collector_t, 0 | 0 );
12466
+ if (!SWIG_IsOK(res1)) {
12467
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_collector_t *","pn_collector_drain", 1, argv[0] ));
12468
+ }
12469
+ arg1 = (pn_collector_t *)(argp1);
12470
+ pn_collector_drain(arg1);
12471
+ return Qnil;
12472
+ fail:
12473
+ return Qnil;
12474
+ }
12475
+
12476
+
12339
12477
  SWIGINTERN VALUE
12340
12478
  _wrap_pn_collector_put(int argc, VALUE *argv, VALUE self) {
12341
12479
  pn_collector_t *arg1 = (pn_collector_t *) 0 ;
@@ -12718,6 +12856,30 @@ fail:
12718
12856
  }
12719
12857
 
12720
12858
 
12859
+ SWIGINTERN VALUE
12860
+ _wrap_pn_event_condition(int argc, VALUE *argv, VALUE self) {
12861
+ pn_event_t *arg1 = (pn_event_t *) 0 ;
12862
+ void *argp1 = 0 ;
12863
+ int res1 = 0 ;
12864
+ struct pn_condition_t *result = 0 ;
12865
+ VALUE vresult = Qnil;
12866
+
12867
+ if ((argc < 1) || (argc > 1)) {
12868
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
12869
+ }
12870
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_event_t, 0 | 0 );
12871
+ if (!SWIG_IsOK(res1)) {
12872
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_event_t *","pn_event_condition", 1, argv[0] ));
12873
+ }
12874
+ arg1 = (pn_event_t *)(argp1);
12875
+ result = (struct pn_condition_t *)pn_event_condition(arg1);
12876
+ vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pn_condition_t, 0 | 0 );
12877
+ return vresult;
12878
+ fail:
12879
+ return Qnil;
12880
+ }
12881
+
12882
+
12721
12883
  SWIGINTERN VALUE
12722
12884
  _wrap_pn_event_batch_next(int argc, VALUE *argv, VALUE self) {
12723
12885
  pn_event_batch_t *arg1 = (pn_event_batch_t *) 0 ;
@@ -17466,6 +17628,41 @@ fail:
17466
17628
  }
17467
17629
 
17468
17630
 
17631
+ SWIGINTERN VALUE
17632
+ _wrap_pn_ssl_domain_set_ciphers(int argc, VALUE *argv, VALUE self) {
17633
+ pn_ssl_domain_t *arg1 = (pn_ssl_domain_t *) 0 ;
17634
+ char *arg2 = (char *) 0 ;
17635
+ void *argp1 = 0 ;
17636
+ int res1 = 0 ;
17637
+ int res2 ;
17638
+ char *buf2 = 0 ;
17639
+ int alloc2 = 0 ;
17640
+ int result;
17641
+ VALUE vresult = Qnil;
17642
+
17643
+ if ((argc < 2) || (argc > 2)) {
17644
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
17645
+ }
17646
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_ssl_domain_t, 0 | 0 );
17647
+ if (!SWIG_IsOK(res1)) {
17648
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_ssl_domain_t *","pn_ssl_domain_set_ciphers", 1, argv[0] ));
17649
+ }
17650
+ arg1 = (pn_ssl_domain_t *)(argp1);
17651
+ res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
17652
+ if (!SWIG_IsOK(res2)) {
17653
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","pn_ssl_domain_set_ciphers", 2, argv[1] ));
17654
+ }
17655
+ arg2 = (char *)(buf2);
17656
+ result = (int)pn_ssl_domain_set_ciphers(arg1,(char const *)arg2);
17657
+ vresult = SWIG_From_int((int)(result));
17658
+ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
17659
+ return vresult;
17660
+ fail:
17661
+ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
17662
+ return Qnil;
17663
+ }
17664
+
17665
+
17469
17666
  SWIGINTERN VALUE
17470
17667
  _wrap_pn_ssl_domain_allow_unsecured_client(int argc, VALUE *argv, VALUE self) {
17471
17668
  pn_ssl_domain_t *arg1 = (pn_ssl_domain_t *) 0 ;
@@ -20015,7 +20212,7 @@ _wrap_pn_data_restore(int argc, VALUE *argv, VALUE self) {
20015
20212
  SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pn_handle_t","pn_data_restore", 2, argv[1] ));
20016
20213
  }
20017
20214
  arg2 = (pn_handle_t)(val2);
20018
- result = (bool)pn_data_restore(arg1,arg2);
20215
+ result = (bool)pn_data_restore(arg1,(void const *)arg2);
20019
20216
  vresult = SWIG_From_bool((bool)(result));
20020
20217
  return vresult;
20021
20218
  fail:
@@ -22171,9 +22368,11 @@ static swig_type_info _swigt__p_pn_hash_t = {"_p_pn_hash_t", "struct pn_hash_t *
22171
22368
  static swig_type_info _swigt__p_pn_iterator_t = {"_p_pn_iterator_t", "pn_selectables_t *|struct pn_iterator_t *|pn_iterator_t *", 0, 0, (void*)0, 0};
22172
22369
  static swig_type_info _swigt__p_pn_link_t = {"_p_pn_link_t", "struct pn_link_t *|pn_link_t *", 0, 0, (void*)0, 0};
22173
22370
  static swig_type_info _swigt__p_pn_list_t = {"_p_pn_list_t", "struct pn_list_t *|pn_list_t *", 0, 0, (void*)0, 0};
22371
+ static swig_type_info _swigt__p_pn_listener_t = {"_p_pn_listener_t", "struct pn_listener_t *|pn_listener_t *", 0, 0, (void*)0, 0};
22174
22372
  static swig_type_info _swigt__p_pn_map_t = {"_p_pn_map_t", "struct pn_map_t *|pn_map_t *", 0, 0, (void*)0, 0};
22175
22373
  static swig_type_info _swigt__p_pn_message_t = {"_p_pn_message_t", "struct pn_message_t *|pn_message_t *", 0, 0, (void*)0, 0};
22176
22374
  static swig_type_info _swigt__p_pn_messenger_t = {"_p_pn_messenger_t", "struct pn_messenger_t *|pn_messenger_t *", 0, 0, (void*)0, 0};
22375
+ static swig_type_info _swigt__p_pn_proactor_t = {"_p_pn_proactor_t", "struct pn_proactor_t *|pn_proactor_t *", 0, 0, (void*)0, 0};
22177
22376
  static swig_type_info _swigt__p_pn_rcv_settle_mode_t = {"_p_pn_rcv_settle_mode_t", "enum pn_rcv_settle_mode_t *|pn_rcv_settle_mode_t *", 0, 0, (void*)0, 0};
22178
22377
  static swig_type_info _swigt__p_pn_reactor_t = {"_p_pn_reactor_t", "struct pn_reactor_t *|pn_reactor_t *", 0, 0, (void*)0, 0};
22179
22378
  static swig_type_info _swigt__p_pn_record_t = {"_p_pn_record_t", "struct pn_record_t *|pn_record_t *", 0, 0, (void*)0, 0};
@@ -22248,9 +22447,11 @@ static swig_type_info *swig_type_initial[] = {
22248
22447
  &_swigt__p_pn_iterator_t,
22249
22448
  &_swigt__p_pn_link_t,
22250
22449
  &_swigt__p_pn_list_t,
22450
+ &_swigt__p_pn_listener_t,
22251
22451
  &_swigt__p_pn_map_t,
22252
22452
  &_swigt__p_pn_message_t,
22253
22453
  &_swigt__p_pn_messenger_t,
22454
+ &_swigt__p_pn_proactor_t,
22254
22455
  &_swigt__p_pn_rcv_settle_mode_t,
22255
22456
  &_swigt__p_pn_reactor_t,
22256
22457
  &_swigt__p_pn_record_t,
@@ -22325,9 +22526,11 @@ static swig_cast_info _swigc__p_pn_hash_t[] = { {&_swigt__p_pn_hash_t, 0, 0, 0}
22325
22526
  static swig_cast_info _swigc__p_pn_iterator_t[] = { {&_swigt__p_pn_iterator_t, 0, 0, 0},{0, 0, 0, 0}};
22326
22527
  static swig_cast_info _swigc__p_pn_link_t[] = { {&_swigt__p_pn_link_t, 0, 0, 0},{0, 0, 0, 0}};
22327
22528
  static swig_cast_info _swigc__p_pn_list_t[] = { {&_swigt__p_pn_list_t, 0, 0, 0},{0, 0, 0, 0}};
22529
+ static swig_cast_info _swigc__p_pn_listener_t[] = { {&_swigt__p_pn_listener_t, 0, 0, 0},{0, 0, 0, 0}};
22328
22530
  static swig_cast_info _swigc__p_pn_map_t[] = { {&_swigt__p_pn_map_t, 0, 0, 0},{0, 0, 0, 0}};
22329
22531
  static swig_cast_info _swigc__p_pn_message_t[] = { {&_swigt__p_pn_message_t, 0, 0, 0},{0, 0, 0, 0}};
22330
22532
  static swig_cast_info _swigc__p_pn_messenger_t[] = { {&_swigt__p_pn_messenger_t, 0, 0, 0},{0, 0, 0, 0}};
22533
+ static swig_cast_info _swigc__p_pn_proactor_t[] = { {&_swigt__p_pn_proactor_t, 0, 0, 0},{0, 0, 0, 0}};
22331
22534
  static swig_cast_info _swigc__p_pn_rcv_settle_mode_t[] = { {&_swigt__p_pn_rcv_settle_mode_t, 0, 0, 0},{0, 0, 0, 0}};
22332
22535
  static swig_cast_info _swigc__p_pn_reactor_t[] = { {&_swigt__p_pn_reactor_t, 0, 0, 0},{0, 0, 0, 0}};
22333
22536
  static swig_cast_info _swigc__p_pn_record_t[] = { {&_swigt__p_pn_record_t, 0, 0, 0},{0, 0, 0, 0}};
@@ -22402,9 +22605,11 @@ static swig_cast_info *swig_cast_initial[] = {
22402
22605
  _swigc__p_pn_iterator_t,
22403
22606
  _swigc__p_pn_link_t,
22404
22607
  _swigc__p_pn_list_t,
22608
+ _swigc__p_pn_listener_t,
22405
22609
  _swigc__p_pn_map_t,
22406
22610
  _swigc__p_pn_message_t,
22407
22611
  _swigc__p_pn_messenger_t,
22612
+ _swigc__p_pn_proactor_t,
22408
22613
  _swigc__p_pn_rcv_settle_mode_t,
22409
22614
  _swigc__p_pn_reactor_t,
22410
22615
  _swigc__p_pn_record_t,
@@ -22740,7 +22945,7 @@ SWIGEXPORT void Init_cproton(void) {
22740
22945
  rb_define_module_function(mCproton, "pn_rbhandler", _wrap_pn_rbhandler, -1);
22741
22946
  rb_define_const(mCproton, "PROTON_IMPORT_EXPORT_H", SWIG_From_int((int)(1)));
22742
22947
  rb_define_const(mCproton, "PN_VERSION_MAJOR", SWIG_From_int((int)(0)));
22743
- rb_define_const(mCproton, "PN_VERSION_MINOR", SWIG_From_int((int)(17)));
22948
+ rb_define_const(mCproton, "PN_VERSION_MINOR", SWIG_From_int((int)(18)));
22744
22949
  rb_define_const(mCproton, "PN_VERSION_POINT", SWIG_From_int((int)(0)));
22745
22950
  rb_define_const(mCproton, "PROTON_TYPES_H", SWIG_From_int((int)(1)));
22746
22951
  rb_define_const(mCproton, "PN_MILLIS_MAX", SWIG_From_unsigned_SS_int((unsigned int)((~0U))));
@@ -22856,6 +23061,7 @@ SWIGEXPORT void Init_cproton(void) {
22856
23061
  rb_define_const(mCproton, "PN_INTR", SWIG_From_int((int)((-8))));
22857
23062
  rb_define_const(mCproton, "PN_INPROGRESS", SWIG_From_int((int)((-9))));
22858
23063
  rb_define_const(mCproton, "PN_OUT_OF_MEMORY", SWIG_From_int((int)((-10))));
23064
+ rb_define_const(mCproton, "PN_ABORTED", SWIG_From_int((int)((-11))));
22859
23065
  rb_define_module_function(mCproton, "pn_code", _wrap_pn_code, -1);
22860
23066
  rb_define_module_function(mCproton, "pn_error", _wrap_pn_error, -1);
22861
23067
  rb_define_module_function(mCproton, "pn_error_free", _wrap_pn_error_free, -1);
@@ -23040,12 +23246,14 @@ SWIGEXPORT void Init_cproton(void) {
23040
23246
  rb_define_module_function(mCproton, "pn_delivery_settled", _wrap_pn_delivery_settled, -1);
23041
23247
  rb_define_module_function(mCproton, "pn_delivery_pending", _wrap_pn_delivery_pending, -1);
23042
23248
  rb_define_module_function(mCproton, "pn_delivery_partial", _wrap_pn_delivery_partial, -1);
23249
+ rb_define_module_function(mCproton, "pn_delivery_aborted", _wrap_pn_delivery_aborted, -1);
23043
23250
  rb_define_module_function(mCproton, "pn_delivery_writable", _wrap_pn_delivery_writable, -1);
23044
23251
  rb_define_module_function(mCproton, "pn_delivery_readable", _wrap_pn_delivery_readable, -1);
23045
23252
  rb_define_module_function(mCproton, "pn_delivery_updated", _wrap_pn_delivery_updated, -1);
23046
23253
  rb_define_module_function(mCproton, "pn_delivery_update", _wrap_pn_delivery_update, -1);
23047
23254
  rb_define_module_function(mCproton, "pn_delivery_clear", _wrap_pn_delivery_clear, -1);
23048
23255
  rb_define_module_function(mCproton, "pn_delivery_current", _wrap_pn_delivery_current, -1);
23256
+ rb_define_module_function(mCproton, "pn_delivery_abort", _wrap_pn_delivery_abort, -1);
23049
23257
  rb_define_module_function(mCproton, "pn_delivery_settle", _wrap_pn_delivery_settle, -1);
23050
23258
  rb_define_module_function(mCproton, "pn_delivery_dump", _wrap_pn_delivery_dump, -1);
23051
23259
  rb_define_module_function(mCproton, "pn_delivery_buffered", _wrap_pn_delivery_buffered, -1);
@@ -23058,6 +23266,7 @@ SWIGEXPORT void Init_cproton(void) {
23058
23266
  rb_define_const(mCproton, "PN_RELEASED", SWIG_From_int((int)((0x0000000000000026))));
23059
23267
  rb_define_const(mCproton, "PN_MODIFIED", SWIG_From_int((int)((0x0000000000000027))));
23060
23268
  rb_define_module_function(mCproton, "pn_disposition_type", _wrap_pn_disposition_type, -1);
23269
+ rb_define_module_function(mCproton, "pn_disposition_type_name", _wrap_pn_disposition_type_name, -1);
23061
23270
  rb_define_module_function(mCproton, "pn_disposition_condition", _wrap_pn_disposition_condition, -1);
23062
23271
  rb_define_module_function(mCproton, "pn_disposition_data", _wrap_pn_disposition_data, -1);
23063
23272
  rb_define_module_function(mCproton, "pn_disposition_get_section_number", _wrap_pn_disposition_get_section_number, -1);
@@ -23114,6 +23323,8 @@ SWIGEXPORT void Init_cproton(void) {
23114
23323
  rb_define_module_function(mCproton, "pn_transport_pop", _wrap_pn_transport_pop, -1);
23115
23324
  rb_define_module_function(mCproton, "pn_transport_close_head", _wrap_pn_transport_close_head, -1);
23116
23325
  rb_define_module_function(mCproton, "pn_transport_quiesced", _wrap_pn_transport_quiesced, -1);
23326
+ rb_define_module_function(mCproton, "pn_transport_head_closed", _wrap_pn_transport_head_closed, -1);
23327
+ rb_define_module_function(mCproton, "pn_transport_tail_closed", _wrap_pn_transport_tail_closed, -1);
23117
23328
  rb_define_module_function(mCproton, "pn_transport_closed", _wrap_pn_transport_closed, -1);
23118
23329
  rb_define_module_function(mCproton, "pn_transport_tick", _wrap_pn_transport_tick, -1);
23119
23330
  rb_define_module_function(mCproton, "pn_transport_get_frames_output", _wrap_pn_transport_get_frames_output, -1);
@@ -23153,9 +23364,7 @@ SWIGEXPORT void Init_cproton(void) {
23153
23364
  rb_define_const(mCproton, "PN_TRANSPORT_AUTHENTICATED", SWIG_From_int((int)(PN_TRANSPORT_AUTHENTICATED)));
23154
23365
  rb_define_const(mCproton, "PN_TRANSPORT_ERROR", SWIG_From_int((int)(PN_TRANSPORT_ERROR)));
23155
23366
  rb_define_const(mCproton, "PN_TRANSPORT_HEAD_CLOSED", SWIG_From_int((int)(PN_TRANSPORT_HEAD_CLOSED)));
23156
- rb_define_const(mCproton, "PN_TRANSPORT_WRITE_CLOSED", SWIG_From_int((int)(PN_TRANSPORT_WRITE_CLOSED)));
23157
23367
  rb_define_const(mCproton, "PN_TRANSPORT_TAIL_CLOSED", SWIG_From_int((int)(PN_TRANSPORT_TAIL_CLOSED)));
23158
- rb_define_const(mCproton, "PN_TRANSPORT_READ_CLOSED", SWIG_From_int((int)(PN_TRANSPORT_READ_CLOSED)));
23159
23368
  rb_define_const(mCproton, "PN_TRANSPORT_CLOSED", SWIG_From_int((int)(PN_TRANSPORT_CLOSED)));
23160
23369
  rb_define_const(mCproton, "PN_SELECTABLE_INIT", SWIG_From_int((int)(PN_SELECTABLE_INIT)));
23161
23370
  rb_define_const(mCproton, "PN_SELECTABLE_UPDATED", SWIG_From_int((int)(PN_SELECTABLE_UPDATED)));
@@ -23170,10 +23379,12 @@ SWIGEXPORT void Init_cproton(void) {
23170
23379
  rb_define_const(mCproton, "PN_PROACTOR_INTERRUPT", SWIG_From_int((int)(PN_PROACTOR_INTERRUPT)));
23171
23380
  rb_define_const(mCproton, "PN_PROACTOR_TIMEOUT", SWIG_From_int((int)(PN_PROACTOR_TIMEOUT)));
23172
23381
  rb_define_const(mCproton, "PN_PROACTOR_INACTIVE", SWIG_From_int((int)(PN_PROACTOR_INACTIVE)));
23382
+ rb_define_const(mCproton, "PN_LISTENER_OPEN", SWIG_From_int((int)(PN_LISTENER_OPEN)));
23173
23383
  rb_define_module_function(mCproton, "pn_event_type_name", _wrap_pn_event_type_name, -1);
23174
23384
  rb_define_module_function(mCproton, "pn_collector", _wrap_pn_collector, -1);
23175
23385
  rb_define_module_function(mCproton, "pn_collector_free", _wrap_pn_collector_free, -1);
23176
23386
  rb_define_module_function(mCproton, "pn_collector_release", _wrap_pn_collector_release, -1);
23387
+ rb_define_module_function(mCproton, "pn_collector_drain", _wrap_pn_collector_drain, -1);
23177
23388
  rb_define_module_function(mCproton, "pn_collector_put", _wrap_pn_collector_put, -1);
23178
23389
  rb_define_module_function(mCproton, "pn_collector_peek", _wrap_pn_collector_peek, -1);
23179
23390
  rb_define_module_function(mCproton, "pn_collector_pop", _wrap_pn_collector_pop, -1);
@@ -23189,6 +23400,7 @@ SWIGEXPORT void Init_cproton(void) {
23189
23400
  rb_define_module_function(mCproton, "pn_event_delivery", _wrap_pn_event_delivery, -1);
23190
23401
  rb_define_module_function(mCproton, "pn_event_transport", _wrap_pn_event_transport, -1);
23191
23402
  rb_define_module_function(mCproton, "pn_event_attachments", _wrap_pn_event_attachments, -1);
23403
+ rb_define_module_function(mCproton, "pn_event_condition", _wrap_pn_event_condition, -1);
23192
23404
  rb_define_module_function(mCproton, "pn_event_batch_next", _wrap_pn_event_batch_next, -1);
23193
23405
  rb_define_module_function(mCproton, "pn_event_copy", _wrap_pn_event_copy, -1);
23194
23406
  rb_define_const(mCproton, "PROTON_MESSAGE_H", SWIG_From_int((int)(1)));
@@ -23381,6 +23593,7 @@ SWIGEXPORT void Init_cproton(void) {
23381
23593
  rb_define_const(mCproton, "PN_SSL_ANONYMOUS_PEER", SWIG_From_int((int)(PN_SSL_ANONYMOUS_PEER)));
23382
23594
  rb_define_const(mCproton, "PN_SSL_VERIFY_PEER_NAME", SWIG_From_int((int)(PN_SSL_VERIFY_PEER_NAME)));
23383
23595
  rb_define_module_function(mCproton, "pn_ssl_domain_set_peer_authentication", _wrap_pn_ssl_domain_set_peer_authentication, -1);
23596
+ rb_define_module_function(mCproton, "pn_ssl_domain_set_ciphers", _wrap_pn_ssl_domain_set_ciphers, -1);
23384
23597
  rb_define_module_function(mCproton, "pn_ssl_domain_allow_unsecured_client", _wrap_pn_ssl_domain_allow_unsecured_client, -1);
23385
23598
  rb_define_module_function(mCproton, "pn_ssl", _wrap_pn_ssl, -1);
23386
23599
  rb_define_module_function(mCproton, "pn_ssl_init", _wrap_pn_ssl_init, -1);