qpid_proton 0.40.0 → 0.41.1

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.
@@ -1907,54 +1907,60 @@ int SWIG_Ruby_arity( VALUE proc, int minimal )
1907
1907
  #define SWIGTYPE_p_pn_condition_t swig_types[16]
1908
1908
  #define SWIGTYPE_p_pn_connection_driver_t swig_types[17]
1909
1909
  #define SWIGTYPE_p_pn_connection_t swig_types[18]
1910
- #define SWIGTYPE_p_pn_data_t swig_types[19]
1911
- #define SWIGTYPE_p_pn_decimal128_t swig_types[20]
1912
- #define SWIGTYPE_p_pn_delivery_t swig_types[21]
1913
- #define SWIGTYPE_p_pn_disposition_t swig_types[22]
1914
- #define SWIGTYPE_p_pn_distribution_mode_t swig_types[23]
1915
- #define SWIGTYPE_p_pn_durability_t swig_types[24]
1916
- #define SWIGTYPE_p_pn_error_t swig_types[25]
1917
- #define SWIGTYPE_p_pn_event_t swig_types[26]
1918
- #define SWIGTYPE_p_pn_event_type_t swig_types[27]
1919
- #define SWIGTYPE_p_pn_expiry_policy_t swig_types[28]
1920
- #define SWIGTYPE_p_pn_handler_t swig_types[29]
1921
- #define SWIGTYPE_p_pn_link_t swig_types[30]
1922
- #define SWIGTYPE_p_pn_listener_t swig_types[31]
1923
- #define SWIGTYPE_p_pn_logger_t swig_types[32]
1924
- #define SWIGTYPE_p_pn_message_t swig_types[33]
1925
- #define SWIGTYPE_p_pn_messenger_t swig_types[34]
1926
- #define SWIGTYPE_p_pn_proactor_t swig_types[35]
1927
- #define SWIGTYPE_p_pn_raw_connection_t swig_types[36]
1928
- #define SWIGTYPE_p_pn_rcv_settle_mode_t swig_types[37]
1929
- #define SWIGTYPE_p_pn_record_t swig_types[38]
1930
- #define SWIGTYPE_p_pn_rwbytes_t swig_types[39]
1931
- #define SWIGTYPE_p_pn_sasl_outcome_t swig_types[40]
1932
- #define SWIGTYPE_p_pn_sasl_t swig_types[41]
1933
- #define SWIGTYPE_p_pn_session_t swig_types[42]
1934
- #define SWIGTYPE_p_pn_snd_settle_mode_t swig_types[43]
1935
- #define SWIGTYPE_p_pn_ssl_cert_subject_subfield swig_types[44]
1936
- #define SWIGTYPE_p_pn_ssl_domain_t swig_types[45]
1937
- #define SWIGTYPE_p_pn_ssl_hash_alg swig_types[46]
1938
- #define SWIGTYPE_p_pn_ssl_mode_t swig_types[47]
1939
- #define SWIGTYPE_p_pn_ssl_resume_status_t swig_types[48]
1940
- #define SWIGTYPE_p_pn_ssl_t swig_types[49]
1941
- #define SWIGTYPE_p_pn_ssl_verify_mode_t swig_types[50]
1942
- #define SWIGTYPE_p_pn_terminus_t swig_types[51]
1943
- #define SWIGTYPE_p_pn_terminus_type_t swig_types[52]
1944
- #define SWIGTYPE_p_pn_transport_t swig_types[53]
1945
- #define SWIGTYPE_p_pn_type_t swig_types[54]
1946
- #define SWIGTYPE_p_pn_url_t swig_types[55]
1947
- #define SWIGTYPE_p_pn_uuid_t swig_types[56]
1948
- #define SWIGTYPE_p_short swig_types[57]
1949
- #define SWIGTYPE_p_signed_char swig_types[58]
1950
- #define SWIGTYPE_p_unsigned_char swig_types[59]
1951
- #define SWIGTYPE_p_unsigned_int swig_types[60]
1952
- #define SWIGTYPE_p_unsigned_long swig_types[61]
1953
- #define SWIGTYPE_p_unsigned_long_long swig_types[62]
1954
- #define SWIGTYPE_p_unsigned_short swig_types[63]
1955
- #define SWIGTYPE_p_void swig_types[64]
1956
- static swig_type_info *swig_types[66];
1957
- static swig_module_info swig_module = {swig_types, 65, 0, 0, 0, 0};
1910
+ #define SWIGTYPE_p_pn_custom_disposition_t swig_types[19]
1911
+ #define SWIGTYPE_p_pn_data_t swig_types[20]
1912
+ #define SWIGTYPE_p_pn_decimal128_t swig_types[21]
1913
+ #define SWIGTYPE_p_pn_declared_disposition_t swig_types[22]
1914
+ #define SWIGTYPE_p_pn_delivery_t swig_types[23]
1915
+ #define SWIGTYPE_p_pn_disposition_t swig_types[24]
1916
+ #define SWIGTYPE_p_pn_distribution_mode_t swig_types[25]
1917
+ #define SWIGTYPE_p_pn_durability_t swig_types[26]
1918
+ #define SWIGTYPE_p_pn_error_t swig_types[27]
1919
+ #define SWIGTYPE_p_pn_event_t swig_types[28]
1920
+ #define SWIGTYPE_p_pn_event_type_t swig_types[29]
1921
+ #define SWIGTYPE_p_pn_expiry_policy_t swig_types[30]
1922
+ #define SWIGTYPE_p_pn_handler_t swig_types[31]
1923
+ #define SWIGTYPE_p_pn_link_t swig_types[32]
1924
+ #define SWIGTYPE_p_pn_listener_t swig_types[33]
1925
+ #define SWIGTYPE_p_pn_logger_t swig_types[34]
1926
+ #define SWIGTYPE_p_pn_message_t swig_types[35]
1927
+ #define SWIGTYPE_p_pn_messenger_t swig_types[36]
1928
+ #define SWIGTYPE_p_pn_modified_disposition_t swig_types[37]
1929
+ #define SWIGTYPE_p_pn_proactor_t swig_types[38]
1930
+ #define SWIGTYPE_p_pn_raw_connection_t swig_types[39]
1931
+ #define SWIGTYPE_p_pn_rcv_settle_mode_t swig_types[40]
1932
+ #define SWIGTYPE_p_pn_received_disposition_t swig_types[41]
1933
+ #define SWIGTYPE_p_pn_record_t swig_types[42]
1934
+ #define SWIGTYPE_p_pn_rejected_disposition_t swig_types[43]
1935
+ #define SWIGTYPE_p_pn_rwbytes_t swig_types[44]
1936
+ #define SWIGTYPE_p_pn_sasl_outcome_t swig_types[45]
1937
+ #define SWIGTYPE_p_pn_sasl_t swig_types[46]
1938
+ #define SWIGTYPE_p_pn_session_t swig_types[47]
1939
+ #define SWIGTYPE_p_pn_snd_settle_mode_t swig_types[48]
1940
+ #define SWIGTYPE_p_pn_ssl_cert_subject_subfield swig_types[49]
1941
+ #define SWIGTYPE_p_pn_ssl_domain_t swig_types[50]
1942
+ #define SWIGTYPE_p_pn_ssl_hash_alg swig_types[51]
1943
+ #define SWIGTYPE_p_pn_ssl_mode_t swig_types[52]
1944
+ #define SWIGTYPE_p_pn_ssl_resume_status_t swig_types[53]
1945
+ #define SWIGTYPE_p_pn_ssl_t swig_types[54]
1946
+ #define SWIGTYPE_p_pn_ssl_verify_mode_t swig_types[55]
1947
+ #define SWIGTYPE_p_pn_terminus_t swig_types[56]
1948
+ #define SWIGTYPE_p_pn_terminus_type_t swig_types[57]
1949
+ #define SWIGTYPE_p_pn_transactional_disposition_t swig_types[58]
1950
+ #define SWIGTYPE_p_pn_transport_t swig_types[59]
1951
+ #define SWIGTYPE_p_pn_type_t swig_types[60]
1952
+ #define SWIGTYPE_p_pn_url_t swig_types[61]
1953
+ #define SWIGTYPE_p_pn_uuid_t swig_types[62]
1954
+ #define SWIGTYPE_p_short swig_types[63]
1955
+ #define SWIGTYPE_p_signed_char swig_types[64]
1956
+ #define SWIGTYPE_p_unsigned_char swig_types[65]
1957
+ #define SWIGTYPE_p_unsigned_int swig_types[66]
1958
+ #define SWIGTYPE_p_unsigned_long swig_types[67]
1959
+ #define SWIGTYPE_p_unsigned_long_long swig_types[68]
1960
+ #define SWIGTYPE_p_unsigned_short swig_types[69]
1961
+ #define SWIGTYPE_p_void swig_types[70]
1962
+ static swig_type_info *swig_types[72];
1963
+ static swig_module_info swig_module = {swig_types, 71, 0, 0, 0, 0};
1958
1964
  #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1959
1965
  #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1960
1966
 
@@ -9278,6 +9284,27 @@ fail:
9278
9284
  }
9279
9285
 
9280
9286
 
9287
+ SWIGINTERN VALUE
9288
+ _wrap_pn_disposition_clear(int argc, VALUE *argv, VALUE self) {
9289
+ pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
9290
+ void *argp1 = 0 ;
9291
+ int res1 = 0 ;
9292
+
9293
+ if ((argc < 1) || (argc > 1)) {
9294
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9295
+ }
9296
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
9297
+ if (!SWIG_IsOK(res1)) {
9298
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_disposition_clear", 1, argv[0] ));
9299
+ }
9300
+ arg1 = (pn_disposition_t *)(argp1);
9301
+ pn_disposition_clear(arg1);
9302
+ return Qnil;
9303
+ fail:
9304
+ return Qnil;
9305
+ }
9306
+
9307
+
9281
9308
  SWIGINTERN VALUE
