qpid_proton 0.30.0 → 0.31.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/ext/cproton/cproton.c +46 -101
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 192c68710b87f37010755652a0797f1b2f73f9d739877008899a3f074ed90af3
4
- data.tar.gz: 8d1c9756c80fe4d7019c17c816632703ff4c7dcdabc64e56c2a411654b69a95d
3
+ metadata.gz: 65219c22cf1edd8d98f4fbd6ee7ac96d1e3b384351ebb6a2ccabe654aa39f51c
4
+ data.tar.gz: 9ca0d372dacfa9ec1e2831459fdeff03fa9f96c8529cbe28e949a0f9584b3c4d
5
5
  SHA512:
6
- metadata.gz: 7e0aabf231d3da821fe5a6d3a74af1669d61b1398f5633e0c5097df073d38769b3208158ef051b4fd64b6443abb17a43244a39be47ac963ed75ec005a7cbcd48
7
- data.tar.gz: '0879f82fbd6ac028ffb73cb1de53c877d151e5114bb9a96fa1e40f5b6405116b6286d1754429df45401697fb565d0cda747ff954878d4b13d4e05fd260b99bd5'
6
+ metadata.gz: 5a2494b8755a72dd3f1747cfdf1a26b4089818fa9802585066d81725a01fb246e6e729b1c3aaba34ab6960a808466da1aececcc0e170c678c7eebfc8a76eea3e
7
+ data.tar.gz: 50951435f6eeab490074df4eb59c1aa0d7d979cd46c5aee3d267f0a42db991f0aba10fc260843ce501d11f21176235179021e66e178907ad7efcd3359ceda889
@@ -1826,52 +1826,51 @@ int SWIG_Ruby_arity( VALUE proc, int minimal )
1826
1826
  #define SWIGTYPE_p_pn_distribution_mode_t swig_types[23]
1827
1827
  #define SWIGTYPE_p_pn_durability_t swig_types[24]
1828
1828
  #define SWIGTYPE_p_pn_error_t swig_types[25]
