qpid_proton 0.28.0 → 0.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/cproton/cproton.c +290 -156
- data/lib/handler/messaging_adapter.rb +4 -2
- data/tests/collect_coverage.rb +32 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ac8b96488f863160e534736c193e468534c965ded7eb04085cef605efea58e6
|
4
|
+
data.tar.gz: 7e0cbc90e431c318f9bceb6d4052c2f7db3da3b5bf929346ab5d12f50161f1ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08e63bc86504b15270cd9286eb74d6990629533ce7e2b3a63285f58da62dde4ddf18f1488f86cdb2a4f2999f2b73161ca9736f3df679b5d992e7ad4878cdc47d'
|
7
|
+
data.tar.gz: d95b09e8a5eef4e2eb2dd44979f622635bae45fb3110d37d8e8d62d605fa74460c78e5bb4c8256ddfe7242fa0ffc4643b2a899c3a7fce44cdf30c026bb4617b8
|
data/ext/cproton/cproton.c
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/* ----------------------------------------------------------------------------
|
2
2
|
* This file was automatically generated by SWIG (http://www.swig.org).
|
3
|
-
* Version
|
3
|
+
* Version 4.0.1
|
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
|
@@ -307,6 +307,7 @@
|
|
307
307
|
/* Flags for pointer conversions */
|
308
308
|
#define SWIG_POINTER_DISOWN 0x1
|
309
309
|
#define SWIG_CAST_NEW_MEMORY 0x2
|
310
|
+
#define SWIG_POINTER_NO_NULL 0x4
|
310
311
|
|
311
312
|
/* Flags for new pointer objects */
|
312
313
|
#define SWIG_POINTER_OWN 0x1
|
@@ -945,6 +946,9 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
|
|
945
946
|
#ifndef RSTRUCT_PTR
|
946
947
|
# define RSTRUCT_PTR(x) RSTRUCT(x)->ptr
|
947
948
|
#endif
|
949
|
+
#ifndef RTYPEDDATA_P
|
950
|
+
# define RTYPEDDATA_P(x) (TYPE(x) != T_DATA)
|
951
|
+
#endif
|
948
952
|
|
949
953
|
|
950
954
|
|
@@ -961,26 +965,18 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
|
|
961
965
|
* can be passed as an argument to API functions like Data_Wrap_Struct()
|
962
966
|
* and Data_Make_Struct().
|
963
967
|
*/
|
964
|
-
|
965
|
-
#
|
966
|
-
#
|
967
|
-
#
|
968
|
-
#
|
969
|
-
#
|
970
|
-
# else
|
971
|
-
# ifndef ANYARGS /* These definitions should work for Ruby 1.6 */
|
972
|
-
# define PROTECTFUNC(f) ((VALUE (*)()) f)
|
973
|
-
# define VALUEFUNC(f) ((VALUE (*)()) f)
|
974
|
-
# define VOIDFUNC(f) ((RUBY_DATA_FUNC) f)
|
975
|
-
# else /* These definitions should work for Ruby 1.7+ */
|
976
|
-
# define PROTECTFUNC(f) ((VALUE (*)(VALUE)) f)
|
977
|
-
# define VALUEFUNC(f) ((VALUE (*)(ANYARGS)) f)
|
978
|
-
# define VOIDFUNC(f) ((RUBY_DATA_FUNC) f)
|
979
|
-
# endif
|
980
|
-
# endif
|
968
|
+
#if defined(__cplusplus) && !defined(RB_METHOD_DEFINITION_DECL)
|
969
|
+
# define PROTECTFUNC(f) ((VALUE (*)(VALUE)) f)
|
970
|
+
# define VALUEFUNC(f) ((VALUE (*)(ANYARGS)) f)
|
971
|
+
# define VOIDFUNC(f) ((RUBY_DATA_FUNC) f)
|
972
|
+
# define VOID_ANYARGS_FUNC(f) ((void (*)(ANYARGS))(f))
|
973
|
+
# define INT_ANYARGS_FUNC(f) ((int (*)(ANYARGS))(f))
|
981
974
|
#else
|
975
|
+
# define PROTECTFUNC(f) (f)
|
982
976
|
# define VALUEFUNC(f) (f)
|
983
977
|
# define VOIDFUNC(f) (f)
|
978
|
+
# define VOID_ANYARGS_FUNC(f) (f)
|
979
|
+
# define INT_ANYARGS_FUNC(f) (f)
|
984
980
|
#endif
|
985
981
|
|
986
982
|
/* Don't use for expressions have side effect */
|
@@ -1168,7 +1164,7 @@ void Ruby_Format_OverloadedError(
|
|
1168
1164
|
/* -----------------------------------------------------------------------------
|
1169
1165
|
* rubytracking.swg
|
1170
1166
|
*
|
1171
|
-
* This file contains support for tracking mappings from
|
1167
|
+
* This file contains support for tracking mappings from
|
1172
1168
|
* Ruby objects to C++ objects. This functionality is needed
|
1173
1169
|
* to implement mark functions for Ruby's mark and sweep
|
1174
1170
|
* garbage collector.
|
@@ -1195,11 +1191,11 @@ extern "C" {
|
|
1195
1191
|
#endif
|
1196
1192
|
|
1197
1193
|
/* Global hash table to store Trackings from C/C++
|
1198
|
-
structs to Ruby Objects.
|
1194
|
+
structs to Ruby Objects.
|
1199
1195
|
*/
|
1200
1196
|
static st_table* swig_ruby_trackings = NULL;
|
1201
1197
|
|
1202
|
-
static VALUE swig_ruby_trackings_count(
|
1198
|
+
static VALUE swig_ruby_trackings_count(ID id, VALUE *var) {
|
1203
1199
|
return SWIG2NUM(swig_ruby_trackings->num_entries);
|
1204
1200
|
}
|
1205
1201
|
|
@@ -1209,7 +1205,7 @@ SWIGRUNTIME void SWIG_RubyInitializeTrackings(void) {
|
|
1209
1205
|
/* Create a hash table to store Trackings from C++
|
1210
1206
|
objects to Ruby objects. */
|
1211
1207
|
|
1212
|
-
/* Try to see if some other .so has already created a
|
1208
|
+
/* Try to see if some other .so has already created a
|
1213
1209
|
tracking hash table, which we keep hidden in an instance var
|
1214
1210
|
in the SWIG module.
|
1215
1211
|
This is done to allow multiple DSOs to share the same
|
@@ -1236,7 +1232,7 @@ SWIGRUNTIME void SWIG_RubyInitializeTrackings(void) {
|
|
1236
1232
|
swig_ruby_trackings = (st_table*)NUM2SWIG(trackings_value);
|
1237
1233
|
}
|
1238
1234
|
|
1239
|
-
rb_define_virtual_variable("SWIG_TRACKINGS_COUNT", swig_ruby_trackings_count, NULL);
|
1235
|
+
rb_define_virtual_variable("SWIG_TRACKINGS_COUNT", VALUEFUNC(swig_ruby_trackings_count), VOID_ANYARGS_FUNC((rb_gvar_setter_t*)NULL));
|
1240
1236
|
}
|
1241
1237
|
|
1242
1238
|
/* Add a Tracking from a C/C++ struct to a Ruby object */
|
@@ -1268,13 +1264,14 @@ SWIGRUNTIME void SWIG_RubyRemoveTracking(void* ptr) {
|
|
1268
1264
|
|
1269
1265
|
/* This is a helper method that unlinks a Ruby object from its
|
1270
1266
|
underlying C++ object. This is needed if the lifetime of the
|
1271
|
-
Ruby object is longer than the C++ object */
|
1267
|
+
Ruby object is longer than the C++ object. */
|
1272
1268
|
SWIGRUNTIME void SWIG_RubyUnlinkObjects(void* ptr) {
|
1273
1269
|
VALUE object = SWIG_RubyInstanceFor(ptr);
|
1274
1270
|
|
1275
1271
|
if (object != Qnil) {
|
1276
|
-
|
1277
|
-
|
1272
|
+
// object might have the T_ZOMBIE type, but that's just
|
1273
|
+
// because the GC has flagged it as such for a deferred
|
1274
|
+
// destruction. Until then, it's still a T_DATA object.
|
1278
1275
|
DATA_PTR(object) = 0;
|
1279
1276
|
}
|
1280
1277
|
}
|
@@ -1284,13 +1281,13 @@ SWIGRUNTIME void SWIG_RubyUnlinkObjects(void* ptr) {
|
|
1284
1281
|
to the passed callback function. */
|
1285
1282
|
|
1286
1283
|
/* Proxy method to abstract the internal trackings datatype */
|
1287
|
-
static int swig_ruby_internal_iterate_callback(
|
1288
|
-
(*meth)(ptr, obj);
|
1284
|
+
static int swig_ruby_internal_iterate_callback(st_data_t ptr, st_data_t obj, st_data_t meth) {
|
1285
|
+
((void (*) (void *, VALUE))meth)((void *)ptr, (VALUE)obj);
|
1289
1286
|
return ST_CONTINUE;
|
1290
1287
|
}
|
1291
1288
|
|
1292
1289
|
SWIGRUNTIME void SWIG_RubyIterateTrackings( void(*meth)(void* ptr, VALUE obj) ) {
|
1293
|
-
st_foreach(swig_ruby_trackings, (
|
1290
|
+
st_foreach(swig_ruby_trackings, INT_ANYARGS_FUNC(swig_ruby_internal_iterate_callback), (st_data_t)meth);
|
1294
1291
|
}
|
1295
1292
|
|
1296
1293
|
#ifdef __cplusplus
|
@@ -1507,10 +1504,11 @@ SWIG_Ruby_NewPointerObj(void *ptr, swig_type_info *type, int flags)
|
|
1507
1504
|
swig_class *sklass;
|
1508
1505
|
VALUE klass;
|
1509
1506
|
VALUE obj;
|
1510
|
-
|
1507
|
+
|
1511
1508
|
if (!ptr)
|
1512
1509
|
return Qnil;
|
1513
|
-
|
1510
|
+
|
1511
|
+
assert(type);
|
1514
1512
|
if (type->clientdata) {
|
1515
1513
|
sklass = (swig_class *) type->clientdata;
|
1516
1514
|
|
@@ -1518,7 +1516,7 @@ SWIG_Ruby_NewPointerObj(void *ptr, swig_type_info *type, int flags)
|
|
1518
1516
|
track = sklass->trackObjects;
|
1519
1517
|
if (track) {
|
1520
1518
|
obj = SWIG_RubyInstanceFor(ptr);
|
1521
|
-
|
1519
|
+
|
1522
1520
|
/* Check the object's type and make sure it has the correct type.
|
1523
1521
|
It might not in cases where methods do things like
|
1524
1522
|
downcast methods. */
|
@@ -1550,7 +1548,7 @@ SWIG_Ruby_NewPointerObj(void *ptr, swig_type_info *type, int flags)
|
|
1550
1548
|
obj = Data_Wrap_Struct(klass, 0, 0, ptr);
|
1551
1549
|
}
|
1552
1550
|
rb_iv_set(obj, "@__swigtype__", rb_str_new2(type->name));
|
1553
|
-
|
1551
|
+
|
1554
1552
|
return obj;
|
1555
1553
|
}
|
1556
1554
|
|
@@ -1582,7 +1580,7 @@ typedef struct {
|
|
1582
1580
|
SWIGRUNTIME swig_ruby_owntype
|
1583
1581
|
SWIG_Ruby_AcquirePtr(VALUE obj, swig_ruby_owntype own) {
|
1584
1582
|
swig_ruby_owntype oldown = {0, 0};
|
1585
|
-
if (obj) {
|
1583
|
+
if (TYPE(obj) == T_DATA && !RTYPEDDATA_P(obj)) {
|
1586
1584
|
oldown.datafree = RDATA(obj)->dfree;
|
1587
1585
|
RDATA(obj)->dfree = own.datafree;
|
1588
1586
|
}
|
@@ -1601,9 +1599,9 @@ SWIG_Ruby_ConvertPtrAndOwn(VALUE obj, void **ptr, swig_type_info *ty, int flags,
|
|
1601
1599
|
if (NIL_P(obj)) {
|
1602
1600
|
if (ptr)
|
1603
1601
|
*ptr = 0;
|
1604
|
-
return SWIG_OK;
|
1602
|
+
return (flags & SWIG_POINTER_NO_NULL) ? SWIG_NullReferenceError : SWIG_OK;
|
1605
1603
|
} else {
|
1606
|
-
if (TYPE(obj) != T_DATA) {
|
1604
|
+
if (TYPE(obj) != T_DATA || (TYPE(obj) == T_DATA && RTYPEDDATA_P(obj))) {
|
1607
1605
|
return SWIG_ERROR;
|
1608
1606
|
}
|
1609
1607
|
Data_Get_Struct(obj, void, vptr);
|
@@ -1698,7 +1696,7 @@ SWIG_Ruby_NewPackedObj(void *ptr, int sz, swig_type_info *type) {
|
|
1698
1696
|
return rb_str_new2(result);
|
1699
1697
|
}
|
1700
1698
|
|
1701
|
-
/* Convert a packed
|
1699
|
+
/* Convert a packed pointer value */
|
1702
1700
|
SWIGRUNTIME int
|
1703
1701
|
SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty) {
|
1704
1702
|
swig_cast_info *tc;
|
@@ -1826,51 +1824,52 @@ int SWIG_Ruby_arity( VALUE proc, int minimal )
|
|
1826
1824
|
#define SWIGTYPE_p_pn_distribution_mode_t swig_types[23]
|
1827
1825
|
#define SWIGTYPE_p_pn_durability_t swig_types[24]
|
1828
1826
|
#define SWIGTYPE_p_pn_error_t swig_types[25]
|
1829
|
-
#define
|
1830
|
-
#define
|
1831
|
-
#define
|
1832
|
-
#define
|
1833
|
-
#define
|
1834
|
-
#define
|
1835
|
-
#define
|
1836
|
-
#define
|
1837
|
-
#define
|
1838
|
-
#define
|
1827
|
+
#define SWIGTYPE_p_pn_event_t swig_types[26]
|
1828
|
+
#define SWIGTYPE_p_pn_event_type_t swig_types[27]
|
1829
|
+
#define SWIGTYPE_p_pn_expiry_policy_t swig_types[28]
|
1830
|
+
#define SWIGTYPE_p_pn_handler_t swig_types[29]
|
1831
|
+
#define SWIGTYPE_p_pn_hash_t swig_types[30]
|
1832
|
+
#define SWIGTYPE_p_pn_iterator_t swig_types[31]
|
1833
|
+
#define SWIGTYPE_p_pn_link_t swig_types[32]
|
1834
|
+
#define SWIGTYPE_p_pn_list_t swig_types[33]
|
1835
|
+
#define SWIGTYPE_p_pn_listener_t swig_types[34]
|
1836
|
+
#define SWIGTYPE_p_pn_logger_t swig_types[35]
|
1839
1837
|
#define SWIGTYPE_p_pn_map_t swig_types[36]
|
1840
1838
|
#define SWIGTYPE_p_pn_message_t swig_types[37]
|
1841
1839
|
#define SWIGTYPE_p_pn_messenger_t swig_types[38]
|
1842
1840
|
#define SWIGTYPE_p_pn_proactor_t swig_types[39]
|
1843
|
-
#define
|
1844
|
-
#define
|
1845
|
-
#define
|
1846
|
-
#define
|
1847
|
-
#define
|
1848
|
-
#define
|
1849
|
-
#define
|
1850
|
-
#define
|
1851
|
-
#define
|
1852
|
-
#define
|
1853
|
-
#define
|
1854
|
-
#define
|
1855
|
-
#define
|
1856
|
-
#define
|
1857
|
-
#define
|
1858
|
-
#define
|
1859
|
-
#define
|
1860
|
-
#define
|
1861
|
-
#define
|
1862
|
-
#define
|
1863
|
-
#define
|
1864
|
-
#define
|
1865
|
-
#define
|
1866
|
-
#define
|
1867
|
-
#define
|
1868
|
-
#define
|
1869
|
-
#define
|
1870
|
-
#define
|
1871
|
-
#define
|
1872
|
-
|
1873
|
-
static
|
1841
|
+
#define SWIGTYPE_p_pn_raw_connection_t swig_types[40]
|
1842
|
+
#define SWIGTYPE_p_pn_rcv_settle_mode_t swig_types[41]
|
1843
|
+
#define SWIGTYPE_p_pn_record_t swig_types[42]
|
1844
|
+
#define SWIGTYPE_p_pn_rwbytes_t swig_types[43]
|
1845
|
+
#define SWIGTYPE_p_pn_sasl_outcome_t swig_types[44]
|
1846
|
+
#define SWIGTYPE_p_pn_sasl_t swig_types[45]
|
1847
|
+
#define SWIGTYPE_p_pn_session_t swig_types[46]
|
1848
|
+
#define SWIGTYPE_p_pn_snd_settle_mode_t swig_types[47]
|
1849
|
+
#define SWIGTYPE_p_pn_ssl_cert_subject_subfield swig_types[48]
|
1850
|
+
#define SWIGTYPE_p_pn_ssl_domain_t swig_types[49]
|
1851
|
+
#define SWIGTYPE_p_pn_ssl_hash_alg swig_types[50]
|
1852
|
+
#define SWIGTYPE_p_pn_ssl_mode_t swig_types[51]
|
1853
|
+
#define SWIGTYPE_p_pn_ssl_resume_status_t swig_types[52]
|
1854
|
+
#define SWIGTYPE_p_pn_ssl_t swig_types[53]
|
1855
|
+
#define SWIGTYPE_p_pn_ssl_verify_mode_t swig_types[54]
|
1856
|
+
#define SWIGTYPE_p_pn_string_t swig_types[55]
|
1857
|
+
#define SWIGTYPE_p_pn_terminus_t swig_types[56]
|
1858
|
+
#define SWIGTYPE_p_pn_terminus_type_t swig_types[57]
|
1859
|
+
#define SWIGTYPE_p_pn_transport_t swig_types[58]
|
1860
|
+
#define SWIGTYPE_p_pn_type_t swig_types[59]
|
1861
|
+
#define SWIGTYPE_p_pn_url_t swig_types[60]
|
1862
|
+
#define SWIGTYPE_p_pn_uuid_t swig_types[61]
|
1863
|
+
#define SWIGTYPE_p_short swig_types[62]
|
1864
|
+
#define SWIGTYPE_p_signed_char swig_types[63]
|
1865
|
+
#define SWIGTYPE_p_unsigned_char swig_types[64]
|
1866
|
+
#define SWIGTYPE_p_unsigned_int swig_types[65]
|
1867
|
+
#define SWIGTYPE_p_unsigned_long swig_types[66]
|
1868
|
+
#define SWIGTYPE_p_unsigned_long_long swig_types[67]
|
1869
|
+
#define SWIGTYPE_p_unsigned_short swig_types[68]
|
1870
|
+
#define SWIGTYPE_p_void swig_types[69]
|
1871
|
+
static swig_type_info *swig_types[71];
|
1872
|
+
static swig_module_info swig_module = {swig_types, 70, 0, 0, 0, 0};
|
1874
1873
|
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
|
1875
1874
|
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
|
1876
1875
|
|
@@ -1885,7 +1884,7 @@ static VALUE mCproton;
|
|
1885
1884
|
#define SWIG_RUBY_THREAD_END_BLOCK
|
1886
1885
|
|
1887
1886
|
|
1888
|
-
#define SWIGVERSION
|
1887
|
+
#define SWIGVERSION 0x040001
|
1889
1888
|
#define SWIG_VERSION SWIGVERSION
|
1890
1889
|
|
1891
1890
|
|
@@ -1914,15 +1913,16 @@ static VALUE mCproton;
|
|
1914
1913
|
|
1915
1914
|
|
1916
1915
|
SWIGINTERN VALUE
|
1917
|
-
SWIG_ruby_failed(
|
1916
|
+
SWIG_ruby_failed(VALUE SWIGUNUSEDPARM(arg1), VALUE SWIGUNUSEDPARM(arg2))
|
1918
1917
|
{
|
1919
1918
|
return Qnil;
|
1920
1919
|
}
|
1921
1920
|
|
1922
1921
|
|
1923
|
-
/*@SWIG:/usr/share/swig/
|
1924
|
-
SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE
|
1922
|
+
/*@SWIG:/usr/share/swig/4.0.1/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
1923
|
+
SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE arg)
|
1925
1924
|
{
|
1925
|
+
VALUE *args = (VALUE *)arg;
|
1926
1926
|
VALUE obj = args[0];
|
1927
1927
|
VALUE type = TYPE(obj);
|
1928
1928
|
unsigned long *res = (unsigned long *)(args[1]);
|
@@ -1940,7 +1940,7 @@ SWIG_AsVal_unsigned_SS_long (VALUE obj, unsigned long *val)
|
|
1940
1940
|
VALUE a[2];
|
1941
1941
|
a[0] = obj;
|
1942
1942
|
a[1] = (VALUE)(&v);
|
1943
|
-
if (rb_rescue(
|
1943
|
+
if (rb_rescue(VALUEFUNC(SWIG_AUX_NUM2ULONG), (VALUE)a, VALUEFUNC(SWIG_ruby_failed), 0) != Qnil) {
|
1944
1944
|
if (val) *val = v;
|
1945
1945
|
return SWIG_OK;
|
1946
1946
|
}
|
@@ -1965,9 +1965,10 @@ SWIG_AsVal_unsigned_SS_long (VALUE obj, unsigned long *val)
|
|
1965
1965
|
|
1966
1966
|
|
1967
1967
|
#ifdef SWIG_LONG_LONG_AVAILABLE
|
1968
|
-
/*@SWIG:/usr/share/swig/
|
1969
|
-
SWIGINTERN VALUE SWIG_AUX_NUM2ULL(VALUE
|
1968
|
+
/*@SWIG:/usr/share/swig/4.0.1/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
1969
|
+
SWIGINTERN VALUE SWIG_AUX_NUM2ULL(VALUE arg)
|
1970
1970
|
{
|
1971
|
+
VALUE *args = (VALUE *)arg;
|
1971
1972
|
VALUE obj = args[0];
|
1972
1973
|
VALUE type = TYPE(obj);
|
1973
1974
|
long long *res = (long long *)(args[1]);
|
@@ -1985,7 +1986,7 @@ SWIG_AsVal_unsigned_SS_long_SS_long (VALUE obj, unsigned long long *val)
|
|
1985
1986
|
VALUE a[2];
|
1986
1987
|
a[0] = obj;
|
1987
1988
|
a[1] = (VALUE)(&v);
|
1988
|
-
if (rb_rescue(
|
1989
|
+
if (rb_rescue(VALUEFUNC(SWIG_AUX_NUM2ULL), (VALUE)a, VALUEFUNC(SWIG_ruby_failed), 0) != Qnil) {
|
1989
1990
|
if (val) *val = v;
|
1990
1991
|
return SWIG_OK;
|
1991
1992
|
}
|
@@ -2295,9 +2296,10 @@ SWIG_From_bool (bool value)
|
|
2295
2296
|
|
2296
2297
|
|
2297
2298
|
|
2298
|
-
/*@SWIG:/usr/share/swig/
|
2299
|
-
SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE
|
2299
|
+
/*@SWIG:/usr/share/swig/4.0.1/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
2300
|
+
SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE arg)
|
2300
2301
|
{
|
2302
|
+
VALUE *args = (VALUE *)arg;
|
2301
2303
|
VALUE obj = args[0];
|
2302
2304
|
VALUE type = TYPE(obj);
|
2303
2305
|
long *res = (long *)(args[1]);
|
@@ -2315,7 +2317,7 @@ SWIG_AsVal_long (VALUE obj, long* val)
|
|
2315
2317
|
VALUE a[2];
|
2316
2318
|
a[0] = obj;
|
2317
2319
|
a[1] = (VALUE)(&v);
|
2318
|
-
if (rb_rescue(
|
2320
|
+
if (rb_rescue(VALUEFUNC(SWIG_AUX_NUM2LONG), (VALUE)a, VALUEFUNC(SWIG_ruby_failed), 0) != Qnil) {
|
2319
2321
|
if (val) *val = v;
|
2320
2322
|
return SWIG_OK;
|
2321
2323
|
}
|
@@ -2571,7 +2573,7 @@ SWIG_From_unsigned_SS_int (unsigned int value)
|
|
2571
2573
|
/* isfinite() is a macro for C99 */
|
2572
2574
|
# if defined(isfinite)
|
2573
2575
|
# define SWIG_isfinite(X) (isfinite(X))
|
2574
|
-
# elif defined
|
2576
|
+
# elif defined(__cplusplus) && __cplusplus >= 201103L
|
2575
2577
|
/* Use a template so that this works whether isfinite() is std::isfinite() or
|
2576
2578
|
* in the global namespace. The reality seems to vary between compiler
|
2577
2579
|
* versions.
|
@@ -2587,6 +2589,12 @@ inline int SWIG_isfinite_func(T x) {
|
|
2587
2589
|
return isfinite(x);
|
2588
2590
|
}
|
2589
2591
|
# define SWIG_isfinite(X) (SWIG_isfinite_func(X))
|
2592
|
+
# elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2))
|
2593
|
+
# define SWIG_isfinite(X) (__builtin_isfinite(X))
|
2594
|
+
# elif defined(__clang__) && defined(__has_builtin)
|
2595
|
+
# if __has_builtin(__builtin_isfinite)
|
2596
|
+
# define SWIG_isfinite(X) (__builtin_isfinite(X))
|
2597
|
+
# endif
|
2590
2598
|
# elif defined(_MSC_VER)
|
2591
2599
|
# define SWIG_isfinite(X) (_finite(X))
|
2592
2600
|
# elif defined(__sun) && defined(__SVR4)
|
@@ -2604,9 +2612,10 @@ inline int SWIG_isfinite_func(T x) {
|
|
2604
2612
|
#endif
|
2605
2613
|
|
2606
2614
|
|
2607
|
-
/*@SWIG:/usr/share/swig/
|
2608
|
-
SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE
|
2615
|
+
/*@SWIG:/usr/share/swig/4.0.1/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
2616
|
+
SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE arg)
|
2609
2617
|
{
|
2618
|
+
VALUE *args = (VALUE *)arg;
|
2610
2619
|
VALUE obj = args[0];
|
2611
2620
|
VALUE type = TYPE(obj);
|
2612
2621
|
double *res = (double *)(args[1]);
|
@@ -2624,7 +2633,7 @@ SWIG_AsVal_double (VALUE obj, double *val)
|
|
2624
2633
|
VALUE a[2];
|
2625
2634
|
a[0] = obj;
|
2626
2635
|
a[1] = (VALUE)(&v);
|
2627
|
-
if (rb_rescue(
|
2636
|
+
if (rb_rescue(VALUEFUNC(SWIG_AUX_NUM2DBL), (VALUE)a, VALUEFUNC(SWIG_ruby_failed), 0) != Qnil) {
|
2628
2637
|
if (val) *val = v;
|
2629
2638
|
return SWIG_OK;
|
2630
2639
|
}
|
@@ -2693,9 +2702,10 @@ SWIG_AsVal_unsigned_SS_short (VALUE obj, unsigned short *val)
|
|
2693
2702
|
|
2694
2703
|
|
2695
2704
|
#ifdef SWIG_LONG_LONG_AVAILABLE
|
2696
|
-
/*@SWIG:/usr/share/swig/
|
2697
|
-
SWIGINTERN VALUE SWIG_AUX_NUM2LL(VALUE
|
2705
|
+
/*@SWIG:/usr/share/swig/4.0.1/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
2706
|
+
SWIGINTERN VALUE SWIG_AUX_NUM2LL(VALUE arg)
|
2698
2707
|
{
|
2708
|
+
VALUE *args = (VALUE *)arg;
|
2699
2709
|
VALUE obj = args[0];
|
2700
2710
|
VALUE type = TYPE(obj);
|
2701
2711
|
long long *res = (long long *)(args[1]);
|
@@ -2713,7 +2723,7 @@ SWIG_AsVal_long_SS_long (VALUE obj, long long *val)
|
|
2713
2723
|
VALUE a[2];
|
2714
2724
|
a[0] = obj;
|
2715
2725
|
a[1] = (VALUE)(&v);
|
2716
|
-
if (rb_rescue(
|
2726
|
+
if (rb_rescue(VALUEFUNC(SWIG_AUX_NUM2LL), (VALUE)a, VALUEFUNC(SWIG_ruby_failed), 0) != Qnil) {
|
2717
2727
|
if (val) *val = v;
|
2718
2728
|
return SWIG_OK;
|
2719
2729
|
}
|
@@ -7768,6 +7778,38 @@ fail:
|
|
7768
7778
|
}
|
7769
7779
|
|
7770
7780
|
|
7781
|
+
SWIGINTERN VALUE
|
7782
|
+
_wrap_pn_connection_set_authorization(int argc, VALUE *argv, VALUE self) {
|
7783
|
+
pn_connection_t *arg1 = (pn_connection_t *) 0 ;
|
7784
|
+
char *arg2 = (char *) 0 ;
|
7785
|
+
void *argp1 = 0 ;
|
7786
|
+
int res1 = 0 ;
|
7787
|
+
int res2 ;
|
7788
|
+
char *buf2 = 0 ;
|
7789
|
+
int alloc2 = 0 ;
|
7790
|
+
|
7791
|
+
if ((argc < 2) || (argc > 2)) {
|
7792
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
|
7793
|
+
}
|
7794
|
+
res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_connection_t, 0 | 0 );
|
7795
|
+
if (!SWIG_IsOK(res1)) {
|
7796
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_connection_t *","pn_connection_set_authorization", 1, argv[0] ));
|
7797
|
+
}
|
7798
|
+
arg1 = (pn_connection_t *)(argp1);
|
7799
|
+
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
|
7800
|
+
if (!SWIG_IsOK(res2)) {
|
7801
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","pn_connection_set_authorization", 2, argv[1] ));
|
7802
|
+
}
|
7803
|
+
arg2 = (char *)(buf2);
|
7804
|
+
pn_connection_set_authorization(arg1,(char const *)arg2);
|
7805
|
+
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
7806
|
+
return Qnil;
|
7807
|
+
fail:
|
7808
|
+
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
7809
|
+
return Qnil;
|
7810
|
+
}
|
7811
|
+
|
7812
|
+
|
7771
7813
|
SWIGINTERN VALUE
|
7772
7814
|
_wrap_pn_connection_get_user(int argc, VALUE *argv, VALUE self) {
|
7773
7815
|
pn_connection_t *arg1 = (pn_connection_t *) 0 ;
|
@@ -7792,6 +7834,30 @@ fail:
|
|
7792
7834
|
}
|
7793
7835
|
|
7794
7836
|
|
7837
|
+
SWIGINTERN VALUE
|
7838
|
+
_wrap_pn_connection_get_authorization(int argc, VALUE *argv, VALUE self) {
|
7839
|
+
pn_connection_t *arg1 = (pn_connection_t *) 0 ;
|
7840
|
+
void *argp1 = 0 ;
|
7841
|
+
int res1 = 0 ;
|
7842
|
+
char *result = 0 ;
|
7843
|
+
VALUE vresult = Qnil;
|
7844
|
+
|
7845
|
+
if ((argc < 1) || (argc > 1)) {
|
7846
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
7847
|
+
}
|
7848
|
+
res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_connection_t, 0 | 0 );
|
7849
|
+
if (!SWIG_IsOK(res1)) {
|
7850
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_connection_t *","pn_connection_get_authorization", 1, argv[0] ));
|
7851
|
+
}
|
7852
|
+
arg1 = (pn_connection_t *)(argp1);
|
7853
|
+
result = (char *)pn_connection_get_authorization(arg1);
|
7854
|
+
vresult = SWIG_FromCharPtr((const char *)result);
|
7855
|
+
return vresult;
|
7856
|
+
fail:
|
7857
|
+
return Qnil;
|
7858
|
+
}
|
7859
|
+
|
7860
|
+
|
7795
7861
|
SWIGINTERN VALUE
|
7796
7862
|
_wrap_pn_connection_get_hostname(int argc, VALUE *argv, VALUE self) {
|
7797
7863
|
pn_connection_t *arg1 = (pn_connection_t *) 0 ;
|
@@ -9864,6 +9930,54 @@ fail:
|
|
9864
9930
|
}
|
9865
9931
|
|
9866
9932
|
|
9933
|
+
SWIGINTERN VALUE
|
9934
|
+
_wrap_pn_link_properties(int argc, VALUE *argv, VALUE self) {
|
9935
|
+
pn_link_t *arg1 = (pn_link_t *) 0 ;
|
9936
|
+
void *argp1 = 0 ;
|
9937
|
+
int res1 = 0 ;
|
9938
|
+
pn_data_t *result = 0 ;
|
9939
|
+
VALUE vresult = Qnil;
|
9940
|
+
|
9941
|
+
if ((argc < 1) || (argc > 1)) {
|
9942
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
9943
|
+
}
|
9944
|
+
res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_link_t, 0 | 0 );
|
9945
|
+
if (!SWIG_IsOK(res1)) {
|
9946
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_link_t *","pn_link_properties", 1, argv[0] ));
|
9947
|
+
}
|
9948
|
+
arg1 = (pn_link_t *)(argp1);
|
9949
|
+
result = (pn_data_t *)pn_link_properties(arg1);
|
9950
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pn_data_t, 0 | 0 );
|
9951
|
+
return vresult;
|
9952
|
+
fail:
|
9953
|
+
return Qnil;
|
9954
|
+
}
|
9955
|
+
|
9956
|
+
|
9957
|
+
SWIGINTERN VALUE
|
9958
|
+
_wrap_pn_link_remote_properties(int argc, VALUE *argv, VALUE self) {
|
9959
|
+
pn_link_t *arg1 = (pn_link_t *) 0 ;
|
9960
|
+
void *argp1 = 0 ;
|
9961
|
+
int res1 = 0 ;
|
9962
|
+
pn_data_t *result = 0 ;
|
9963
|
+
VALUE vresult = Qnil;
|
9964
|
+
|
9965
|
+
if ((argc < 1) || (argc > 1)) {
|
9966
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
9967
|
+
}
|
9968
|
+
res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_link_t, 0 | 0 );
|
9969
|
+
if (!SWIG_IsOK(res1)) {
|
9970
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_link_t *","pn_link_remote_properties", 1, argv[0] ));
|
9971
|
+
}
|
9972
|
+
arg1 = (pn_link_t *)(argp1);
|
9973
|
+
result = (pn_data_t *)pn_link_remote_properties(arg1);
|
9974
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pn_data_t, 0 | 0 );
|
9975
|
+
return vresult;
|
9976
|
+
fail:
|
9977
|
+
return Qnil;
|
9978
|
+
}
|
9979
|
+
|
9980
|
+
|
9867
9981
|
SWIGINTERN VALUE
|
9868
9982
|
_wrap_pn_terminus_get_type(int argc, VALUE *argv, VALUE self) {
|
9869
9983
|
pn_terminus_t *arg1 = (pn_terminus_t *) 0 ;
|
@@ -11592,6 +11706,30 @@ fail:
|
|
11592
11706
|
}
|
11593
11707
|
|
11594
11708
|
|
11709
|
+
SWIGINTERN VALUE
|
11710
|
+
_wrap_pn_transport_logger(int argc, VALUE *argv, VALUE self) {
|
11711
|
+
pn_transport_t *arg1 = (pn_transport_t *) 0 ;
|
11712
|
+
void *argp1 = 0 ;
|
11713
|
+
int res1 = 0 ;
|
11714
|
+
pn_logger_t *result = 0 ;
|
11715
|
+
VALUE vresult = Qnil;
|
11716
|
+
|
11717
|
+
if ((argc < 1) || (argc > 1)) {
|
11718
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
11719
|
+
}
|
11720
|
+
res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_transport_t, 0 | 0 );
|
11721
|
+
if (!SWIG_IsOK(res1)) {
|
11722
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_transport_t *","pn_transport_logger", 1, argv[0] ));
|
11723
|
+
}
|
11724
|
+
arg1 = (pn_transport_t *)(argp1);
|
11725
|
+
result = (pn_logger_t *)pn_transport_logger(arg1);
|
11726
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pn_logger_t, 0 | 0 );
|
11727
|
+
return vresult;
|
11728
|
+
fail:
|
11729
|
+
return Qnil;
|
11730
|
+
}
|
11731
|
+
|
11732
|
+
|
11595
11733
|
SWIGINTERN VALUE
|
11596
11734
|
_wrap_pn_transport_error(int argc, VALUE *argv, VALUE self) {
|
11597
11735
|
pn_transport_t *arg1 = (pn_transport_t *) 0 ;
|
@@ -13088,30 +13226,6 @@ fail:
|
|
13088
13226
|
}
|
13089
13227
|
|
13090
13228
|
|
13091
|
-
SWIGINTERN VALUE
|
13092
|
-
_wrap_pn_event_batch_next(int argc, VALUE *argv, VALUE self) {
|
13093
|
-
pn_event_batch_t *arg1 = (pn_event_batch_t *) 0 ;
|
13094
|
-
void *argp1 = 0 ;
|
13095
|
-
int res1 = 0 ;
|
13096
|
-
pn_event_t *result = 0 ;
|
13097
|
-
VALUE vresult = Qnil;
|
13098
|
-
|
13099
|
-
if ((argc < 1) || (argc > 1)) {
|
13100
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
13101
|
-
}
|
13102
|
-
res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_event_batch_t, 0 | 0 );
|
13103
|
-
if (!SWIG_IsOK(res1)) {
|
13104
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_event_batch_t *","pn_event_batch_next", 1, argv[0] ));
|
13105
|
-
}
|
13106
|
-
arg1 = (pn_event_batch_t *)(argp1);
|
13107
|
-
result = (pn_event_t *)pn_event_batch_next(arg1);
|
13108
|
-
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pn_event_t, 0 | 0 );
|
13109
|
-
return vresult;
|
13110
|
-
fail:
|
13111
|
-
return Qnil;
|
13112
|
-
}
|
13113
|
-
|
13114
|
-
|
13115
13229
|
SWIGINTERN VALUE
|
13116
13230
|
_wrap_pn_event_copy(int argc, VALUE *argv, VALUE self) {
|
13117
13231
|
pn_event_t *arg1 = (pn_event_t *) 0 ;
|
@@ -15032,6 +15146,30 @@ fail:
|
|
15032
15146
|
}
|
15033
15147
|
|
15034
15148
|
|
15149
|
+
SWIGINTERN VALUE
|
15150
|
+
_wrap_pn_sasl_get_authorization(int argc, VALUE *argv, VALUE self) {
|
15151
|
+
pn_sasl_t *arg1 = (pn_sasl_t *) 0 ;
|
15152
|
+
void *argp1 = 0 ;
|
15153
|
+
int res1 = 0 ;
|
15154
|
+
char *result = 0 ;
|
15155
|
+
VALUE vresult = Qnil;
|
15156
|
+
|
15157
|
+
if ((argc < 1) || (argc > 1)) {
|
15158
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
15159
|
+
}
|
15160
|
+
res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_sasl_t, 0 | 0 );
|
15161
|
+
if (!SWIG_IsOK(res1)) {
|
15162
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_sasl_t *","pn_sasl_get_authorization", 1, argv[0] ));
|
15163
|
+
}
|
15164
|
+
arg1 = (pn_sasl_t *)(argp1);
|
15165
|
+
result = (char *)pn_sasl_get_authorization(arg1);
|
15166
|
+
vresult = SWIG_FromCharPtr((const char *)result);
|
15167
|
+
return vresult;
|
15168
|
+
fail:
|
15169
|
+
return Qnil;
|
15170
|
+
}
|
15171
|
+
|
15172
|
+
|
15035
15173
|
SWIGINTERN VALUE
|
15036
15174
|
_wrap_pn_sasl_get_mech(int argc, VALUE *argv, VALUE self) {
|
15037
15175
|
pn_sasl_t *arg1 = (pn_sasl_t *) 0 ;
|
@@ -18605,30 +18743,6 @@ fail:
|
|
18605
18743
|
}
|
18606
18744
|
|
18607
18745
|
|
18608
|
-
SWIGINTERN VALUE
|
18609
|
-
_wrap_pn_event_batch_connection_driver(int argc, VALUE *argv, VALUE self) {
|
18610
|
-
pn_event_batch_t *arg1 = (pn_event_batch_t *) 0 ;
|
18611
|
-
void *argp1 = 0 ;
|
18612
|
-
int res1 = 0 ;
|
18613
|
-
pn_connection_driver_t *result = 0 ;
|
18614
|
-
VALUE vresult = Qnil;
|
18615
|
-
|
18616
|
-
if ((argc < 1) || (argc > 1)) {
|
18617
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
18618
|
-
}
|
18619
|
-
res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_event_batch_t, 0 | 0 );
|
18620
|
-
if (!SWIG_IsOK(res1)) {
|
18621
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_event_batch_t *","pn_event_batch_connection_driver", 1, argv[0] ));
|
18622
|
-
}
|
18623
|
-
arg1 = (pn_event_batch_t *)(argp1);
|
18624
|
-
result = (pn_connection_driver_t *)pn_event_batch_connection_driver(arg1);
|
18625
|
-
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pn_connection_driver_t, 0 | 0 );
|
18626
|
-
return vresult;
|
18627
|
-
fail:
|
18628
|
-
return Qnil;
|
18629
|
-
}
|
18630
|
-
|
18631
|
-
|
18632
18746
|
SWIGINTERN VALUE
|
18633
18747
|
_wrap_pn_connection_driver_log(int argc, VALUE *argv, VALUE self) {
|
18634
18748
|
pn_connection_driver_t *arg1 = (pn_connection_driver_t *) 0 ;
|
@@ -19159,7 +19273,6 @@ static swig_type_info _swigt__p_pn_disposition_t = {"_p_pn_disposition_t", "stru
|
|
19159
19273
|
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};
|
19160
19274
|
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};
|
19161
19275
|
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};
|
19162
|
-
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};
|
19163
19276
|
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};
|
19164
19277
|
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};
|
19165
19278
|
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};
|
@@ -19169,10 +19282,12 @@ static swig_type_info _swigt__p_pn_iterator_t = {"_p_pn_iterator_t", "struct pn_
|
|
19169
19282
|
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};
|
19170
19283
|
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};
|
19171
19284
|
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};
|
19285
|
+
static swig_type_info _swigt__p_pn_logger_t = {"_p_pn_logger_t", "pn_logger_t *", 0, 0, (void*)0, 0};
|
19172
19286
|
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};
|
19173
19287
|
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};
|
19174
19288
|
static swig_type_info _swigt__p_pn_messenger_t = {"_p_pn_messenger_t", "pn_messenger_t *", 0, 0, (void*)0, 0};
|
19175
19289
|
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};
|
19290
|
+
static swig_type_info _swigt__p_pn_raw_connection_t = {"_p_pn_raw_connection_t", "struct pn_raw_connection_t *|pn_raw_connection_t *", 0, 0, (void*)0, 0};
|
19176
19291
|
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};
|
19177
19292
|
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};
|
19178
19293
|
static swig_type_info _swigt__p_pn_rwbytes_t = {"_p_pn_rwbytes_t", "struct pn_rwbytes_t *|pn_rwbytes_t *", 0, 0, (void*)0, 0};
|
@@ -19230,7 +19345,6 @@ static swig_type_info *swig_type_initial[] = {
|
|
19230
19345
|
&_swigt__p_pn_distribution_mode_t,
|
19231
19346
|
&_swigt__p_pn_durability_t,
|
19232
19347
|
&_swigt__p_pn_error_t,
|
19233
|
-
&_swigt__p_pn_event_batch_t,
|
19234
19348
|
&_swigt__p_pn_event_t,
|
19235
19349
|
&_swigt__p_pn_event_type_t,
|
19236
19350
|
&_swigt__p_pn_expiry_policy_t,
|
@@ -19240,10 +19354,12 @@ static swig_type_info *swig_type_initial[] = {
|
|
19240
19354
|
&_swigt__p_pn_link_t,
|
19241
19355
|
&_swigt__p_pn_list_t,
|
19242
19356
|
&_swigt__p_pn_listener_t,
|
19357
|
+
&_swigt__p_pn_logger_t,
|
19243
19358
|
&_swigt__p_pn_map_t,
|
19244
19359
|
&_swigt__p_pn_message_t,
|
19245
19360
|
&_swigt__p_pn_messenger_t,
|
19246
19361
|
&_swigt__p_pn_proactor_t,
|
19362
|
+
&_swigt__p_pn_raw_connection_t,
|
19247
19363
|
&_swigt__p_pn_rcv_settle_mode_t,
|
19248
19364
|
&_swigt__p_pn_record_t,
|
19249
19365
|
&_swigt__p_pn_rwbytes_t,
|
@@ -19301,7 +19417,6 @@ static swig_cast_info _swigc__p_pn_disposition_t[] = { {&_swigt__p_pn_dispositi
|
|
19301
19417
|
static swig_cast_info _swigc__p_pn_distribution_mode_t[] = { {&_swigt__p_pn_distribution_mode_t, 0, 0, 0},{0, 0, 0, 0}};
|
19302
19418
|
static swig_cast_info _swigc__p_pn_durability_t[] = { {&_swigt__p_pn_durability_t, 0, 0, 0},{0, 0, 0, 0}};
|
19303
19419
|
static swig_cast_info _swigc__p_pn_error_t[] = { {&_swigt__p_pn_error_t, 0, 0, 0},{0, 0, 0, 0}};
|
19304
|
-
static swig_cast_info _swigc__p_pn_event_batch_t[] = { {&_swigt__p_pn_event_batch_t, 0, 0, 0},{0, 0, 0, 0}};
|
19305
19420
|
static swig_cast_info _swigc__p_pn_event_t[] = { {&_swigt__p_pn_event_t, 0, 0, 0},{0, 0, 0, 0}};
|
19306
19421
|
static swig_cast_info _swigc__p_pn_event_type_t[] = { {&_swigt__p_pn_event_type_t, 0, 0, 0},{0, 0, 0, 0}};
|
19307
19422
|
static swig_cast_info _swigc__p_pn_expiry_policy_t[] = { {&_swigt__p_pn_expiry_policy_t, 0, 0, 0},{0, 0, 0, 0}};
|
@@ -19311,10 +19426,12 @@ static swig_cast_info _swigc__p_pn_iterator_t[] = { {&_swigt__p_pn_iterator_t,
|
|
19311
19426
|
static swig_cast_info _swigc__p_pn_link_t[] = { {&_swigt__p_pn_link_t, 0, 0, 0},{0, 0, 0, 0}};
|
19312
19427
|
static swig_cast_info _swigc__p_pn_list_t[] = { {&_swigt__p_pn_list_t, 0, 0, 0},{0, 0, 0, 0}};
|
19313
19428
|
static swig_cast_info _swigc__p_pn_listener_t[] = { {&_swigt__p_pn_listener_t, 0, 0, 0},{0, 0, 0, 0}};
|
19429
|
+
static swig_cast_info _swigc__p_pn_logger_t[] = { {&_swigt__p_pn_logger_t, 0, 0, 0},{0, 0, 0, 0}};
|
19314
19430
|
static swig_cast_info _swigc__p_pn_map_t[] = { {&_swigt__p_pn_map_t, 0, 0, 0},{0, 0, 0, 0}};
|
19315
19431
|
static swig_cast_info _swigc__p_pn_message_t[] = { {&_swigt__p_pn_message_t, 0, 0, 0},{0, 0, 0, 0}};
|
19316
19432
|
static swig_cast_info _swigc__p_pn_messenger_t[] = { {&_swigt__p_pn_messenger_t, 0, 0, 0},{0, 0, 0, 0}};
|
19317
19433
|
static swig_cast_info _swigc__p_pn_proactor_t[] = { {&_swigt__p_pn_proactor_t, 0, 0, 0},{0, 0, 0, 0}};
|
19434
|
+
static swig_cast_info _swigc__p_pn_raw_connection_t[] = { {&_swigt__p_pn_raw_connection_t, 0, 0, 0},{0, 0, 0, 0}};
|
19318
19435
|
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}};
|
19319
19436
|
static swig_cast_info _swigc__p_pn_record_t[] = { {&_swigt__p_pn_record_t, 0, 0, 0},{0, 0, 0, 0}};
|
19320
19437
|
static swig_cast_info _swigc__p_pn_rwbytes_t[] = { {&_swigt__p_pn_rwbytes_t, 0, 0, 0},{0, 0, 0, 0}};
|
@@ -19372,7 +19489,6 @@ static swig_cast_info *swig_cast_initial[] = {
|
|
19372
19489
|
_swigc__p_pn_distribution_mode_t,
|
19373
19490
|
_swigc__p_pn_durability_t,
|
19374
19491
|
_swigc__p_pn_error_t,
|
19375
|
-
_swigc__p_pn_event_batch_t,
|
19376
19492
|
_swigc__p_pn_event_t,
|
19377
19493
|
_swigc__p_pn_event_type_t,
|
19378
19494
|
_swigc__p_pn_expiry_policy_t,
|
@@ -19382,10 +19498,12 @@ static swig_cast_info *swig_cast_initial[] = {
|
|
19382
19498
|
_swigc__p_pn_link_t,
|
19383
19499
|
_swigc__p_pn_list_t,
|
19384
19500
|
_swigc__p_pn_listener_t,
|
19501
|
+
_swigc__p_pn_logger_t,
|
19385
19502
|
_swigc__p_pn_map_t,
|
19386
19503
|
_swigc__p_pn_message_t,
|
19387
19504
|
_swigc__p_pn_messenger_t,
|
19388
19505
|
_swigc__p_pn_proactor_t,
|
19506
|
+
_swigc__p_pn_raw_connection_t,
|
19389
19507
|
_swigc__p_pn_rcv_settle_mode_t,
|
19390
19508
|
_swigc__p_pn_record_t,
|
19391
19509
|
_swigc__p_pn_rwbytes_t,
|
@@ -19520,7 +19638,7 @@ SWIG_InitializeModule(void *clientdata) {
|
|
19520
19638
|
|
19521
19639
|
/* Now work on filling in swig_module.types */
|
19522
19640
|
#ifdef SWIGRUNTIME_DEBUG
|
19523
|
-
printf("SWIG_InitializeModule: size %
|
19641
|
+
printf("SWIG_InitializeModule: size %lu\n", (unsigned long)swig_module.size);
|
19524
19642
|
#endif
|
19525
19643
|
for (i = 0; i < swig_module.size; ++i) {
|
19526
19644
|
swig_type_info *type = 0;
|
@@ -19528,7 +19646,7 @@ SWIG_InitializeModule(void *clientdata) {
|
|
19528
19646
|
swig_cast_info *cast;
|
19529
19647
|
|
19530
19648
|
#ifdef SWIGRUNTIME_DEBUG
|
19531
|
-
printf("SWIG_InitializeModule: type %
|
19649
|
+
printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
|
19532
19650
|
#endif
|
19533
19651
|
|
19534
19652
|
/* if there is another module already loaded */
|
@@ -19604,7 +19722,7 @@ SWIG_InitializeModule(void *clientdata) {
|
|
19604
19722
|
for (i = 0; i < swig_module.size; ++i) {
|
19605
19723
|
int j = 0;
|
19606
19724
|
swig_cast_info *cast = swig_module.cast_initial[i];
|
19607
|
-
printf("SWIG_InitializeModule: type %
|
19725
|
+
printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
|
19608
19726
|
while (cast->type) {
|
19609
19727
|
printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
|
19610
19728
|
cast++;
|
@@ -19721,7 +19839,7 @@ SWIGEXPORT void Init_cproton(void) {
|
|
19721
19839
|
rb_define_module_function(mCproton, "pni_connection_driver", _wrap_pni_connection_driver, -1);
|
19722
19840
|
rb_define_const(mCproton, "PROTON_IMPORT_EXPORT_H", SWIG_From_int((int)(1)));
|
19723
19841
|
rb_define_const(mCproton, "PN_VERSION_MAJOR", SWIG_From_int((int)(0)));
|
19724
|
-
rb_define_const(mCproton, "PN_VERSION_MINOR", SWIG_From_int((int)(
|
19842
|
+
rb_define_const(mCproton, "PN_VERSION_MINOR", SWIG_From_int((int)(34)));
|
19725
19843
|
rb_define_const(mCproton, "PN_VERSION_POINT", SWIG_From_int((int)(0)));
|
19726
19844
|
rb_define_const(mCproton, "PROTON_TYPES_H", SWIG_From_int((int)(1)));
|
19727
19845
|
rb_define_const(mCproton, "PN_MILLIS_MAX", SWIG_From_unsigned_SS_int((unsigned int)((~0U))));
|
@@ -19888,7 +20006,9 @@ SWIGEXPORT void Init_cproton(void) {
|
|
19888
20006
|
rb_define_module_function(mCproton, "pn_connection_set_container", _wrap_pn_connection_set_container, -1);
|
19889
20007
|
rb_define_module_function(mCproton, "pn_connection_set_user", _wrap_pn_connection_set_user, -1);
|
19890
20008
|
rb_define_module_function(mCproton, "pn_connection_set_password", _wrap_pn_connection_set_password, -1);
|
20009
|
+
rb_define_module_function(mCproton, "pn_connection_set_authorization", _wrap_pn_connection_set_authorization, -1);
|
19891
20010
|
rb_define_module_function(mCproton, "pn_connection_get_user", _wrap_pn_connection_get_user, -1);
|
20011
|
+
rb_define_module_function(mCproton, "pn_connection_get_authorization", _wrap_pn_connection_get_authorization, -1);
|
19892
20012
|
rb_define_module_function(mCproton, "pn_connection_get_hostname", _wrap_pn_connection_get_hostname, -1);
|
19893
20013
|
rb_define_module_function(mCproton, "pn_connection_set_hostname", _wrap_pn_connection_set_hostname, -1);
|
19894
20014
|
rb_define_module_function(mCproton, "pn_connection_remote_container", _wrap_pn_connection_remote_container, -1);
|
@@ -19975,6 +20095,8 @@ SWIGEXPORT void Init_cproton(void) {
|
|
19975
20095
|
rb_define_module_function(mCproton, "pn_link_max_message_size", _wrap_pn_link_max_message_size, -1);
|
19976
20096
|
rb_define_module_function(mCproton, "pn_link_set_max_message_size", _wrap_pn_link_set_max_message_size, -1);
|
19977
20097
|
rb_define_module_function(mCproton, "pn_link_remote_max_message_size", _wrap_pn_link_remote_max_message_size, -1);
|
20098
|
+
rb_define_module_function(mCproton, "pn_link_properties", _wrap_pn_link_properties, -1);
|
20099
|
+
rb_define_module_function(mCproton, "pn_link_remote_properties", _wrap_pn_link_remote_properties, -1);
|
19978
20100
|
rb_define_const(mCproton, "PROTON_TERMINUS_H", SWIG_From_int((int)(1)));
|
19979
20101
|
rb_define_const(mCproton, "PN_UNSPECIFIED", SWIG_From_int((int)(PN_UNSPECIFIED)));
|
19980
20102
|
rb_define_const(mCproton, "PN_SOURCE", SWIG_From_int((int)(PN_SOURCE)));
|
@@ -20070,6 +20192,7 @@ SWIGEXPORT void Init_cproton(void) {
|
|
20070
20192
|
rb_define_module_function(mCproton, "pn_transport_require_encryption", _wrap_pn_transport_require_encryption, -1);
|
20071
20193
|
rb_define_module_function(mCproton, "pn_transport_is_encrypted", _wrap_pn_transport_is_encrypted, -1);
|
20072
20194
|
rb_define_module_function(mCproton, "pn_transport_condition", _wrap_pn_transport_condition, -1);
|
20195
|
+
rb_define_module_function(mCproton, "pn_transport_logger", _wrap_pn_transport_logger, -1);
|
20073
20196
|
rb_define_module_function(mCproton, "pn_transport_error", _wrap_pn_transport_error, -1);
|
20074
20197
|
rb_define_module_function(mCproton, "pn_transport_bind", _wrap_pn_transport_bind, -1);
|
20075
20198
|
rb_define_module_function(mCproton, "pn_transport_unbind", _wrap_pn_transport_unbind, -1);
|
@@ -20157,6 +20280,16 @@ SWIGEXPORT void Init_cproton(void) {
|
|
20157
20280
|
rb_define_const(mCproton, "PN_PROACTOR_TIMEOUT", SWIG_From_int((int)(PN_PROACTOR_TIMEOUT)));
|
20158
20281
|
rb_define_const(mCproton, "PN_PROACTOR_INACTIVE", SWIG_From_int((int)(PN_PROACTOR_INACTIVE)));
|
20159
20282
|
rb_define_const(mCproton, "PN_LISTENER_OPEN", SWIG_From_int((int)(PN_LISTENER_OPEN)));
|
20283
|
+
rb_define_const(mCproton, "PN_RAW_CONNECTION_CONNECTED", SWIG_From_int((int)(PN_RAW_CONNECTION_CONNECTED)));
|
20284
|
+
rb_define_const(mCproton, "PN_RAW_CONNECTION_CLOSED_READ", SWIG_From_int((int)(PN_RAW_CONNECTION_CLOSED_READ)));
|
20285
|
+
rb_define_const(mCproton, "PN_RAW_CONNECTION_CLOSED_WRITE", SWIG_From_int((int)(PN_RAW_CONNECTION_CLOSED_WRITE)));
|
20286
|
+
rb_define_const(mCproton, "PN_RAW_CONNECTION_DISCONNECTED", SWIG_From_int((int)(PN_RAW_CONNECTION_DISCONNECTED)));
|
20287
|
+
rb_define_const(mCproton, "PN_RAW_CONNECTION_NEED_READ_BUFFERS", SWIG_From_int((int)(PN_RAW_CONNECTION_NEED_READ_BUFFERS)));
|
20288
|
+
rb_define_const(mCproton, "PN_RAW_CONNECTION_NEED_WRITE_BUFFERS", SWIG_From_int((int)(PN_RAW_CONNECTION_NEED_WRITE_BUFFERS)));
|
20289
|
+
rb_define_const(mCproton, "PN_RAW_CONNECTION_READ", SWIG_From_int((int)(PN_RAW_CONNECTION_READ)));
|
20290
|
+
rb_define_const(mCproton, "PN_RAW_CONNECTION_WRITTEN", SWIG_From_int((int)(PN_RAW_CONNECTION_WRITTEN)));
|
20291
|
+
rb_define_const(mCproton, "PN_RAW_CONNECTION_WAKE", SWIG_From_int((int)(PN_RAW_CONNECTION_WAKE)));
|
20292
|
+
rb_define_const(mCproton, "PN_RAW_CONNECTION_DRAIN_BUFFERS", SWIG_From_int((int)(PN_RAW_CONNECTION_DRAIN_BUFFERS)));
|
20160
20293
|
rb_define_module_function(mCproton, "pn_event_type_name", _wrap_pn_event_type_name, -1);
|
20161
20294
|
rb_define_module_function(mCproton, "pn_collector", _wrap_pn_collector, -1);
|
20162
20295
|
rb_define_module_function(mCproton, "pn_collector_free", _wrap_pn_collector_free, -1);
|
@@ -20178,7 +20311,6 @@ SWIGEXPORT void Init_cproton(void) {
|
|
20178
20311
|
rb_define_module_function(mCproton, "pn_event_transport", _wrap_pn_event_transport, -1);
|
20179
20312
|
rb_define_module_function(mCproton, "pn_event_attachments", _wrap_pn_event_attachments, -1);
|
20180
20313
|
rb_define_module_function(mCproton, "pn_event_condition", _wrap_pn_event_condition, -1);
|
20181
|
-
rb_define_module_function(mCproton, "pn_event_batch_next", _wrap_pn_event_batch_next, -1);
|
20182
20314
|
rb_define_module_function(mCproton, "pn_event_copy", _wrap_pn_event_copy, -1);
|
20183
20315
|
rb_define_const(mCproton, "PROTON_MESSAGE_H", SWIG_From_int((int)(1)));
|
20184
20316
|
rb_define_const(mCproton, "PN_DEFAULT_PRIORITY", SWIG_From_int((int)((4))));
|
@@ -20247,6 +20379,7 @@ SWIGEXPORT void Init_cproton(void) {
|
|
20247
20379
|
rb_define_module_function(mCproton, "pn_sasl_done", _wrap_pn_sasl_done, -1);
|
20248
20380
|
rb_define_module_function(mCproton, "pn_sasl_outcome", _wrap_pn_sasl_outcome, -1);
|
20249
20381
|
rb_define_module_function(mCproton, "pn_sasl_get_user", _wrap_pn_sasl_get_user, -1);
|
20382
|
+
rb_define_module_function(mCproton, "pn_sasl_get_authorization", _wrap_pn_sasl_get_authorization, -1);
|
20250
20383
|
rb_define_module_function(mCproton, "pn_sasl_get_mech", _wrap_pn_sasl_get_mech, -1);
|
20251
20384
|
rb_define_module_function(mCproton, "pn_sasl_allowed_mechs", _wrap_pn_sasl_allowed_mechs, -1);
|
20252
20385
|
rb_define_module_function(mCproton, "pn_sasl_set_allow_insecure_mechs", _wrap_pn_sasl_set_allow_insecure_mechs, -1);
|
@@ -20422,7 +20555,6 @@ SWIGEXPORT void Init_cproton(void) {
|
|
20422
20555
|
rb_define_module_function(mCproton, "pn_connection_driver_has_event", _wrap_pn_connection_driver_has_event, -1);
|
20423
20556
|
rb_define_module_function(mCproton, "pn_connection_driver_finished", _wrap_pn_connection_driver_finished, -1);
|
20424
20557
|
rb_define_module_function(mCproton, "pn_connection_driver_errorf", _wrap_pn_connection_driver_errorf, -1);
|
20425
|
-
rb_define_module_function(mCproton, "pn_event_batch_connection_driver", _wrap_pn_event_batch_connection_driver, -1);
|
20426
20558
|
rb_define_module_function(mCproton, "pn_connection_driver_log", _wrap_pn_connection_driver_log, -1);
|
20427
20559
|
rb_define_module_function(mCproton, "pn_connection_driver_ptr", _wrap_pn_connection_driver_ptr, -1);
|
20428
20560
|
rb_define_const(mCproton, "PROTON_CID_H", SWIG_From_int((int)(1)));
|
@@ -20436,8 +20568,8 @@ SWIGEXPORT void Init_cproton(void) {
|
|
20436
20568
|
rb_define_const(mCproton, "CID_pn_record", SWIG_From_int((int)(CID_pn_record)));
|
20437
20569
|
rb_define_const(mCproton, "CID_pn_collector", SWIG_From_int((int)(CID_pn_collector)));
|
20438
20570
|
rb_define_const(mCproton, "CID_pn_event", SWIG_From_int((int)(CID_pn_event)));
|
20439
|
-
rb_define_const(mCproton, "
|
20440
|
-
rb_define_const(mCproton, "
|
20571
|
+
rb_define_const(mCproton, "CID_pn_buffer", SWIG_From_int((int)(CID_pn_buffer)));
|
20572
|
+
rb_define_const(mCproton, "CID_pn_error", SWIG_From_int((int)(CID_pn_error)));
|
20441
20573
|
rb_define_const(mCproton, "CID_pn_data", SWIG_From_int((int)(CID_pn_data)));
|
20442
20574
|
rb_define_const(mCproton, "CID_pn_connection", SWIG_From_int((int)(CID_pn_connection)));
|
20443
20575
|
rb_define_const(mCproton, "CID_pn_session", SWIG_From_int((int)(CID_pn_session)));
|
@@ -20453,9 +20585,11 @@ SWIGEXPORT void Init_cproton(void) {
|
|
20453
20585
|
rb_define_const(mCproton, "CID_pn_selector", SWIG_From_int((int)(CID_pn_selector)));
|
20454
20586
|
rb_define_const(mCproton, "CID_pn_selectable", SWIG_From_int((int)(CID_pn_selectable)));
|
20455
20587
|
rb_define_const(mCproton, "CID_pn_url", SWIG_From_int((int)(CID_pn_url)));
|
20588
|
+
rb_define_const(mCproton, "CID_pn_strdup", SWIG_From_int((int)(CID_pn_strdup)));
|
20456
20589
|
rb_define_const(mCproton, "CID_pn_listener", SWIG_From_int((int)(CID_pn_listener)));
|
20457
20590
|
rb_define_const(mCproton, "CID_pn_proactor", SWIG_From_int((int)(CID_pn_proactor)));
|
20458
20591
|
rb_define_const(mCproton, "CID_pn_listener_socket", SWIG_From_int((int)(CID_pn_listener_socket)));
|
20592
|
+
rb_define_const(mCproton, "CID_pn_raw_connection", SWIG_From_int((int)(CID_pn_raw_connection)));
|
20459
20593
|
rb_define_const(mCproton, "PROTON_URL_H", SWIG_From_int((int)(1)));
|
20460
20594
|
rb_define_module_function(mCproton, "pn_url", _wrap_pn_url, -1);
|
20461
20595
|
rb_define_module_function(mCproton, "pn_url_parse", _wrap_pn_url_parse, -1);
|
@@ -124,8 +124,10 @@ module Qpid::Proton
|
|
124
124
|
when Delivery::RELEASED then delegate(:on_tracker_release, t)
|
125
125
|
when Delivery::MODIFIED then delegate(:on_tracker_modify, t)
|
126
126
|
end
|
127
|
-
|
128
|
-
|
127
|
+
if t.settled?
|
128
|
+
delegate(:on_tracker_settle, t)
|
129
|
+
t.settle if t.sender.auto_settle
|
130
|
+
end
|
129
131
|
end
|
130
132
|
end
|
131
133
|
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# Licensed to the Apache Software Foundation (ASF) under one
|
2
|
+
# or more contributor license agreements. See the NOTICE file
|
3
|
+
# distributed with this work for additional information
|
4
|
+
# regarding copyright ownership. The ASF licenses this file
|
5
|
+
# to you under the Apache License, Version 2.0 (the
|
6
|
+
# "License"); you may not use this file except in compliance
|
7
|
+
# with the License. You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
17
|
+
|
18
|
+
|
19
|
+
if ENV['COVERAGE']
|
20
|
+
require 'simplecov'
|
21
|
+
SimpleCov.start do
|
22
|
+
if ENV['TRAVIS']
|
23
|
+
require 'codecov'
|
24
|
+
formatter SimpleCov::Formatter::MultiFormatter.new([
|
25
|
+
SimpleCov::Formatter::HTMLFormatter,
|
26
|
+
SimpleCov::Formatter::Codecov,
|
27
|
+
])
|
28
|
+
end
|
29
|
+
coverage_dir ENV['COVERAGE_DIR'] or 'coverage'
|
30
|
+
track_files 'ruby/lib/**/*.rb'
|
31
|
+
end
|
32
|
+
end
|
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.
|
4
|
+
version: 0.34.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:
|
12
|
+
date: 2021-05-17 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
|
@@ -91,6 +91,7 @@ files:
|
|
91
91
|
- lib/util/schedule.rb
|
92
92
|
- lib/util/version.rb
|
93
93
|
- lib/util/wrapper.rb
|
94
|
+
- tests/collect_coverage.rb
|
94
95
|
- tests/test_connection_driver.rb
|
95
96
|
- tests/test_container.rb
|
96
97
|
- tests/test_container_sasl.rb
|
@@ -121,8 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
122
|
- !ruby/object:Gem::Version
|
122
123
|
version: '0'
|
123
124
|
requirements: []
|
124
|
-
|
125
|
-
rubygems_version: 2.7.6
|
125
|
+
rubygems_version: 3.1.6
|
126
126
|
signing_key:
|
127
127
|
specification_version: 4
|
128
128
|
summary: Ruby language bindings for the Qpid Proton messaging framework
|