9282
9309
  _wrap_pn_disposition_condition(int argc, VALUE *argv, VALUE self) {
9283
9310
  pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
@@ -9327,23 +9354,610 @@ fail:
9327
9354
 
9328
9355
 
9329
9356
  SWIGINTERN VALUE
9330
- _wrap_pn_disposition_get_section_number(int argc, VALUE *argv, VALUE self) {
9331
- pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
9357
+ _wrap_pn_disposition_get_section_number(int argc, VALUE *argv, VALUE self) {
9358
+ pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
9359
+ void *argp1 = 0 ;
9360
+ int res1 = 0 ;
9361
+ uint32_t result;
9362
+ VALUE vresult = Qnil;
9363
+
9364
+ if ((argc < 1) || (argc > 1)) {
9365
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9366
+ }
9367
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
9368
+ if (!SWIG_IsOK(res1)) {
9369
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_disposition_get_section_number", 1, argv[0] ));
9370
+ }
9371
+ arg1 = (pn_disposition_t *)(argp1);
9372
+ result = (uint32_t)pn_disposition_get_section_number(arg1);
9373
+ vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
9374
+ return vresult;
9375
+ fail:
9376
+ return Qnil;
9377
+ }
9378
+
9379
+
9380
+ SWIGINTERN VALUE
9381
+ _wrap_pn_disposition_set_section_number(int argc, VALUE *argv, VALUE self) {
9382
+ pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
9383
+ uint32_t arg2 ;
9384
+ void *argp1 = 0 ;
9385
+ int res1 = 0 ;
9386
+ unsigned long val2 ;
9387
+ int ecode2 = 0 ;
9388
+
9389
+ if ((argc < 2) || (argc > 2)) {
9390
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9391
+ }
9392
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
9393
+ if (!SWIG_IsOK(res1)) {
9394
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_disposition_set_section_number", 1, argv[0] ));
9395
+ }
9396
+ arg1 = (pn_disposition_t *)(argp1);
9397
+ ecode2 = SWIG_AsVal_unsigned_SS_long(argv[1], &val2);
9398
+ if (!SWIG_IsOK(ecode2)) {
9399
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint32_t","pn_disposition_set_section_number", 2, argv[1] ));
9400
+ }
9401
+ arg2 = (uint32_t)(val2);
9402
+ pn_disposition_set_section_number(arg1,arg2);
9403
+ return Qnil;
9404
+ fail:
9405
+ return Qnil;
9406
+ }
9407
+
9408
+
9409
+ SWIGINTERN VALUE
9410
+ _wrap_pn_disposition_get_section_offset(int argc, VALUE *argv, VALUE self) {
9411
+ pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
9412
+ void *argp1 = 0 ;
9413
+ int res1 = 0 ;
9414
+ uint64_t result;
9415
+ VALUE vresult = Qnil;
9416
+
9417
+ if ((argc < 1) || (argc > 1)) {
9418
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9419
+ }
9420
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
9421
+ if (!SWIG_IsOK(res1)) {
9422
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_disposition_get_section_offset", 1, argv[0] ));
9423
+ }
9424
+ arg1 = (pn_disposition_t *)(argp1);
9425
+ result = (uint64_t)pn_disposition_get_section_offset(arg1);
9426
+ vresult = SWIG_From_unsigned_SS_long_SS_long((unsigned long long)(result));
9427
+ return vresult;
9428
+ fail:
9429
+ return Qnil;
9430
+ }
9431
+
9432
+
9433
+ SWIGINTERN VALUE
9434
+ _wrap_pn_disposition_set_section_offset(int argc, VALUE *argv, VALUE self) {
9435
+ pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
9436
+ uint64_t arg2 ;
9437
+ void *argp1 = 0 ;
9438
+ int res1 = 0 ;
9439
+ unsigned long long val2 ;
9440
+ int ecode2 = 0 ;
9441
+
9442
+ if ((argc < 2) || (argc > 2)) {
9443
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9444
+ }
9445
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
9446
+ if (!SWIG_IsOK(res1)) {
9447
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_disposition_set_section_offset", 1, argv[0] ));
9448
+ }
9449
+ arg1 = (pn_disposition_t *)(argp1);
9450
+ ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], &val2);
9451
+ if (!SWIG_IsOK(ecode2)) {
9452
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","pn_disposition_set_section_offset", 2, argv[1] ));
9453
+ }
9454
+ arg2 = (uint64_t)(val2);
9455
+ pn_disposition_set_section_offset(arg1,arg2);
9456
+ return Qnil;
9457
+ fail:
9458
+ return Qnil;
9459
+ }
9460
+
9461
+
9462
+ SWIGINTERN VALUE
9463
+ _wrap_pn_disposition_is_failed(int argc, VALUE *argv, VALUE self) {
9464
+ pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
9465
+ void *argp1 = 0 ;
9466
+ int res1 = 0 ;
9467
+ bool result;
9468
+ VALUE vresult = Qnil;
9469
+
9470
+ if ((argc < 1) || (argc > 1)) {
9471
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9472
+ }
9473
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
9474
+ if (!SWIG_IsOK(res1)) {
9475
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_disposition_is_failed", 1, argv[0] ));
9476
+ }
9477
+ arg1 = (pn_disposition_t *)(argp1);
9478
+ result = (bool)pn_disposition_is_failed(arg1);
9479
+ vresult = SWIG_From_bool((bool)(result));
9480
+ return vresult;
9481
+ fail:
9482
+ return Qnil;
9483
+ }
9484
+
9485
+
9486
+ SWIGINTERN VALUE
9487
+ _wrap_pn_disposition_set_failed(int argc, VALUE *argv, VALUE self) {
9488
+ pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
9489
+ bool arg2 ;
9490
+ void *argp1 = 0 ;
9491
+ int res1 = 0 ;
9492
+ bool val2 ;
9493
+ int ecode2 = 0 ;
9494
+
9495
+ if ((argc < 2) || (argc > 2)) {
9496
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9497
+ }
9498
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
9499
+ if (!SWIG_IsOK(res1)) {
9500
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_disposition_set_failed", 1, argv[0] ));
9501
+ }
9502
+ arg1 = (pn_disposition_t *)(argp1);
9503
+ ecode2 = SWIG_AsVal_bool(argv[1], &val2);
9504
+ if (!SWIG_IsOK(ecode2)) {
9505
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","pn_disposition_set_failed", 2, argv[1] ));
9506
+ }
9507
+ arg2 = (bool)(val2);
9508
+ pn_disposition_set_failed(arg1,arg2);
9509
+ return Qnil;
9510
+ fail:
9511
+ return Qnil;
9512
+ }
9513
+
9514
+
9515
+ SWIGINTERN VALUE
9516
+ _wrap_pn_disposition_is_undeliverable(int argc, VALUE *argv, VALUE self) {
9517
+ pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
9518
+ void *argp1 = 0 ;
9519
+ int res1 = 0 ;
9520
+ bool result;
9521
+ VALUE vresult = Qnil;
9522
+
9523
+ if ((argc < 1) || (argc > 1)) {
9524
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9525
+ }
9526
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
9527
+ if (!SWIG_IsOK(res1)) {
9528
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_disposition_is_undeliverable", 1, argv[0] ));
9529
+ }
9530
+ arg1 = (pn_disposition_t *)(argp1);
9531
+ result = (bool)pn_disposition_is_undeliverable(arg1);
9532
+ vresult = SWIG_From_bool((bool)(result));
9533
+ return vresult;
9534
+ fail:
9535
+ return Qnil;
9536
+ }
9537
+
9538
+
9539
+ SWIGINTERN VALUE
9540
+ _wrap_pn_disposition_set_undeliverable(int argc, VALUE *argv, VALUE self) {
9541
+ pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
9542
+ bool arg2 ;
9543
+ void *argp1 = 0 ;
9544
+ int res1 = 0 ;
9545
+ bool val2 ;
9546
+ int ecode2 = 0 ;
9547
+
9548
+ if ((argc < 2) || (argc > 2)) {
9549
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9550
+ }
9551
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
9552
+ if (!SWIG_IsOK(res1)) {
9553
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_disposition_set_undeliverable", 1, argv[0] ));
9554
+ }
9555
+ arg1 = (pn_disposition_t *)(argp1);
9556
+ ecode2 = SWIG_AsVal_bool(argv[1], &val2);
9557
+ if (!SWIG_IsOK(ecode2)) {
9558
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","pn_disposition_set_undeliverable", 2, argv[1] ));
9559
+ }
9560
+ arg2 = (bool)(val2);
9561
+ pn_disposition_set_undeliverable(arg1,arg2);
9562
+ return Qnil;
9563
+ fail:
9564
+ return Qnil;
9565
+ }
9566
+
9567
+
9568
+ SWIGINTERN VALUE
9569
+ _wrap_pn_disposition_annotations(int argc, VALUE *argv, VALUE self) {
9570
+ pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
9571
+ void *argp1 = 0 ;
9572
+ int res1 = 0 ;
9573
+ pn_data_t *result = 0 ;
9574
+ VALUE vresult = Qnil;
9575
+
9576
+ if ((argc < 1) || (argc > 1)) {
9577
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9578
+ }
9579
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
9580
+ if (!SWIG_IsOK(res1)) {
9581
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_disposition_annotations", 1, argv[0] ));
9582
+ }
9583
+ arg1 = (pn_disposition_t *)(argp1);
9584
+ result = (pn_data_t *)pn_disposition_annotations(arg1);
9585
+ vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pn_data_t, 0 | 0 );
9586
+ return vresult;
9587
+ fail:
9588
+ return Qnil;
9589
+ }
9590
+
9591
+
9592
+ SWIGINTERN VALUE
9593
+ _wrap_pn_custom_disposition(int argc, VALUE *argv, VALUE self) {
9594
+ pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
9595
+ void *argp1 = 0 ;
9596
+ int res1 = 0 ;
9597
+ pn_custom_disposition_t *result = 0 ;
9598
+ VALUE vresult = Qnil;
9599
+
9600
+ if ((argc < 1) || (argc > 1)) {
9601
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9602
+ }
9603
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
9604
+ if (!SWIG_IsOK(res1)) {
9605
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_custom_disposition", 1, argv[0] ));
9606
+ }
9607
+ arg1 = (pn_disposition_t *)(argp1);
9608
+ result = (pn_custom_disposition_t *)pn_custom_disposition(arg1);
9609
+ vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pn_custom_disposition_t, 0 | 0 );
9610
+ return vresult;
9611
+ fail:
9612
+ return Qnil;
9613
+ }
9614
+
9615
+
9616
+ SWIGINTERN VALUE
9617
+ _wrap_pn_received_disposition(int argc, VALUE *argv, VALUE self) {
9618
+ pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
9619
+ void *argp1 = 0 ;
9620
+ int res1 = 0 ;
9621
+ pn_received_disposition_t *result = 0 ;
9622
+ VALUE vresult = Qnil;
9623
+
9624
+ if ((argc < 1) || (argc > 1)) {
9625
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9626
+ }
9627
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
9628
+ if (!SWIG_IsOK(res1)) {
9629
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_received_disposition", 1, argv[0] ));
9630
+ }
9631
+ arg1 = (pn_disposition_t *)(argp1);
9632
+ result = (pn_received_disposition_t *)pn_received_disposition(arg1);
9633
+ vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pn_received_disposition_t, 0 | 0 );
9634
+ return vresult;
9635
+ fail:
9636
+ return Qnil;
9637
+ }
9638
+
9639
+
9640
+ SWIGINTERN VALUE
9641
+ _wrap_pn_rejected_disposition(int argc, VALUE *argv, VALUE self) {
9642
+ pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
9643
+ void *argp1 = 0 ;
9644
+ int res1 = 0 ;
9645
+ pn_rejected_disposition_t *result = 0 ;
9646
+ VALUE vresult = Qnil;
9647
+
9648
+ if ((argc < 1) || (argc > 1)) {
9649
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9650
+ }
9651
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
9652
+ if (!SWIG_IsOK(res1)) {
9653
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_rejected_disposition", 1, argv[0] ));
9654
+ }
9655
+ arg1 = (pn_disposition_t *)(argp1);
9656
+ result = (pn_rejected_disposition_t *)pn_rejected_disposition(arg1);
9657
+ vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pn_rejected_disposition_t, 0 | 0 );
9658
+ return vresult;
9659
+ fail:
9660
+ return Qnil;
9661
+ }
9662
+
9663
+
9664
+ SWIGINTERN VALUE
9665
+ _wrap_pn_modified_disposition(int argc, VALUE *argv, VALUE self) {
9666
+ pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
9667
+ void *argp1 = 0 ;
9668
+ int res1 = 0 ;
9669
+ pn_modified_disposition_t *result = 0 ;
9670
+ VALUE vresult = Qnil;
9671
+
9672
+ if ((argc < 1) || (argc > 1)) {
9673
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9674
+ }
9675
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
9676
+ if (!SWIG_IsOK(res1)) {
9677
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_modified_disposition", 1, argv[0] ));
9678
+ }
9679
+ arg1 = (pn_disposition_t *)(argp1);
9680
+ result = (pn_modified_disposition_t *)pn_modified_disposition(arg1);
9681
+ vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pn_modified_disposition_t, 0 | 0 );
9682
+ return vresult;
9683
+ fail:
9684
+ return Qnil;
9685
+ }
9686
+
9687
+
9688
+ SWIGINTERN VALUE
9689
+ _wrap_pn_declared_disposition(int argc, VALUE *argv, VALUE self) {
9690
+ pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
9691
+ void *argp1 = 0 ;
9692
+ int res1 = 0 ;
9693
+ pn_declared_disposition_t *result = 0 ;
9694
+ VALUE vresult = Qnil;
9695
+
9696
+ if ((argc < 1) || (argc > 1)) {
9697
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9698
+ }
9699
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
9700
+ if (!SWIG_IsOK(res1)) {
9701
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_declared_disposition", 1, argv[0] ));
9702
+ }
9703
+ arg1 = (pn_disposition_t *)(argp1);
9704
+ result = (pn_declared_disposition_t *)pn_declared_disposition(arg1);
9705
+ vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pn_declared_disposition_t, 0 | 0 );
9706
+ return vresult;
9707
+ fail:
9708
+ return Qnil;
9709
+ }
9710
+
9711
+
9712
+ SWIGINTERN VALUE
9713
+ _wrap_pn_transactional_disposition(int argc, VALUE *argv, VALUE self) {
9714
+ pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
9715
+ void *argp1 = 0 ;
9716
+ int res1 = 0 ;
9717
+ pn_transactional_disposition_t *result = 0 ;
9718
+ VALUE vresult = Qnil;
9719
+
9720
+ if ((argc < 1) || (argc > 1)) {
9721
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9722
+ }
9723
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
9724
+ if (!SWIG_IsOK(res1)) {
9725
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_transactional_disposition", 1, argv[0] ));
9726
+ }
9727
+ arg1 = (pn_disposition_t *)(argp1);
9728
+ result = (pn_transactional_disposition_t *)pn_transactional_disposition(arg1);
9729
+ vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pn_transactional_disposition_t, 0 | 0 );
9730
+ return vresult;
9731
+ fail:
9732
+ return Qnil;
9733
+ }
9734
+
9735
+
9736
+ SWIGINTERN VALUE
9737
+ _wrap_pn_custom_disposition_data(int argc, VALUE *argv, VALUE self) {
9738
+ pn_custom_disposition_t *arg1 = (pn_custom_disposition_t *) 0 ;
9739
+ void *argp1 = 0 ;
9740
+ int res1 = 0 ;
9741
+ pn_data_t *result = 0 ;
9742
+ VALUE vresult = Qnil;
9743
+
9744
+ if ((argc < 1) || (argc > 1)) {
9745
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9746
+ }
9747
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_custom_disposition_t, 0 | 0 );
9748
+ if (!SWIG_IsOK(res1)) {
9749
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_custom_disposition_t *","pn_custom_disposition_data", 1, argv[0] ));
9750
+ }
9751
+ arg1 = (pn_custom_disposition_t *)(argp1);
9752
+ result = (pn_data_t *)pn_custom_disposition_data(arg1);
9753
+ vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pn_data_t, 0 | 0 );
9754
+ return vresult;
9755
+ fail:
9756
+ return Qnil;
9757
+ }
9758
+
9759
+
9760
+ SWIGINTERN VALUE
9761
+ _wrap_pn_custom_disposition_get_type(int argc, VALUE *argv, VALUE self) {
9762
+ pn_custom_disposition_t *arg1 = (pn_custom_disposition_t *) 0 ;
9763
+ void *argp1 = 0 ;
9764
+ int res1 = 0 ;
9765
+ uint64_t result;
9766
+ VALUE vresult = Qnil;
9767
+
9768
+ if ((argc < 1) || (argc > 1)) {
9769
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9770
+ }
9771
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_custom_disposition_t, 0 | 0 );
9772
+ if (!SWIG_IsOK(res1)) {
9773
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_custom_disposition_t *","pn_custom_disposition_get_type", 1, argv[0] ));
9774
+ }
9775
+ arg1 = (pn_custom_disposition_t *)(argp1);
9776
+ result = (uint64_t)pn_custom_disposition_get_type(arg1);
9777
+ vresult = SWIG_From_unsigned_SS_long_SS_long((unsigned long long)(result));
9778
+ return vresult;
9779
+ fail:
9780
+ return Qnil;
9781
+ }
9782
+
9783
+
9784
+ SWIGINTERN VALUE
9785
+ _wrap_pn_custom_disposition_set_type(int argc, VALUE *argv, VALUE self) {
9786
+ pn_custom_disposition_t *arg1 = (pn_custom_disposition_t *) 0 ;
9787
+ uint64_t arg2 ;
9788
+ void *argp1 = 0 ;
9789
+ int res1 = 0 ;
9790
+ unsigned long long val2 ;
9791
+ int ecode2 = 0 ;
9792
+
9793
+ if ((argc < 2) || (argc > 2)) {
9794
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9795
+ }
9796
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_custom_disposition_t, 0 | 0 );
9797
+ if (!SWIG_IsOK(res1)) {
9798
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_custom_disposition_t *","pn_custom_disposition_set_type", 1, argv[0] ));
9799
+ }
9800
+ arg1 = (pn_custom_disposition_t *)(argp1);
9801
+ ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], &val2);
9802
+ if (!SWIG_IsOK(ecode2)) {
9803
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","pn_custom_disposition_set_type", 2, argv[1] ));
9804
+ }
9805
+ arg2 = (uint64_t)(val2);
9806
+ pn_custom_disposition_set_type(arg1,arg2);
9807
+ return Qnil;
9808
+ fail:
9809
+ return Qnil;
9810
+ }
9811
+
9812
+
9813
+ SWIGINTERN VALUE
9814
+ _wrap_pn_rejected_disposition_condition(int argc, VALUE *argv, VALUE self) {
9815
+ pn_rejected_disposition_t *arg1 = (pn_rejected_disposition_t *) 0 ;
9816
+ void *argp1 = 0 ;
9817
+ int res1 = 0 ;
9818
+ pn_condition_t *result = 0 ;
9819
+ VALUE vresult = Qnil;
9820
+
9821
+ if ((argc < 1) || (argc > 1)) {
9822
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9823
+ }
9824
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_rejected_disposition_t, 0 | 0 );
9825
+ if (!SWIG_IsOK(res1)) {
9826
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_rejected_disposition_t *","pn_rejected_disposition_condition", 1, argv[0] ));
9827
+ }
9828
+ arg1 = (pn_rejected_disposition_t *)(argp1);
9829
+ result = (pn_condition_t *)pn_rejected_disposition_condition(arg1);
9830
+ vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pn_condition_t, 0 | 0 );
9831
+ return vresult;
9832
+ fail:
9833
+ return Qnil;
9834
+ }
9835
+
9836
+
9837
+ SWIGINTERN VALUE
9838
+ _wrap_pn_received_disposition_get_section_number(int argc, VALUE *argv, VALUE self) {
9839
+ pn_received_disposition_t *arg1 = (pn_received_disposition_t *) 0 ;
9840
+ void *argp1 = 0 ;
9841
+ int res1 = 0 ;
9842
+ uint32_t result;
9843
+ VALUE vresult = Qnil;
9844
+
9845
+ if ((argc < 1) || (argc > 1)) {
9846
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9847
+ }
9848
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_received_disposition_t, 0 | 0 );
9849
+ if (!SWIG_IsOK(res1)) {
9850
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_received_disposition_t *","pn_received_disposition_get_section_number", 1, argv[0] ));
9851
+ }
9852
+ arg1 = (pn_received_disposition_t *)(argp1);
9853
+ result = (uint32_t)pn_received_disposition_get_section_number(arg1);
9854
+ vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
9855
+ return vresult;
9856
+ fail:
9857
+ return Qnil;
9858
+ }
9859
+
9860
+
9861
+ SWIGINTERN VALUE
9862
+ _wrap_pn_received_disposition_set_section_number(int argc, VALUE *argv, VALUE self) {
9863
+ pn_received_disposition_t *arg1 = (pn_received_disposition_t *) 0 ;
9864
+ uint32_t arg2 ;
9865
+ void *argp1 = 0 ;
9866
+ int res1 = 0 ;
9867
+ unsigned long val2 ;
9868
+ int ecode2 = 0 ;
9869
+
9870
+ if ((argc < 2) || (argc > 2)) {
9871
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9872
+ }
9873
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_received_disposition_t, 0 | 0 );
9874
+ if (!SWIG_IsOK(res1)) {
9875
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_received_disposition_t *","pn_received_disposition_set_section_number", 1, argv[0] ));
9876
+ }
9877
+ arg1 = (pn_received_disposition_t *)(argp1);
9878
+ ecode2 = SWIG_AsVal_unsigned_SS_long(argv[1], &val2);
9879
+ if (!SWIG_IsOK(ecode2)) {
9880
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint32_t","pn_received_disposition_set_section_number", 2, argv[1] ));
9881
+ }
9882
+ arg2 = (uint32_t)(val2);
9883
+ pn_received_disposition_set_section_number(arg1,arg2);
9884
+ return Qnil;
9885
+ fail:
9886
+ return Qnil;
9887
+ }
9888
+
9889
+
9890
+ SWIGINTERN VALUE
9891
+ _wrap_pn_received_disposition_get_section_offset(int argc, VALUE *argv, VALUE self) {
9892
+ pn_received_disposition_t *arg1 = (pn_received_disposition_t *) 0 ;
9893
+ void *argp1 = 0 ;
9894
+ int res1 = 0 ;
9895
+ uint64_t result;
9896
+ VALUE vresult = Qnil;
9897
+
9898
+ if ((argc < 1) || (argc > 1)) {
9899
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9900
+ }
9901
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_received_disposition_t, 0 | 0 );
9902
+ if (!SWIG_IsOK(res1)) {
9903
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_received_disposition_t *","pn_received_disposition_get_section_offset", 1, argv[0] ));
9904
+ }
9905
+ arg1 = (pn_received_disposition_t *)(argp1);
9906
+ result = (uint64_t)pn_received_disposition_get_section_offset(arg1);
9907
+ vresult = SWIG_From_unsigned_SS_long_SS_long((unsigned long long)(result));
9908
+ return vresult;
9909
+ fail:
9910
+ return Qnil;
9911
+ }
9912
+
9913
+
9914
+ SWIGINTERN VALUE
9915
+ _wrap_pn_received_disposition_set_section_offset(int argc, VALUE *argv, VALUE self) {
9916
+ pn_received_disposition_t *arg1 = (pn_received_disposition_t *) 0 ;
9917
+ uint64_t arg2 ;
9918
+ void *argp1 = 0 ;
9919
+ int res1 = 0 ;
9920
+ unsigned long long val2 ;
9921
+ int ecode2 = 0 ;
9922
+
9923
+ if ((argc < 2) || (argc > 2)) {
9924
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9925
+ }
9926
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_received_disposition_t, 0 | 0 );
9927
+ if (!SWIG_IsOK(res1)) {
9928
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_received_disposition_t *","pn_received_disposition_set_section_offset", 1, argv[0] ));
9929
+ }
9930
+ arg1 = (pn_received_disposition_t *)(argp1);
9931
+ ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], &val2);
9932
+ if (!SWIG_IsOK(ecode2)) {
9933
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","pn_received_disposition_set_section_offset", 2, argv[1] ));
9934
+ }
9935
+ arg2 = (uint64_t)(val2);
9936
+ pn_received_disposition_set_section_offset(arg1,arg2);
9937
+ return Qnil;
9938
+ fail:
9939
+ return Qnil;
9940
+ }
9941
+
9942
+
9943
+ SWIGINTERN VALUE
9944
+ _wrap_pn_modified_disposition_is_failed(int argc, VALUE *argv, VALUE self) {
9945
+ pn_modified_disposition_t *arg1 = (pn_modified_disposition_t *) 0 ;
9332
9946
  void *argp1 = 0 ;
9333
9947
  int res1 = 0 ;
9334
- uint32_t result;
9948
+ bool result;
9335
9949
  VALUE vresult = Qnil;
9336
9950
 
9337
9951
  if ((argc < 1) || (argc > 1)) {
9338
9952
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9339
9953
  }
9340
- res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
9954
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_modified_disposition_t, 0 | 0 );
9341
9955
  if (!SWIG_IsOK(res1)) {
9342
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_disposition_get_section_number", 1, argv[0] ));
9956
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_modified_disposition_t *","pn_modified_disposition_is_failed", 1, argv[0] ));
9343
9957
  }