1829
- #define SWIGTYPE_p_pn_event_batch_t swig_types[26]
1830
- #define SWIGTYPE_p_pn_event_t swig_types[27]
1831
- #define SWIGTYPE_p_pn_event_type_t swig_types[28]
1832
- #define SWIGTYPE_p_pn_expiry_policy_t swig_types[29]
1833
- #define SWIGTYPE_p_pn_handler_t swig_types[30]
1834
- #define SWIGTYPE_p_pn_hash_t swig_types[31]
1835
- #define SWIGTYPE_p_pn_iterator_t swig_types[32]
1836
- #define SWIGTYPE_p_pn_link_t swig_types[33]
1837
- #define SWIGTYPE_p_pn_list_t swig_types[34]
1838
- #define SWIGTYPE_p_pn_listener_t swig_types[35]
1839
- #define SWIGTYPE_p_pn_logger_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_proactor_t swig_types[40]
1844
- #define SWIGTYPE_p_pn_rcv_settle_mode_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_session_t swig_types[46]
1850
- #define SWIGTYPE_p_pn_snd_settle_mode_t swig_types[47]
1851
- #define SWIGTYPE_p_pn_ssl_cert_subject_subfield swig_types[48]
1852
- #define SWIGTYPE_p_pn_ssl_domain_t swig_types[49]
1853
- #define SWIGTYPE_p_pn_ssl_hash_alg swig_types[50]
1854
- #define SWIGTYPE_p_pn_ssl_mode_t swig_types[51]
1855
- #define SWIGTYPE_p_pn_ssl_resume_status_t swig_types[52]
1856
- #define SWIGTYPE_p_pn_ssl_t swig_types[53]
1857
- #define SWIGTYPE_p_pn_ssl_verify_mode_t swig_types[54]
1858
- #define SWIGTYPE_p_pn_string_t swig_types[55]
1859
- #define SWIGTYPE_p_pn_terminus_t swig_types[56]
1860
- #define SWIGTYPE_p_pn_terminus_type_t swig_types[57]
1861
- #define SWIGTYPE_p_pn_transport_t swig_types[58]
1862
- #define SWIGTYPE_p_pn_type_t swig_types[59]
1863
- #define SWIGTYPE_p_pn_url_t swig_types[60]
1864
- #define SWIGTYPE_p_pn_uuid_t swig_types[61]
1865
- #define SWIGTYPE_p_short swig_types[62]
1866
- #define SWIGTYPE_p_signed_char swig_types[63]
1867
- #define SWIGTYPE_p_unsigned_char swig_types[64]
1868
- #define SWIGTYPE_p_unsigned_int swig_types[65]
1869
- #define SWIGTYPE_p_unsigned_long swig_types[66]
1870
- #define SWIGTYPE_p_unsigned_long_long swig_types[67]
1871
- #define SWIGTYPE_p_unsigned_short swig_types[68]
1872
- #define SWIGTYPE_p_void swig_types[69]
1873
- static swig_type_info *swig_types[71];
1874
- static swig_module_info swig_module = {swig_types, 70, 0, 0, 0, 0};
1829
+ #define SWIGTYPE_p_pn_event_t swig_types[26]
1830
+ #define SWIGTYPE_p_pn_event_type_t swig_types[27]
1831
+ #define SWIGTYPE_p_pn_expiry_policy_t swig_types[28]
1832
+ #define SWIGTYPE_p_pn_handler_t swig_types[29]
1833
+ #define SWIGTYPE_p_pn_hash_t swig_types[30]
1834
+ #define SWIGTYPE_p_pn_iterator_t swig_types[31]
1835
+ #define SWIGTYPE_p_pn_link_t swig_types[32]
1836
+ #define SWIGTYPE_p_pn_list_t swig_types[33]
1837
+ #define SWIGTYPE_p_pn_listener_t swig_types[34]
1838
+ #define SWIGTYPE_p_pn_logger_t swig_types[35]
1839
+ #define SWIGTYPE_p_pn_map_t swig_types[36]
1840
+ #define SWIGTYPE_p_pn_message_t swig_types[37]
1841
+ #define SWIGTYPE_p_pn_messenger_t swig_types[38]
1842
+ #define SWIGTYPE_p_pn_proactor_t swig_types[39]
1843
+ #define SWIGTYPE_p_pn_rcv_settle_mode_t swig_types[40]
1844
+ #define SWIGTYPE_p_pn_record_t swig_types[41]
1845
+ #define SWIGTYPE_p_pn_rwbytes_t swig_types[42]
1846
+ #define SWIGTYPE_p_pn_sasl_outcome_t swig_types[43]
1847
+ #define SWIGTYPE_p_pn_sasl_t swig_types[44]
1848
+ #define SWIGTYPE_p_pn_session_t swig_types[45]
1849
+ #define SWIGTYPE_p_pn_snd_settle_mode_t swig_types[46]
1850
+ #define SWIGTYPE_p_pn_ssl_cert_subject_subfield swig_types[47]
1851
+ #define SWIGTYPE_p_pn_ssl_domain_t swig_types[48]
1852
+ #define SWIGTYPE_p_pn_ssl_hash_alg swig_types[49]
1853
+ #define SWIGTYPE_p_pn_ssl_mode_t swig_types[50]
1854
+ #define SWIGTYPE_p_pn_ssl_resume_status_t swig_types[51]
1855
+ #define SWIGTYPE_p_pn_ssl_t swig_types[52]
1856
+ #define SWIGTYPE_p_pn_ssl_verify_mode_t swig_types[53]
1857
+ #define SWIGTYPE_p_pn_string_t swig_types[54]
1858
+ #define SWIGTYPE_p_pn_terminus_t swig_types[55]
1859
+ #define SWIGTYPE_p_pn_terminus_type_t swig_types[56]
1860
+ #define SWIGTYPE_p_pn_transport_t swig_types[57]
1861
+ #define SWIGTYPE_p_pn_type_t swig_types[58]
1862
+ #define SWIGTYPE_p_pn_url_t swig_types[59]
1863
+ #define SWIGTYPE_p_pn_uuid_t swig_types[60]
1864
+ #define SWIGTYPE_p_short swig_types[61]
1865
+ #define SWIGTYPE_p_signed_char swig_types[62]
1866
+ #define SWIGTYPE_p_unsigned_char swig_types[63]
1867
+ #define SWIGTYPE_p_unsigned_int swig_types[64]
1868
+ #define SWIGTYPE_p_unsigned_long swig_types[65]
1869
+ #define SWIGTYPE_p_unsigned_long_long swig_types[66]
1870
+ #define SWIGTYPE_p_unsigned_short swig_types[67]
1871
+ #define SWIGTYPE_p_void swig_types[68]
1872
+ static swig_type_info *swig_types[70];
1873
+ static swig_module_info swig_module = {swig_types, 69, 0, 0, 0, 0};
1875
1874
  #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1876