9344
- arg1 = (pn_disposition_t *)(argp1);
9345
- result = (uint32_t)pn_disposition_get_section_number(arg1);
9346
- vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
9958
+ arg1 = (pn_modified_disposition_t *)(argp1);
9959
+ result = (bool)pn_modified_disposition_is_failed(arg1);
9960
+ vresult = SWIG_From_bool((bool)(result));
9347
9961
  return vresult;
9348
9962
  fail:
9349
9963
  return Qnil;
@@ -9351,28 +9965,28 @@ fail:
9351
9965
 
9352
9966
 
9353
9967
  SWIGINTERN VALUE
9354
- _wrap_pn_disposition_set_section_number(int argc, VALUE *argv, VALUE self) {
9355
- pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
9356
- uint32_t arg2 ;
9968
+ _wrap_pn_modified_disposition_set_failed(int argc, VALUE *argv, VALUE self) {
9969
+ pn_modified_disposition_t *arg1 = (pn_modified_disposition_t *) 0 ;
9970
+ bool arg2 ;
9357
9971
  void *argp1 = 0 ;
9358
9972
  int res1 = 0 ;
9359
- unsigned long val2 ;
9973
+ bool val2 ;
9360
9974
  int ecode2 = 0 ;
9361
9975
 
9362
9976
  if ((argc < 2) || (argc > 2)) {
9363
9977
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9364
9978
  }
9365
- res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
9979
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_modified_disposition_t, 0 | 0 );
9366
9980
  if (!SWIG_IsOK(res1)) {
9367
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_disposition_set_section_number", 1, argv[0] ));
9981
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_modified_disposition_t *","pn_modified_disposition_set_failed", 1, argv[0] ));
9368
9982
  }
9369
- arg1 = (pn_disposition_t *)(argp1);
9370
- ecode2 = SWIG_AsVal_unsigned_SS_long(argv[1], &val2);
9983
+ arg1 = (pn_modified_disposition_t *)(argp1);
9984
+ ecode2 = SWIG_AsVal_bool(argv[1], &val2);
9371
9985
  if (!SWIG_IsOK(ecode2)) {
9372
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint32_t","pn_disposition_set_section_number", 2, argv[1] ));
9986
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","pn_modified_disposition_set_failed", 2, argv[1] ));
9373
9987
  }
9374
- arg2 = (uint32_t)(val2);
9375
- pn_disposition_set_section_number(arg1,arg2);
9988
+ arg2 = (bool)(val2);
9989
+ pn_modified_disposition_set_failed(arg1,arg2);
9376
9990
  return Qnil;
9377
9991
  fail:
9378
9992
  return Qnil;
@@ -9380,23 +9994,23 @@ fail:
9380
9994
 
9381
9995
 
9382
9996
  SWIGINTERN VALUE
9383
- _wrap_pn_disposition_get_section_offset(int argc, VALUE *argv, VALUE self) {
9384
- pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
9997
+ _wrap_pn_modified_disposition_is_undeliverable(int argc, VALUE *argv, VALUE self) {
9998
+ pn_modified_disposition_t *arg1 = (pn_modified_disposition_t *) 0 ;
9385
9999
  void *argp1 = 0 ;
9386
10000
  int res1 = 0 ;
9387
- uint64_t result;
10001
+ bool result;
9388
10002
  VALUE vresult = Qnil;
9389
10003
 
9390
10004
  if ((argc < 1) || (argc > 1)) {
9391
10005
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9392
10006
  }
9393
- res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
10007
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_modified_disposition_t, 0 | 0 );
9394
10008
  if (!SWIG_IsOK(res1)) {
9395
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_disposition_get_section_offset", 1, argv[0] ));
10009
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_modified_disposition_t *","pn_modified_disposition_is_undeliverable", 1, argv[0] ));
9396
10010
  }
9397
- arg1 = (pn_disposition_t *)(argp1);
9398
- result = (uint64_t)pn_disposition_get_section_offset(arg1);
9399
- vresult = SWIG_From_unsigned_SS_long_SS_long((unsigned long long)(result));
10011
+ arg1 = (pn_modified_disposition_t *)(argp1);
10012
+ result = (bool)pn_modified_disposition_is_undeliverable(arg1);
10013
+ vresult = SWIG_From_bool((bool)(result));
9400
10014
  return vresult;
9401
10015
  fail:
9402
10016
  return Qnil;
@@ -9404,28 +10018,28 @@ fail:
9404
10018
 
9405
10019
 
9406
10020
  SWIGINTERN VALUE
9407
- _wrap_pn_disposition_set_section_offset(int argc, VALUE *argv, VALUE self) {
9408
- pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
9409
- uint64_t arg2 ;
10021
+ _wrap_pn_modified_disposition_set_undeliverable(int argc, VALUE *argv, VALUE self) {
10022
+ pn_modified_disposition_t *arg1 = (pn_modified_disposition_t *) 0 ;
10023
+ bool arg2 ;
9410
10024
  void *argp1 = 0 ;
9411
10025
  int res1 = 0 ;
9412
- unsigned long long val2 ;
10026
+ bool val2 ;
9413
10027
  int ecode2 = 0 ;
9414
10028
 
9415
10029
  if ((argc < 2) || (argc > 2)) {
9416
10030
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9417
10031
  }
9418
- res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
10032
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_modified_disposition_t, 0 | 0 );
9419
10033
  if (!SWIG_IsOK(res1)) {
9420
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_disposition_set_section_offset", 1, argv[0] ));
10034
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_modified_disposition_t *","pn_modified_disposition_set_undeliverable", 1, argv[0] ));
9421
10035
  }
9422
- arg1 = (pn_disposition_t *)(argp1);
9423
- ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], &val2);
10036
+ arg1 = (pn_modified_disposition_t *)(argp1);
10037
+ ecode2 = SWIG_AsVal_bool(argv[1], &val2);
9424
10038
  if (!SWIG_IsOK(ecode2)) {
9425
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","pn_disposition_set_section_offset", 2, argv[1] ));
10039
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","pn_modified_disposition_set_undeliverable", 2, argv[1] ));
9426
10040
  }
9427
- arg2 = (uint64_t)(val2);
9428
- pn_disposition_set_section_offset(arg1,arg2);
10041
+ arg2 = (bool)(val2);
10042
+ pn_modified_disposition_set_undeliverable(arg1,arg2);
9429
10043
  return Qnil;
9430
10044
  fail:
9431
10045
  return Qnil;
@@ -9433,23 +10047,23 @@ fail:
9433
10047
 
9434
10048
 
9435
10049
  SWIGINTERN VALUE
9436
- _wrap_pn_disposition_is_failed(int argc, VALUE *argv, VALUE self) {
9437
- pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
10050
+ _wrap_pn_modified_disposition_annotations(int argc, VALUE *argv, VALUE self) {
10051
+ pn_modified_disposition_t *arg1 = (pn_modified_disposition_t *) 0 ;
9438
10052
  void *argp1 = 0 ;
9439
10053
  int res1 = 0 ;
9440
- bool result;
10054
+ pn_data_t *result = 0 ;
9441
10055
  VALUE vresult = Qnil;
9442
10056
 
9443
10057
  if ((argc < 1) || (argc > 1)) {
9444
10058
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9445
10059
  }
9446
- res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
10060
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_modified_disposition_t, 0 | 0 );
9447
10061
  if (!SWIG_IsOK(res1)) {
9448
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_disposition_is_failed", 1, argv[0] ));
10062
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_modified_disposition_t *","pn_modified_disposition_annotations", 1, argv[0] ));
9449
10063
  }
9450
- arg1 = (pn_disposition_t *)(argp1);
9451
- result = (bool)pn_disposition_is_failed(arg1);
9452
- vresult = SWIG_From_bool((bool)(result));
10064
+ arg1 = (pn_modified_disposition_t *)(argp1);
10065
+ result = (pn_data_t *)pn_modified_disposition_annotations(arg1);
10066
+ vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pn_data_t, 0 | 0 );
9453
10067
  return vresult;
9454
10068
  fail:
9455
10069
  return Qnil;
@@ -9457,28 +10071,59 @@ fail:
9457
10071
 
9458
10072
 
9459
10073
  SWIGINTERN VALUE
9460
- _wrap_pn_disposition_set_failed(int argc, VALUE *argv, VALUE self) {
9461
- pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
9462
- bool arg2 ;
10074
+ _wrap_pn_declared_disposition_get_id(int argc, VALUE *argv, VALUE self) {
10075
+ pn_declared_disposition_t *arg1 = (pn_declared_disposition_t *) 0 ;
10076
+ void *argp1 = 0 ;
10077
+ int res1 = 0 ;
10078
+ pn_bytes_t result;
10079
+ VALUE vresult = Qnil;
10080
+
10081
+ if ((argc < 1) || (argc > 1)) {
10082
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10083
+ }
10084
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_declared_disposition_t, 0 | 0 );
10085
+ if (!SWIG_IsOK(res1)) {
10086
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_declared_disposition_t *","pn_declared_disposition_get_id", 1, argv[0] ));
10087
+ }
10088
+ arg1 = (pn_declared_disposition_t *)(argp1);
10089
+ result = pn_declared_disposition_get_id(arg1);
10090
+ {
10091
+ vresult = rb_str_new((&result)->start, (&result)->size);
10092
+ }
10093
+ return vresult;
10094
+ fail:
10095
+ return Qnil;
10096
+ }
10097
+
10098
+
10099
+ SWIGINTERN VALUE
10100
+ _wrap_pn_declared_disposition_set_id(int argc, VALUE *argv, VALUE self) {
10101
+ pn_declared_disposition_t *arg1 = (pn_declared_disposition_t *) 0 ;
10102
+ pn_bytes_t arg2 ;
9463
10103
  void *argp1 = 0 ;
9464
10104
  int res1 = 0 ;
9465
- bool val2 ;
9466
- int ecode2 = 0 ;
9467
10105
 
9468
10106
  if ((argc < 2) || (argc > 2)) {
9469
10107
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9470
10108
  }
9471
- res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
10109
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_declared_disposition_t, 0 | 0 );
9472
10110
  if (!SWIG_IsOK(res1)) {
9473
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_disposition_set_failed", 1, argv[0] ));
10111
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_declared_disposition_t *","pn_declared_disposition_set_id", 1, argv[0] ));
9474
10112
  }
9475
- arg1 = (pn_disposition_t *)(argp1);
9476
- ecode2 = SWIG_AsVal_bool(argv[1], &val2);
9477
- if (!SWIG_IsOK(ecode2)) {
9478
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","pn_disposition_set_failed", 2, argv[1] ));
9479
- }
9480
- arg2 = (bool)(val2);
9481
- pn_disposition_set_failed(arg1,arg2);
10113
+ arg1 = (pn_declared_disposition_t *)(argp1);
10114
+ {
10115
+ if (argv[1] == Qnil) {
10116
+ (&arg2)->start = NULL;
10117
+ (&arg2)->size = 0;
10118
+ } else {
10119
+ (&arg2)->start = RSTRING_PTR(argv[1]);
10120
+ if (!(&arg2)->start) {
10121
+ (&arg2)->size = 0;
10122
+ }
10123
+ (&arg2)->size = RSTRING_LEN(argv[1]);
10124
+ }
10125
+ }
10126
+ pn_declared_disposition_set_id(arg1,arg2);
9482
10127
  return Qnil;
9483
10128
  fail:
9484
10129
  return Qnil;
@@ -9486,23 +10131,25 @@ fail:
9486
10131
 
9487
10132
 
9488
10133
  SWIGINTERN VALUE
9489
- _wrap_pn_disposition_is_undeliverable(int argc, VALUE *argv, VALUE self) {
9490
- pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
10134
+ _wrap_pn_transactional_disposition_get_id(int argc, VALUE *argv, VALUE self) {
10135
+ pn_transactional_disposition_t *arg1 = (pn_transactional_disposition_t *) 0 ;
9491
10136
  void *argp1 = 0 ;
9492
10137
  int res1 = 0 ;
9493
- bool result;
10138
+ pn_bytes_t result;
9494
10139
  VALUE vresult = Qnil;
9495
10140
 
9496
10141
  if ((argc < 1) || (argc > 1)) {
9497
10142
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9498
10143
  }
9499
- res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
10144
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_transactional_disposition_t, 0 | 0 );
9500
10145
  if (!SWIG_IsOK(res1)) {
9501
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_disposition_is_undeliverable", 1, argv[0] ));
10146
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_transactional_disposition_t *","pn_transactional_disposition_get_id", 1, argv[0] ));
10147
+ }
10148
+ arg1 = (pn_transactional_disposition_t *)(argp1);
10149
+ result = pn_transactional_disposition_get_id(arg1);
10150
+ {
10151
+ vresult = rb_str_new((&result)->start, (&result)->size);
9502
10152
  }
9503
- arg1 = (pn_disposition_t *)(argp1);
9504
- result = (bool)pn_disposition_is_undeliverable(arg1);
9505
- vresult = SWIG_From_bool((bool)(result));
9506
10153
  return vresult;
9507
10154
  fail:
9508
10155
  return Qnil;
@@ -9510,28 +10157,33 @@ fail:
9510
10157
 
9511
10158
 
9512
10159
  SWIGINTERN VALUE
9513
- _wrap_pn_disposition_set_undeliverable(int argc, VALUE *argv, VALUE self) {
9514
- pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
9515
- bool arg2 ;
10160
+ _wrap_pn_transactional_disposition_set_id(int argc, VALUE *argv, VALUE self) {
10161
+ pn_transactional_disposition_t *arg1 = (pn_transactional_disposition_t *) 0 ;
10162
+ pn_bytes_t arg2 ;
9516
10163
  void *argp1 = 0 ;
9517
10164
  int res1 = 0 ;
9518
- bool val2 ;
9519
- int ecode2 = 0 ;
9520
10165
 
9521
10166
  if ((argc < 2) || (argc > 2)) {
9522
10167
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9523
10168
  }
9524
- res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
10169
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_transactional_disposition_t, 0 | 0 );
9525
10170
  if (!SWIG_IsOK(res1)) {
9526
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_disposition_set_undeliverable", 1, argv[0] ));
10171
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_transactional_disposition_t *","pn_transactional_disposition_set_id", 1, argv[0] ));
9527
10172
  }
9528
- arg1 = (pn_disposition_t *)(argp1);
9529
- ecode2 = SWIG_AsVal_bool(argv[1], &val2);
9530
- if (!SWIG_IsOK(ecode2)) {
9531
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","pn_disposition_set_undeliverable", 2, argv[1] ));
9532
- }
9533
- arg2 = (bool)(val2);
9534
- pn_disposition_set_undeliverable(arg1,arg2);
10173
+ arg1 = (pn_transactional_disposition_t *)(argp1);
10174
+ {
10175
+ if (argv[1] == Qnil) {
10176
+ (&arg2)->start = NULL;
10177
+ (&arg2)->size = 0;
10178
+ } else {
10179
+ (&arg2)->start = RSTRING_PTR(argv[1]);
10180
+ if (!(&arg2)->start) {
10181
+ (&arg2)->size = 0;
10182
+ }
10183
+ (&arg2)->size = RSTRING_LEN(argv[1]);
10184
+ }
10185
+ }
10186
+ pn_transactional_disposition_set_id(arg1,arg2);
9535
10187
  return Qnil;
9536
10188
  fail:
9537
10189
  return Qnil;
@@ -9539,29 +10191,58 @@ fail:
9539
10191
 
9540
10192
 
9541
10193
  SWIGINTERN VALUE
9542
- _wrap_pn_disposition_annotations(int argc, VALUE *argv, VALUE self) {
9543
- pn_disposition_t *arg1 = (pn_disposition_t *) 0 ;
10194
+ _wrap_pn_transactional_disposition_get_outcome_type(int argc, VALUE *argv, VALUE self) {
10195
+ pn_transactional_disposition_t *arg1 = (pn_transactional_disposition_t *) 0 ;
9544
10196
  void *argp1 = 0 ;
9545
10197
  int res1 = 0 ;
9546
- pn_data_t *result = 0 ;
10198
+ uint64_t result;
9547
10199
  VALUE vresult = Qnil;
9548
10200
 
9549
10201
  if ((argc < 1) || (argc > 1)) {
9550
10202
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9551
10203
  }
9552
- res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_disposition_t, 0 | 0 );
10204
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_transactional_disposition_t, 0 | 0 );
9553
10205
  if (!SWIG_IsOK(res1)) {
9554
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_disposition_t *","pn_disposition_annotations", 1, argv[0] ));
10206
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_transactional_disposition_t *","pn_transactional_disposition_get_outcome_type", 1, argv[0] ));
9555
10207
  }
9556
- arg1 = (pn_disposition_t *)(argp1);
9557
- result = (pn_data_t *)pn_disposition_annotations(arg1);
9558
- vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pn_data_t, 0 | 0 );
10208
+ arg1 = (pn_transactional_disposition_t *)(argp1);
10209
+ result = (uint64_t)pn_transactional_disposition_get_outcome_type(arg1);
10210
+ vresult = SWIG_From_unsigned_SS_long_SS_long((unsigned long long)(result));
9559
10211
  return vresult;
9560
10212
  fail:
9561
10213
  return Qnil;
9562
10214
  }
9563
10215
 
9564
10216
 
10217
+ SWIGINTERN VALUE
10218
+ _wrap_pn_transactional_disposition_set_outcome_type(int argc, VALUE *argv, VALUE self) {
10219
+ pn_transactional_disposition_t *arg1 = (pn_transactional_disposition_t *) 0 ;
10220
+ uint64_t arg2 ;
10221
+ void *argp1 = 0 ;
10222
+ int res1 = 0 ;
10223
+ unsigned long long val2 ;
10224
+ int ecode2 = 0 ;
10225
+
10226
+ if ((argc < 2) || (argc > 2)) {
10227
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
10228
+ }
10229
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_transactional_disposition_t, 0 | 0 );
10230
+ if (!SWIG_IsOK(res1)) {
10231
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_transactional_disposition_t *","pn_transactional_disposition_set_outcome_type", 1, argv[0] ));
10232
+ }
10233
+ arg1 = (pn_transactional_disposition_t *)(argp1);
10234
+ ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], &val2);
10235
+ if (!SWIG_IsOK(ecode2)) {
10236
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "uint64_t","pn_transactional_disposition_set_outcome_type", 2, argv[1] ));
10237
+ }
10238
+ arg2 = (uint64_t)(val2);
10239
+ pn_transactional_disposition_set_outcome_type(arg1,arg2);
10240
+ return Qnil;
10241
+ fail:
10242
+ return Qnil;
10243
+ }
10244
+
10245
+
9565
10246
  SWIGINTERN VALUE
9566
10247
  _wrap_pn_transport(int argc, VALUE *argv, VALUE self) {
9567
10248
  pn_transport_t *result = 0 ;
@@ -10262,6 +10943,59 @@ fail:
10262
10943
  }
10263
10944
 
10264
10945
 
10946
+ SWIGINTERN VALUE
10947
+ _wrap_pn_transport_get_max_buffered_delivery_bytes(int argc, VALUE *argv, VALUE self) {
10948
+ pn_transport_t *arg1 = (pn_transport_t *) 0 ;
10949
+ void *argp1 = 0 ;
10950
+ int res1 = 0 ;
10951
+ size_t result;
10952
+ VALUE vresult = Qnil;
10953
+
10954
+ if ((argc < 1) || (argc > 1)) {
10955
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10956
+ }
10957
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_transport_t, 0 | 0 );
10958
+ if (!SWIG_IsOK(res1)) {
10959
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_transport_t *","pn_transport_get_max_buffered_delivery_bytes", 1, argv[0] ));
10960
+ }
10961
+ arg1 = (pn_transport_t *)(argp1);
10962
+ result = (size_t)pn_transport_get_max_buffered_delivery_bytes(arg1);
10963
+ vresult = SWIG_From_size_t((size_t)(result));
10964
+ return vresult;
10965
+ fail:
10966
+ return Qnil;
10967
+ }
10968
+
10969
+
10970
+ SWIGINTERN VALUE
10971
+ _wrap_pn_transport_set_max_buffered_delivery_bytes(int argc, VALUE *argv, VALUE self) {
10972
+ pn_transport_t *arg1 = (pn_transport_t *) 0 ;
10973
+ size_t arg2 ;
10974
+ void *argp1 = 0 ;
10975
+ int res1 = 0 ;
10976
+ size_t val2 ;
10977
+ int ecode2 = 0 ;
10978
+
10979
+ if ((argc < 2) || (argc > 2)) {
10980
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
10981
+ }
10982
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_transport_t, 0 | 0 );
10983
+ if (!SWIG_IsOK(res1)) {
10984
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_transport_t *","pn_transport_set_max_buffered_delivery_bytes", 1, argv[0] ));
10985
+ }
10986
+ arg1 = (pn_transport_t *)(argp1);
10987
+ ecode2 = SWIG_AsVal_size_t(argv[1], &val2);
10988
+ if (!SWIG_IsOK(ecode2)) {
10989
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "size_t","pn_transport_set_max_buffered_delivery_bytes", 2, argv[1] ));
10990
+ }
10991
+ arg2 = (size_t)(val2);
10992
+ pn_transport_set_max_buffered_delivery_bytes(arg1,arg2);
10993
+ return Qnil;
10994
+ fail:
10995
+ return Qnil;
10996
+ }
10997
+
10998
+
10265
10999
  SWIGINTERN VALUE