1875
  #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1877
1876
 
@@ -13113,30 +13112,6 @@ fail:
13113
13112
  }
13114
13113
 
13115
13114
 
13116
- SWIGINTERN VALUE
13117
- _wrap_pn_event_batch_next(int argc, VALUE *argv, VALUE self) {
13118
- pn_event_batch_t *arg1 = (pn_event_batch_t *) 0 ;
13119
- void *argp1 = 0 ;
13120
- int res1 = 0 ;
13121
- pn_event_t *result = 0 ;
13122
- VALUE vresult = Qnil;
13123
-
13124
- if ((argc < 1) || (argc > 1)) {
13125
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
13126
- }
13127
- res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_event_batch_t, 0 | 0 );
13128
- if (!SWIG_IsOK(res1)) {
13129
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_event_batch_t *","pn_event_batch_next", 1, argv[0] ));
13130
- }
13131
- arg1 = (pn_event_batch_t *)(argp1);
13132
- result = (pn_event_t *)pn_event_batch_next(arg1);
13133
- vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pn_event_t, 0 | 0 );
13134
- return vresult;
13135
- fail:
13136
- return Qnil;
13137
- }
13138
-
13139
-
13140
13115
  SWIGINTERN VALUE
13141
13116
  _wrap_pn_event_copy(int argc, VALUE *argv, VALUE self) {
13142
13117
  pn_event_t *arg1 = (pn_event_t *) 0 ;
@@ -18630,30 +18605,6 @@ fail:
18630
18605
  }
18631
18606
 
18632
18607
 
18633
- SWIGINTERN VALUE
18634
- _wrap_pn_event_batch_connection_driver(int argc, VALUE *argv, VALUE self) {
18635
- pn_event_batch_t *arg1 = (pn_event_batch_t *) 0 ;
18636
- void *argp1 = 0 ;
18637
- int res1 = 0 ;
18638
- pn_connection_driver_t *result = 0 ;
18639
- VALUE vresult = Qnil;
18640
-
18641
- if ((argc < 1) || (argc > 1)) {
18642
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
18643
- }
18644
- res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_event_batch_t, 0 | 0 );
18645
- if (!SWIG_IsOK(res1)) {
18646
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_event_batch_t *","pn_event_batch_connection_driver", 1, argv[0] ));
18647
- }
18648
- arg1 = (pn_event_batch_t *)(argp1);
18649
- result = (pn_connection_driver_t *)pn_event_batch_connection_driver(arg1);
18650
- vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pn_connection_driver_t, 0 | 0 );
18651
- return vresult;
18652
- fail:
18653
- return Qnil;
18654
- }
18655
-
18656
-
18657
18608
  SWIGINTERN VALUE