10266
11000
  _wrap_pn_transport_get_idle_timeout(int argc, VALUE *argv, VALUE self) {
10267
11001
  pn_transport_t *arg1 = (pn_transport_t *) 0 ;
@@ -14113,6 +14847,43 @@ fail:
14113
14847
  }
14114
14848
 
14115
14849
 
14850
+ SWIGINTERN VALUE
14851
+ _wrap_pn_data_set_decode_limits(int argc, VALUE *argv, VALUE self) {
14852
+ pn_data_t *arg1 = (pn_data_t *) 0 ;
14853
+ size_t arg2 ;
14854
+ size_t arg3 ;
14855
+ void *argp1 = 0 ;
14856
+ int res1 = 0 ;
14857
+ size_t val2 ;
14858
+ int ecode2 = 0 ;
14859
+ size_t val3 ;
14860
+ int ecode3 = 0 ;
14861
+
14862
+ if ((argc < 3) || (argc > 3)) {
14863
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
14864
+ }
14865
+ res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_data_t, 0 | 0 );
14866
+ if (!SWIG_IsOK(res1)) {
14867
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_data_t *","pn_data_set_decode_limits", 1, argv[0] ));
14868
+ }
14869
+ arg1 = (pn_data_t *)(argp1);
14870
+ ecode2 = SWIG_AsVal_size_t(argv[1], &val2);
14871
+ if (!SWIG_IsOK(ecode2)) {
14872
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "size_t","pn_data_set_decode_limits", 2, argv[1] ));
14873
+ }
14874
+ arg2 = (size_t)(val2);
14875
+ ecode3 = SWIG_AsVal_size_t(argv[2], &val3);
14876
+ if (!SWIG_IsOK(ecode3)) {
14877
+ SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "size_t","pn_data_set_decode_limits", 3, argv[2] ));
14878
+ }
14879
+ arg3 = (size_t)(val3);
14880
+ pn_data_set_decode_limits(arg1,arg2,arg3);
14881
+ return Qnil;
14882
+ fail:
14883
+ return Qnil;
14884
+ }
14885
+
14886
+
14116
14887
  SWIGINTERN VALUE
14117
14888
  _wrap_pn_data_fill(int argc, VALUE *argv, VALUE self) {
14118
14889
  pn_data_t *arg1 = (pn_data_t *) 0 ;
@@ -17407,8 +18178,10 @@ static swig_type_info _swigt__p_pn_collector_t = {"_p_pn_collector_t", "pn_colle
17407
18178
  static swig_type_info _swigt__p_pn_condition_t = {"_p_pn_condition_t", "pn_condition_t *|struct pn_condition_t *", 0, 0, (void*)0, 0};
17408
18179
  static swig_type_info _swigt__p_pn_connection_driver_t = {"_p_pn_connection_driver_t", "pn_connection_driver_t *|struct pn_connection_driver_t *", 0, 0, (void*)0, 0};
17409
18180
  static swig_type_info _swigt__p_pn_connection_t = {"_p_pn_connection_t", "pn_connection_t *|struct pn_connection_t *", 0, 0, (void*)0, 0};
18181
+ static swig_type_info _swigt__p_pn_custom_disposition_t = {"_p_pn_custom_disposition_t", "pn_custom_disposition_t *|struct pn_custom_disposition_t *", 0, 0, (void*)0, 0};
17410
18182
  static swig_type_info _swigt__p_pn_data_t = {"_p_pn_data_t", "pn_data_t *|struct pn_data_t *", 0, 0, (void*)0, 0};
17411
18183
  static swig_type_info _swigt__p_pn_decimal128_t = {"_p_pn_decimal128_t", "pn_decimal128_t *", 0, 0, (void*)0, 0};
18184
+ static swig_type_info _swigt__p_pn_declared_disposition_t = {"_p_pn_declared_disposition_t", "pn_declared_disposition_t *|struct pn_declared_disposition_t *", 0, 0, (void*)0, 0};
17412
18185
  static swig_type_info _swigt__p_pn_delivery_t = {"_p_pn_delivery_t", "pn_delivery_t *|struct pn_delivery_t *", 0, 0, (void*)0, 0};
17413
18186
  static swig_type_info _swigt__p_pn_disposition_t = {"_p_pn_disposition_t", "pn_disposition_t *|struct pn_disposition_t *", 0, 0, (void*)0, 0};
17414
18187
  static swig_type_info _swigt__p_pn_distribution_mode_t = {"_p_pn_distribution_mode_t", "pn_distribution_mode_t *|enum pn_distribution_mode_t *", 0, 0, (void*)0, 0};
@@ -17423,10 +18196,13 @@ static swig_type_info _swigt__p_pn_listener_t = {"_p_pn_listener_t", "pn_listene
17423
18196
  static swig_type_info _swigt__p_pn_logger_t = {"_p_pn_logger_t", "pn_logger_t *", 0, 0, (void*)0, 0};
17424
18197
  static swig_type_info _swigt__p_pn_message_t = {"_p_pn_message_t", "pn_message_t *|struct pn_message_t *", 0, 0, (void*)0, 0};
17425
18198
  static swig_type_info _swigt__p_pn_messenger_t = {"_p_pn_messenger_t", "pn_messenger_t *", 0, 0, (void*)0, 0};
18199
+ static swig_type_info _swigt__p_pn_modified_disposition_t = {"_p_pn_modified_disposition_t", "pn_modified_disposition_t *|struct pn_modified_disposition_t *", 0, 0, (void*)0, 0};
17426
18200
  static swig_type_info _swigt__p_pn_proactor_t = {"_p_pn_proactor_t", "pn_proactor_t *|struct pn_proactor_t *", 0, 0, (void*)0, 0};
17427
18201
  static swig_type_info _swigt__p_pn_raw_connection_t = {"_p_pn_raw_connection_t", "pn_raw_connection_t *|struct pn_raw_connection_t *", 0, 0, (void*)0, 0};
17428
18202
  static swig_type_info _swigt__p_pn_rcv_settle_mode_t = {"_p_pn_rcv_settle_mode_t", "pn_rcv_settle_mode_t *|enum pn_rcv_settle_mode_t *", 0, 0, (void*)0, 0};
18203
+ static swig_type_info _swigt__p_pn_received_disposition_t = {"_p_pn_received_disposition_t", "pn_received_disposition_t *|struct pn_received_disposition_t *", 0, 0, (void*)0, 0};
17429
18204
  static swig_type_info _swigt__p_pn_record_t = {"_p_pn_record_t", "pn_record_t *|struct pn_record_t *", 0, 0, (void*)0, 0};
18205
+ static swig_type_info _swigt__p_pn_rejected_disposition_t = {"_p_pn_rejected_disposition_t", "pn_rejected_disposition_t *|struct pn_rejected_disposition_t *", 0, 0, (void*)0, 0};
17430
18206
  static swig_type_info _swigt__p_pn_rwbytes_t = {"_p_pn_rwbytes_t", "pn_rwbytes_t *|struct pn_rwbytes_t *", 0, 0, (void*)0, 0};
17431
18207
  static swig_type_info _swigt__p_pn_sasl_outcome_t = {"_p_pn_sasl_outcome_t", "pn_sasl_outcome_t *|enum pn_sasl_outcome_t *", 0, 0, (void*)0, 0};
17432
18208
  static swig_type_info _swigt__p_pn_sasl_t = {"_p_pn_sasl_t", "pn_sasl_t *|struct pn_sasl_t *", 0, 0, (void*)0, 0};
@@ -17441,6 +18217,7 @@ static swig_type_info _swigt__p_pn_ssl_t = {"_p_pn_ssl_t", "pn_ssl_t *|struct pn
17441
18217
  static swig_type_info _swigt__p_pn_ssl_verify_mode_t = {"_p_pn_ssl_verify_mode_t", "pn_ssl_verify_mode_t *|enum pn_ssl_verify_mode_t *", 0, 0, (void*)0, 0};
17442
18218
  static swig_type_info _swigt__p_pn_terminus_t = {"_p_pn_terminus_t", "pn_terminus_t *|struct pn_terminus_t *", 0, 0, (void*)0, 0};
17443
18219
  static swig_type_info _swigt__p_pn_terminus_type_t = {"_p_pn_terminus_type_t", "pn_terminus_type_t *|enum pn_terminus_type_t *", 0, 0, (void*)0, 0};
18220
+ static swig_type_info _swigt__p_pn_transactional_disposition_t = {"_p_pn_transactional_disposition_t", "pn_transactional_disposition_t *|struct pn_transactional_disposition_t *", 0, 0, (void*)0, 0};
17444
18221
  static swig_type_info _swigt__p_pn_transport_t = {"_p_pn_transport_t", "pn_transport_t *|struct pn_transport_t *", 0, 0, (void*)0, 0};
17445
18222
  static swig_type_info _swigt__p_pn_type_t = {"_p_pn_type_t", "pn_type_t *|enum pn_type_t *", 0, 0, (void*)0, 0};
17446
18223
  static swig_type_info _swigt__p_pn_url_t = {"_p_pn_url_t", "pn_url_t *|struct pn_url_t *", 0, 0, (void*)0, 0};
@@ -17474,8 +18251,10 @@ static swig_type_info *swig_type_initial[] = {
17474
18251
  &_swigt__p_pn_condition_t,
17475
18252
  &_swigt__p_pn_connection_driver_t,
17476
18253
  &_swigt__p_pn_connection_t,
18254
+ &_swigt__p_pn_custom_disposition_t,
17477
18255
  &_swigt__p_pn_data_t,
17478
18256
  &_swigt__p_pn_decimal128_t,
18257
+ &_swigt__p_pn_declared_disposition_t,
17479
18258
  &_swigt__p_pn_delivery_t,
17480
18259
  &_swigt__p_pn_disposition_t,
17481
18260
  &_swigt__p_pn_distribution_mode_t,
@@ -17490,10 +18269,13 @@ static swig_type_info *swig_type_initial[] = {
17490
18269
  &_swigt__p_pn_logger_t,
17491
18270
  &_swigt__p_pn_message_t,
17492
18271
  &_swigt__p_pn_messenger_t,
18272
+ &_swigt__p_pn_modified_disposition_t,
17493
18273
  &_swigt__p_pn_proactor_t,
17494
18274
  &_swigt__p_pn_raw_connection_t,
17495
18275
  &_swigt__p_pn_rcv_settle_mode_t,
18276
+ &_swigt__p_pn_received_disposition_t,
17496
18277
  &_swigt__p_pn_record_t,
18278
+ &_swigt__p_pn_rejected_disposition_t,
17497
18279
  &_swigt__p_pn_rwbytes_t,
17498
18280
  &_swigt__p_pn_sasl_outcome_t,
17499
18281
  &_swigt__p_pn_sasl_t,
@@ -17508,6 +18290,7 @@ static swig_type_info *swig_type_initial[] = {
17508
18290
  &_swigt__p_pn_ssl_verify_mode_t,
17509
18291
  &_swigt__p_pn_terminus_t,
17510
18292
  &_swigt__p_pn_terminus_type_t,
18293
+ &_swigt__p_pn_transactional_disposition_t,
17511
18294
  &_swigt__p_pn_transport_t,
17512
18295
  &_swigt__p_pn_type_t,
17513
18296
  &_swigt__p_pn_url_t,
@@ -17541,8 +18324,10 @@ static swig_cast_info _swigc__p_pn_collector_t[] = { {&_swigt__p_pn_collector_t
17541
18324
  static swig_cast_info _swigc__p_pn_condition_t[] = { {&_swigt__p_pn_condition_t, 0, 0, 0},{0, 0, 0, 0}};
17542
18325
  static swig_cast_info _swigc__p_pn_connection_driver_t[] = { {&_swigt__p_pn_connection_driver_t, 0, 0, 0},{0, 0, 0, 0}};
17543
18326
  static swig_cast_info _swigc__p_pn_connection_t[] = { {&_swigt__p_pn_connection_t, 0, 0, 0},{0, 0, 0, 0}};
18327
+ static swig_cast_info _swigc__p_pn_custom_disposition_t[] = { {&_swigt__p_pn_custom_disposition_t, 0, 0, 0},{0, 0, 0, 0}};
17544
18328
  static swig_cast_info _swigc__p_pn_data_t[] = { {&_swigt__p_pn_data_t, 0, 0, 0},{0, 0, 0, 0}};
17545
18329
  static swig_cast_info _swigc__p_pn_decimal128_t[] = { {&_swigt__p_pn_decimal128_t, 0, 0, 0},{0, 0, 0, 0}};
18330
+ static swig_cast_info _swigc__p_pn_declared_disposition_t[] = { {&_swigt__p_pn_declared_disposition_t, 0, 0, 0},{0, 0, 0, 0}};
17546
18331
  static swig_cast_info _swigc__p_pn_delivery_t[] = { {&_swigt__p_pn_delivery_t, 0, 0, 0},{0, 0, 0, 0}};
17547
18332
  static swig_cast_info _swigc__p_pn_disposition_t[] = { {&_swigt__p_pn_disposition_t, 0, 0, 0},{0, 0, 0, 0}};
17548
18333
  static swig_cast_info _swigc__p_pn_distribution_mode_t[] = { {&_swigt__p_pn_distribution_mode_t, 0, 0, 0},{0, 0, 0, 0}};
@@ -17557,10 +18342,13 @@ static swig_cast_info _swigc__p_pn_listener_t[] = { {&_swigt__p_pn_listener_t,
17557
18342
  static swig_cast_info _swigc__p_pn_logger_t[] = { {&_swigt__p_pn_logger_t, 0, 0, 0},{0, 0, 0, 0}};
17558
18343
  static swig_cast_info _swigc__p_pn_message_t[] = { {&_swigt__p_pn_message_t, 0, 0, 0},{0, 0, 0, 0}};
17559
18344
  static swig_cast_info _swigc__p_pn_messenger_t[] = { {&_swigt__p_pn_messenger_t, 0, 0, 0},{0, 0, 0, 0}};
18345
+ static swig_cast_info _swigc__p_pn_modified_disposition_t[] = { {&_swigt__p_pn_modified_disposition_t, 0, 0, 0},{0, 0, 0, 0}};
17560
18346
  static swig_cast_info _swigc__p_pn_proactor_t[] = { {&_swigt__p_pn_proactor_t, 0, 0, 0},{0, 0, 0, 0}};
17561
18347
  static swig_cast_info _swigc__p_pn_raw_connection_t[] = { {&_swigt__p_pn_raw_connection_t, 0, 0, 0},{0, 0, 0, 0}};
17562
18348
  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}};
18349
+ static swig_cast_info _swigc__p_pn_received_disposition_t[] = { {&_swigt__p_pn_received_disposition_t, 0, 0, 0},{0, 0, 0, 0}};
17563
18350
  static swig_cast_info _swigc__p_pn_record_t[] = { {&_swigt__p_pn_record_t, 0, 0, 0},{0, 0, 0, 0}};
18351
+ static swig_cast_info _swigc__p_pn_rejected_disposition_t[] = { {&_swigt__p_pn_rejected_disposition_t, 0, 0, 0},{0, 0, 0, 0}};
17564
18352
  static swig_cast_info _swigc__p_pn_rwbytes_t[] = { {&_swigt__p_pn_rwbytes_t, 0, 0, 0},{0, 0, 0, 0}};
17565
18353
  static swig_cast_info _swigc__p_pn_sasl_outcome_t[] = { {&_swigt__p_pn_sasl_outcome_t, 0, 0, 0},{0, 0, 0, 0}};
17566
18354
  static swig_cast_info _swigc__p_pn_sasl_t[] = { {&_swigt__p_pn_sasl_t, 0, 0, 0},{0, 0, 0, 0}};
@@ -17575,6 +18363,7 @@ static swig_cast_info _swigc__p_pn_ssl_t[] = { {&_swigt__p_pn_ssl_t, 0, 0, 0},{
17575
18363
  static swig_cast_info _swigc__p_pn_ssl_verify_mode_t[] = { {&_swigt__p_pn_ssl_verify_mode_t, 0, 0, 0},{0, 0, 0, 0}};
17576
18364
  static swig_cast_info _swigc__p_pn_terminus_t[] = { {&_swigt__p_pn_terminus_t, 0, 0, 0},{0, 0, 0, 0}};
17577
18365
  static swig_cast_info _swigc__p_pn_terminus_type_t[] = { {&_swigt__p_pn_terminus_type_t, 0, 0, 0},{0, 0, 0, 0}};
18366
+ static swig_cast_info _swigc__p_pn_transactional_disposition_t[] = { {&_swigt__p_pn_transactional_disposition_t, 0, 0, 0},{0, 0, 0, 0}};
17578
18367
  static swig_cast_info _swigc__p_pn_transport_t[] = { {&_swigt__p_pn_transport_t, 0, 0, 0},{0, 0, 0, 0}};
17579
18368
  static swig_cast_info _swigc__p_pn_type_t[] = { {&_swigt__p_pn_type_t, 0, 0, 0},{0, 0, 0, 0}};
17580
18369
  static swig_cast_info _swigc__p_pn_url_t[] = { {&_swigt__p_pn_url_t, 0, 0, 0},{0, 0, 0, 0}};
@@ -17608,8 +18397,10 @@ static swig_cast_info *swig_cast_initial[] = {
17608
18397
  _swigc__p_pn_condition_t,
17609
18398
  _swigc__p_pn_connection_driver_t,
17610
18399
  _swigc__p_pn_connection_t,
18400
+ _swigc__p_pn_custom_disposition_t,
17611
18401
  _swigc__p_pn_data_t,
17612
18402
  _swigc__p_pn_decimal128_t,
18403
+ _swigc__p_pn_declared_disposition_t,
17613
18404
  _swigc__p_pn_delivery_t,
17614
18405
  _swigc__p_pn_disposition_t,
17615
18406
  _swigc__p_pn_distribution_mode_t,
@@ -17624,10 +18415,13 @@ static swig_cast_info *swig_cast_initial[] = {
17624
18415
  _swigc__p_pn_logger_t,
17625
18416
  _swigc__p_pn_message_t,
17626
18417
  _swigc__p_pn_messenger_t,
18418
+ _swigc__p_pn_modified_disposition_t,
17627
18419
  _swigc__p_pn_proactor_t,
17628
18420
  _swigc__p_pn_raw_connection_t,
17629
18421
  _swigc__p_pn_rcv_settle_mode_t,
18422
+ _swigc__p_pn_received_disposition_t,
17630
18423
  _swigc__p_pn_record_t,
18424
+ _swigc__p_pn_rejected_disposition_t,
17631
18425
  _swigc__p_pn_rwbytes_t,
17632
18426
  _swigc__p_pn_sasl_outcome_t,
17633
18427
  _swigc__p_pn_sasl_t,
@@ -17642,6 +18436,7 @@ static swig_cast_info *swig_cast_initial[] = {
17642
18436
  _swigc__p_pn_ssl_verify_mode_t,
17643
18437
  _swigc__p_pn_terminus_t,
17644
18438
  _swigc__p_pn_terminus_type_t,
18439
+ _swigc__p_pn_transactional_disposition_t,
17645
18440
  _swigc__p_pn_transport_t,
17646
18441
  _swigc__p_pn_type_t,
17647
18442
  _swigc__p_pn_url_t,
@@ -17968,8 +18763,8 @@ SWIGEXPORT void Init_cproton(void) {
17968
18763
  rb_define_const(mCproton, "PROTON_ANNOTATIONS_H", SWIG_From_int((int)(1)));
17969
18764
  rb_define_const(mCproton, "PROTON_IMPORT_EXPORT_H", SWIG_From_int((int)(1)));
17970
18765
  rb_define_const(mCproton, "PN_VERSION_MAJOR", SWIG_From_int((int)(0)));
17971
- rb_define_const(mCproton, "PN_VERSION_MINOR", SWIG_From_int((int)(40)));
17972
- rb_define_const(mCproton, "PN_VERSION_POINT", SWIG_From_int((int)(0)));
18766
+ rb_define_const(mCproton, "PN_VERSION_MINOR", SWIG_From_int((int)(41)));
18767
+ rb_define_const(mCproton, "PN_VERSION_POINT", SWIG_From_int((int)(1)));
17973
18768
  rb_define_const(mCproton, "PROTON_TYPES_H", SWIG_From_int((int)(1)));
17974
18769
  rb_define_const(mCproton, "PN_MILLIS_MAX", SWIG_From_unsigned_SS_int((unsigned int)((~0U))));
17975
18770
  rb_define_module_function(mCproton, "pn_bytes", _wrap_pn_bytes, -1);
@@ -18220,8 +19015,11 @@ SWIGEXPORT void Init_cproton(void) {
18220
19015
  rb_define_const(mCproton, "PN_REJECTED", SWIG_From_int((int)((0x0000000000000025))));
18221
19016
  rb_define_const(mCproton, "PN_RELEASED", SWIG_From_int((int)((0x0000000000000026))));
18222
19017
  rb_define_const(mCproton, "PN_MODIFIED", SWIG_From_int((int)((0x0000000000000027))));
19018
+ rb_define_const(mCproton, "PN_DECLARED", SWIG_From_int((int)((0x0000000000000033))));
19019
+ rb_define_const(mCproton, "PN_TRANSACTIONAL_STATE", SWIG_From_int((int)((0x0000000000000034))));
18223
19020
  rb_define_module_function(mCproton, "pn_disposition_type", _wrap_pn_disposition_type, -1);
18224
19021
  rb_define_module_function(mCproton, "pn_disposition_type_name", _wrap_pn_disposition_type_name, -1);
19022
+ rb_define_module_function(mCproton, "pn_disposition_clear", _wrap_pn_disposition_clear, -1);
18225
19023
  rb_define_module_function(mCproton, "pn_disposition_condition", _wrap_pn_disposition_condition, -1);
18226
19024
  rb_define_module_function(mCproton, "pn_disposition_data", _wrap_pn_disposition_data, -1);
18227
19025
  rb_define_module_function(mCproton, "pn_disposition_get_section_number", _wrap_pn_disposition_get_section_number, -1);
@@ -18233,6 +19031,31 @@ SWIGEXPORT void Init_cproton(void) {
18233
19031
  rb_define_module_function(mCproton, "pn_disposition_is_undeliverable", _wrap_pn_disposition_is_undeliverable, -1);
18234
19032
  rb_define_module_function(mCproton, "pn_disposition_set_undeliverable", _wrap_pn_disposition_set_undeliverable, -1);
18235
19033
  rb_define_module_function(mCproton, "pn_disposition_annotations", _wrap_pn_disposition_annotations, -1);
19034
+ rb_define_module_function(mCproton, "pn_custom_disposition", _wrap_pn_custom_disposition, -1);
19035
+ rb_define_module_function(mCproton, "pn_received_disposition", _wrap_pn_received_disposition, -1);
19036
+ rb_define_module_function(mCproton, "pn_rejected_disposition", _wrap_pn_rejected_disposition, -1);
19037
+ rb_define_module_function(mCproton, "pn_modified_disposition", _wrap_pn_modified_disposition, -1);
19038
+ rb_define_module_function(mCproton, "pn_declared_disposition", _wrap_pn_declared_disposition, -1);
19039
+ rb_define_module_function(mCproton, "pn_transactional_disposition", _wrap_pn_transactional_disposition, -1);
19040
+ rb_define_module_function(mCproton, "pn_custom_disposition_data", _wrap_pn_custom_disposition_data, -1);
19041
+ rb_define_module_function(mCproton, "pn_custom_disposition_get_type", _wrap_pn_custom_disposition_get_type, -1);
19042
+ rb_define_module_function(mCproton, "pn_custom_disposition_set_type", _wrap_pn_custom_disposition_set_type, -1);
19043
+ rb_define_module_function(mCproton, "pn_rejected_disposition_condition", _wrap_pn_rejected_disposition_condition, -1);
19044
+ rb_define_module_function(mCproton, "pn_received_disposition_get_section_number", _wrap_pn_received_disposition_get_section_number, -1);
19045
+ rb_define_module_function(mCproton, "pn_received_disposition_set_section_number", _wrap_pn_received_disposition_set_section_number, -1);
19046
+ rb_define_module_function(mCproton, "pn_received_disposition_get_section_offset", _wrap_pn_received_disposition_get_section_offset, -1);
19047
+ rb_define_module_function(mCproton, "pn_received_disposition_set_section_offset", _wrap_pn_received_disposition_set_section_offset, -1);
19048
+ rb_define_module_function(mCproton, "pn_modified_disposition_is_failed", _wrap_pn_modified_disposition_is_failed, -1);
19049
+ rb_define_module_function(mCproton, "pn_modified_disposition_set_failed", _wrap_pn_modified_disposition_set_failed, -1);
19050
+ rb_define_module_function(mCproton, "pn_modified_disposition_is_undeliverable", _wrap_pn_modified_disposition_is_undeliverable, -1);
19051
+ rb_define_module_function(mCproton, "pn_modified_disposition_set_undeliverable", _wrap_pn_modified_disposition_set_undeliverable, -1);
19052
+ rb_define_module_function(mCproton, "pn_modified_disposition_annotations", _wrap_pn_modified_disposition_annotations, -1);
19053
+ rb_define_module_function(mCproton, "pn_declared_disposition_get_id", _wrap_pn_declared_disposition_get_id, -1);
19054
+ rb_define_module_function(mCproton, "pn_declared_disposition_set_id", _wrap_pn_declared_disposition_set_id, -1);
19055
+ rb_define_module_function(mCproton, "pn_transactional_disposition_get_id", _wrap_pn_transactional_disposition_get_id, -1);
19056
+ rb_define_module_function(mCproton, "pn_transactional_disposition_set_id", _wrap_pn_transactional_disposition_set_id, -1);
19057
+ rb_define_module_function(mCproton, "pn_transactional_disposition_get_outcome_type", _wrap_pn_transactional_disposition_get_outcome_type, -1);
19058
+ rb_define_module_function(mCproton, "pn_transactional_disposition_set_outcome_type", _wrap_pn_transactional_disposition_set_outcome_type, -1);
18236
19059
  rb_define_const(mCproton, "PROTON_TRANSPORT_H", SWIG_From_int((int)(1)));
18237
19060
  rb_define_const(mCproton, "PN_TRACE_OFF", SWIG_From_int((int)((0))));
18238
19061
  rb_define_const(mCproton, "PN_TRACE_RAW", SWIG_From_int((int)((1))));
@@ -18266,6 +19089,8 @@ SWIGEXPORT void Init_cproton(void) {
18266
19089
  rb_define_module_function(mCproton, "pn_transport_get_max_frame", _wrap_pn_transport_get_max_frame, -1);
18267
19090
  rb_define_module_function(mCproton, "pn_transport_set_max_frame", _wrap_pn_transport_set_max_frame, -1);
18268
19091
  rb_define_module_function(mCproton, "pn_transport_get_remote_max_frame", _wrap_pn_transport_get_remote_max_frame, -1);
19092
+ rb_define_module_function(mCproton, "pn_transport_get_max_buffered_delivery_bytes", _wrap_pn_transport_get_max_buffered_delivery_bytes, -1);
19093
+ rb_define_module_function(mCproton, "pn_transport_set_max_buffered_delivery_bytes", _wrap_pn_transport_set_max_buffered_delivery_bytes, -1);
18269
19094
  rb_define_module_function(mCproton, "pn_transport_get_idle_timeout", _wrap_pn_transport_get_idle_timeout, -1);
18270
19095
  rb_define_module_function(mCproton, "pn_transport_set_idle_timeout", _wrap_pn_transport_set_idle_timeout, -1);
18271
19096
  rb_define_module_function(mCproton, "pn_transport_get_remote_idle_timeout", _wrap_pn_transport_get_remote_idle_timeout, -1);
@@ -18512,6 +19337,7 @@ SWIGEXPORT void Init_cproton(void) {
18512
19337
  rb_define_module_function(mCproton, "pn_data_free", _wrap_pn_data_free, -1);
18513
19338
  rb_define_module_function(mCproton, "pn_data_errno", _wrap_pn_data_errno, -1);
18514
19339
  rb_define_module_function(mCproton, "pn_data_error", _wrap_pn_data_error, -1);
19340
+ rb_define_module_function(mCproton, "pn_data_set_decode_limits", _wrap_pn_data_set_decode_limits, -1);
18515
19341
  rb_define_module_function(mCproton, "pn_data_fill", _wrap_pn_data_fill, -1);
18516
19342
  rb_define_module_function(mCproton, "pn_data_scan", _wrap_pn_data_scan, -1);
18517
19343
  rb_define_module_function(mCproton, "pn_data_clear", _wrap_pn_data_clear, -1);