18658
18609
  _wrap_pn_connection_driver_log(int argc, VALUE *argv, VALUE self) {
18659
18610
  pn_connection_driver_t *arg1 = (pn_connection_driver_t *) 0 ;
@@ -19184,7 +19135,6 @@ static swig_type_info _swigt__p_pn_disposition_t = {"_p_pn_disposition_t", "stru
19184
19135
  static swig_type_info _swigt__p_pn_distribution_mode_t = {"_p_pn_distribution_mode_t", "enum pn_distribution_mode_t *|pn_distribution_mode_t *", 0, 0, (void*)0, 0};
19185
19136
  static swig_type_info _swigt__p_pn_durability_t = {"_p_pn_durability_t", "enum pn_durability_t *|pn_durability_t *", 0, 0, (void*)0, 0};
19186
19137
  static swig_type_info _swigt__p_pn_error_t = {"_p_pn_error_t", "struct pn_error_t *|pn_error_t *", 0, 0, (void*)0, 0};
19187
- static swig_type_info _swigt__p_pn_event_batch_t = {"_p_pn_event_batch_t", "struct pn_event_batch_t *|pn_event_batch_t *", 0, 0, (void*)0, 0};
19188
19138
  static swig_type_info _swigt__p_pn_event_t = {"_p_pn_event_t", "struct pn_event_t *|pn_event_t *", 0, 0, (void*)0, 0};
19189
19139
  static swig_type_info _swigt__p_pn_event_type_t = {"_p_pn_event_type_t", "enum pn_event_type_t *|pn_event_type_t *", 0, 0, (void*)0, 0};
19190
19140
  static swig_type_info _swigt__p_pn_expiry_policy_t = {"_p_pn_expiry_policy_t", "enum pn_expiry_policy_t *|pn_expiry_policy_t *", 0, 0, (void*)0, 0};
@@ -19256,7 +19206,6 @@ static swig_type_info *swig_type_initial[] = {
19256
19206
  &_swigt__p_pn_distribution_mode_t,
19257
19207
  &_swigt__p_pn_durability_t,
19258
19208
  &_swigt__p_pn_error_t,
19259
- &_swigt__p_pn_event_batch_t,
19260
19209
  &_swigt__p_pn_event_t,
19261
19210
  &_swigt__p_pn_event_type_t,
19262
19211
  &_swigt__p_pn_expiry_policy_t,
@@ -19328,7 +19277,6 @@ static swig_cast_info _swigc__p_pn_disposition_t[] = { {&_swigt__p_pn_dispositi
19328
19277
  static swig_cast_info _swigc__p_pn_distribution_mode_t[] = { {&_swigt__p_pn_distribution_mode_t, 0, 0, 0},{0, 0, 0, 0}};
19329
19278
  static swig_cast_info _swigc__p_pn_durability_t[] = { {&_swigt__p_pn_durability_t, 0, 0, 0},{0, 0, 0, 0}};
19330
19279
  static swig_cast_info _swigc__p_pn_error_t[] = { {&_swigt__p_pn_error_t, 0, 0, 0},{0, 0, 0, 0}};
19331
- static swig_cast_info _swigc__p_pn_event_batch_t[] = { {&_swigt__p_pn_event_batch_t, 0, 0, 0},{0, 0, 0, 0}};
19332
19280
  static swig_cast_info _swigc__p_pn_event_t[] = { {&_swigt__p_pn_event_t, 0, 0, 0},{0, 0, 0, 0}};
19333
19281
  static swig_cast_info _swigc__p_pn_event_type_t[] = { {&_swigt__p_pn_event_type_t, 0, 0, 0},{0, 0, 0, 0}};
19334
19282
  static swig_cast_info _swigc__p_pn_expiry_policy_t[] = { {&_swigt__p_pn_expiry_policy_t, 0, 0, 0},{0, 0, 0, 0}};
@@ -19400,7 +19348,6 @@ static swig_cast_info *swig_cast_initial[] = {
19400
19348
  _swigc__p_pn_distribution_mode_t,
19401
19349
  _swigc__p_pn_durability_t,
19402
19350
  _swigc__p_pn_error_t,
19403
- _swigc__p_pn_event_batch_t,
19404
19351
  _swigc__p_pn_event_t,
19405
19352
  _swigc__p_pn_event_type_t,
19406
19353
  _swigc__p_pn_expiry_policy_t,
@@ -19750,7 +19697,7 @@ SWIGEXPORT void Init_cproton(void) {
19750
19697
  rb_define_module_function(mCproton, "pni_connection_driver", _wrap_pni_connection_driver, -1);
19751
19698
  rb_define_const(mCproton, "PROTON_IMPORT_EXPORT_H", SWIG_From_int((int)(1)));
19752
19699
  rb_define_const(mCproton, "PN_VERSION_MAJOR", SWIG_From_int((int)(0)));
19753
- rb_define_const(mCproton, "PN_VERSION_MINOR", SWIG_From_int((int)(30)));
19700
+ rb_define_const(mCproton, "PN_VERSION_MINOR", SWIG_From_int((int)(31)));
19754
19701
  rb_define_const(mCproton, "PN_VERSION_POINT", SWIG_From_int((int)(0)));
19755
19702
  rb_define_const(mCproton, "PROTON_TYPES_H", SWIG_From_int((int)(1)));
19756
19703
  rb_define_const(mCproton, "PN_MILLIS_MAX", SWIG_From_unsigned_SS_int((unsigned int)((~0U))));
@@ -20208,7 +20155,6 @@ SWIGEXPORT void Init_cproton(void) {
20208
20155
  rb_define_module_function(mCproton, "pn_event_transport", _wrap_pn_event_transport, -1);
20209
20156
  rb_define_module_function(mCproton, "pn_event_attachments", _wrap_pn_event_attachments, -1);
20210
20157
  rb_define_module_function(mCproton, "pn_event_condition", _wrap_pn_event_condition, -1);
20211
- rb_define_module_function(mCproton, "pn_event_batch_next", _wrap_pn_event_batch_next, -1);
20212
20158
  rb_define_module_function(mCproton, "pn_event_copy", _wrap_pn_event_copy, -1);
20213
20159
  rb_define_const(mCproton, "PROTON_MESSAGE_H", SWIG_From_int((int)(1)));
20214
20160
  rb_define_const(mCproton, "PN_DEFAULT_PRIORITY", SWIG_From_int((int)((4))));
@@ -20452,7 +20398,6 @@ SWIGEXPORT void Init_cproton(void) {
20452
20398
  rb_define_module_function(mCproton, "pn_connection_driver_has_event", _wrap_pn_connection_driver_has_event, -1);
20453
20399
  rb_define_module_function(mCproton, "pn_connection_driver_finished", _wrap_pn_connection_driver_finished, -1);
20454
20400
  rb_define_module_function(mCproton, "pn_connection_driver_errorf", _wrap_pn_connection_driver_errorf, -1);
20455
- rb_define_module_function(mCproton, "pn_event_batch_connection_driver", _wrap_pn_event_batch_connection_driver, -1);
20456
20401
  rb_define_module_function(mCproton, "pn_connection_driver_log", _wrap_pn_connection_driver_log, -1);
20457
20402
  rb_define_module_function(mCproton, "pn_connection_driver_ptr", _wrap_pn_connection_driver_ptr, -1);
20458
20403
  rb_define_const(mCproton, "PROTON_CID_H", SWIG_From_int((int)(1)));
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qpid_proton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.0
4
+ version: 0.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darryl L. Pierce
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-12-19 00:00:00.000000000 Z
12
+ date: 2020-05-14 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: |
15
15
  Proton is a high performance, lightweight messaging library. It can be used in