00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #define SWIGPERL
00012 #define SWIG_CASTRANK_MODE
00013
00014 #ifdef __cplusplus
00015 template<typename T> class SwigValueWrapper {
00016 T *tt;
00017 public:
00018 SwigValueWrapper() : tt(0) { }
00019 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
00020 SwigValueWrapper(const T& t) : tt(new T(t)) { }
00021 ~SwigValueWrapper() { delete tt; }
00022 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
00023 operator T&() const { return *tt; }
00024 T *operator&() { return tt; }
00025 private:
00026 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
00027 };
00028
00029 template <typename T> T SwigValueInit() {
00030 return T();
00031 }
00032 #endif
00033
00034
00035
00036
00037
00038
00039
00040 #ifndef SWIGTEMPLATEDISAMBIGUATOR
00041 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
00042 # define SWIGTEMPLATEDISAMBIGUATOR template
00043 # elif defined(__HP_aCC)
00044
00045
00046 # define SWIGTEMPLATEDISAMBIGUATOR template
00047 # else
00048 # define SWIGTEMPLATEDISAMBIGUATOR
00049 # endif
00050 #endif
00051
00052
00053 #ifndef SWIGINLINE
00054 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
00055 # define SWIGINLINE inline
00056 # else
00057 # define SWIGINLINE
00058 # endif
00059 #endif
00060
00061
00062 #ifndef SWIGUNUSED
00063 # if defined(__GNUC__)
00064 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
00065 # define SWIGUNUSED __attribute__ ((__unused__))
00066 # else
00067 # define SWIGUNUSED
00068 # endif
00069 # elif defined(__ICC)
00070 # define SWIGUNUSED __attribute__ ((__unused__))
00071 # else
00072 # define SWIGUNUSED
00073 # endif
00074 #endif
00075
00076 #ifndef SWIGUNUSEDPARM
00077 # ifdef __cplusplus
00078 # define SWIGUNUSEDPARM(p)
00079 # else
00080 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
00081 # endif
00082 #endif
00083
00084
00085 #ifndef SWIGINTERN
00086 # define SWIGINTERN static SWIGUNUSED
00087 #endif
00088
00089
00090 #ifndef SWIGINTERNINLINE
00091 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
00092 #endif
00093
00094
00095 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
00096 # ifndef GCC_HASCLASSVISIBILITY
00097 # define GCC_HASCLASSVISIBILITY
00098 # endif
00099 #endif
00100
00101 #ifndef SWIGEXPORT
00102 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
00103 # if defined(STATIC_LINKED)
00104 # define SWIGEXPORT
00105 # else
00106 # define SWIGEXPORT __declspec(dllexport)
00107 # endif
00108 # else
00109 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
00110 # define SWIGEXPORT __attribute__ ((visibility("default")))
00111 # else
00112 # define SWIGEXPORT
00113 # endif
00114 # endif
00115 #endif
00116
00117
00118 #ifndef SWIGSTDCALL
00119 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
00120 # define SWIGSTDCALL __stdcall
00121 # else
00122 # define SWIGSTDCALL
00123 # endif
00124 #endif
00125
00126
00127 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
00128 # define _CRT_SECURE_NO_DEPRECATE
00129 #endif
00130
00131
00132 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
00133 # define _SCL_SECURE_NO_DEPRECATE
00134 #endif
00135
00136
00137
00138
00139
00140
00141
00142
00143
00144
00145
00146 #define SWIG_RUNTIME_VERSION "4"
00147
00148
00149 #ifdef SWIG_TYPE_TABLE
00150 # define SWIG_QUOTE_STRING(x) #x
00151 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
00152 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
00153 #else
00154 # define SWIG_TYPE_TABLE_NAME
00155 #endif
00156
00157
00158
00159
00160
00161
00162
00163
00164
00165
00166 #ifndef SWIGRUNTIME
00167 # define SWIGRUNTIME SWIGINTERN
00168 #endif
00169
00170 #ifndef SWIGRUNTIMEINLINE
00171 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
00172 #endif
00173
00174
00175 #ifndef SWIG_BUFFER_SIZE
00176 # define SWIG_BUFFER_SIZE 1024
00177 #endif
00178
00179
00180 #define SWIG_POINTER_DISOWN 0x1
00181 #define SWIG_CAST_NEW_MEMORY 0x2
00182
00183
00184 #define SWIG_POINTER_OWN 0x1
00185
00186
00187
00188
00189
00190
00191
00192
00193
00194
00195
00196
00197
00198
00199
00200
00201
00202
00203
00204
00205
00206
00207
00208
00209
00210
00211
00212
00213
00214
00215
00216
00217
00218
00219
00220
00221
00222
00223
00224
00225
00226
00227
00228
00229
00230
00231
00232
00233
00234
00235
00236
00237
00238
00239
00240
00241
00242
00243
00244
00245
00246
00247
00248
00249
00250
00251
00252
00253
00254
00255
00256
00257
00258
00259
00260
00261
00262
00263
00264
00265
00266
00267 #define SWIG_OK (0)
00268 #define SWIG_ERROR (-1)
00269 #define SWIG_IsOK(r) (r >= 0)
00270 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
00271
00272
00273 #define SWIG_CASTRANKLIMIT (1 << 8)
00274
00275 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
00276
00277 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
00278
00279 #define SWIG_BADOBJ (SWIG_ERROR)
00280 #define SWIG_OLDOBJ (SWIG_OK)
00281 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
00282 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
00283
00284 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
00285 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
00286 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
00287 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
00288 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
00289 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
00290
00291
00292
00293 #if defined(SWIG_CASTRANK_MODE)
00294 # ifndef SWIG_TypeRank
00295 # define SWIG_TypeRank unsigned long
00296 # endif
00297 # ifndef SWIG_MAXCASTRANK
00298 # define SWIG_MAXCASTRANK (2)
00299 # endif
00300 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
00301 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
00302 SWIGINTERNINLINE int SWIG_AddCast(int r) {
00303 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
00304 }
00305 SWIGINTERNINLINE int SWIG_CheckState(int r) {
00306 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
00307 }
00308 #else
00309 # define SWIG_AddCast
00310 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
00311 #endif
00312
00313
00314
00315
00316 #include <string.h>
00317
00318 #ifdef __cplusplus
00319 extern "C" {
00320 #endif
00321
00322 typedef void *(*swig_converter_func)(void *, int *);
00323 typedef struct swig_type_info *(*swig_dycast_func)(void **);
00324
00325
00326 typedef struct swig_type_info {
00327 const char *name;
00328 const char *str;
00329 swig_dycast_func dcast;
00330 struct swig_cast_info *cast;
00331 void *clientdata;
00332 int owndata;
00333 } swig_type_info;
00334
00335
00336 typedef struct swig_cast_info {
00337 swig_type_info *type;
00338 swig_converter_func converter;
00339 struct swig_cast_info *next;
00340 struct swig_cast_info *prev;
00341 } swig_cast_info;
00342
00343
00344
00345
00346 typedef struct swig_module_info {
00347 swig_type_info **types;
00348 size_t size;
00349 struct swig_module_info *next;
00350 swig_type_info **type_initial;
00351 swig_cast_info **cast_initial;
00352 void *clientdata;
00353 } swig_module_info;
00354
00355
00356
00357
00358
00359
00360
00361
00362 SWIGRUNTIME int
00363 SWIG_TypeNameComp(const char *f1, const char *l1,
00364 const char *f2, const char *l2) {
00365 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
00366 while ((*f1 == ' ') && (f1 != l1)) ++f1;
00367 while ((*f2 == ' ') && (f2 != l2)) ++f2;
00368 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
00369 }
00370 return (int)((l1 - f1) - (l2 - f2));
00371 }
00372
00373
00374
00375
00376
00377 SWIGRUNTIME int
00378 SWIG_TypeEquiv(const char *nb, const char *tb) {
00379 int equiv = 0;
00380 const char* te = tb + strlen(tb);
00381 const char* ne = nb;
00382 while (!equiv && *ne) {
00383 for (nb = ne; *ne; ++ne) {
00384 if (*ne == '|') break;
00385 }
00386 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
00387 if (*ne) ++ne;
00388 }
00389 return equiv;
00390 }
00391
00392
00393
00394
00395
00396 SWIGRUNTIME int
00397 SWIG_TypeCompare(const char *nb, const char *tb) {
00398 int equiv = 0;
00399 const char* te = tb + strlen(tb);
00400 const char* ne = nb;
00401 while (!equiv && *ne) {
00402 for (nb = ne; *ne; ++ne) {
00403 if (*ne == '|') break;
00404 }
00405 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
00406 if (*ne) ++ne;
00407 }
00408 return equiv;
00409 }
00410
00411
00412
00413 #define SWIG_TypeCheck_Template(comparison, ty) \
00414 if (ty) { \
00415 swig_cast_info *iter = ty->cast; \
00416 while (iter) { \
00417 if (comparison) { \
00418 if (iter == ty->cast) return iter; \
00419 \
00420 iter->prev->next = iter->next; \
00421 if (iter->next) \
00422 iter->next->prev = iter->prev; \
00423 iter->next = ty->cast; \
00424 iter->prev = 0; \
00425 if (ty->cast) ty->cast->prev = iter; \
00426 ty->cast = iter; \
00427 return iter; \
00428 } \
00429 iter = iter->next; \
00430 } \
00431 } \
00432 return 0
00433
00434
00435
00436
00437 SWIGRUNTIME swig_cast_info *
00438 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
00439 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
00440 }
00441
00442
00443 SWIGRUNTIME swig_cast_info *
00444 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
00445 SWIG_TypeCheck_Template(iter->type == from, into);
00446 }
00447
00448
00449
00450
00451 SWIGRUNTIMEINLINE void *
00452 SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
00453 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
00454 }
00455
00456
00457
00458
00459 SWIGRUNTIME swig_type_info *
00460 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
00461 swig_type_info *lastty = ty;
00462 if (!ty || !ty->dcast) return ty;
00463 while (ty && (ty->dcast)) {
00464 ty = (*ty->dcast)(ptr);
00465 if (ty) lastty = ty;
00466 }
00467 return lastty;
00468 }
00469
00470
00471
00472
00473 SWIGRUNTIMEINLINE const char *
00474 SWIG_TypeName(const swig_type_info *ty) {
00475 return ty->name;
00476 }
00477
00478
00479
00480
00481
00482 SWIGRUNTIME const char *
00483 SWIG_TypePrettyName(const swig_type_info *type) {
00484
00485
00486
00487
00488 if (!type) return NULL;
00489 if (type->str != NULL) {
00490 const char *last_name = type->str;
00491 const char *s;
00492 for (s = type->str; *s; s++)
00493 if (*s == '|') last_name = s+1;
00494 return last_name;
00495 }
00496 else
00497 return type->name;
00498 }
00499
00500
00501
00502
00503 SWIGRUNTIME void
00504 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
00505 swig_cast_info *cast = ti->cast;
00506
00507 ti->clientdata = clientdata;
00508
00509 while (cast) {
00510 if (!cast->converter) {
00511 swig_type_info *tc = cast->type;
00512 if (!tc->clientdata) {
00513 SWIG_TypeClientData(tc, clientdata);
00514 }
00515 }
00516 cast = cast->next;
00517 }
00518 }
00519 SWIGRUNTIME void
00520 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
00521 SWIG_TypeClientData(ti, clientdata);
00522 ti->owndata = 1;
00523 }
00524
00525
00526
00527
00528
00529
00530
00531
00532
00533 SWIGRUNTIME swig_type_info *
00534 SWIG_MangledTypeQueryModule(swig_module_info *start,
00535 swig_module_info *end,
00536 const char *name) {
00537 swig_module_info *iter = start;
00538 do {
00539 if (iter->size) {
00540 register size_t l = 0;
00541 register size_t r = iter->size - 1;
00542 do {
00543
00544 register size_t i = (l + r) >> 1;
00545 const char *iname = iter->types[i]->name;
00546 if (iname) {
00547 register int compare = strcmp(name, iname);
00548 if (compare == 0) {
00549 return iter->types[i];
00550 } else if (compare < 0) {
00551 if (i) {
00552 r = i - 1;
00553 } else {
00554 break;
00555 }
00556 } else if (compare > 0) {
00557 l = i + 1;
00558 }
00559 } else {
00560 break;
00561 }
00562 } while (l <= r);
00563 }
00564 iter = iter->next;
00565 } while (iter != end);
00566 return 0;
00567 }
00568
00569
00570
00571
00572
00573
00574
00575
00576
00577
00578 SWIGRUNTIME swig_type_info *
00579 SWIG_TypeQueryModule(swig_module_info *start,
00580 swig_module_info *end,
00581 const char *name) {
00582
00583 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
00584 if (ret) {
00585 return ret;
00586 } else {
00587
00588
00589 swig_module_info *iter = start;
00590 do {
00591 register size_t i = 0;
00592 for (; i < iter->size; ++i) {
00593 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
00594 return iter->types[i];
00595 }
00596 iter = iter->next;
00597 } while (iter != end);
00598 }
00599
00600
00601 return 0;
00602 }
00603
00604
00605
00606
00607 SWIGRUNTIME char *
00608 SWIG_PackData(char *c, void *ptr, size_t sz) {
00609 static const char hex[17] = "0123456789abcdef";
00610 register const unsigned char *u = (unsigned char *) ptr;
00611 register const unsigned char *eu = u + sz;
00612 for (; u != eu; ++u) {
00613 register unsigned char uu = *u;
00614 *(c++) = hex[(uu & 0xf0) >> 4];
00615 *(c++) = hex[uu & 0xf];
00616 }
00617 return c;
00618 }
00619
00620
00621
00622
00623 SWIGRUNTIME const char *
00624 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
00625 register unsigned char *u = (unsigned char *) ptr;
00626 register const unsigned char *eu = u + sz;
00627 for (; u != eu; ++u) {
00628 register char d = *(c++);
00629 register unsigned char uu;
00630 if ((d >= '0') && (d <= '9'))
00631 uu = ((d - '0') << 4);
00632 else if ((d >= 'a') && (d <= 'f'))
00633 uu = ((d - ('a'-10)) << 4);
00634 else
00635 return (char *) 0;
00636 d = *(c++);
00637 if ((d >= '0') && (d <= '9'))
00638 uu |= (d - '0');
00639 else if ((d >= 'a') && (d <= 'f'))
00640 uu |= (d - ('a'-10));
00641 else
00642 return (char *) 0;
00643 *u = uu;
00644 }
00645 return c;
00646 }
00647
00648
00649
00650
00651 SWIGRUNTIME char *
00652 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
00653 char *r = buff;
00654 if ((2*sizeof(void *) + 2) > bsz) return 0;
00655 *(r++) = '_';
00656 r = SWIG_PackData(r,&ptr,sizeof(void *));
00657 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
00658 strcpy(r,name);
00659 return buff;
00660 }
00661
00662 SWIGRUNTIME const char *
00663 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
00664 if (*c != '_') {
00665 if (strcmp(c,"NULL") == 0) {
00666 *ptr = (void *) 0;
00667 return name;
00668 } else {
00669 return 0;
00670 }
00671 }
00672 return SWIG_UnpackData(++c,ptr,sizeof(void *));
00673 }
00674
00675 SWIGRUNTIME char *
00676 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
00677 char *r = buff;
00678 size_t lname = (name ? strlen(name) : 0);
00679 if ((2*sz + 2 + lname) > bsz) return 0;
00680 *(r++) = '_';
00681 r = SWIG_PackData(r,ptr,sz);
00682 if (lname) {
00683 strncpy(r,name,lname+1);
00684 } else {
00685 *r = 0;
00686 }
00687 return buff;
00688 }
00689
00690 SWIGRUNTIME const char *
00691 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
00692 if (*c != '_') {
00693 if (strcmp(c,"NULL") == 0) {
00694 memset(ptr,0,sz);
00695 return name;
00696 } else {
00697 return 0;
00698 }
00699 }
00700 return SWIG_UnpackData(++c,ptr,sz);
00701 }
00702
00703 #ifdef __cplusplus
00704 }
00705 #endif
00706
00707
00708 #define SWIG_UnknownError -1
00709 #define SWIG_IOError -2
00710 #define SWIG_RuntimeError -3
00711 #define SWIG_IndexError -4
00712 #define SWIG_TypeError -5
00713 #define SWIG_DivisionByZero -6
00714 #define SWIG_OverflowError -7
00715 #define SWIG_SyntaxError -8
00716 #define SWIG_ValueError -9
00717 #define SWIG_SystemError -10
00718 #define SWIG_AttributeError -11
00719 #define SWIG_MemoryError -12
00720 #define SWIG_NullReferenceError -13
00721
00722
00723
00724 #ifdef __cplusplus
00725
00726 #include <math.h>
00727 #include <stdlib.h>
00728 extern "C" {
00729 #endif
00730 #include "EXTERN.h"
00731 #include "perl.h"
00732 #include "XSUB.h"
00733
00734
00735
00736
00737 #ifndef PERL_REVISION
00738 # if !defined(__PATCHLEVEL_H_INCLUDED__) && !(defined(PATCHLEVEL) && defined(SUBVERSION))
00739 # define PERL_PATCHLEVEL_H_IMPLICIT
00740 # include <patchlevel.h>
00741 # endif
00742 # if !(defined(PERL_VERSION) || (defined(SUBVERSION) && defined(PATCHLEVEL)))
00743 # include <could_not_find_Perl_patchlevel.h>
00744 # endif
00745 # ifndef PERL_REVISION
00746 # define PERL_REVISION (5)
00747 # define PERL_VERSION PATCHLEVEL
00748 # define PERL_SUBVERSION SUBVERSION
00749 # endif
00750 #endif
00751
00752 #if defined(WIN32) && defined(PERL_OBJECT) && !defined(PerlIO_exportFILE)
00753 #define PerlIO_exportFILE(fh,fl) (FILE*)(fh)
00754 #endif
00755
00756 #ifndef SvIOK_UV
00757 # define SvIOK_UV(sv) (SvIOK(sv) && (SvUVX(sv) == SvIVX(sv)))
00758 #endif
00759
00760 #ifndef SvUOK
00761 # define SvUOK(sv) SvIOK_UV(sv)
00762 #endif
00763
00764 #if ((PERL_VERSION < 4) || ((PERL_VERSION == 4) && (PERL_SUBVERSION <= 5)))
00765 # define PL_sv_undef sv_undef
00766 # define PL_na na
00767 # define PL_errgv errgv
00768 # define PL_sv_no sv_no
00769 # define PL_sv_yes sv_yes
00770 # define PL_markstack_ptr markstack_ptr
00771 #endif
00772
00773 #ifndef IVSIZE
00774 # ifdef LONGSIZE
00775 # define IVSIZE LONGSIZE
00776 # else
00777 # define IVSIZE 4
00778 # endif
00779 #endif
00780
00781 #ifndef INT2PTR
00782 # if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE)
00783 # define PTRV UV
00784 # define INT2PTR(any,d) (any)(d)
00785 # else
00786 # if PTRSIZE == LONGSIZE
00787 # define PTRV unsigned long
00788 # else
00789 # define PTRV unsigned
00790 # endif
00791 # define INT2PTR(any,d) (any)(PTRV)(d)
00792 # endif
00793
00794 # define NUM2PTR(any,d) (any)(PTRV)(d)
00795 # define PTR2IV(p) INT2PTR(IV,p)
00796 # define PTR2UV(p) INT2PTR(UV,p)
00797 # define PTR2NV(p) NUM2PTR(NV,p)
00798
00799 # if PTRSIZE == LONGSIZE
00800 # define PTR2ul(p) (unsigned long)(p)
00801 # else
00802 # define PTR2ul(p) INT2PTR(unsigned long,p)
00803 # endif
00804 #endif
00805
00806 #ifndef SvPV_nolen
00807 # define SvPV_nolen(x) SvPV(x,PL_na)
00808 #endif
00809
00810 #ifndef get_sv
00811 # define get_sv perl_get_sv
00812 #endif
00813
00814 #ifndef ERRSV
00815 # define ERRSV get_sv("@",FALSE)
00816 #endif
00817
00818 #ifndef pTHX_
00819 #define pTHX_
00820 #endif
00821
00822 #include <string.h>
00823 #ifdef __cplusplus
00824 }
00825 #endif
00826
00827 /* -----------------------------------------------------------------------------
00828 * error manipulation
00829 * ----------------------------------------------------------------------------- */
00830
00831 SWIGINTERN const char*
00832 SWIG_Perl_ErrorType(int code) {
00833 const char* type = 0;
00834 switch(code) {
00835 case SWIG_MemoryError:
00836 type = "MemoryError";
00837 break;
00838 case SWIG_IOError:
00839 type = "IOError";
00840 break;
00841 case SWIG_RuntimeError:
00842 type = "RuntimeError";
00843 break;
00844 case SWIG_IndexError:
00845 type = "IndexError";
00846 break;
00847 case SWIG_TypeError:
00848 type = "TypeError";
00849 break;
00850 case SWIG_DivisionByZero:
00851 type = "ZeroDivisionError";
00852 break;
00853 case SWIG_OverflowError:
00854 type = "OverflowError";
00855 break;
00856 case SWIG_SyntaxError:
00857 type = "SyntaxError";
00858 break;
00859 case SWIG_ValueError:
00860 type = "ValueError";
00861 break;
00862 case SWIG_SystemError:
00863 type = "SystemError";
00864 break;
00865 case SWIG_AttributeError:
00866 type = "AttributeError";
00867 break;
00868 default:
00869 type = "RuntimeError";
00870 }
00871 return type;
00872 }
00873
00874
00875
00876
00877
00878
00879
00880
00881
00882
00883
00884
00885 #ifdef PERL_OBJECT
00886 #define SWIG_PERL_OBJECT_DECL CPerlObj *SWIGUNUSEDPARM(pPerl),
00887 #define SWIG_PERL_OBJECT_CALL pPerl,
00888 #else
00889 #define SWIG_PERL_OBJECT_DECL
00890 #define SWIG_PERL_OBJECT_CALL
00891 #endif
00892
00893
00894
00895
00896 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Perl_ConvertPtr(SWIG_PERL_OBJECT_CALL obj, pp, type, flags)
00897 #define SWIG_NewPointerObj(p, type, flags) SWIG_Perl_NewPointerObj(SWIG_PERL_OBJECT_CALL p, type, flags)
00898
00899
00900 #define SWIG_ConvertPacked(obj, p, s, type) SWIG_Perl_ConvertPacked(SWIG_PERL_OBJECT_CALL obj, p, s, type)
00901 #define SWIG_NewPackedObj(p, s, type) SWIG_Perl_NewPackedObj(SWIG_PERL_OBJECT_CALL p, s, type)
00902
00903
00904 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
00905 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
00906
00907
00908 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_ConvertPtr(obj, pptr, type, 0)
00909 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_NewPointerObj(ptr, type, 0)
00910
00911
00912 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_ConvertPacked(obj, ptr, sz, ty)
00913 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_NewPackedObj(ptr, sz, type)
00914
00915
00916
00917
00918 #define SWIG_GetModule(clientdata) SWIG_Perl_GetModule()
00919 #define SWIG_SetModule(clientdata, pointer) SWIG_Perl_SetModule(pointer)
00920
00921
00922
00923
00924 #define SWIG_ErrorType(code) SWIG_Perl_ErrorType(code)
00925 #define SWIG_Error(code, msg) sv_setpvf(GvSV(PL_errgv),"%s %s\n", SWIG_ErrorType(code), msg)
00926 #define SWIG_fail goto fail
00927
00928
00929
00930 #define SWIG_MakePtr(sv, ptr, type, flags) SWIG_Perl_MakePtr(SWIG_PERL_OBJECT_CALL sv, ptr, type, flags)
00931 #define SWIG_MakePackedObj(sv, p, s, type) SWIG_Perl_MakePackedObj(SWIG_PERL_OBJECT_CALL sv, p, s, type)
00932 #define SWIG_SetError(str) SWIG_Error(SWIG_RuntimeError, str)
00933
00934
00935 #define SWIG_PERL_DECL_ARGS_1(arg1) (SWIG_PERL_OBJECT_DECL arg1)
00936 #define SWIG_PERL_CALL_ARGS_1(arg1) (SWIG_PERL_OBJECT_CALL arg1)
00937 #define SWIG_PERL_DECL_ARGS_2(arg1, arg2) (SWIG_PERL_OBJECT_DECL arg1, arg2)
00938 #define SWIG_PERL_CALL_ARGS_2(arg1, arg2) (SWIG_PERL_OBJECT_CALL arg1, arg2)
00939
00940
00941
00942
00943
00944
00945 #define SWIG_POINTER_EXCEPTION 0
00946
00947 #ifdef __cplusplus
00948 extern "C" {
00949 #endif
00950
00951 #define SWIG_OWNER SWIG_POINTER_OWN
00952 #define SWIG_SHADOW SWIG_OWNER << 1
00953
00954 #define SWIG_MAYBE_PERL_OBJECT SWIG_PERL_OBJECT_DECL
00955
00956
00957
00958
00959 #ifndef XSPROTO
00960 # define XSPROTO(name) void name(pTHX_ CV* cv)
00961 #endif
00962
00963
00964 #ifdef PERL_OBJECT
00965 # define SWIG_CALLXS(_name) _name(cv,pPerl)
00966 #else
00967 # ifndef MULTIPLICITY
00968 # define SWIG_CALLXS(_name) _name(cv)
00969 # else
00970 # define SWIG_CALLXS(_name) _name(PERL_GET_THX, cv)
00971 # endif
00972 #endif
00973
00974 #ifdef PERL_OBJECT
00975 #define MAGIC_PPERL CPerlObj *pPerl = (CPerlObj *) this;
00976
00977 #ifdef __cplusplus
00978 extern "C" {
00979 #endif
00980 typedef int (CPerlObj::*SwigMagicFunc)(SV *, MAGIC *);
00981 #ifdef __cplusplus
00982 }
00983 #endif
00984
00985 #define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
00986 #define SWIGCLASS_STATIC
00987
00988 #else
00989
00990 #define MAGIC_PPERL
00991 #define SWIGCLASS_STATIC static SWIGUNUSED
00992
00993 #ifndef MULTIPLICITY
00994 #define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
00995
00996 #ifdef __cplusplus
00997 extern "C" {
00998 #endif
00999 typedef int (*SwigMagicFunc)(SV *, MAGIC *);
01000 #ifdef __cplusplus
01001 }
01002 #endif
01003
01004 #else
01005
01006 #define SWIG_MAGIC(a,b) (struct interpreter *interp, SV *a, MAGIC *b)
01007
01008 #ifdef __cplusplus
01009 extern "C" {
01010 #endif
01011 typedef int (*SwigMagicFunc)(struct interpreter *, SV *, MAGIC *);
01012 #ifdef __cplusplus
01013 }
01014 #endif
01015
01016 #endif
01017 #endif
01018
01019
01020 #if (PERL_VERSION < 8)
01021 # ifdef PERL_OBJECT
01022 # define SWIG_croak_null() SWIG_Perl_croak_null(pPerl)
01023 static void SWIG_Perl_croak_null(CPerlObj *pPerl)
01024 # else
01025 static void SWIG_croak_null()
01026 # endif
01027 {
01028 SV *err=ERRSV;
01029 # if (PERL_VERSION < 6)
01030 croak("%_", err);
01031 # else
01032 if (SvOK(err) && !SvROK(err)) croak("%_", err);
01033 croak(Nullch);
01034 # endif
01035 }
01036 #else
01037 # define SWIG_croak_null() croak(Nullch)
01038 #endif
01039
01040
01041
01042
01043
01044
01045
01046
01047
01048
01049
01050
01051
01052
01053
01054
01055
01056 #ifndef SWIG_PERL_NO_STRICT_STR2NUM
01057 # ifndef SWIG_PERL_STRICT_STR2NUM
01058 # define SWIG_PERL_STRICT_STR2NUM
01059 # endif
01060 #endif
01061 #ifdef SWIG_PERL_STRICT_STR2NUM
01062
01063 #define SWIG_Str2NumCast(x) SWIG_AddCast(x)
01064 #else
01065
01066 #define SWIG_Str2NumCast(x) x
01067 #endif
01068
01069
01070
01071 #include <stdlib.h>
01072
01073 SWIGRUNTIME const char *
01074 SWIG_Perl_TypeProxyName(const swig_type_info *type) {
01075 if (!type) return NULL;
01076 if (type->clientdata != NULL) {
01077 return (const char*) type->clientdata;
01078 }
01079 else {
01080 return type->name;
01081 }
01082 }
01083
01084 SWIGRUNTIME swig_cast_info *
01085 SWIG_TypeProxyCheck(const char *c, swig_type_info *ty) {
01086 SWIG_TypeCheck_Template(( (!iter->type->clientdata && (strcmp(iter->type->name, c) == 0))
01087 || (iter->type->clientdata && (strcmp((char*)iter->type->clientdata, c) == 0))), ty);
01088 }
01089
01090
01091
01092
01093 SWIGRUNTIME int
01094 SWIG_Perl_ConvertPtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags) {
01095 swig_cast_info *tc;
01096 void *voidptr = (void *)0;
01097 SV *tsv = 0;
01098
01099 if (SvGMAGICAL(sv))
01100 mg_get(sv);
01101
01102
01103 if (sv_isobject(sv)) {
01104 IV tmp = 0;
01105 tsv = (SV*) SvRV(sv);
01106 if ((SvTYPE(tsv) == SVt_PVHV)) {
01107 MAGIC *mg;
01108 if (SvMAGICAL(tsv)) {
01109 mg = mg_find(tsv,'P');
01110 if (mg) {
01111 sv = mg->mg_obj;
01112 if (sv_isobject(sv)) {
01113 tsv = (SV*)SvRV(sv);
01114 tmp = SvIV(tsv);
01115 }
01116 }
01117 } else {
01118 return SWIG_ERROR;
01119 }
01120 } else {
01121 tmp = SvIV(tsv);
01122 }
01123 voidptr = INT2PTR(void *,tmp);
01124 } else if (! SvOK(sv)) {
01125 *(ptr) = (void *) 0;
01126 return SWIG_OK;
01127 } else if (SvTYPE(sv) == SVt_RV) {
01128 if (!SvROK(sv)) {
01129 *(ptr) = (void *) 0;
01130 return SWIG_OK;
01131 } else {
01132 return SWIG_ERROR;
01133 }
01134 } else {
01135 return SWIG_ERROR;
01136 }
01137 if (_t) {
01138
01139 char *_c = HvNAME(SvSTASH(SvRV(sv)));
01140 tc = SWIG_TypeProxyCheck(_c,_t);
01141 if (!tc) {
01142 return SWIG_ERROR;
01143 }
01144 {
01145 int newmemory = 0;
01146 *ptr = SWIG_TypeCast(tc,voidptr,&newmemory);
01147 assert(!newmemory);
01148 }
01149 } else {
01150 *ptr = voidptr;
01151 }
01152
01153
01154
01155
01156 if (tsv && (flags & SWIG_POINTER_DISOWN)) {
01157
01158
01159
01160 SV *obj = sv;
01161 HV *stash = SvSTASH(SvRV(obj));
01162 GV *gv = *(GV**) hv_fetch(stash, "OWNER", 5, TRUE);
01163 if (isGV(gv)) {
01164 HV *hv = GvHVn(gv);
01165
01166
01167
01168
01169 if (hv_exists_ent(hv, obj, 0)) {
01170 hv_delete_ent(hv, obj, 0, 0);
01171 }
01172 }
01173 }
01174 return SWIG_OK;
01175 }
01176
01177 SWIGRUNTIME void
01178 SWIG_Perl_MakePtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, swig_type_info *t, int flags) {
01179 if (ptr && (flags & SWIG_SHADOW)) {
01180 SV *self;
01181 SV *obj=newSV(0);
01182 HV *hash=newHV();
01183 HV *stash;
01184 sv_setref_pv(obj, (char *) SWIG_Perl_TypeProxyName(t), ptr);
01185 stash=SvSTASH(SvRV(obj));
01186 if (flags & SWIG_POINTER_OWN) {
01187 HV *hv;
01188 GV *gv=*(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
01189 if (!isGV(gv))
01190 gv_init(gv, stash, "OWNER", 5, FALSE);
01191 hv=GvHVn(gv);
01192 hv_store_ent(hv, obj, newSViv(1), 0);
01193 }
01194 sv_magic((SV *)hash, (SV *)obj, 'P', Nullch, 0);
01195 SvREFCNT_dec(obj);
01196 self=newRV_noinc((SV *)hash);
01197 sv_setsv(sv, self);
01198 SvREFCNT_dec((SV *)self);
01199 sv_bless(sv, stash);
01200 }
01201 else {
01202 sv_setref_pv(sv, (char *) SWIG_Perl_TypeProxyName(t), ptr);
01203 }
01204 }
01205
01206 SWIGRUNTIMEINLINE SV *
01207 SWIG_Perl_NewPointerObj(SWIG_MAYBE_PERL_OBJECT void *ptr, swig_type_info *t, int flags) {
01208 SV *result = sv_newmortal();
01209 SWIG_MakePtr(result, ptr, t, flags);
01210 return result;
01211 }
01212
01213 SWIGRUNTIME void
01214 SWIG_Perl_MakePackedObj(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, int sz, swig_type_info *type) {
01215 char result[1024];
01216 char *r = result;
01217 if ((2*sz + 1 + strlen(SWIG_Perl_TypeProxyName(type))) > 1000) return;
01218 *(r++) = '_';
01219 r = SWIG_PackData(r,ptr,sz);
01220 strcpy(r,SWIG_Perl_TypeProxyName(type));
01221 sv_setpv(sv, result);
01222 }
01223
01224 SWIGRUNTIME SV *
01225 SWIG_Perl_NewPackedObj(SWIG_MAYBE_PERL_OBJECT void *ptr, int sz, swig_type_info *type) {
01226 SV *result = sv_newmortal();
01227 SWIG_Perl_MakePackedObj(result, ptr, sz, type);
01228 return result;
01229 }
01230
01231
01232 SWIGRUNTIME int
01233 SWIG_Perl_ConvertPacked(SWIG_MAYBE_PERL_OBJECT SV *obj, void *ptr, int sz, swig_type_info *ty) {
01234 swig_cast_info *tc;
01235 const char *c = 0;
01236
01237 if ((!obj) || (!SvOK(obj))) return SWIG_ERROR;
01238 c = SvPV_nolen(obj);
01239
01240 if (*c != '_') return SWIG_ERROR;
01241 c++;
01242 c = SWIG_UnpackData(c,ptr,sz);
01243 if (ty) {
01244 tc = SWIG_TypeCheck(c,ty);
01245 if (!tc) return SWIG_ERROR;
01246 }
01247 return SWIG_OK;
01248 }
01249
01250
01251
01252 #define SWIG_croak(x) { SWIG_Error(SWIG_RuntimeError, x); SWIG_fail; }
01253
01254
01255 typedef XSPROTO(SwigPerlWrapper);
01256 typedef SwigPerlWrapper *SwigPerlWrapperPtr;
01257
01258
01259 typedef struct {
01260 const char *name;
01261 SwigPerlWrapperPtr wrapper;
01262 } swig_command_info;
01263
01264
01265
01266 #define SWIG_INT 1
01267 #define SWIG_FLOAT 2
01268 #define SWIG_STRING 3
01269 #define SWIG_POINTER 4
01270 #define SWIG_BINARY 5
01271
01272
01273 typedef struct swig_constant_info {
01274 int type;
01275 const char *name;
01276 long lvalue;
01277 double dvalue;
01278 void *pvalue;
01279 swig_type_info **ptype;
01280 } swig_constant_info;
01281
01282
01283
01284 typedef struct {
01285 const char *name;
01286 SwigMagicFunc set;
01287 SwigMagicFunc get;
01288 swig_type_info **type;
01289 } swig_variable_info;
01290
01291
01292 #ifndef PERL_OBJECT
01293 #define swig_create_magic(s,a,b,c) _swig_create_magic(s,a,b,c)
01294 #ifndef MULTIPLICITY
01295 SWIGRUNTIME void _swig_create_magic(SV *sv, char *name, int (*set)(SV *, MAGIC *), int (*get)(SV *,MAGIC *))
01296 #else
01297 SWIGRUNTIME void _swig_create_magic(SV *sv, char *name, int (*set)(struct interpreter*, SV *, MAGIC *), int (*get)(struct interpreter*, SV *,MAGIC *))
01298 #endif
01299 #else
01300 # define swig_create_magic(s,a,b,c) _swig_create_magic(pPerl,s,a,b,c)
01301 SWIGRUNTIME void _swig_create_magic(CPerlObj *pPerl, SV *sv, const char *name, int (CPerlObj::*set)(SV *, MAGIC *), int (CPerlObj::*get)(SV *, MAGIC *))
01302 #endif
01303 {
01304 MAGIC *mg;
01305 sv_magic(sv,sv,'U',(char *) name,strlen(name));
01306 mg = mg_find(sv,'U');
01307 mg->mg_virtual = (MGVTBL *) malloc(sizeof(MGVTBL));
01308 mg->mg_virtual->svt_get = (SwigMagicFunc) get;
01309 mg->mg_virtual->svt_set = (SwigMagicFunc) set;
01310 mg->mg_virtual->svt_len = 0;
01311 mg->mg_virtual->svt_clear = 0;
01312 mg->mg_virtual->svt_free = 0;
01313 }
01314
01315
01316 SWIGRUNTIME swig_module_info *
01317 SWIG_Perl_GetModule(void) {
01318 static void *type_pointer = (void *)0;
01319 SV *pointer;
01320
01321
01322 if (!type_pointer) {
01323 pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, FALSE | GV_ADDMULTI);
01324 if (pointer && SvOK(pointer)) {
01325 type_pointer = INT2PTR(swig_type_info **, SvIV(pointer));
01326 }
01327 }
01328
01329 return (swig_module_info *) type_pointer;
01330 }
01331
01332 SWIGRUNTIME void
01333 SWIG_Perl_SetModule(swig_module_info *module) {
01334 SV *pointer;
01335
01336
01337 pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, TRUE | GV_ADDMULTI);
01338 sv_setiv(pointer, PTR2IV(module));
01339 }
01340
01341 #ifdef __cplusplus
01342 }
01343 #endif
01344
01345
01346
01347
01348 #ifdef do_open
01349 #undef do_open
01350 #endif
01351 #ifdef do_close
01352 #undef do_close
01353 #endif
01354 #ifdef scalar
01355 #undef scalar
01356 #endif
01357 #ifdef list
01358 #undef list
01359 #endif
01360 #ifdef apply
01361 #undef apply
01362 #endif
01363 #ifdef convert
01364 #undef convert
01365 #endif
01366 #ifdef Error
01367 #undef Error
01368 #endif
01369 #ifdef form
01370 #undef form
01371 #endif
01372 #ifdef vform
01373 #undef vform
01374 #endif
01375 #ifdef LABEL
01376 #undef LABEL
01377 #endif
01378 #ifdef METHOD
01379 #undef METHOD
01380 #endif
01381 #ifdef Move
01382 #undef Move
01383 #endif
01384 #ifdef yylex
01385 #undef yylex
01386 #endif
01387 #ifdef yyparse
01388 #undef yyparse
01389 #endif
01390 #ifdef yyerror
01391 #undef yyerror
01392 #endif
01393 #ifdef invert
01394 #undef invert
01395 #endif
01396 #ifdef ref
01397 #undef ref
01398 #endif
01399 #ifdef read
01400 #undef read
01401 #endif
01402 #ifdef write
01403 #undef write
01404 #endif
01405 #ifdef eof
01406 #undef eof
01407 #endif
01408 #ifdef bool
01409 #undef bool
01410 #endif
01411 #ifdef close
01412 #undef close
01413 #endif
01414 #ifdef rewind
01415 #undef rewind
01416 #endif
01417 #ifdef free
01418 #undef free
01419 #endif
01420 #ifdef malloc
01421 #undef malloc
01422 #endif
01423 #ifdef calloc
01424 #undef calloc
01425 #endif
01426 #ifdef Stat
01427 #undef Stat
01428 #endif
01429 #ifdef check
01430 #undef check
01431 #endif
01432 #ifdef seekdir
01433 #undef seekdir
01434 #endif
01435 #ifdef open
01436 #undef open
01437 #endif
01438
01439
01440
01441 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
01442
01443 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
01444
01445
01446
01447
01448
01449 #define SWIGTYPE_p_XDR swig_types[0]
01450 #define SWIGTYPE_p_bool_t swig_types[1]
01451 #define SWIGTYPE_p_char swig_types[2]
01452 #define SWIGTYPE_p_dtn_bundle swig_types[3]
01453 #define SWIGTYPE_p_dtn_bundle_delivery_opts_t swig_types[4]
01454 #define SWIGTYPE_p_dtn_bundle_id swig_types[5]
01455 #define SWIGTYPE_p_dtn_bundle_id_t swig_types[6]
01456 #define SWIGTYPE_p_dtn_bundle_payload_location_t swig_types[7]
01457 #define SWIGTYPE_p_dtn_bundle_payload_t swig_types[8]
01458 #define SWIGTYPE_p_dtn_bundle_payload_t_buf swig_types[9]
01459 #define SWIGTYPE_p_dtn_bundle_payload_t_filename swig_types[10]
01460 #define SWIGTYPE_p_dtn_bundle_priority_t swig_types[11]
01461 #define SWIGTYPE_p_dtn_bundle_spec_t swig_types[12]
01462 #define SWIGTYPE_p_dtn_bundle_spec_t_blocks swig_types[13]
01463 #define SWIGTYPE_p_dtn_bundle_spec_t_metadata swig_types[14]
01464 #define SWIGTYPE_p_dtn_bundle_status_report_t swig_types[15]
01465 #define SWIGTYPE_p_dtn_endpoint_id_t swig_types[16]
01466 #define SWIGTYPE_p_dtn_extension_block_flags_t swig_types[17]
01467 #define SWIGTYPE_p_dtn_extension_block_t swig_types[18]
01468 #define SWIGTYPE_p_dtn_extension_block_t_data swig_types[19]
01469 #define SWIGTYPE_p_dtn_handle_t swig_types[20]
01470 #define SWIGTYPE_p_dtn_reg_flags_t swig_types[21]
01471 #define SWIGTYPE_p_dtn_reg_info_t swig_types[22]
01472 #define SWIGTYPE_p_dtn_reg_info_t_script swig_types[23]
01473 #define SWIGTYPE_p_dtn_sequence_id_t swig_types[24]
01474 #define SWIGTYPE_p_dtn_sequence_id_t_data swig_types[25]
01475 #define SWIGTYPE_p_dtn_service_tag_t swig_types[26]
01476 #define SWIGTYPE_p_dtn_session_info swig_types[27]
01477 #define SWIGTYPE_p_dtn_status_report swig_types[28]
01478 #define SWIGTYPE_p_dtn_status_report_flags_t swig_types[29]
01479 #define SWIGTYPE_p_dtn_status_report_reason_t swig_types[30]
01480 #define SWIGTYPE_p_dtn_timestamp_t swig_types[31]
01481 #define SWIGTYPE_p_mapT_unsigned_int_dtn_handle_t_t swig_types[32]
01482 #define SWIGTYPE_p_u_int swig_types[33]
01483 static swig_type_info *swig_types[35];
01484 static swig_module_info swig_module = {swig_types, 34, 0, 0, 0, 0};
01485 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
01486 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
01487
01488
01489
01490 #define SWIG_init boot_dtnapi
01491
01492 #define SWIG_name "dtnapic::boot_dtnapi"
01493 #define SWIG_prefix "dtnapic::"
01494
01495 #define SWIGVERSION 0x010335
01496 #define SWIG_VERSION SWIGVERSION
01497
01498
01499 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
01500 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
01501
01502
01503 #include <stdexcept>
01504
01505
01506 #ifdef __cplusplus
01507 extern "C"
01508 #endif
01509 #ifndef PERL_OBJECT
01510 #ifndef MULTIPLICITY
01511 SWIGEXPORT void SWIG_init (CV* cv);
01512 #else
01513 SWIGEXPORT void SWIG_init (pTHXo_ CV* cv);
01514 #endif
01515 #else
01516 SWIGEXPORT void SWIG_init (CV *cv, CPerlObj *);
01517 #endif
01518
01519
01520 #include <string>
01521
01522
01523
01524 using namespace std;
01525
01526 #include <applib/dtn_types.h>
01527 #include <applib/dtn_api.h>
01528 #include <applib/dtn_api_wrap.cc>
01529
01530
01531 SWIGINTERNINLINE SV *
01532 SWIG_From_long SWIG_PERL_DECL_ARGS_1(long value)
01533 {
01534 SV *obj = sv_newmortal();
01535 sv_setiv(obj, (IV) value);
01536 return obj;
01537 }
01538
01539
01540 SWIGINTERNINLINE SV *
01541 SWIG_From_int SWIG_PERL_DECL_ARGS_1(int value)
01542 {
01543 return SWIG_From_long SWIG_PERL_CALL_ARGS_1(value);
01544 }
01545
01546
01547 SWIGINTERN swig_type_info*
01548 SWIG_pchar_descriptor(void)
01549 {
01550 static int init = 0;
01551 static swig_type_info* info = 0;
01552 if (!init) {
01553 info = SWIG_TypeQuery("_p_char");
01554 init = 1;
01555 }
01556 return info;
01557 }
01558
01559
01560 SWIGINTERN int
01561 SWIG_AsCharPtrAndSize(SV *obj, char** cptr, size_t* psize, int *alloc)
01562 {
01563 if (SvPOK(obj)) {
01564 STRLEN len = 0;
01565 char *cstr = SvPV(obj, len);
01566 size_t size = len + 1;
01567 if (cptr) {
01568 if (alloc) {
01569 if (*alloc == SWIG_NEWOBJ) {
01570 *cptr = reinterpret_cast< char* >(memcpy((new char[size]), cstr, sizeof(char)*(size)));
01571 } else {
01572 *cptr = cstr;
01573 *alloc = SWIG_OLDOBJ;
01574 }
01575 }
01576 }
01577 if (psize) *psize = size;
01578 return SWIG_OK;
01579 } else {
01580 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
01581 if (pchar_descriptor) {
01582 char* vptr = 0;
01583 if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_descriptor, 0) == SWIG_OK) {
01584 if (cptr) *cptr = vptr;
01585 if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
01586 if (alloc) *alloc = SWIG_OLDOBJ;
01587 return SWIG_OK;
01588 }
01589 }
01590 }
01591 return SWIG_TypeError;
01592 }
01593
01594
01595 SWIGINTERN int
01596 SWIG_AsCharArray(SV * obj, char *val, size_t size)
01597 {
01598 char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
01599 int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
01600 if (SWIG_IsOK(res)) {
01601 if ((csize == size + 1) && cptr && !(cptr[csize-1])) --csize;
01602 if (csize <= size) {
01603 if (val) {
01604 if (csize) memcpy(val, cptr, csize*sizeof(char));
01605 if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
01606 }
01607 if (alloc == SWIG_NEWOBJ) {
01608 delete[] cptr;
01609 res = SWIG_DelNewMask(res);
01610 }
01611 return res;
01612 }
01613 if (alloc == SWIG_NEWOBJ) delete[] cptr;
01614 }
01615 return SWIG_TypeError;
01616 }
01617
01618
01619 SWIGINTERNINLINE SV *
01620 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
01621 {
01622 SV *obj = sv_newmortal();
01623 if (carray) {
01624 sv_setpvn(obj, carray, size);
01625 } else {
01626 sv_setsv(obj, &PL_sv_undef);
01627 }
01628 return obj;
01629 }
01630
01631
01632 typedef struct {
01633 u_int script_len;
01634 char *script_val;
01635 } dtn_reg_info_t_script;
01636
01637
01638
01639
01640
01641
01642 SWIGINTERNINLINE SV *
01643 SWIG_FromCharPtr(const char *cptr)
01644 {
01645 return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
01646 }
01647
01648
01649 typedef struct {
01650 u_int data_len;
01651 char *data_val;
01652 } dtn_extension_block_t_data;
01653
01654
01655
01656 typedef struct {
01657 u_int data_len;
01658 char *data_val;
01659 } dtn_sequence_id_t_data;
01660
01661
01662
01663 #include <limits.h>
01664 #if !defined(SWIG_NO_LLONG_MAX)
01665 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
01666 # define LLONG_MAX __LONG_LONG_MAX__
01667 # define LLONG_MIN (-LLONG_MAX - 1LL)
01668 # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
01669 # endif
01670 #endif
01671
01672
01673 SWIGINTERN int
01674 SWIG_AsVal_double SWIG_PERL_DECL_ARGS_2(SV *obj, double *val)
01675 {
01676 if (SvNIOK(obj)) {
01677 if (val) *val = SvNV(obj);
01678 return SWIG_OK;
01679 } else if (SvIOK(obj)) {
01680 if (val) *val = (double) SvIV(obj);
01681 return SWIG_AddCast(SWIG_OK);
01682 } else {
01683 const char *nptr = SvPV_nolen(obj);
01684 if (nptr) {
01685 char *endptr;
01686 double v = strtod(nptr, &endptr);
01687 if (errno == ERANGE) {
01688 errno = 0;
01689 return SWIG_OverflowError;
01690 } else {
01691 if (*endptr == '\0') {
01692 if (val) *val = v;
01693 return SWIG_Str2NumCast(SWIG_OK);
01694 }
01695 }
01696 }
01697 }
01698 return SWIG_TypeError;
01699 }
01700
01701
01702 #include <float.h>
01703
01704
01705 #include <math.h>
01706
01707
01708 SWIGINTERNINLINE int
01709 SWIG_CanCastAsInteger(double *d, double min, double max) {
01710 double x = *d;
01711 if ((min <= x && x <= max)) {
01712 double fx = floor(x);
01713 double cx = ceil(x);
01714 double rd = ((x - fx) < 0.5) ? fx : cx;
01715 if ((errno == EDOM) || (errno == ERANGE)) {
01716 errno = 0;
01717 } else {
01718 double summ, reps, diff;
01719 if (rd < x) {
01720 diff = x - rd;
01721 } else if (rd > x) {
01722 diff = rd - x;
01723 } else {
01724 return 1;
01725 }
01726 summ = rd + x;
01727 reps = diff/summ;
01728 if (reps < 8*DBL_EPSILON) {
01729 *d = rd;
01730 return 1;
01731 }
01732 }
01733 }
01734 return 0;
01735 }
01736
01737
01738 SWIGINTERN int
01739 SWIG_AsVal_long SWIG_PERL_DECL_ARGS_2(SV *obj, long* val)
01740 {
01741 if (SvIOK(obj)) {
01742 if (val) *val = SvIV(obj);
01743 return SWIG_OK;
01744 } else {
01745 int dispatch = 0;
01746 const char *nptr = SvPV_nolen(obj);
01747 if (nptr) {
01748 char *endptr;
01749 long v;
01750 errno = 0;
01751 v = strtol(nptr, &endptr,0);
01752 if (errno == ERANGE) {
01753 errno = 0;
01754 return SWIG_OverflowError;
01755 } else {
01756 if (*endptr == '\0') {
01757 if (val) *val = v;
01758 return SWIG_Str2NumCast(SWIG_OK);
01759 }
01760 }
01761 }
01762 if (!dispatch) {
01763 double d;
01764 int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
01765 if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) {
01766 if (val) *val = (long)(d);
01767 return res;
01768 }
01769 }
01770 }
01771 return SWIG_TypeError;
01772 }
01773
01774
01775 SWIGINTERN int
01776 SWIG_AsVal_int SWIG_PERL_DECL_ARGS_2(SV * obj, int *val)
01777 {
01778 long v;
01779 int res = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v);
01780 if (SWIG_IsOK(res)) {
01781 if ((v < INT_MIN || v > INT_MAX)) {
01782 return SWIG_OverflowError;
01783 } else {
01784 if (val) *val = static_cast< int >(v);
01785 }
01786 }
01787 return res;
01788 }
01789
01790
01791 typedef struct {
01792 u_int metadata_len;
01793 dtn_extension_block_t *metadata_val;
01794 } dtn_bundle_spec_t_metadata;
01795
01796
01797
01798 typedef struct {
01799 u_int blocks_len;
01800 dtn_extension_block_t *blocks_val;
01801 } dtn_bundle_spec_t_blocks;
01802
01803
01804
01805 typedef struct {
01806 u_int buf_len;
01807 char *buf_val;
01808 } dtn_bundle_payload_t_buf;
01809
01810
01811
01812 typedef struct {
01813 u_int filename_len;
01814 char *filename_val;
01815 } dtn_bundle_payload_t_filename;
01816
01817
01818
01819 SWIGINTERN int
01820 SWIG_AsVal_unsigned_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long *val)
01821 {
01822 if (SvUOK(obj)) {
01823 if (val) *val = SvUV(obj);
01824 return SWIG_OK;
01825 } else if (SvIOK(obj)) {
01826 long v = SvIV(obj);
01827 if (v >= 0) {
01828 if (val) *val = v;
01829 return SWIG_OK;
01830 } else {
01831 return SWIG_OverflowError;
01832 }
01833 } else {
01834 int dispatch = 0;
01835 const char *nptr = SvPV_nolen(obj);
01836 if (nptr) {
01837 char *endptr;
01838 unsigned long v;
01839 errno = 0;
01840 v = strtoul(nptr, &endptr,0);
01841 if (errno == ERANGE) {
01842 errno = 0;
01843 return SWIG_OverflowError;
01844 } else {
01845 if (*endptr == '\0') {
01846 if (val) *val = v;
01847 return SWIG_Str2NumCast(SWIG_OK);
01848 }
01849 }
01850 }
01851 if (!dispatch) {
01852 double d;
01853 int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
01854 if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) {
01855 if (val) *val = (unsigned long)(d);
01856 return res;
01857 }
01858 }
01859 }
01860 return SWIG_TypeError;
01861 }
01862
01863
01864 SWIGINTERN int
01865 SWIG_AsVal_unsigned_SS_int SWIG_PERL_DECL_ARGS_2(SV * obj, unsigned int *val)
01866 {
01867 unsigned long v;
01868 int res = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(obj, &v);
01869 if (SWIG_IsOK(res)) {
01870 if ((v > UINT_MAX)) {
01871 return SWIG_OverflowError;
01872 } else {
01873 if (val) *val = static_cast< unsigned int >(v);
01874 }
01875 }
01876 return res;
01877 }
01878
01879
01880 SWIGINTERNINLINE SV *
01881 SWIG_From_unsigned_SS_long SWIG_PERL_DECL_ARGS_1(unsigned long value)
01882 {
01883 SV *obj = sv_newmortal();
01884 sv_setuv(obj, (UV) value);
01885 return obj;
01886 }
01887
01888
01889 SWIGINTERNINLINE SV *
01890 SWIG_From_unsigned_SS_int SWIG_PERL_DECL_ARGS_1(unsigned int value)
01891 {
01892 return SWIG_From_unsigned_SS_long SWIG_PERL_CALL_ARGS_1(value);
01893 }
01894
01895
01896 SWIGINTERNINLINE SV *
01897 SWIG_From_std_string SWIG_PERL_DECL_ARGS_1(const std::string& s)
01898 {
01899 if (s.size()) {
01900 return SWIG_FromCharPtrAndSize(s.data(), s.size());
01901 } else {
01902 return SWIG_FromCharPtrAndSize(s.c_str(), 0);
01903 }
01904 }
01905
01906
01907 SWIGINTERN int
01908 SWIG_AsPtr_std_string SWIG_PERL_DECL_ARGS_2(SV * obj, std::string **val)
01909 {
01910 char* buf = 0 ; size_t size = 0; int alloc = SWIG_OLDOBJ;
01911 if (SWIG_IsOK((SWIG_AsCharPtrAndSize(obj, &buf, &size, &alloc)))) {
01912 if (buf) {
01913 if (val) *val = new std::string(buf, size - 1);
01914 if (alloc == SWIG_NEWOBJ) delete[] buf;
01915 return SWIG_NEWOBJ;
01916 } else {
01917 if (val) *val = 0;
01918 return SWIG_OLDOBJ;
01919 }
01920 } else {
01921 static int init = 0;
01922 static swig_type_info* descriptor = 0;
01923 if (!init) {
01924 descriptor = SWIG_TypeQuery("std::string" " *");
01925 init = 1;
01926 }
01927 if (descriptor) {
01928 std::string *vptr;
01929 int res = SWIG_ConvertPtr(obj, (void**)&vptr, descriptor, 0);
01930 if (SWIG_IsOK(res) && val) *val = vptr;
01931 return res;
01932 }
01933 }
01934 return SWIG_ERROR;
01935 }
01936
01937
01938 SWIGINTERN int
01939 SWIG_AsVal_bool SWIG_PERL_DECL_ARGS_2(SV *obj, bool* val)
01940 {
01941 if (obj == &PL_sv_yes) {
01942 if (val) *val = true;
01943 return SWIG_OK;
01944 } else if (obj == &PL_sv_no) {
01945 if (val) *val = false;
01946 return SWIG_OK;
01947 } else {
01948 if (val) *val = SvTRUE(obj) ? true: false;
01949 return SWIG_AddCast(SWIG_OK);
01950 }
01951 return SWIG_TypeError;
01952 }
01953
01954 #ifdef __cplusplus
01955 extern "C" {
01956 #endif
01957
01958 #ifdef PERL_OBJECT
01959 #define MAGIC_CLASS _wrap_dtnapi_var::
01960 class _wrap_dtnapi_var : public CPerlObj {
01961 public:
01962 #else
01963 #define MAGIC_CLASS
01964 #endif
01965 SWIGCLASS_STATIC int swig_magic_readonly(pTHX_ SV *SWIGUNUSEDPARM(sv), MAGIC *SWIGUNUSEDPARM(mg)) {
01966 MAGIC_PPERL
01967 croak("Value is read-only.");
01968 return 0;
01969 }
01970 SWIGCLASS_STATIC int _wrap_Handles_set(pTHX_ SV* sv, MAGIC * SWIGUNUSEDPARM(mg)) {
01971 MAGIC_PPERL
01972 {
01973 void *argp = 0;
01974 int res = SWIG_ConvertPtr(sv, &argp, SWIGTYPE_p_mapT_unsigned_int_dtn_handle_t_t, 0 );
01975 if (!SWIG_IsOK(res)) {
01976 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""Handles""' of type '""HandleMap""'");
01977 }
01978 if (!argp) {
01979 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Handles""' of type '""HandleMap""'");
01980 } else {
01981 Handles = *(reinterpret_cast< HandleMap * >(argp));
01982 }
01983 }
01984 fail:
01985 return 1;
01986 }
01987
01988
01989 SWIGCLASS_STATIC int _wrap_Handles_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) {
01990 MAGIC_PPERL
01991 sv_setiv(SvRV(sv), PTR2IV(&Handles));
01992 return 1;
01993 }
01994
01995
01996 SWIGCLASS_STATIC int _wrap_HandleID_set(pTHX_ SV* sv, MAGIC * SWIGUNUSEDPARM(mg)) {
01997 MAGIC_PPERL
01998 {
01999 unsigned int val;
02000 int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(sv, &val);
02001 if (!SWIG_IsOK(res)) {
02002 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""HandleID""' of type '""unsigned int""'");
02003 }
02004 HandleID = static_cast< unsigned int >(val);
02005 }
02006 fail:
02007 return 1;
02008 }
02009
02010
02011 SWIGCLASS_STATIC int _wrap_HandleID_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) {
02012 MAGIC_PPERL
02013 sv_setsv(sv,SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(HandleID))) ;
02014 return 1;
02015 }
02016
02017
02018
02019
02020 #ifdef PERL_OBJECT
02021 };
02022 #endif
02023
02024 #ifdef __cplusplus
02025 }
02026 #endif
02027
02028 #ifdef __cplusplus
02029 extern "C" {
02030 #endif
02031 XS(_wrap_dtn_endpoint_id_t_uri_set) {
02032 {
02033 dtn_endpoint_id_t *arg1 = (dtn_endpoint_id_t *) 0 ;
02034 char *arg2 ;
02035 void *argp1 = 0 ;
02036 int res1 = 0 ;
02037 char temp2[256] ;
02038 int res2 ;
02039 int argvi = 0;
02040 dXSARGS;
02041
02042 if ((items < 2) || (items > 2)) {
02043 SWIG_croak("Usage: dtn_endpoint_id_t_uri_set(self,uri);");
02044 }
02045 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_endpoint_id_t, 0 | 0 );
02046 if (!SWIG_IsOK(res1)) {
02047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_endpoint_id_t_uri_set" "', argument " "1"" of type '" "dtn_endpoint_id_t *""'");
02048 }
02049 arg1 = reinterpret_cast< dtn_endpoint_id_t * >(argp1);
02050 res2 = SWIG_AsCharArray(ST(1), temp2, 256);
02051 if (!SWIG_IsOK(res2)) {
02052 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_endpoint_id_t_uri_set" "', argument " "2"" of type '" "char [256]""'");
02053 }
02054 arg2 = reinterpret_cast< char * >(temp2);
02055 if (arg2) memcpy(arg1->uri,arg2,256*sizeof(char));
02056 else memset(arg1->uri,0,256*sizeof(char));
02057
02058
02059
02060 XSRETURN(argvi);
02061 fail:
02062
02063
02064 SWIG_croak_null();
02065 }
02066 }
02067
02068
02069 XS(_wrap_dtn_endpoint_id_t_uri_get) {
02070 {
02071 dtn_endpoint_id_t *arg1 = (dtn_endpoint_id_t *) 0 ;
02072 char *result = 0 ;
02073 void *argp1 = 0 ;
02074 int res1 = 0 ;
02075 int argvi = 0;
02076 dXSARGS;
02077
02078 if ((items < 1) || (items > 1)) {
02079 SWIG_croak("Usage: dtn_endpoint_id_t_uri_get(self);");
02080 }
02081 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_endpoint_id_t, 0 | 0 );
02082 if (!SWIG_IsOK(res1)) {
02083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_endpoint_id_t_uri_get" "', argument " "1"" of type '" "dtn_endpoint_id_t *""'");
02084 }
02085 arg1 = reinterpret_cast< dtn_endpoint_id_t * >(argp1);
02086 result = (char *)(char *) ((arg1)->uri);
02087 {
02088 size_t size = 256;
02089
02090 while (size && (result[size - 1] == '\0')) --size;
02091
02092 ST(argvi) = SWIG_FromCharPtrAndSize(result, size); argvi++ ;
02093 }
02094
02095 XSRETURN(argvi);
02096 fail:
02097
02098 SWIG_croak_null();
02099 }
02100 }
02101
02102
02103 XS(_wrap_new_dtn_endpoint_id_t) {
02104 {
02105 dtn_endpoint_id_t *result = 0 ;
02106 int argvi = 0;
02107 dXSARGS;
02108
02109 if ((items < 0) || (items > 0)) {
02110 SWIG_croak("Usage: new_dtn_endpoint_id_t();");
02111 }
02112 result = (dtn_endpoint_id_t *)new dtn_endpoint_id_t();
02113 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_endpoint_id_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
02114 XSRETURN(argvi);
02115 fail:
02116 SWIG_croak_null();
02117 }
02118 }
02119
02120
02121 XS(_wrap_delete_dtn_endpoint_id_t) {
02122 {
02123 dtn_endpoint_id_t *arg1 = (dtn_endpoint_id_t *) 0 ;
02124 void *argp1 = 0 ;
02125 int res1 = 0 ;
02126 int argvi = 0;
02127 dXSARGS;
02128
02129 if ((items < 1) || (items > 1)) {
02130 SWIG_croak("Usage: delete_dtn_endpoint_id_t(self);");
02131 }
02132 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_endpoint_id_t, SWIG_POINTER_DISOWN | 0 );
02133 if (!SWIG_IsOK(res1)) {
02134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dtn_endpoint_id_t" "', argument " "1"" of type '" "dtn_endpoint_id_t *""'");
02135 }
02136 arg1 = reinterpret_cast< dtn_endpoint_id_t * >(argp1);
02137 delete arg1;
02138
02139
02140
02141 XSRETURN(argvi);
02142 fail:
02143
02144 SWIG_croak_null();
02145 }
02146 }
02147
02148
02149 XS(_wrap_dtn_timestamp_t_secs_set) {
02150 {
02151 dtn_timestamp_t *arg1 = (dtn_timestamp_t *) 0 ;
02152 u_int arg2 ;
02153 void *argp1 = 0 ;
02154 int res1 = 0 ;
02155 void *argp2 ;
02156 int res2 = 0 ;
02157 int argvi = 0;
02158 dXSARGS;
02159
02160 if ((items < 2) || (items > 2)) {
02161 SWIG_croak("Usage: dtn_timestamp_t_secs_set(self,secs);");
02162 }
02163 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_timestamp_t, 0 | 0 );
02164 if (!SWIG_IsOK(res1)) {
02165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_timestamp_t_secs_set" "', argument " "1"" of type '" "dtn_timestamp_t *""'");
02166 }
02167 arg1 = reinterpret_cast< dtn_timestamp_t * >(argp1);
02168 {
02169 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_u_int, 0 );
02170 if (!SWIG_IsOK(res2)) {
02171 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_timestamp_t_secs_set" "', argument " "2"" of type '" "u_int""'");
02172 }
02173 if (!argp2) {
02174 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_timestamp_t_secs_set" "', argument " "2"" of type '" "u_int""'");
02175 } else {
02176 arg2 = *(reinterpret_cast< u_int * >(argp2));
02177 }
02178 }
02179 if (arg1) (arg1)->secs = arg2;
02180
02181
02182
02183 XSRETURN(argvi);
02184 fail:
02185
02186 SWIG_croak_null();
02187 }
02188 }
02189
02190
02191 XS(_wrap_dtn_timestamp_t_secs_get) {
02192 {
02193 dtn_timestamp_t *arg1 = (dtn_timestamp_t *) 0 ;
02194 u_int result;
02195 void *argp1 = 0 ;
02196 int res1 = 0 ;
02197 int argvi = 0;
02198 dXSARGS;
02199
02200 if ((items < 1) || (items > 1)) {
02201 SWIG_croak("Usage: dtn_timestamp_t_secs_get(self);");
02202 }
02203 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_timestamp_t, 0 | 0 );
02204 if (!SWIG_IsOK(res1)) {
02205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_timestamp_t_secs_get" "', argument " "1"" of type '" "dtn_timestamp_t *""'");
02206 }
02207 arg1 = reinterpret_cast< dtn_timestamp_t * >(argp1);
02208 result = ((arg1)->secs);
02209 ST(argvi) = SWIG_NewPointerObj((new u_int(static_cast< const u_int& >(result))), SWIGTYPE_p_u_int, SWIG_POINTER_OWN | 0); argvi++ ;
02210
02211 XSRETURN(argvi);
02212 fail:
02213
02214 SWIG_croak_null();
02215 }
02216 }
02217
02218
02219 XS(_wrap_dtn_timestamp_t_seqno_set) {
02220 {
02221 dtn_timestamp_t *arg1 = (dtn_timestamp_t *) 0 ;
02222 u_int arg2 ;
02223 void *argp1 = 0 ;
02224 int res1 = 0 ;
02225 void *argp2 ;
02226 int res2 = 0 ;
02227 int argvi = 0;
02228 dXSARGS;
02229
02230 if ((items < 2) || (items > 2)) {
02231 SWIG_croak("Usage: dtn_timestamp_t_seqno_set(self,seqno);");
02232 }
02233 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_timestamp_t, 0 | 0 );
02234 if (!SWIG_IsOK(res1)) {
02235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_timestamp_t_seqno_set" "', argument " "1"" of type '" "dtn_timestamp_t *""'");
02236 }
02237 arg1 = reinterpret_cast< dtn_timestamp_t * >(argp1);
02238 {
02239 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_u_int, 0 );
02240 if (!SWIG_IsOK(res2)) {
02241 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_timestamp_t_seqno_set" "', argument " "2"" of type '" "u_int""'");
02242 }
02243 if (!argp2) {
02244 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_timestamp_t_seqno_set" "', argument " "2"" of type '" "u_int""'");
02245 } else {
02246 arg2 = *(reinterpret_cast< u_int * >(argp2));
02247 }
02248 }
02249 if (arg1) (arg1)->seqno = arg2;
02250
02251
02252
02253 XSRETURN(argvi);
02254 fail:
02255
02256 SWIG_croak_null();
02257 }
02258 }
02259
02260
02261 XS(_wrap_dtn_timestamp_t_seqno_get) {
02262 {
02263 dtn_timestamp_t *arg1 = (dtn_timestamp_t *) 0 ;
02264 u_int result;
02265 void *argp1 = 0 ;
02266 int res1 = 0 ;
02267 int argvi = 0;
02268 dXSARGS;
02269
02270 if ((items < 1) || (items > 1)) {
02271 SWIG_croak("Usage: dtn_timestamp_t_seqno_get(self);");
02272 }
02273 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_timestamp_t, 0 | 0 );
02274 if (!SWIG_IsOK(res1)) {
02275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_timestamp_t_seqno_get" "', argument " "1"" of type '" "dtn_timestamp_t *""'");
02276 }
02277 arg1 = reinterpret_cast< dtn_timestamp_t * >(argp1);
02278 result = ((arg1)->seqno);
02279 ST(argvi) = SWIG_NewPointerObj((new u_int(static_cast< const u_int& >(result))), SWIGTYPE_p_u_int, SWIG_POINTER_OWN | 0); argvi++ ;
02280
02281 XSRETURN(argvi);
02282 fail:
02283
02284 SWIG_croak_null();
02285 }
02286 }
02287
02288
02289 XS(_wrap_new_dtn_timestamp_t) {
02290 {
02291 dtn_timestamp_t *result = 0 ;
02292 int argvi = 0;
02293 dXSARGS;
02294
02295 if ((items < 0) || (items > 0)) {
02296 SWIG_croak("Usage: new_dtn_timestamp_t();");
02297 }
02298 result = (dtn_timestamp_t *)new dtn_timestamp_t();
02299 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_timestamp_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
02300 XSRETURN(argvi);
02301 fail:
02302 SWIG_croak_null();
02303 }
02304 }
02305
02306
02307 XS(_wrap_delete_dtn_timestamp_t) {
02308 {
02309 dtn_timestamp_t *arg1 = (dtn_timestamp_t *) 0 ;
02310 void *argp1 = 0 ;
02311 int res1 = 0 ;
02312 int argvi = 0;
02313 dXSARGS;
02314
02315 if ((items < 1) || (items > 1)) {
02316 SWIG_croak("Usage: delete_dtn_timestamp_t(self);");
02317 }
02318 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_timestamp_t, SWIG_POINTER_DISOWN | 0 );
02319 if (!SWIG_IsOK(res1)) {
02320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dtn_timestamp_t" "', argument " "1"" of type '" "dtn_timestamp_t *""'");
02321 }
02322 arg1 = reinterpret_cast< dtn_timestamp_t * >(argp1);
02323 delete arg1;
02324
02325
02326
02327 XSRETURN(argvi);
02328 fail:
02329
02330 SWIG_croak_null();
02331 }
02332 }
02333
02334
02335 XS(_wrap_dtn_service_tag_t_tag_set) {
02336 {
02337 dtn_service_tag_t *arg1 = (dtn_service_tag_t *) 0 ;
02338 char *arg2 ;
02339 void *argp1 = 0 ;
02340 int res1 = 0 ;
02341 char temp2[256] ;
02342 int res2 ;
02343 int argvi = 0;
02344 dXSARGS;
02345
02346 if ((items < 2) || (items > 2)) {
02347 SWIG_croak("Usage: dtn_service_tag_t_tag_set(self,tag);");
02348 }
02349 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_service_tag_t, 0 | 0 );
02350 if (!SWIG_IsOK(res1)) {
02351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_service_tag_t_tag_set" "', argument " "1"" of type '" "dtn_service_tag_t *""'");
02352 }
02353 arg1 = reinterpret_cast< dtn_service_tag_t * >(argp1);
02354 res2 = SWIG_AsCharArray(ST(1), temp2, 256);
02355 if (!SWIG_IsOK(res2)) {
02356 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_service_tag_t_tag_set" "', argument " "2"" of type '" "char [256]""'");
02357 }
02358 arg2 = reinterpret_cast< char * >(temp2);
02359 if (arg2) memcpy(arg1->tag,arg2,256*sizeof(char));
02360 else memset(arg1->tag,0,256*sizeof(char));
02361
02362
02363
02364 XSRETURN(argvi);
02365 fail:
02366
02367
02368 SWIG_croak_null();
02369 }
02370 }
02371
02372
02373 XS(_wrap_dtn_service_tag_t_tag_get) {
02374 {
02375 dtn_service_tag_t *arg1 = (dtn_service_tag_t *) 0 ;
02376 char *result = 0 ;
02377 void *argp1 = 0 ;
02378 int res1 = 0 ;
02379 int argvi = 0;
02380 dXSARGS;
02381
02382 if ((items < 1) || (items > 1)) {
02383 SWIG_croak("Usage: dtn_service_tag_t_tag_get(self);");
02384 }
02385 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_service_tag_t, 0 | 0 );
02386 if (!SWIG_IsOK(res1)) {
02387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_service_tag_t_tag_get" "', argument " "1"" of type '" "dtn_service_tag_t *""'");
02388 }
02389 arg1 = reinterpret_cast< dtn_service_tag_t * >(argp1);
02390 result = (char *)(char *) ((arg1)->tag);
02391 {
02392 size_t size = 256;
02393
02394 while (size && (result[size - 1] == '\0')) --size;
02395
02396 ST(argvi) = SWIG_FromCharPtrAndSize(result, size); argvi++ ;
02397 }
02398
02399 XSRETURN(argvi);
02400 fail:
02401
02402 SWIG_croak_null();
02403 }
02404 }
02405
02406
02407 XS(_wrap_new_dtn_service_tag_t) {
02408 {
02409 dtn_service_tag_t *result = 0 ;
02410 int argvi = 0;
02411 dXSARGS;
02412
02413 if ((items < 0) || (items > 0)) {
02414 SWIG_croak("Usage: new_dtn_service_tag_t();");
02415 }
02416 result = (dtn_service_tag_t *)new dtn_service_tag_t();
02417 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_service_tag_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
02418 XSRETURN(argvi);
02419 fail:
02420 SWIG_croak_null();
02421 }
02422 }
02423
02424
02425 XS(_wrap_delete_dtn_service_tag_t) {
02426 {
02427 dtn_service_tag_t *arg1 = (dtn_service_tag_t *) 0 ;
02428 void *argp1 = 0 ;
02429 int res1 = 0 ;
02430 int argvi = 0;
02431 dXSARGS;
02432
02433 if ((items < 1) || (items > 1)) {
02434 SWIG_croak("Usage: delete_dtn_service_tag_t(self);");
02435 }
02436 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_service_tag_t, SWIG_POINTER_DISOWN | 0 );
02437 if (!SWIG_IsOK(res1)) {
02438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dtn_service_tag_t" "', argument " "1"" of type '" "dtn_service_tag_t *""'");
02439 }
02440 arg1 = reinterpret_cast< dtn_service_tag_t * >(argp1);
02441 delete arg1;
02442
02443
02444
02445 XSRETURN(argvi);
02446 fail:
02447
02448 SWIG_croak_null();
02449 }
02450 }
02451
02452
02453 XS(_wrap_dtn_reg_info_t_endpoint_set) {
02454 {
02455 dtn_reg_info_t *arg1 = (dtn_reg_info_t *) 0 ;
02456 dtn_endpoint_id_t *arg2 = (dtn_endpoint_id_t *) 0 ;
02457 void *argp1 = 0 ;
02458 int res1 = 0 ;
02459 void *argp2 = 0 ;
02460 int res2 = 0 ;
02461 int argvi = 0;
02462 dXSARGS;
02463
02464 if ((items < 2) || (items > 2)) {
02465 SWIG_croak("Usage: dtn_reg_info_t_endpoint_set(self,endpoint);");
02466 }
02467 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_reg_info_t, 0 | 0 );
02468 if (!SWIG_IsOK(res1)) {
02469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_reg_info_t_endpoint_set" "', argument " "1"" of type '" "dtn_reg_info_t *""'");
02470 }
02471 arg1 = reinterpret_cast< dtn_reg_info_t * >(argp1);
02472 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_endpoint_id_t, 0 | 0 );
02473 if (!SWIG_IsOK(res2)) {
02474 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_reg_info_t_endpoint_set" "', argument " "2"" of type '" "dtn_endpoint_id_t *""'");
02475 }
02476 arg2 = reinterpret_cast< dtn_endpoint_id_t * >(argp2);
02477 if (arg1) (arg1)->endpoint = *arg2;
02478
02479
02480
02481
02482 XSRETURN(argvi);
02483 fail:
02484
02485
02486 SWIG_croak_null();
02487 }
02488 }
02489
02490
02491 XS(_wrap_dtn_reg_info_t_endpoint_get) {
02492 {
02493 dtn_reg_info_t *arg1 = (dtn_reg_info_t *) 0 ;
02494 dtn_endpoint_id_t *result = 0 ;
02495 void *argp1 = 0 ;
02496 int res1 = 0 ;
02497 int argvi = 0;
02498 dXSARGS;
02499
02500 if ((items < 1) || (items > 1)) {
02501 SWIG_croak("Usage: dtn_reg_info_t_endpoint_get(self);");
02502 }
02503 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_reg_info_t, 0 | 0 );
02504 if (!SWIG_IsOK(res1)) {
02505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_reg_info_t_endpoint_get" "', argument " "1"" of type '" "dtn_reg_info_t *""'");
02506 }
02507 arg1 = reinterpret_cast< dtn_reg_info_t * >(argp1);
02508 result = (dtn_endpoint_id_t *)& ((arg1)->endpoint);
02509 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_endpoint_id_t, 0 | SWIG_SHADOW); argvi++ ;
02510
02511 XSRETURN(argvi);
02512 fail:
02513
02514 SWIG_croak_null();
02515 }
02516 }
02517
02518
02519 XS(_wrap_dtn_reg_info_t_regid_set) {
02520 {
02521 dtn_reg_info_t *arg1 = (dtn_reg_info_t *) 0 ;
02522 dtn_reg_id_t arg2 ;
02523 void *argp1 = 0 ;
02524 int res1 = 0 ;
02525 void *argp2 ;
02526 int res2 = 0 ;
02527 int argvi = 0;
02528 dXSARGS;
02529
02530 if ((items < 2) || (items > 2)) {
02531 SWIG_croak("Usage: dtn_reg_info_t_regid_set(self,regid);");
02532 }
02533 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_reg_info_t, 0 | 0 );
02534 if (!SWIG_IsOK(res1)) {
02535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_reg_info_t_regid_set" "', argument " "1"" of type '" "dtn_reg_info_t *""'");
02536 }
02537 arg1 = reinterpret_cast< dtn_reg_info_t * >(argp1);
02538 {
02539 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_u_int, 0 );
02540 if (!SWIG_IsOK(res2)) {
02541 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_reg_info_t_regid_set" "', argument " "2"" of type '" "dtn_reg_id_t""'");
02542 }
02543 if (!argp2) {
02544 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_reg_info_t_regid_set" "', argument " "2"" of type '" "dtn_reg_id_t""'");
02545 } else {
02546 arg2 = *(reinterpret_cast< dtn_reg_id_t * >(argp2));
02547 }
02548 }
02549 if (arg1) (arg1)->regid = arg2;
02550
02551
02552
02553 XSRETURN(argvi);
02554 fail:
02555
02556 SWIG_croak_null();
02557 }
02558 }
02559
02560
02561 XS(_wrap_dtn_reg_info_t_regid_get) {
02562 {
02563 dtn_reg_info_t *arg1 = (dtn_reg_info_t *) 0 ;
02564 dtn_reg_id_t result;
02565 void *argp1 = 0 ;
02566 int res1 = 0 ;
02567 int argvi = 0;
02568 dXSARGS;
02569
02570 if ((items < 1) || (items > 1)) {
02571 SWIG_croak("Usage: dtn_reg_info_t_regid_get(self);");
02572 }
02573 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_reg_info_t, 0 | 0 );
02574 if (!SWIG_IsOK(res1)) {
02575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_reg_info_t_regid_get" "', argument " "1"" of type '" "dtn_reg_info_t *""'");
02576 }
02577 arg1 = reinterpret_cast< dtn_reg_info_t * >(argp1);
02578 result = ((arg1)->regid);
02579 ST(argvi) = SWIG_NewPointerObj((new dtn_reg_id_t(static_cast< const dtn_reg_id_t& >(result))), SWIGTYPE_p_u_int, SWIG_POINTER_OWN | 0); argvi++ ;
02580
02581 XSRETURN(argvi);
02582 fail:
02583
02584 SWIG_croak_null();
02585 }
02586 }
02587
02588
02589 XS(_wrap_dtn_reg_info_t_flags_set) {
02590 {
02591 dtn_reg_info_t *arg1 = (dtn_reg_info_t *) 0 ;
02592 u_int arg2 ;
02593 void *argp1 = 0 ;
02594 int res1 = 0 ;
02595 void *argp2 ;
02596 int res2 = 0 ;
02597 int argvi = 0;
02598 dXSARGS;
02599
02600 if ((items < 2) || (items > 2)) {
02601 SWIG_croak("Usage: dtn_reg_info_t_flags_set(self,flags);");
02602 }
02603 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_reg_info_t, 0 | 0 );
02604 if (!SWIG_IsOK(res1)) {
02605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_reg_info_t_flags_set" "', argument " "1"" of type '" "dtn_reg_info_t *""'");
02606 }
02607 arg1 = reinterpret_cast< dtn_reg_info_t * >(argp1);
02608 {
02609 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_u_int, 0 );
02610 if (!SWIG_IsOK(res2)) {
02611 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_reg_info_t_flags_set" "', argument " "2"" of type '" "u_int""'");
02612 }
02613 if (!argp2) {
02614 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_reg_info_t_flags_set" "', argument " "2"" of type '" "u_int""'");
02615 } else {
02616 arg2 = *(reinterpret_cast< u_int * >(argp2));
02617 }
02618 }
02619 if (arg1) (arg1)->flags = arg2;
02620
02621
02622
02623 XSRETURN(argvi);
02624 fail:
02625
02626 SWIG_croak_null();
02627 }
02628 }
02629
02630
02631 XS(_wrap_dtn_reg_info_t_flags_get) {
02632 {
02633 dtn_reg_info_t *arg1 = (dtn_reg_info_t *) 0 ;
02634 u_int result;
02635 void *argp1 = 0 ;
02636 int res1 = 0 ;
02637 int argvi = 0;
02638 dXSARGS;
02639
02640 if ((items < 1) || (items > 1)) {
02641 SWIG_croak("Usage: dtn_reg_info_t_flags_get(self);");
02642 }
02643 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_reg_info_t, 0 | 0 );
02644 if (!SWIG_IsOK(res1)) {
02645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_reg_info_t_flags_get" "', argument " "1"" of type '" "dtn_reg_info_t *""'");
02646 }
02647 arg1 = reinterpret_cast< dtn_reg_info_t * >(argp1);
02648 result = ((arg1)->flags);
02649 ST(argvi) = SWIG_NewPointerObj((new u_int(static_cast< const u_int& >(result))), SWIGTYPE_p_u_int, SWIG_POINTER_OWN | 0); argvi++ ;
02650
02651 XSRETURN(argvi);
02652 fail:
02653
02654 SWIG_croak_null();
02655 }
02656 }
02657
02658
02659 XS(_wrap_dtn_reg_info_t_expiration_set) {
02660 {
02661 dtn_reg_info_t *arg1 = (dtn_reg_info_t *) 0 ;
02662 dtn_timeval_t arg2 ;
02663 void *argp1 = 0 ;
02664 int res1 = 0 ;
02665 void *argp2 ;
02666 int res2 = 0 ;
02667 int argvi = 0;
02668 dXSARGS;
02669
02670 if ((items < 2) || (items > 2)) {
02671 SWIG_croak("Usage: dtn_reg_info_t_expiration_set(self,expiration);");
02672 }
02673 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_reg_info_t, 0 | 0 );
02674 if (!SWIG_IsOK(res1)) {
02675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_reg_info_t_expiration_set" "', argument " "1"" of type '" "dtn_reg_info_t *""'");
02676 }
02677 arg1 = reinterpret_cast< dtn_reg_info_t * >(argp1);
02678 {
02679 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_u_int, 0 );
02680 if (!SWIG_IsOK(res2)) {
02681 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_reg_info_t_expiration_set" "', argument " "2"" of type '" "dtn_timeval_t""'");
02682 }
02683 if (!argp2) {
02684 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_reg_info_t_expiration_set" "', argument " "2"" of type '" "dtn_timeval_t""'");
02685 } else {
02686 arg2 = *(reinterpret_cast< dtn_timeval_t * >(argp2));
02687 }
02688 }
02689 if (arg1) (arg1)->expiration = arg2;
02690
02691
02692
02693 XSRETURN(argvi);
02694 fail:
02695
02696 SWIG_croak_null();
02697 }
02698 }
02699
02700
02701 XS(_wrap_dtn_reg_info_t_expiration_get) {
02702 {
02703 dtn_reg_info_t *arg1 = (dtn_reg_info_t *) 0 ;
02704 dtn_timeval_t result;
02705 void *argp1 = 0 ;
02706 int res1 = 0 ;
02707 int argvi = 0;
02708 dXSARGS;
02709
02710 if ((items < 1) || (items > 1)) {
02711 SWIG_croak("Usage: dtn_reg_info_t_expiration_get(self);");
02712 }
02713 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_reg_info_t, 0 | 0 );
02714 if (!SWIG_IsOK(res1)) {
02715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_reg_info_t_expiration_get" "', argument " "1"" of type '" "dtn_reg_info_t *""'");
02716 }
02717 arg1 = reinterpret_cast< dtn_reg_info_t * >(argp1);
02718 result = ((arg1)->expiration);
02719 ST(argvi) = SWIG_NewPointerObj((new dtn_timeval_t(static_cast< const dtn_timeval_t& >(result))), SWIGTYPE_p_u_int, SWIG_POINTER_OWN | 0); argvi++ ;
02720
02721 XSRETURN(argvi);
02722 fail:
02723
02724 SWIG_croak_null();
02725 }
02726 }
02727
02728
02729 XS(_wrap_dtn_reg_info_t_init_passive_set) {
02730 {
02731 dtn_reg_info_t *arg1 = (dtn_reg_info_t *) 0 ;
02732 bool_t arg2 ;
02733 void *argp1 = 0 ;
02734 int res1 = 0 ;
02735 void *argp2 ;
02736 int res2 = 0 ;
02737 int argvi = 0;
02738 dXSARGS;
02739
02740 if ((items < 2) || (items > 2)) {
02741 SWIG_croak("Usage: dtn_reg_info_t_init_passive_set(self,init_passive);");
02742 }
02743 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_reg_info_t, 0 | 0 );
02744 if (!SWIG_IsOK(res1)) {
02745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_reg_info_t_init_passive_set" "', argument " "1"" of type '" "dtn_reg_info_t *""'");
02746 }
02747 arg1 = reinterpret_cast< dtn_reg_info_t * >(argp1);
02748 {
02749 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_bool_t, 0 );
02750 if (!SWIG_IsOK(res2)) {
02751 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_reg_info_t_init_passive_set" "', argument " "2"" of type '" "bool_t""'");
02752 }
02753 if (!argp2) {
02754 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_reg_info_t_init_passive_set" "', argument " "2"" of type '" "bool_t""'");
02755 } else {
02756 arg2 = *(reinterpret_cast< bool_t * >(argp2));
02757 }
02758 }
02759 if (arg1) (arg1)->init_passive = arg2;
02760
02761
02762
02763 XSRETURN(argvi);
02764 fail:
02765
02766 SWIG_croak_null();
02767 }
02768 }
02769
02770
02771 XS(_wrap_dtn_reg_info_t_init_passive_get) {
02772 {
02773 dtn_reg_info_t *arg1 = (dtn_reg_info_t *) 0 ;
02774 bool_t result;
02775 void *argp1 = 0 ;
02776 int res1 = 0 ;
02777 int argvi = 0;
02778 dXSARGS;
02779
02780 if ((items < 1) || (items > 1)) {
02781 SWIG_croak("Usage: dtn_reg_info_t_init_passive_get(self);");
02782 }
02783 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_reg_info_t, 0 | 0 );
02784 if (!SWIG_IsOK(res1)) {
02785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_reg_info_t_init_passive_get" "', argument " "1"" of type '" "dtn_reg_info_t *""'");
02786 }
02787 arg1 = reinterpret_cast< dtn_reg_info_t * >(argp1);
02788 result = ((arg1)->init_passive);
02789 ST(argvi) = SWIG_NewPointerObj((new bool_t(static_cast< const bool_t& >(result))), SWIGTYPE_p_bool_t, SWIG_POINTER_OWN | 0); argvi++ ;
02790
02791 XSRETURN(argvi);
02792 fail:
02793
02794 SWIG_croak_null();
02795 }
02796 }
02797
02798
02799 XS(_wrap_dtn_reg_info_t_script_get) {
02800 {
02801 dtn_reg_info_t *arg1 = (dtn_reg_info_t *) 0 ;
02802 dtn_reg_info_t_script *result = 0 ;
02803 void *argp1 = 0 ;
02804 int res1 = 0 ;
02805 int argvi = 0;
02806 dXSARGS;
02807
02808 if ((items < 1) || (items > 1)) {
02809 SWIG_croak("Usage: dtn_reg_info_t_script_get(self);");
02810 }
02811 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_reg_info_t, 0 | 0 );
02812 if (!SWIG_IsOK(res1)) {
02813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_reg_info_t_script_get" "', argument " "1"" of type '" "dtn_reg_info_t *""'");
02814 }
02815 arg1 = reinterpret_cast< dtn_reg_info_t * >(argp1);
02816 result = (dtn_reg_info_t_script *)& ((arg1)->script);
02817 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_reg_info_t_script, 0 | SWIG_SHADOW); argvi++ ;
02818
02819 XSRETURN(argvi);
02820 fail:
02821
02822 SWIG_croak_null();
02823 }
02824 }
02825
02826
02827 XS(_wrap_new_dtn_reg_info_t) {
02828 {
02829 dtn_reg_info_t *result = 0 ;
02830 int argvi = 0;
02831 dXSARGS;
02832
02833 if ((items < 0) || (items > 0)) {
02834 SWIG_croak("Usage: new_dtn_reg_info_t();");
02835 }
02836 result = (dtn_reg_info_t *)new dtn_reg_info_t();
02837 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_reg_info_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
02838 XSRETURN(argvi);
02839 fail:
02840 SWIG_croak_null();
02841 }
02842 }
02843
02844
02845 XS(_wrap_delete_dtn_reg_info_t) {
02846 {
02847 dtn_reg_info_t *arg1 = (dtn_reg_info_t *) 0 ;
02848 void *argp1 = 0 ;
02849 int res1 = 0 ;
02850 int argvi = 0;
02851 dXSARGS;
02852
02853 if ((items < 1) || (items > 1)) {
02854 SWIG_croak("Usage: delete_dtn_reg_info_t(self);");
02855 }
02856 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_reg_info_t, SWIG_POINTER_DISOWN | 0 );
02857 if (!SWIG_IsOK(res1)) {
02858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dtn_reg_info_t" "', argument " "1"" of type '" "dtn_reg_info_t *""'");
02859 }
02860 arg1 = reinterpret_cast< dtn_reg_info_t * >(argp1);
02861 delete arg1;
02862
02863
02864
02865 XSRETURN(argvi);
02866 fail:
02867
02868 SWIG_croak_null();
02869 }
02870 }
02871
02872
02873 XS(_wrap_dtn_reg_info_t_script_script_len_set) {
02874 {
02875 dtn_reg_info_t_script *arg1 = (dtn_reg_info_t_script *) 0 ;
02876 u_int arg2 ;
02877 void *argp1 = 0 ;
02878 int res1 = 0 ;
02879 void *argp2 ;
02880 int res2 = 0 ;
02881 int argvi = 0;
02882 dXSARGS;
02883
02884 if ((items < 2) || (items > 2)) {
02885 SWIG_croak("Usage: dtn_reg_info_t_script_script_len_set(self,script_len);");
02886 }
02887 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_reg_info_t_script, 0 | 0 );
02888 if (!SWIG_IsOK(res1)) {
02889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_reg_info_t_script_script_len_set" "', argument " "1"" of type '" "dtn_reg_info_t_script *""'");
02890 }
02891 arg1 = reinterpret_cast< dtn_reg_info_t_script * >(argp1);
02892 {
02893 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_u_int, 0 );
02894 if (!SWIG_IsOK(res2)) {
02895 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_reg_info_t_script_script_len_set" "', argument " "2"" of type '" "u_int""'");
02896 }
02897 if (!argp2) {
02898 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_reg_info_t_script_script_len_set" "', argument " "2"" of type '" "u_int""'");
02899 } else {
02900 arg2 = *(reinterpret_cast< u_int * >(argp2));
02901 }
02902 }
02903 if (arg1) (arg1)->script_len = arg2;
02904
02905
02906
02907 XSRETURN(argvi);
02908 fail:
02909
02910 SWIG_croak_null();
02911 }
02912 }
02913
02914
02915 XS(_wrap_dtn_reg_info_t_script_script_len_get) {
02916 {
02917 dtn_reg_info_t_script *arg1 = (dtn_reg_info_t_script *) 0 ;
02918 u_int result;
02919 void *argp1 = 0 ;
02920 int res1 = 0 ;
02921 int argvi = 0;
02922 dXSARGS;
02923
02924 if ((items < 1) || (items > 1)) {
02925 SWIG_croak("Usage: dtn_reg_info_t_script_script_len_get(self);");
02926 }
02927 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_reg_info_t_script, 0 | 0 );
02928 if (!SWIG_IsOK(res1)) {
02929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_reg_info_t_script_script_len_get" "', argument " "1"" of type '" "dtn_reg_info_t_script *""'");
02930 }
02931 arg1 = reinterpret_cast< dtn_reg_info_t_script * >(argp1);
02932 result = ((arg1)->script_len);
02933 ST(argvi) = SWIG_NewPointerObj((new u_int(static_cast< const u_int& >(result))), SWIGTYPE_p_u_int, SWIG_POINTER_OWN | 0); argvi++ ;
02934
02935 XSRETURN(argvi);
02936 fail:
02937
02938 SWIG_croak_null();
02939 }
02940 }
02941
02942
02943 XS(_wrap_dtn_reg_info_t_script_script_val_set) {
02944 {
02945 dtn_reg_info_t_script *arg1 = (dtn_reg_info_t_script *) 0 ;
02946 char *arg2 = (char *) 0 ;
02947 void *argp1 = 0 ;
02948 int res1 = 0 ;
02949 int res2 ;
02950 char *buf2 = 0 ;
02951 int alloc2 = 0 ;
02952 int argvi = 0;
02953 dXSARGS;
02954
02955 if ((items < 2) || (items > 2)) {
02956 SWIG_croak("Usage: dtn_reg_info_t_script_script_val_set(self,script_val);");
02957 }
02958 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_reg_info_t_script, 0 | 0 );
02959 if (!SWIG_IsOK(res1)) {
02960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_reg_info_t_script_script_val_set" "', argument " "1"" of type '" "dtn_reg_info_t_script *""'");
02961 }
02962 arg1 = reinterpret_cast< dtn_reg_info_t_script * >(argp1);
02963 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
02964 if (!SWIG_IsOK(res2)) {
02965 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_reg_info_t_script_script_val_set" "', argument " "2"" of type '" "char *""'");
02966 }
02967 arg2 = reinterpret_cast< char * >(buf2);
02968 if (arg1->script_val) delete[] arg1->script_val;
02969 if (arg2) {
02970 size_t size = strlen(reinterpret_cast< const char * >(arg2)) + 1;
02971 arg1->script_val = (char *)reinterpret_cast< char* >(memcpy((new char[size]), reinterpret_cast< const char * >(arg2), sizeof(char)*(size)));
02972 } else {
02973 arg1->script_val = 0;
02974 }
02975
02976
02977 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
02978 XSRETURN(argvi);
02979 fail:
02980
02981 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
02982 SWIG_croak_null();
02983 }
02984 }
02985
02986
02987 XS(_wrap_dtn_reg_info_t_script_script_val_get) {
02988 {
02989 dtn_reg_info_t_script *arg1 = (dtn_reg_info_t_script *) 0 ;
02990 char *result = 0 ;
02991 void *argp1 = 0 ;
02992 int res1 = 0 ;
02993 int argvi = 0;
02994 dXSARGS;
02995
02996 if ((items < 1) || (items > 1)) {
02997 SWIG_croak("Usage: dtn_reg_info_t_script_script_val_get(self);");
02998 }
02999 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_reg_info_t_script, 0 | 0 );
03000 if (!SWIG_IsOK(res1)) {
03001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_reg_info_t_script_script_val_get" "', argument " "1"" of type '" "dtn_reg_info_t_script *""'");
03002 }
03003 arg1 = reinterpret_cast< dtn_reg_info_t_script * >(argp1);
03004 result = (char *) ((arg1)->script_val);
03005 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
03006
03007 XSRETURN(argvi);
03008 fail:
03009
03010 SWIG_croak_null();
03011 }
03012 }
03013
03014
03015 XS(_wrap_new_dtn_reg_info_t_script) {
03016 {
03017 dtn_reg_info_t_script *result = 0 ;
03018 int argvi = 0;
03019 dXSARGS;
03020
03021 if ((items < 0) || (items > 0)) {
03022 SWIG_croak("Usage: new_dtn_reg_info_t_script();");
03023 }
03024 result = (dtn_reg_info_t_script *)new dtn_reg_info_t_script();
03025 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_reg_info_t_script, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
03026 XSRETURN(argvi);
03027 fail:
03028 SWIG_croak_null();
03029 }
03030 }
03031
03032
03033 XS(_wrap_delete_dtn_reg_info_t_script) {
03034 {
03035 dtn_reg_info_t_script *arg1 = (dtn_reg_info_t_script *) 0 ;
03036 void *argp1 = 0 ;
03037 int res1 = 0 ;
03038 int argvi = 0;
03039 dXSARGS;
03040
03041 if ((items < 1) || (items > 1)) {
03042 SWIG_croak("Usage: delete_dtn_reg_info_t_script(self);");
03043 }
03044 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_reg_info_t_script, SWIG_POINTER_DISOWN | 0 );
03045 if (!SWIG_IsOK(res1)) {
03046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dtn_reg_info_t_script" "', argument " "1"" of type '" "dtn_reg_info_t_script *""'");
03047 }
03048 arg1 = reinterpret_cast< dtn_reg_info_t_script * >(argp1);
03049 delete arg1;
03050
03051
03052
03053 XSRETURN(argvi);
03054 fail:
03055
03056 SWIG_croak_null();
03057 }
03058 }
03059
03060
03061 XS(_wrap_dtn_extension_block_t_type_set) {
03062 {
03063 dtn_extension_block_t *arg1 = (dtn_extension_block_t *) 0 ;
03064 u_int arg2 ;
03065 void *argp1 = 0 ;
03066 int res1 = 0 ;
03067 void *argp2 ;
03068 int res2 = 0 ;
03069 int argvi = 0;
03070 dXSARGS;
03071
03072 if ((items < 2) || (items > 2)) {
03073 SWIG_croak("Usage: dtn_extension_block_t_type_set(self,type);");
03074 }
03075 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_extension_block_t, 0 | 0 );
03076 if (!SWIG_IsOK(res1)) {
03077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_extension_block_t_type_set" "', argument " "1"" of type '" "dtn_extension_block_t *""'");
03078 }
03079 arg1 = reinterpret_cast< dtn_extension_block_t * >(argp1);
03080 {
03081 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_u_int, 0 );
03082 if (!SWIG_IsOK(res2)) {
03083 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_extension_block_t_type_set" "', argument " "2"" of type '" "u_int""'");
03084 }
03085 if (!argp2) {
03086 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_extension_block_t_type_set" "', argument " "2"" of type '" "u_int""'");
03087 } else {
03088 arg2 = *(reinterpret_cast< u_int * >(argp2));
03089 }
03090 }
03091 if (arg1) (arg1)->type = arg2;
03092
03093
03094
03095 XSRETURN(argvi);
03096 fail:
03097
03098 SWIG_croak_null();
03099 }
03100 }
03101
03102
03103 XS(_wrap_dtn_extension_block_t_type_get) {
03104 {
03105 dtn_extension_block_t *arg1 = (dtn_extension_block_t *) 0 ;
03106 u_int result;
03107 void *argp1 = 0 ;
03108 int res1 = 0 ;
03109 int argvi = 0;
03110 dXSARGS;
03111
03112 if ((items < 1) || (items > 1)) {
03113 SWIG_croak("Usage: dtn_extension_block_t_type_get(self);");
03114 }
03115 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_extension_block_t, 0 | 0 );
03116 if (!SWIG_IsOK(res1)) {
03117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_extension_block_t_type_get" "', argument " "1"" of type '" "dtn_extension_block_t *""'");
03118 }
03119 arg1 = reinterpret_cast< dtn_extension_block_t * >(argp1);
03120 result = ((arg1)->type);
03121 ST(argvi) = SWIG_NewPointerObj((new u_int(static_cast< const u_int& >(result))), SWIGTYPE_p_u_int, SWIG_POINTER_OWN | 0); argvi++ ;
03122
03123 XSRETURN(argvi);
03124 fail:
03125
03126 SWIG_croak_null();
03127 }
03128 }
03129
03130
03131 XS(_wrap_dtn_extension_block_t_flags_set) {
03132 {
03133 dtn_extension_block_t *arg1 = (dtn_extension_block_t *) 0 ;
03134 u_int arg2 ;
03135 void *argp1 = 0 ;
03136 int res1 = 0 ;
03137 void *argp2 ;
03138 int res2 = 0 ;
03139 int argvi = 0;
03140 dXSARGS;
03141
03142 if ((items < 2) || (items > 2)) {
03143 SWIG_croak("Usage: dtn_extension_block_t_flags_set(self,flags);");
03144 }
03145 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_extension_block_t, 0 | 0 );
03146 if (!SWIG_IsOK(res1)) {
03147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_extension_block_t_flags_set" "', argument " "1"" of type '" "dtn_extension_block_t *""'");
03148 }
03149 arg1 = reinterpret_cast< dtn_extension_block_t * >(argp1);
03150 {
03151 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_u_int, 0 );
03152 if (!SWIG_IsOK(res2)) {
03153 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_extension_block_t_flags_set" "', argument " "2"" of type '" "u_int""'");
03154 }
03155 if (!argp2) {
03156 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_extension_block_t_flags_set" "', argument " "2"" of type '" "u_int""'");
03157 } else {
03158 arg2 = *(reinterpret_cast< u_int * >(argp2));
03159 }
03160 }
03161 if (arg1) (arg1)->flags = arg2;
03162
03163
03164
03165 XSRETURN(argvi);
03166 fail:
03167
03168 SWIG_croak_null();
03169 }
03170 }
03171
03172
03173 XS(_wrap_dtn_extension_block_t_flags_get) {
03174 {
03175 dtn_extension_block_t *arg1 = (dtn_extension_block_t *) 0 ;
03176 u_int result;
03177 void *argp1 = 0 ;
03178 int res1 = 0 ;
03179 int argvi = 0;
03180 dXSARGS;
03181
03182 if ((items < 1) || (items > 1)) {
03183 SWIG_croak("Usage: dtn_extension_block_t_flags_get(self);");
03184 }
03185 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_extension_block_t, 0 | 0 );
03186 if (!SWIG_IsOK(res1)) {
03187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_extension_block_t_flags_get" "', argument " "1"" of type '" "dtn_extension_block_t *""'");
03188 }
03189 arg1 = reinterpret_cast< dtn_extension_block_t * >(argp1);
03190 result = ((arg1)->flags);
03191 ST(argvi) = SWIG_NewPointerObj((new u_int(static_cast< const u_int& >(result))), SWIGTYPE_p_u_int, SWIG_POINTER_OWN | 0); argvi++ ;
03192
03193 XSRETURN(argvi);
03194 fail:
03195
03196 SWIG_croak_null();
03197 }
03198 }
03199
03200
03201 XS(_wrap_dtn_extension_block_t_data_get) {
03202 {
03203 dtn_extension_block_t *arg1 = (dtn_extension_block_t *) 0 ;
03204 dtn_extension_block_t_data *result = 0 ;
03205 void *argp1 = 0 ;
03206 int res1 = 0 ;
03207 int argvi = 0;
03208 dXSARGS;
03209
03210 if ((items < 1) || (items > 1)) {
03211 SWIG_croak("Usage: dtn_extension_block_t_data_get(self);");
03212 }
03213 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_extension_block_t, 0 | 0 );
03214 if (!SWIG_IsOK(res1)) {
03215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_extension_block_t_data_get" "', argument " "1"" of type '" "dtn_extension_block_t *""'");
03216 }
03217 arg1 = reinterpret_cast< dtn_extension_block_t * >(argp1);
03218 result = (dtn_extension_block_t_data *)& ((arg1)->data);
03219 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_extension_block_t_data, 0 | SWIG_SHADOW); argvi++ ;
03220
03221 XSRETURN(argvi);
03222 fail:
03223
03224 SWIG_croak_null();
03225 }
03226 }
03227
03228
03229 XS(_wrap_new_dtn_extension_block_t) {
03230 {
03231 dtn_extension_block_t *result = 0 ;
03232 int argvi = 0;
03233 dXSARGS;
03234
03235 if ((items < 0) || (items > 0)) {
03236 SWIG_croak("Usage: new_dtn_extension_block_t();");
03237 }
03238 result = (dtn_extension_block_t *)new dtn_extension_block_t();
03239 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_extension_block_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
03240 XSRETURN(argvi);
03241 fail:
03242 SWIG_croak_null();
03243 }
03244 }
03245
03246
03247 XS(_wrap_delete_dtn_extension_block_t) {
03248 {
03249 dtn_extension_block_t *arg1 = (dtn_extension_block_t *) 0 ;
03250 void *argp1 = 0 ;
03251 int res1 = 0 ;
03252 int argvi = 0;
03253 dXSARGS;
03254
03255 if ((items < 1) || (items > 1)) {
03256 SWIG_croak("Usage: delete_dtn_extension_block_t(self);");
03257 }
03258 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_extension_block_t, SWIG_POINTER_DISOWN | 0 );
03259 if (!SWIG_IsOK(res1)) {
03260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dtn_extension_block_t" "', argument " "1"" of type '" "dtn_extension_block_t *""'");
03261 }
03262 arg1 = reinterpret_cast< dtn_extension_block_t * >(argp1);
03263 delete arg1;
03264
03265
03266
03267 XSRETURN(argvi);
03268 fail:
03269
03270 SWIG_croak_null();
03271 }
03272 }
03273
03274
03275 XS(_wrap_dtn_extension_block_t_data_data_len_set) {
03276 {
03277 dtn_extension_block_t_data *arg1 = (dtn_extension_block_t_data *) 0 ;
03278 u_int arg2 ;
03279 void *argp1 = 0 ;
03280 int res1 = 0 ;
03281 void *argp2 ;
03282 int res2 = 0 ;
03283 int argvi = 0;
03284 dXSARGS;
03285
03286 if ((items < 2) || (items > 2)) {
03287 SWIG_croak("Usage: dtn_extension_block_t_data_data_len_set(self,data_len);");
03288 }
03289 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_extension_block_t_data, 0 | 0 );
03290 if (!SWIG_IsOK(res1)) {
03291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_extension_block_t_data_data_len_set" "', argument " "1"" of type '" "dtn_extension_block_t_data *""'");
03292 }
03293 arg1 = reinterpret_cast< dtn_extension_block_t_data * >(argp1);
03294 {
03295 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_u_int, 0 );
03296 if (!SWIG_IsOK(res2)) {
03297 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_extension_block_t_data_data_len_set" "', argument " "2"" of type '" "u_int""'");
03298 }
03299 if (!argp2) {
03300 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_extension_block_t_data_data_len_set" "', argument " "2"" of type '" "u_int""'");
03301 } else {
03302 arg2 = *(reinterpret_cast< u_int * >(argp2));
03303 }
03304 }
03305 if (arg1) (arg1)->data_len = arg2;
03306
03307
03308
03309 XSRETURN(argvi);
03310 fail:
03311
03312 SWIG_croak_null();
03313 }
03314 }
03315
03316
03317 XS(_wrap_dtn_extension_block_t_data_data_len_get) {
03318 {
03319 dtn_extension_block_t_data *arg1 = (dtn_extension_block_t_data *) 0 ;
03320 u_int result;
03321 void *argp1 = 0 ;
03322 int res1 = 0 ;
03323 int argvi = 0;
03324 dXSARGS;
03325
03326 if ((items < 1) || (items > 1)) {
03327 SWIG_croak("Usage: dtn_extension_block_t_data_data_len_get(self);");
03328 }
03329 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_extension_block_t_data, 0 | 0 );
03330 if (!SWIG_IsOK(res1)) {
03331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_extension_block_t_data_data_len_get" "', argument " "1"" of type '" "dtn_extension_block_t_data *""'");
03332 }
03333 arg1 = reinterpret_cast< dtn_extension_block_t_data * >(argp1);
03334 result = ((arg1)->data_len);
03335 ST(argvi) = SWIG_NewPointerObj((new u_int(static_cast< const u_int& >(result))), SWIGTYPE_p_u_int, SWIG_POINTER_OWN | 0); argvi++ ;
03336
03337 XSRETURN(argvi);
03338 fail:
03339
03340 SWIG_croak_null();
03341 }
03342 }
03343
03344
03345 XS(_wrap_dtn_extension_block_t_data_data_val_set) {
03346 {
03347 dtn_extension_block_t_data *arg1 = (dtn_extension_block_t_data *) 0 ;
03348 char *arg2 = (char *) 0 ;
03349 void *argp1 = 0 ;
03350 int res1 = 0 ;
03351 int res2 ;
03352 char *buf2 = 0 ;
03353 int alloc2 = 0 ;
03354 int argvi = 0;
03355 dXSARGS;
03356
03357 if ((items < 2) || (items > 2)) {
03358 SWIG_croak("Usage: dtn_extension_block_t_data_data_val_set(self,data_val);");
03359 }
03360 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_extension_block_t_data, 0 | 0 );
03361 if (!SWIG_IsOK(res1)) {
03362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_extension_block_t_data_data_val_set" "', argument " "1"" of type '" "dtn_extension_block_t_data *""'");
03363 }
03364 arg1 = reinterpret_cast< dtn_extension_block_t_data * >(argp1);
03365 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
03366 if (!SWIG_IsOK(res2)) {
03367 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_extension_block_t_data_data_val_set" "', argument " "2"" of type '" "char *""'");
03368 }
03369 arg2 = reinterpret_cast< char * >(buf2);
03370 if (arg1->data_val) delete[] arg1->data_val;
03371 if (arg2) {
03372 size_t size = strlen(reinterpret_cast< const char * >(arg2)) + 1;
03373 arg1->data_val = (char *)reinterpret_cast< char* >(memcpy((new char[size]), reinterpret_cast< const char * >(arg2), sizeof(char)*(size)));
03374 } else {
03375 arg1->data_val = 0;
03376 }
03377
03378
03379 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
03380 XSRETURN(argvi);
03381 fail:
03382
03383 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
03384 SWIG_croak_null();
03385 }
03386 }
03387
03388
03389 XS(_wrap_dtn_extension_block_t_data_data_val_get) {
03390 {
03391 dtn_extension_block_t_data *arg1 = (dtn_extension_block_t_data *) 0 ;
03392 char *result = 0 ;
03393 void *argp1 = 0 ;
03394 int res1 = 0 ;
03395 int argvi = 0;
03396 dXSARGS;
03397
03398 if ((items < 1) || (items > 1)) {
03399 SWIG_croak("Usage: dtn_extension_block_t_data_data_val_get(self);");
03400 }
03401 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_extension_block_t_data, 0 | 0 );
03402 if (!SWIG_IsOK(res1)) {
03403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_extension_block_t_data_data_val_get" "', argument " "1"" of type '" "dtn_extension_block_t_data *""'");
03404 }
03405 arg1 = reinterpret_cast< dtn_extension_block_t_data * >(argp1);
03406 result = (char *) ((arg1)->data_val);
03407 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
03408
03409 XSRETURN(argvi);
03410 fail:
03411
03412 SWIG_croak_null();
03413 }
03414 }
03415
03416
03417 XS(_wrap_new_dtn_extension_block_t_data) {
03418 {
03419 dtn_extension_block_t_data *result = 0 ;
03420 int argvi = 0;
03421 dXSARGS;
03422
03423 if ((items < 0) || (items > 0)) {
03424 SWIG_croak("Usage: new_dtn_extension_block_t_data();");
03425 }
03426 result = (dtn_extension_block_t_data *)new dtn_extension_block_t_data();
03427 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_extension_block_t_data, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
03428 XSRETURN(argvi);
03429 fail:
03430 SWIG_croak_null();
03431 }
03432 }
03433
03434
03435 XS(_wrap_delete_dtn_extension_block_t_data) {
03436 {
03437 dtn_extension_block_t_data *arg1 = (dtn_extension_block_t_data *) 0 ;
03438 void *argp1 = 0 ;
03439 int res1 = 0 ;
03440 int argvi = 0;
03441 dXSARGS;
03442
03443 if ((items < 1) || (items > 1)) {
03444 SWIG_croak("Usage: delete_dtn_extension_block_t_data(self);");
03445 }
03446 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_extension_block_t_data, SWIG_POINTER_DISOWN | 0 );
03447 if (!SWIG_IsOK(res1)) {
03448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dtn_extension_block_t_data" "', argument " "1"" of type '" "dtn_extension_block_t_data *""'");
03449 }
03450 arg1 = reinterpret_cast< dtn_extension_block_t_data * >(argp1);
03451 delete arg1;
03452
03453
03454
03455 XSRETURN(argvi);
03456 fail:
03457
03458 SWIG_croak_null();
03459 }
03460 }
03461
03462
03463 XS(_wrap_dtn_sequence_id_t_data_get) {
03464 {
03465 dtn_sequence_id_t *arg1 = (dtn_sequence_id_t *) 0 ;
03466 dtn_sequence_id_t_data *result = 0 ;
03467 void *argp1 = 0 ;
03468 int res1 = 0 ;
03469 int argvi = 0;
03470 dXSARGS;
03471
03472 if ((items < 1) || (items > 1)) {
03473 SWIG_croak("Usage: dtn_sequence_id_t_data_get(self);");
03474 }
03475 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_sequence_id_t, 0 | 0 );
03476 if (!SWIG_IsOK(res1)) {
03477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_sequence_id_t_data_get" "', argument " "1"" of type '" "dtn_sequence_id_t *""'");
03478 }
03479 arg1 = reinterpret_cast< dtn_sequence_id_t * >(argp1);
03480 result = (dtn_sequence_id_t_data *)& ((arg1)->data);
03481 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_sequence_id_t_data, 0 | SWIG_SHADOW); argvi++ ;
03482
03483 XSRETURN(argvi);
03484 fail:
03485
03486 SWIG_croak_null();
03487 }
03488 }
03489
03490
03491 XS(_wrap_new_dtn_sequence_id_t) {
03492 {
03493 dtn_sequence_id_t *result = 0 ;
03494 int argvi = 0;
03495 dXSARGS;
03496
03497 if ((items < 0) || (items > 0)) {
03498 SWIG_croak("Usage: new_dtn_sequence_id_t();");
03499 }
03500 result = (dtn_sequence_id_t *)new dtn_sequence_id_t();
03501 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_sequence_id_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
03502 XSRETURN(argvi);
03503 fail:
03504 SWIG_croak_null();
03505 }
03506 }
03507
03508
03509 XS(_wrap_delete_dtn_sequence_id_t) {
03510 {
03511 dtn_sequence_id_t *arg1 = (dtn_sequence_id_t *) 0 ;
03512 void *argp1 = 0 ;
03513 int res1 = 0 ;
03514 int argvi = 0;
03515 dXSARGS;
03516
03517 if ((items < 1) || (items > 1)) {
03518 SWIG_croak("Usage: delete_dtn_sequence_id_t(self);");
03519 }
03520 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_sequence_id_t, SWIG_POINTER_DISOWN | 0 );
03521 if (!SWIG_IsOK(res1)) {
03522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dtn_sequence_id_t" "', argument " "1"" of type '" "dtn_sequence_id_t *""'");
03523 }
03524 arg1 = reinterpret_cast< dtn_sequence_id_t * >(argp1);
03525 delete arg1;
03526
03527
03528
03529 XSRETURN(argvi);
03530 fail:
03531
03532 SWIG_croak_null();
03533 }
03534 }
03535
03536
03537 XS(_wrap_dtn_sequence_id_t_data_data_len_set) {
03538 {
03539 dtn_sequence_id_t_data *arg1 = (dtn_sequence_id_t_data *) 0 ;
03540 u_int arg2 ;
03541 void *argp1 = 0 ;
03542 int res1 = 0 ;
03543 void *argp2 ;
03544 int res2 = 0 ;
03545 int argvi = 0;
03546 dXSARGS;
03547
03548 if ((items < 2) || (items > 2)) {
03549 SWIG_croak("Usage: dtn_sequence_id_t_data_data_len_set(self,data_len);");
03550 }
03551 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_sequence_id_t_data, 0 | 0 );
03552 if (!SWIG_IsOK(res1)) {
03553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_sequence_id_t_data_data_len_set" "', argument " "1"" of type '" "dtn_sequence_id_t_data *""'");
03554 }
03555 arg1 = reinterpret_cast< dtn_sequence_id_t_data * >(argp1);
03556 {
03557 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_u_int, 0 );
03558 if (!SWIG_IsOK(res2)) {
03559 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_sequence_id_t_data_data_len_set" "', argument " "2"" of type '" "u_int""'");
03560 }
03561 if (!argp2) {
03562 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_sequence_id_t_data_data_len_set" "', argument " "2"" of type '" "u_int""'");
03563 } else {
03564 arg2 = *(reinterpret_cast< u_int * >(argp2));
03565 }
03566 }
03567 if (arg1) (arg1)->data_len = arg2;
03568
03569
03570
03571 XSRETURN(argvi);
03572 fail:
03573
03574 SWIG_croak_null();
03575 }
03576 }
03577
03578
03579 XS(_wrap_dtn_sequence_id_t_data_data_len_get) {
03580 {
03581 dtn_sequence_id_t_data *arg1 = (dtn_sequence_id_t_data *) 0 ;
03582 u_int result;
03583 void *argp1 = 0 ;
03584 int res1 = 0 ;
03585 int argvi = 0;
03586 dXSARGS;
03587
03588 if ((items < 1) || (items > 1)) {
03589 SWIG_croak("Usage: dtn_sequence_id_t_data_data_len_get(self);");
03590 }
03591 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_sequence_id_t_data, 0 | 0 );
03592 if (!SWIG_IsOK(res1)) {
03593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_sequence_id_t_data_data_len_get" "', argument " "1"" of type '" "dtn_sequence_id_t_data *""'");
03594 }
03595 arg1 = reinterpret_cast< dtn_sequence_id_t_data * >(argp1);
03596 result = ((arg1)->data_len);
03597 ST(argvi) = SWIG_NewPointerObj((new u_int(static_cast< const u_int& >(result))), SWIGTYPE_p_u_int, SWIG_POINTER_OWN | 0); argvi++ ;
03598
03599 XSRETURN(argvi);
03600 fail:
03601
03602 SWIG_croak_null();
03603 }
03604 }
03605
03606
03607 XS(_wrap_dtn_sequence_id_t_data_data_val_set) {
03608 {
03609 dtn_sequence_id_t_data *arg1 = (dtn_sequence_id_t_data *) 0 ;
03610 char *arg2 = (char *) 0 ;
03611 void *argp1 = 0 ;
03612 int res1 = 0 ;
03613 int res2 ;
03614 char *buf2 = 0 ;
03615 int alloc2 = 0 ;
03616 int argvi = 0;
03617 dXSARGS;
03618
03619 if ((items < 2) || (items > 2)) {
03620 SWIG_croak("Usage: dtn_sequence_id_t_data_data_val_set(self,data_val);");
03621 }
03622 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_sequence_id_t_data, 0 | 0 );
03623 if (!SWIG_IsOK(res1)) {
03624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_sequence_id_t_data_data_val_set" "', argument " "1"" of type '" "dtn_sequence_id_t_data *""'");
03625 }
03626 arg1 = reinterpret_cast< dtn_sequence_id_t_data * >(argp1);
03627 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
03628 if (!SWIG_IsOK(res2)) {
03629 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_sequence_id_t_data_data_val_set" "', argument " "2"" of type '" "char *""'");
03630 }
03631 arg2 = reinterpret_cast< char * >(buf2);
03632 if (arg1->data_val) delete[] arg1->data_val;
03633 if (arg2) {
03634 size_t size = strlen(reinterpret_cast< const char * >(arg2)) + 1;
03635 arg1->data_val = (char *)reinterpret_cast< char* >(memcpy((new char[size]), reinterpret_cast< const char * >(arg2), sizeof(char)*(size)));
03636 } else {
03637 arg1->data_val = 0;
03638 }
03639
03640
03641 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
03642 XSRETURN(argvi);
03643 fail:
03644
03645 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
03646 SWIG_croak_null();
03647 }
03648 }
03649
03650
03651 XS(_wrap_dtn_sequence_id_t_data_data_val_get) {
03652 {
03653 dtn_sequence_id_t_data *arg1 = (dtn_sequence_id_t_data *) 0 ;
03654 char *result = 0 ;
03655 void *argp1 = 0 ;
03656 int res1 = 0 ;
03657 int argvi = 0;
03658 dXSARGS;
03659
03660 if ((items < 1) || (items > 1)) {
03661 SWIG_croak("Usage: dtn_sequence_id_t_data_data_val_get(self);");
03662 }
03663 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_sequence_id_t_data, 0 | 0 );
03664 if (!SWIG_IsOK(res1)) {
03665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_sequence_id_t_data_data_val_get" "', argument " "1"" of type '" "dtn_sequence_id_t_data *""'");
03666 }
03667 arg1 = reinterpret_cast< dtn_sequence_id_t_data * >(argp1);
03668 result = (char *) ((arg1)->data_val);
03669 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
03670
03671 XSRETURN(argvi);
03672 fail:
03673
03674 SWIG_croak_null();
03675 }
03676 }
03677
03678
03679 XS(_wrap_new_dtn_sequence_id_t_data) {
03680 {
03681 dtn_sequence_id_t_data *result = 0 ;
03682 int argvi = 0;
03683 dXSARGS;
03684
03685 if ((items < 0) || (items > 0)) {
03686 SWIG_croak("Usage: new_dtn_sequence_id_t_data();");
03687 }
03688 result = (dtn_sequence_id_t_data *)new dtn_sequence_id_t_data();
03689 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_sequence_id_t_data, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
03690 XSRETURN(argvi);
03691 fail:
03692 SWIG_croak_null();
03693 }
03694 }
03695
03696
03697 XS(_wrap_delete_dtn_sequence_id_t_data) {
03698 {
03699 dtn_sequence_id_t_data *arg1 = (dtn_sequence_id_t_data *) 0 ;
03700 void *argp1 = 0 ;
03701 int res1 = 0 ;
03702 int argvi = 0;
03703 dXSARGS;
03704
03705 if ((items < 1) || (items > 1)) {
03706 SWIG_croak("Usage: delete_dtn_sequence_id_t_data(self);");
03707 }
03708 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_sequence_id_t_data, SWIG_POINTER_DISOWN | 0 );
03709 if (!SWIG_IsOK(res1)) {
03710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dtn_sequence_id_t_data" "', argument " "1"" of type '" "dtn_sequence_id_t_data *""'");
03711 }
03712 arg1 = reinterpret_cast< dtn_sequence_id_t_data * >(argp1);
03713 delete arg1;
03714
03715
03716
03717 XSRETURN(argvi);
03718 fail:
03719
03720 SWIG_croak_null();
03721 }
03722 }
03723
03724
03725 XS(_wrap_dtn_bundle_spec_t_source_set) {
03726 {
03727 dtn_bundle_spec_t *arg1 = (dtn_bundle_spec_t *) 0 ;
03728 dtn_endpoint_id_t *arg2 = (dtn_endpoint_id_t *) 0 ;
03729 void *argp1 = 0 ;
03730 int res1 = 0 ;
03731 void *argp2 = 0 ;
03732 int res2 = 0 ;
03733 int argvi = 0;
03734 dXSARGS;
03735
03736 if ((items < 2) || (items > 2)) {
03737 SWIG_croak("Usage: dtn_bundle_spec_t_source_set(self,source);");
03738 }
03739 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t, 0 | 0 );
03740 if (!SWIG_IsOK(res1)) {
03741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_source_set" "', argument " "1"" of type '" "dtn_bundle_spec_t *""'");
03742 }
03743 arg1 = reinterpret_cast< dtn_bundle_spec_t * >(argp1);
03744 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_endpoint_id_t, 0 | 0 );
03745 if (!SWIG_IsOK(res2)) {
03746 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_spec_t_source_set" "', argument " "2"" of type '" "dtn_endpoint_id_t *""'");
03747 }
03748 arg2 = reinterpret_cast< dtn_endpoint_id_t * >(argp2);
03749 if (arg1) (arg1)->source = *arg2;
03750
03751
03752
03753
03754 XSRETURN(argvi);
03755 fail:
03756
03757
03758 SWIG_croak_null();
03759 }
03760 }
03761
03762
03763 XS(_wrap_dtn_bundle_spec_t_source_get) {
03764 {
03765 dtn_bundle_spec_t *arg1 = (dtn_bundle_spec_t *) 0 ;
03766 dtn_endpoint_id_t *result = 0 ;
03767 void *argp1 = 0 ;
03768 int res1 = 0 ;
03769 int argvi = 0;
03770 dXSARGS;
03771
03772 if ((items < 1) || (items > 1)) {
03773 SWIG_croak("Usage: dtn_bundle_spec_t_source_get(self);");
03774 }
03775 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t, 0 | 0 );
03776 if (!SWIG_IsOK(res1)) {
03777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_source_get" "', argument " "1"" of type '" "dtn_bundle_spec_t *""'");
03778 }
03779 arg1 = reinterpret_cast< dtn_bundle_spec_t * >(argp1);
03780 result = (dtn_endpoint_id_t *)& ((arg1)->source);
03781 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_endpoint_id_t, 0 | SWIG_SHADOW); argvi++ ;
03782
03783 XSRETURN(argvi);
03784 fail:
03785
03786 SWIG_croak_null();
03787 }
03788 }
03789
03790
03791 XS(_wrap_dtn_bundle_spec_t_dest_set) {
03792 {
03793 dtn_bundle_spec_t *arg1 = (dtn_bundle_spec_t *) 0 ;
03794 dtn_endpoint_id_t *arg2 = (dtn_endpoint_id_t *) 0 ;
03795 void *argp1 = 0 ;
03796 int res1 = 0 ;
03797 void *argp2 = 0 ;
03798 int res2 = 0 ;
03799 int argvi = 0;
03800 dXSARGS;
03801
03802 if ((items < 2) || (items > 2)) {
03803 SWIG_croak("Usage: dtn_bundle_spec_t_dest_set(self,dest);");
03804 }
03805 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t, 0 | 0 );
03806 if (!SWIG_IsOK(res1)) {
03807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_dest_set" "', argument " "1"" of type '" "dtn_bundle_spec_t *""'");
03808 }
03809 arg1 = reinterpret_cast< dtn_bundle_spec_t * >(argp1);
03810 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_endpoint_id_t, 0 | 0 );
03811 if (!SWIG_IsOK(res2)) {
03812 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_spec_t_dest_set" "', argument " "2"" of type '" "dtn_endpoint_id_t *""'");
03813 }
03814 arg2 = reinterpret_cast< dtn_endpoint_id_t * >(argp2);
03815 if (arg1) (arg1)->dest = *arg2;
03816
03817
03818
03819
03820 XSRETURN(argvi);
03821 fail:
03822
03823
03824 SWIG_croak_null();
03825 }
03826 }
03827
03828
03829 XS(_wrap_dtn_bundle_spec_t_dest_get) {
03830 {
03831 dtn_bundle_spec_t *arg1 = (dtn_bundle_spec_t *) 0 ;
03832 dtn_endpoint_id_t *result = 0 ;
03833 void *argp1 = 0 ;
03834 int res1 = 0 ;
03835 int argvi = 0;
03836 dXSARGS;
03837
03838 if ((items < 1) || (items > 1)) {
03839 SWIG_croak("Usage: dtn_bundle_spec_t_dest_get(self);");
03840 }
03841 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t, 0 | 0 );
03842 if (!SWIG_IsOK(res1)) {
03843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_dest_get" "', argument " "1"" of type '" "dtn_bundle_spec_t *""'");
03844 }
03845 arg1 = reinterpret_cast< dtn_bundle_spec_t * >(argp1);
03846 result = (dtn_endpoint_id_t *)& ((arg1)->dest);
03847 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_endpoint_id_t, 0 | SWIG_SHADOW); argvi++ ;
03848
03849 XSRETURN(argvi);
03850 fail:
03851
03852 SWIG_croak_null();
03853 }
03854 }
03855
03856
03857 XS(_wrap_dtn_bundle_spec_t_replyto_set) {
03858 {
03859 dtn_bundle_spec_t *arg1 = (dtn_bundle_spec_t *) 0 ;
03860 dtn_endpoint_id_t *arg2 = (dtn_endpoint_id_t *) 0 ;
03861 void *argp1 = 0 ;
03862 int res1 = 0 ;
03863 void *argp2 = 0 ;
03864 int res2 = 0 ;
03865 int argvi = 0;
03866 dXSARGS;
03867
03868 if ((items < 2) || (items > 2)) {
03869 SWIG_croak("Usage: dtn_bundle_spec_t_replyto_set(self,replyto);");
03870 }
03871 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t, 0 | 0 );
03872 if (!SWIG_IsOK(res1)) {
03873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_replyto_set" "', argument " "1"" of type '" "dtn_bundle_spec_t *""'");
03874 }
03875 arg1 = reinterpret_cast< dtn_bundle_spec_t * >(argp1);
03876 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_endpoint_id_t, 0 | 0 );
03877 if (!SWIG_IsOK(res2)) {
03878 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_spec_t_replyto_set" "', argument " "2"" of type '" "dtn_endpoint_id_t *""'");
03879 }
03880 arg2 = reinterpret_cast< dtn_endpoint_id_t * >(argp2);
03881 if (arg1) (arg1)->replyto = *arg2;
03882
03883
03884
03885
03886 XSRETURN(argvi);
03887 fail:
03888
03889
03890 SWIG_croak_null();
03891 }
03892 }
03893
03894
03895 XS(_wrap_dtn_bundle_spec_t_replyto_get) {
03896 {
03897 dtn_bundle_spec_t *arg1 = (dtn_bundle_spec_t *) 0 ;
03898 dtn_endpoint_id_t *result = 0 ;
03899 void *argp1 = 0 ;
03900 int res1 = 0 ;
03901 int argvi = 0;
03902 dXSARGS;
03903
03904 if ((items < 1) || (items > 1)) {
03905 SWIG_croak("Usage: dtn_bundle_spec_t_replyto_get(self);");
03906 }
03907 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t, 0 | 0 );
03908 if (!SWIG_IsOK(res1)) {
03909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_replyto_get" "', argument " "1"" of type '" "dtn_bundle_spec_t *""'");
03910 }
03911 arg1 = reinterpret_cast< dtn_bundle_spec_t * >(argp1);
03912 result = (dtn_endpoint_id_t *)& ((arg1)->replyto);
03913 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_endpoint_id_t, 0 | SWIG_SHADOW); argvi++ ;
03914
03915 XSRETURN(argvi);
03916 fail:
03917
03918 SWIG_croak_null();
03919 }
03920 }
03921
03922
03923 XS(_wrap_dtn_bundle_spec_t_priority_set) {
03924 {
03925 dtn_bundle_spec_t *arg1 = (dtn_bundle_spec_t *) 0 ;
03926 dtn_bundle_priority_t arg2 ;
03927 void *argp1 = 0 ;
03928 int res1 = 0 ;
03929 int val2 ;
03930 int ecode2 = 0 ;
03931 int argvi = 0;
03932 dXSARGS;
03933
03934 if ((items < 2) || (items > 2)) {
03935 SWIG_croak("Usage: dtn_bundle_spec_t_priority_set(self,priority);");
03936 }
03937 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t, 0 | 0 );
03938 if (!SWIG_IsOK(res1)) {
03939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_priority_set" "', argument " "1"" of type '" "dtn_bundle_spec_t *""'");
03940 }
03941 arg1 = reinterpret_cast< dtn_bundle_spec_t * >(argp1);
03942 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
03943 if (!SWIG_IsOK(ecode2)) {
03944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_bundle_spec_t_priority_set" "', argument " "2"" of type '" "dtn_bundle_priority_t""'");
03945 }
03946 arg2 = static_cast< dtn_bundle_priority_t >(val2);
03947 if (arg1) (arg1)->priority = arg2;
03948
03949
03950
03951
03952 XSRETURN(argvi);
03953 fail:
03954
03955
03956 SWIG_croak_null();
03957 }
03958 }
03959
03960
03961 XS(_wrap_dtn_bundle_spec_t_priority_get) {
03962 {
03963 dtn_bundle_spec_t *arg1 = (dtn_bundle_spec_t *) 0 ;
03964 dtn_bundle_priority_t result;
03965 void *argp1 = 0 ;
03966 int res1 = 0 ;
03967 int argvi = 0;
03968 dXSARGS;
03969
03970 if ((items < 1) || (items > 1)) {
03971 SWIG_croak("Usage: dtn_bundle_spec_t_priority_get(self);");
03972 }
03973 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t, 0 | 0 );
03974 if (!SWIG_IsOK(res1)) {
03975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_priority_get" "', argument " "1"" of type '" "dtn_bundle_spec_t *""'");
03976 }
03977 arg1 = reinterpret_cast< dtn_bundle_spec_t * >(argp1);
03978 result = (dtn_bundle_priority_t) ((arg1)->priority);
03979 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
03980
03981 XSRETURN(argvi);
03982 fail:
03983
03984 SWIG_croak_null();
03985 }
03986 }
03987
03988
03989 XS(_wrap_dtn_bundle_spec_t_dopts_set) {
03990 {
03991 dtn_bundle_spec_t *arg1 = (dtn_bundle_spec_t *) 0 ;
03992 int arg2 ;
03993 void *argp1 = 0 ;
03994 int res1 = 0 ;
03995 int val2 ;
03996 int ecode2 = 0 ;
03997 int argvi = 0;
03998 dXSARGS;
03999
04000 if ((items < 2) || (items > 2)) {
04001 SWIG_croak("Usage: dtn_bundle_spec_t_dopts_set(self,dopts);");
04002 }
04003 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t, 0 | 0 );
04004 if (!SWIG_IsOK(res1)) {
04005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_dopts_set" "', argument " "1"" of type '" "dtn_bundle_spec_t *""'");
04006 }
04007 arg1 = reinterpret_cast< dtn_bundle_spec_t * >(argp1);
04008 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
04009 if (!SWIG_IsOK(ecode2)) {
04010 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_bundle_spec_t_dopts_set" "', argument " "2"" of type '" "int""'");
04011 }
04012 arg2 = static_cast< int >(val2);
04013 if (arg1) (arg1)->dopts = arg2;
04014
04015
04016
04017
04018 XSRETURN(argvi);
04019 fail:
04020
04021
04022 SWIG_croak_null();
04023 }
04024 }
04025
04026
04027 XS(_wrap_dtn_bundle_spec_t_dopts_get) {
04028 {
04029 dtn_bundle_spec_t *arg1 = (dtn_bundle_spec_t *) 0 ;
04030 int result;
04031 void *argp1 = 0 ;
04032 int res1 = 0 ;
04033 int argvi = 0;
04034 dXSARGS;
04035
04036 if ((items < 1) || (items > 1)) {
04037 SWIG_croak("Usage: dtn_bundle_spec_t_dopts_get(self);");
04038 }
04039 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t, 0 | 0 );
04040 if (!SWIG_IsOK(res1)) {
04041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_dopts_get" "', argument " "1"" of type '" "dtn_bundle_spec_t *""'");
04042 }
04043 arg1 = reinterpret_cast< dtn_bundle_spec_t * >(argp1);
04044 result = (int) ((arg1)->dopts);
04045 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
04046
04047 XSRETURN(argvi);
04048 fail:
04049
04050 SWIG_croak_null();
04051 }
04052 }
04053
04054
04055 XS(_wrap_dtn_bundle_spec_t_expiration_set) {
04056 {
04057 dtn_bundle_spec_t *arg1 = (dtn_bundle_spec_t *) 0 ;
04058 dtn_timeval_t arg2 ;
04059 void *argp1 = 0 ;
04060 int res1 = 0 ;
04061 void *argp2 ;
04062 int res2 = 0 ;
04063 int argvi = 0;
04064 dXSARGS;
04065
04066 if ((items < 2) || (items > 2)) {
04067 SWIG_croak("Usage: dtn_bundle_spec_t_expiration_set(self,expiration);");
04068 }
04069 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t, 0 | 0 );
04070 if (!SWIG_IsOK(res1)) {
04071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_expiration_set" "', argument " "1"" of type '" "dtn_bundle_spec_t *""'");
04072 }
04073 arg1 = reinterpret_cast< dtn_bundle_spec_t * >(argp1);
04074 {
04075 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_u_int, 0 );
04076 if (!SWIG_IsOK(res2)) {
04077 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_spec_t_expiration_set" "', argument " "2"" of type '" "dtn_timeval_t""'");
04078 }
04079 if (!argp2) {
04080 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_bundle_spec_t_expiration_set" "', argument " "2"" of type '" "dtn_timeval_t""'");
04081 } else {
04082 arg2 = *(reinterpret_cast< dtn_timeval_t * >(argp2));
04083 }
04084 }
04085 if (arg1) (arg1)->expiration = arg2;
04086
04087
04088
04089 XSRETURN(argvi);
04090 fail:
04091
04092 SWIG_croak_null();
04093 }
04094 }
04095
04096
04097 XS(_wrap_dtn_bundle_spec_t_expiration_get) {
04098 {
04099 dtn_bundle_spec_t *arg1 = (dtn_bundle_spec_t *) 0 ;
04100 dtn_timeval_t result;
04101 void *argp1 = 0 ;
04102 int res1 = 0 ;
04103 int argvi = 0;
04104 dXSARGS;
04105
04106 if ((items < 1) || (items > 1)) {
04107 SWIG_croak("Usage: dtn_bundle_spec_t_expiration_get(self);");
04108 }
04109 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t, 0 | 0 );
04110 if (!SWIG_IsOK(res1)) {
04111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_expiration_get" "', argument " "1"" of type '" "dtn_bundle_spec_t *""'");
04112 }
04113 arg1 = reinterpret_cast< dtn_bundle_spec_t * >(argp1);
04114 result = ((arg1)->expiration);
04115 ST(argvi) = SWIG_NewPointerObj((new dtn_timeval_t(static_cast< const dtn_timeval_t& >(result))), SWIGTYPE_p_u_int, SWIG_POINTER_OWN | 0); argvi++ ;
04116
04117 XSRETURN(argvi);
04118 fail:
04119
04120 SWIG_croak_null();
04121 }
04122 }
04123
04124
04125 XS(_wrap_dtn_bundle_spec_t_creation_ts_set) {
04126 {
04127 dtn_bundle_spec_t *arg1 = (dtn_bundle_spec_t *) 0 ;
04128 dtn_timestamp_t *arg2 = (dtn_timestamp_t *) 0 ;
04129 void *argp1 = 0 ;
04130 int res1 = 0 ;
04131 void *argp2 = 0 ;
04132 int res2 = 0 ;
04133 int argvi = 0;
04134 dXSARGS;
04135
04136 if ((items < 2) || (items > 2)) {
04137 SWIG_croak("Usage: dtn_bundle_spec_t_creation_ts_set(self,creation_ts);");
04138 }
04139 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t, 0 | 0 );
04140 if (!SWIG_IsOK(res1)) {
04141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_creation_ts_set" "', argument " "1"" of type '" "dtn_bundle_spec_t *""'");
04142 }
04143 arg1 = reinterpret_cast< dtn_bundle_spec_t * >(argp1);
04144 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_timestamp_t, 0 | 0 );
04145 if (!SWIG_IsOK(res2)) {
04146 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_spec_t_creation_ts_set" "', argument " "2"" of type '" "dtn_timestamp_t *""'");
04147 }
04148 arg2 = reinterpret_cast< dtn_timestamp_t * >(argp2);
04149 if (arg1) (arg1)->creation_ts = *arg2;
04150
04151
04152
04153
04154 XSRETURN(argvi);
04155 fail:
04156
04157
04158 SWIG_croak_null();
04159 }
04160 }
04161
04162
04163 XS(_wrap_dtn_bundle_spec_t_creation_ts_get) {
04164 {
04165 dtn_bundle_spec_t *arg1 = (dtn_bundle_spec_t *) 0 ;
04166 dtn_timestamp_t *result = 0 ;
04167 void *argp1 = 0 ;
04168 int res1 = 0 ;
04169 int argvi = 0;
04170 dXSARGS;
04171
04172 if ((items < 1) || (items > 1)) {
04173 SWIG_croak("Usage: dtn_bundle_spec_t_creation_ts_get(self);");
04174 }
04175 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t, 0 | 0 );
04176 if (!SWIG_IsOK(res1)) {
04177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_creation_ts_get" "', argument " "1"" of type '" "dtn_bundle_spec_t *""'");
04178 }
04179 arg1 = reinterpret_cast< dtn_bundle_spec_t * >(argp1);
04180 result = (dtn_timestamp_t *)& ((arg1)->creation_ts);
04181 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_timestamp_t, 0 | SWIG_SHADOW); argvi++ ;
04182
04183 XSRETURN(argvi);
04184 fail:
04185
04186 SWIG_croak_null();
04187 }
04188 }
04189
04190
04191 XS(_wrap_dtn_bundle_spec_t_delivery_regid_set) {
04192 {
04193 dtn_bundle_spec_t *arg1 = (dtn_bundle_spec_t *) 0 ;
04194 dtn_reg_id_t arg2 ;
04195 void *argp1 = 0 ;
04196 int res1 = 0 ;
04197 void *argp2 ;
04198 int res2 = 0 ;
04199 int argvi = 0;
04200 dXSARGS;
04201
04202 if ((items < 2) || (items > 2)) {
04203 SWIG_croak("Usage: dtn_bundle_spec_t_delivery_regid_set(self,delivery_regid);");
04204 }
04205 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t, 0 | 0 );
04206 if (!SWIG_IsOK(res1)) {
04207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_delivery_regid_set" "', argument " "1"" of type '" "dtn_bundle_spec_t *""'");
04208 }
04209 arg1 = reinterpret_cast< dtn_bundle_spec_t * >(argp1);
04210 {
04211 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_u_int, 0 );
04212 if (!SWIG_IsOK(res2)) {
04213 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_spec_t_delivery_regid_set" "', argument " "2"" of type '" "dtn_reg_id_t""'");
04214 }
04215 if (!argp2) {
04216 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_bundle_spec_t_delivery_regid_set" "', argument " "2"" of type '" "dtn_reg_id_t""'");
04217 } else {
04218 arg2 = *(reinterpret_cast< dtn_reg_id_t * >(argp2));
04219 }
04220 }
04221 if (arg1) (arg1)->delivery_regid = arg2;
04222
04223
04224
04225 XSRETURN(argvi);
04226 fail:
04227
04228 SWIG_croak_null();
04229 }
04230 }
04231
04232
04233 XS(_wrap_dtn_bundle_spec_t_delivery_regid_get) {
04234 {
04235 dtn_bundle_spec_t *arg1 = (dtn_bundle_spec_t *) 0 ;
04236 dtn_reg_id_t result;
04237 void *argp1 = 0 ;
04238 int res1 = 0 ;
04239 int argvi = 0;
04240 dXSARGS;
04241
04242 if ((items < 1) || (items > 1)) {
04243 SWIG_croak("Usage: dtn_bundle_spec_t_delivery_regid_get(self);");
04244 }
04245 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t, 0 | 0 );
04246 if (!SWIG_IsOK(res1)) {
04247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_delivery_regid_get" "', argument " "1"" of type '" "dtn_bundle_spec_t *""'");
04248 }
04249 arg1 = reinterpret_cast< dtn_bundle_spec_t * >(argp1);
04250 result = ((arg1)->delivery_regid);
04251 ST(argvi) = SWIG_NewPointerObj((new dtn_reg_id_t(static_cast< const dtn_reg_id_t& >(result))), SWIGTYPE_p_u_int, SWIG_POINTER_OWN | 0); argvi++ ;
04252
04253 XSRETURN(argvi);
04254 fail:
04255
04256 SWIG_croak_null();
04257 }
04258 }
04259
04260
04261 XS(_wrap_dtn_bundle_spec_t_sequence_id_set) {
04262 {
04263 dtn_bundle_spec_t *arg1 = (dtn_bundle_spec_t *) 0 ;
04264 dtn_sequence_id_t *arg2 = (dtn_sequence_id_t *) 0 ;
04265 void *argp1 = 0 ;
04266 int res1 = 0 ;
04267 void *argp2 = 0 ;
04268 int res2 = 0 ;
04269 int argvi = 0;
04270 dXSARGS;
04271
04272 if ((items < 2) || (items > 2)) {
04273 SWIG_croak("Usage: dtn_bundle_spec_t_sequence_id_set(self,sequence_id);");
04274 }
04275 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t, 0 | 0 );
04276 if (!SWIG_IsOK(res1)) {
04277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_sequence_id_set" "', argument " "1"" of type '" "dtn_bundle_spec_t *""'");
04278 }
04279 arg1 = reinterpret_cast< dtn_bundle_spec_t * >(argp1);
04280 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_sequence_id_t, 0 | 0 );
04281 if (!SWIG_IsOK(res2)) {
04282 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_spec_t_sequence_id_set" "', argument " "2"" of type '" "dtn_sequence_id_t *""'");
04283 }
04284 arg2 = reinterpret_cast< dtn_sequence_id_t * >(argp2);
04285 if (arg1) (arg1)->sequence_id = *arg2;
04286
04287
04288
04289
04290 XSRETURN(argvi);
04291 fail:
04292
04293
04294 SWIG_croak_null();
04295 }
04296 }
04297
04298
04299 XS(_wrap_dtn_bundle_spec_t_sequence_id_get) {
04300 {
04301 dtn_bundle_spec_t *arg1 = (dtn_bundle_spec_t *) 0 ;
04302 dtn_sequence_id_t *result = 0 ;
04303 void *argp1 = 0 ;
04304 int res1 = 0 ;
04305 int argvi = 0;
04306 dXSARGS;
04307
04308 if ((items < 1) || (items > 1)) {
04309 SWIG_croak("Usage: dtn_bundle_spec_t_sequence_id_get(self);");
04310 }
04311 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t, 0 | 0 );
04312 if (!SWIG_IsOK(res1)) {
04313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_sequence_id_get" "', argument " "1"" of type '" "dtn_bundle_spec_t *""'");
04314 }
04315 arg1 = reinterpret_cast< dtn_bundle_spec_t * >(argp1);
04316 result = (dtn_sequence_id_t *)& ((arg1)->sequence_id);
04317 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_sequence_id_t, 0 | SWIG_SHADOW); argvi++ ;
04318
04319 XSRETURN(argvi);
04320 fail:
04321
04322 SWIG_croak_null();
04323 }
04324 }
04325
04326
04327 XS(_wrap_dtn_bundle_spec_t_obsoletes_id_set) {
04328 {
04329 dtn_bundle_spec_t *arg1 = (dtn_bundle_spec_t *) 0 ;
04330 dtn_sequence_id_t *arg2 = (dtn_sequence_id_t *) 0 ;
04331 void *argp1 = 0 ;
04332 int res1 = 0 ;
04333 void *argp2 = 0 ;
04334 int res2 = 0 ;
04335 int argvi = 0;
04336 dXSARGS;
04337
04338 if ((items < 2) || (items > 2)) {
04339 SWIG_croak("Usage: dtn_bundle_spec_t_obsoletes_id_set(self,obsoletes_id);");
04340 }
04341 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t, 0 | 0 );
04342 if (!SWIG_IsOK(res1)) {
04343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_obsoletes_id_set" "', argument " "1"" of type '" "dtn_bundle_spec_t *""'");
04344 }
04345 arg1 = reinterpret_cast< dtn_bundle_spec_t * >(argp1);
04346 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_sequence_id_t, 0 | 0 );
04347 if (!SWIG_IsOK(res2)) {
04348 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_spec_t_obsoletes_id_set" "', argument " "2"" of type '" "dtn_sequence_id_t *""'");
04349 }
04350 arg2 = reinterpret_cast< dtn_sequence_id_t * >(argp2);
04351 if (arg1) (arg1)->obsoletes_id = *arg2;
04352
04353
04354
04355
04356 XSRETURN(argvi);
04357 fail:
04358
04359
04360 SWIG_croak_null();
04361 }
04362 }
04363
04364
04365 XS(_wrap_dtn_bundle_spec_t_obsoletes_id_get) {
04366 {
04367 dtn_bundle_spec_t *arg1 = (dtn_bundle_spec_t *) 0 ;
04368 dtn_sequence_id_t *result = 0 ;
04369 void *argp1 = 0 ;
04370 int res1 = 0 ;
04371 int argvi = 0;
04372 dXSARGS;
04373
04374 if ((items < 1) || (items > 1)) {
04375 SWIG_croak("Usage: dtn_bundle_spec_t_obsoletes_id_get(self);");
04376 }
04377 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t, 0 | 0 );
04378 if (!SWIG_IsOK(res1)) {
04379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_obsoletes_id_get" "', argument " "1"" of type '" "dtn_bundle_spec_t *""'");
04380 }
04381 arg1 = reinterpret_cast< dtn_bundle_spec_t * >(argp1);
04382 result = (dtn_sequence_id_t *)& ((arg1)->obsoletes_id);
04383 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_sequence_id_t, 0 | SWIG_SHADOW); argvi++ ;
04384
04385 XSRETURN(argvi);
04386 fail:
04387
04388 SWIG_croak_null();
04389 }
04390 }
04391
04392
04393 XS(_wrap_dtn_bundle_spec_t_metadata_get) {
04394 {
04395 dtn_bundle_spec_t *arg1 = (dtn_bundle_spec_t *) 0 ;
04396 dtn_bundle_spec_t_metadata *result = 0 ;
04397 void *argp1 = 0 ;
04398 int res1 = 0 ;
04399 int argvi = 0;
04400 dXSARGS;
04401
04402 if ((items < 1) || (items > 1)) {
04403 SWIG_croak("Usage: dtn_bundle_spec_t_metadata_get(self);");
04404 }
04405 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t, 0 | 0 );
04406 if (!SWIG_IsOK(res1)) {
04407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_metadata_get" "', argument " "1"" of type '" "dtn_bundle_spec_t *""'");
04408 }
04409 arg1 = reinterpret_cast< dtn_bundle_spec_t * >(argp1);
04410 result = (dtn_bundle_spec_t_metadata *)& ((arg1)->metadata);
04411 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_bundle_spec_t_metadata, 0 | SWIG_SHADOW); argvi++ ;
04412
04413 XSRETURN(argvi);
04414 fail:
04415
04416 SWIG_croak_null();
04417 }
04418 }
04419
04420
04421 XS(_wrap_dtn_bundle_spec_t_blocks_get) {
04422 {
04423 dtn_bundle_spec_t *arg1 = (dtn_bundle_spec_t *) 0 ;
04424 dtn_bundle_spec_t_blocks *result = 0 ;
04425 void *argp1 = 0 ;
04426 int res1 = 0 ;
04427 int argvi = 0;
04428 dXSARGS;
04429
04430 if ((items < 1) || (items > 1)) {
04431 SWIG_croak("Usage: dtn_bundle_spec_t_blocks_get(self);");
04432 }
04433 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t, 0 | 0 );
04434 if (!SWIG_IsOK(res1)) {
04435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_blocks_get" "', argument " "1"" of type '" "dtn_bundle_spec_t *""'");
04436 }
04437 arg1 = reinterpret_cast< dtn_bundle_spec_t * >(argp1);
04438 result = (dtn_bundle_spec_t_blocks *)& ((arg1)->blocks);
04439 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_bundle_spec_t_blocks, 0 | SWIG_SHADOW); argvi++ ;
04440
04441 XSRETURN(argvi);
04442 fail:
04443
04444 SWIG_croak_null();
04445 }
04446 }
04447
04448
04449 XS(_wrap_new_dtn_bundle_spec_t) {
04450 {
04451 dtn_bundle_spec_t *result = 0 ;
04452 int argvi = 0;
04453 dXSARGS;
04454
04455 if ((items < 0) || (items > 0)) {
04456 SWIG_croak("Usage: new_dtn_bundle_spec_t();");
04457 }
04458 result = (dtn_bundle_spec_t *)new dtn_bundle_spec_t();
04459 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_bundle_spec_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
04460 XSRETURN(argvi);
04461 fail:
04462 SWIG_croak_null();
04463 }
04464 }
04465
04466
04467 XS(_wrap_delete_dtn_bundle_spec_t) {
04468 {
04469 dtn_bundle_spec_t *arg1 = (dtn_bundle_spec_t *) 0 ;
04470 void *argp1 = 0 ;
04471 int res1 = 0 ;
04472 int argvi = 0;
04473 dXSARGS;
04474
04475 if ((items < 1) || (items > 1)) {
04476 SWIG_croak("Usage: delete_dtn_bundle_spec_t(self);");
04477 }
04478 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t, SWIG_POINTER_DISOWN | 0 );
04479 if (!SWIG_IsOK(res1)) {
04480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dtn_bundle_spec_t" "', argument " "1"" of type '" "dtn_bundle_spec_t *""'");
04481 }
04482 arg1 = reinterpret_cast< dtn_bundle_spec_t * >(argp1);
04483 delete arg1;
04484
04485
04486
04487 XSRETURN(argvi);
04488 fail:
04489
04490 SWIG_croak_null();
04491 }
04492 }
04493
04494
04495 XS(_wrap_dtn_bundle_spec_t_metadata_metadata_len_set) {
04496 {
04497 dtn_bundle_spec_t_metadata *arg1 = (dtn_bundle_spec_t_metadata *) 0 ;
04498 u_int arg2 ;
04499 void *argp1 = 0 ;
04500 int res1 = 0 ;
04501 void *argp2 ;
04502 int res2 = 0 ;
04503 int argvi = 0;
04504 dXSARGS;
04505
04506 if ((items < 2) || (items > 2)) {
04507 SWIG_croak("Usage: dtn_bundle_spec_t_metadata_metadata_len_set(self,metadata_len);");
04508 }
04509 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t_metadata, 0 | 0 );
04510 if (!SWIG_IsOK(res1)) {
04511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_metadata_metadata_len_set" "', argument " "1"" of type '" "dtn_bundle_spec_t_metadata *""'");
04512 }
04513 arg1 = reinterpret_cast< dtn_bundle_spec_t_metadata * >(argp1);
04514 {
04515 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_u_int, 0 );
04516 if (!SWIG_IsOK(res2)) {
04517 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_spec_t_metadata_metadata_len_set" "', argument " "2"" of type '" "u_int""'");
04518 }
04519 if (!argp2) {
04520 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_bundle_spec_t_metadata_metadata_len_set" "', argument " "2"" of type '" "u_int""'");
04521 } else {
04522 arg2 = *(reinterpret_cast< u_int * >(argp2));
04523 }
04524 }
04525 if (arg1) (arg1)->metadata_len = arg2;
04526
04527
04528
04529 XSRETURN(argvi);
04530 fail:
04531
04532 SWIG_croak_null();
04533 }
04534 }
04535
04536
04537 XS(_wrap_dtn_bundle_spec_t_metadata_metadata_len_get) {
04538 {
04539 dtn_bundle_spec_t_metadata *arg1 = (dtn_bundle_spec_t_metadata *) 0 ;
04540 u_int result;
04541 void *argp1 = 0 ;
04542 int res1 = 0 ;
04543 int argvi = 0;
04544 dXSARGS;
04545
04546 if ((items < 1) || (items > 1)) {
04547 SWIG_croak("Usage: dtn_bundle_spec_t_metadata_metadata_len_get(self);");
04548 }
04549 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t_metadata, 0 | 0 );
04550 if (!SWIG_IsOK(res1)) {
04551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_metadata_metadata_len_get" "', argument " "1"" of type '" "dtn_bundle_spec_t_metadata *""'");
04552 }
04553 arg1 = reinterpret_cast< dtn_bundle_spec_t_metadata * >(argp1);
04554 result = ((arg1)->metadata_len);
04555 ST(argvi) = SWIG_NewPointerObj((new u_int(static_cast< const u_int& >(result))), SWIGTYPE_p_u_int, SWIG_POINTER_OWN | 0); argvi++ ;
04556
04557 XSRETURN(argvi);
04558 fail:
04559
04560 SWIG_croak_null();
04561 }
04562 }
04563
04564
04565 XS(_wrap_dtn_bundle_spec_t_metadata_metadata_val_set) {
04566 {
04567 dtn_bundle_spec_t_metadata *arg1 = (dtn_bundle_spec_t_metadata *) 0 ;
04568 dtn_extension_block_t *arg2 = (dtn_extension_block_t *) 0 ;
04569 void *argp1 = 0 ;
04570 int res1 = 0 ;
04571 void *argp2 = 0 ;
04572 int res2 = 0 ;
04573 int argvi = 0;
04574 dXSARGS;
04575
04576 if ((items < 2) || (items > 2)) {
04577 SWIG_croak("Usage: dtn_bundle_spec_t_metadata_metadata_val_set(self,metadata_val);");
04578 }
04579 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t_metadata, 0 | 0 );
04580 if (!SWIG_IsOK(res1)) {
04581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_metadata_metadata_val_set" "', argument " "1"" of type '" "dtn_bundle_spec_t_metadata *""'");
04582 }
04583 arg1 = reinterpret_cast< dtn_bundle_spec_t_metadata * >(argp1);
04584 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_extension_block_t, SWIG_POINTER_DISOWN | 0 );
04585 if (!SWIG_IsOK(res2)) {
04586 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_spec_t_metadata_metadata_val_set" "', argument " "2"" of type '" "dtn_extension_block_t *""'");
04587 }
04588 arg2 = reinterpret_cast< dtn_extension_block_t * >(argp2);
04589 if (arg1) (arg1)->metadata_val = arg2;
04590
04591
04592
04593
04594 XSRETURN(argvi);
04595 fail:
04596
04597
04598 SWIG_croak_null();
04599 }
04600 }
04601
04602
04603 XS(_wrap_dtn_bundle_spec_t_metadata_metadata_val_get) {
04604 {
04605 dtn_bundle_spec_t_metadata *arg1 = (dtn_bundle_spec_t_metadata *) 0 ;
04606 dtn_extension_block_t *result = 0 ;
04607 void *argp1 = 0 ;
04608 int res1 = 0 ;
04609 int argvi = 0;
04610 dXSARGS;
04611
04612 if ((items < 1) || (items > 1)) {
04613 SWIG_croak("Usage: dtn_bundle_spec_t_metadata_metadata_val_get(self);");
04614 }
04615 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t_metadata, 0 | 0 );
04616 if (!SWIG_IsOK(res1)) {
04617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_metadata_metadata_val_get" "', argument " "1"" of type '" "dtn_bundle_spec_t_metadata *""'");
04618 }
04619 arg1 = reinterpret_cast< dtn_bundle_spec_t_metadata * >(argp1);
04620 result = (dtn_extension_block_t *) ((arg1)->metadata_val);
04621 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_extension_block_t, 0 | SWIG_SHADOW); argvi++ ;
04622
04623 XSRETURN(argvi);
04624 fail:
04625
04626 SWIG_croak_null();
04627 }
04628 }
04629
04630
04631 XS(_wrap_new_dtn_bundle_spec_t_metadata) {
04632 {
04633 dtn_bundle_spec_t_metadata *result = 0 ;
04634 int argvi = 0;
04635 dXSARGS;
04636
04637 if ((items < 0) || (items > 0)) {
04638 SWIG_croak("Usage: new_dtn_bundle_spec_t_metadata();");
04639 }
04640 result = (dtn_bundle_spec_t_metadata *)new dtn_bundle_spec_t_metadata();
04641 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_bundle_spec_t_metadata, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
04642 XSRETURN(argvi);
04643 fail:
04644 SWIG_croak_null();
04645 }
04646 }
04647
04648
04649 XS(_wrap_delete_dtn_bundle_spec_t_metadata) {
04650 {
04651 dtn_bundle_spec_t_metadata *arg1 = (dtn_bundle_spec_t_metadata *) 0 ;
04652 void *argp1 = 0 ;
04653 int res1 = 0 ;
04654 int argvi = 0;
04655 dXSARGS;
04656
04657 if ((items < 1) || (items > 1)) {
04658 SWIG_croak("Usage: delete_dtn_bundle_spec_t_metadata(self);");
04659 }
04660 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t_metadata, SWIG_POINTER_DISOWN | 0 );
04661 if (!SWIG_IsOK(res1)) {
04662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dtn_bundle_spec_t_metadata" "', argument " "1"" of type '" "dtn_bundle_spec_t_metadata *""'");
04663 }
04664 arg1 = reinterpret_cast< dtn_bundle_spec_t_metadata * >(argp1);
04665 delete arg1;
04666
04667
04668
04669 XSRETURN(argvi);
04670 fail:
04671
04672 SWIG_croak_null();
04673 }
04674 }
04675
04676
04677 XS(_wrap_dtn_bundle_spec_t_blocks_blocks_len_set) {
04678 {
04679 dtn_bundle_spec_t_blocks *arg1 = (dtn_bundle_spec_t_blocks *) 0 ;
04680 u_int arg2 ;
04681 void *argp1 = 0 ;
04682 int res1 = 0 ;
04683 void *argp2 ;
04684 int res2 = 0 ;
04685 int argvi = 0;
04686 dXSARGS;
04687
04688 if ((items < 2) || (items > 2)) {
04689 SWIG_croak("Usage: dtn_bundle_spec_t_blocks_blocks_len_set(self,blocks_len);");
04690 }
04691 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t_blocks, 0 | 0 );
04692 if (!SWIG_IsOK(res1)) {
04693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_blocks_blocks_len_set" "', argument " "1"" of type '" "dtn_bundle_spec_t_blocks *""'");
04694 }
04695 arg1 = reinterpret_cast< dtn_bundle_spec_t_blocks * >(argp1);
04696 {
04697 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_u_int, 0 );
04698 if (!SWIG_IsOK(res2)) {
04699 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_spec_t_blocks_blocks_len_set" "', argument " "2"" of type '" "u_int""'");
04700 }
04701 if (!argp2) {
04702 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_bundle_spec_t_blocks_blocks_len_set" "', argument " "2"" of type '" "u_int""'");
04703 } else {
04704 arg2 = *(reinterpret_cast< u_int * >(argp2));
04705 }
04706 }
04707 if (arg1) (arg1)->blocks_len = arg2;
04708
04709
04710
04711 XSRETURN(argvi);
04712 fail:
04713
04714 SWIG_croak_null();
04715 }
04716 }
04717
04718
04719 XS(_wrap_dtn_bundle_spec_t_blocks_blocks_len_get) {
04720 {
04721 dtn_bundle_spec_t_blocks *arg1 = (dtn_bundle_spec_t_blocks *) 0 ;
04722 u_int result;
04723 void *argp1 = 0 ;
04724 int res1 = 0 ;
04725 int argvi = 0;
04726 dXSARGS;
04727
04728 if ((items < 1) || (items > 1)) {
04729 SWIG_croak("Usage: dtn_bundle_spec_t_blocks_blocks_len_get(self);");
04730 }
04731 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t_blocks, 0 | 0 );
04732 if (!SWIG_IsOK(res1)) {
04733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_blocks_blocks_len_get" "', argument " "1"" of type '" "dtn_bundle_spec_t_blocks *""'");
04734 }
04735 arg1 = reinterpret_cast< dtn_bundle_spec_t_blocks * >(argp1);
04736 result = ((arg1)->blocks_len);
04737 ST(argvi) = SWIG_NewPointerObj((new u_int(static_cast< const u_int& >(result))), SWIGTYPE_p_u_int, SWIG_POINTER_OWN | 0); argvi++ ;
04738
04739 XSRETURN(argvi);
04740 fail:
04741
04742 SWIG_croak_null();
04743 }
04744 }
04745
04746
04747 XS(_wrap_dtn_bundle_spec_t_blocks_blocks_val_set) {
04748 {
04749 dtn_bundle_spec_t_blocks *arg1 = (dtn_bundle_spec_t_blocks *) 0 ;
04750 dtn_extension_block_t *arg2 = (dtn_extension_block_t *) 0 ;
04751 void *argp1 = 0 ;
04752 int res1 = 0 ;
04753 void *argp2 = 0 ;
04754 int res2 = 0 ;
04755 int argvi = 0;
04756 dXSARGS;
04757
04758 if ((items < 2) || (items > 2)) {
04759 SWIG_croak("Usage: dtn_bundle_spec_t_blocks_blocks_val_set(self,blocks_val);");
04760 }
04761 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t_blocks, 0 | 0 );
04762 if (!SWIG_IsOK(res1)) {
04763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_blocks_blocks_val_set" "', argument " "1"" of type '" "dtn_bundle_spec_t_blocks *""'");
04764 }
04765 arg1 = reinterpret_cast< dtn_bundle_spec_t_blocks * >(argp1);
04766 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_extension_block_t, SWIG_POINTER_DISOWN | 0 );
04767 if (!SWIG_IsOK(res2)) {
04768 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_spec_t_blocks_blocks_val_set" "', argument " "2"" of type '" "dtn_extension_block_t *""'");
04769 }
04770 arg2 = reinterpret_cast< dtn_extension_block_t * >(argp2);
04771 if (arg1) (arg1)->blocks_val = arg2;
04772
04773
04774
04775
04776 XSRETURN(argvi);
04777 fail:
04778
04779
04780 SWIG_croak_null();
04781 }
04782 }
04783
04784
04785 XS(_wrap_dtn_bundle_spec_t_blocks_blocks_val_get) {
04786 {
04787 dtn_bundle_spec_t_blocks *arg1 = (dtn_bundle_spec_t_blocks *) 0 ;
04788 dtn_extension_block_t *result = 0 ;
04789 void *argp1 = 0 ;
04790 int res1 = 0 ;
04791 int argvi = 0;
04792 dXSARGS;
04793
04794 if ((items < 1) || (items > 1)) {
04795 SWIG_croak("Usage: dtn_bundle_spec_t_blocks_blocks_val_get(self);");
04796 }
04797 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t_blocks, 0 | 0 );
04798 if (!SWIG_IsOK(res1)) {
04799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_spec_t_blocks_blocks_val_get" "', argument " "1"" of type '" "dtn_bundle_spec_t_blocks *""'");
04800 }
04801 arg1 = reinterpret_cast< dtn_bundle_spec_t_blocks * >(argp1);
04802 result = (dtn_extension_block_t *) ((arg1)->blocks_val);
04803 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_extension_block_t, 0 | SWIG_SHADOW); argvi++ ;
04804
04805 XSRETURN(argvi);
04806 fail:
04807
04808 SWIG_croak_null();
04809 }
04810 }
04811
04812
04813 XS(_wrap_new_dtn_bundle_spec_t_blocks) {
04814 {
04815 dtn_bundle_spec_t_blocks *result = 0 ;
04816 int argvi = 0;
04817 dXSARGS;
04818
04819 if ((items < 0) || (items > 0)) {
04820 SWIG_croak("Usage: new_dtn_bundle_spec_t_blocks();");
04821 }
04822 result = (dtn_bundle_spec_t_blocks *)new dtn_bundle_spec_t_blocks();
04823 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_bundle_spec_t_blocks, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
04824 XSRETURN(argvi);
04825 fail:
04826 SWIG_croak_null();
04827 }
04828 }
04829
04830
04831 XS(_wrap_delete_dtn_bundle_spec_t_blocks) {
04832 {
04833 dtn_bundle_spec_t_blocks *arg1 = (dtn_bundle_spec_t_blocks *) 0 ;
04834 void *argp1 = 0 ;
04835 int res1 = 0 ;
04836 int argvi = 0;
04837 dXSARGS;
04838
04839 if ((items < 1) || (items > 1)) {
04840 SWIG_croak("Usage: delete_dtn_bundle_spec_t_blocks(self);");
04841 }
04842 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_spec_t_blocks, SWIG_POINTER_DISOWN | 0 );
04843 if (!SWIG_IsOK(res1)) {
04844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dtn_bundle_spec_t_blocks" "', argument " "1"" of type '" "dtn_bundle_spec_t_blocks *""'");
04845 }
04846 arg1 = reinterpret_cast< dtn_bundle_spec_t_blocks * >(argp1);
04847 delete arg1;
04848
04849
04850
04851 XSRETURN(argvi);
04852 fail:
04853
04854 SWIG_croak_null();
04855 }
04856 }
04857
04858
04859 XS(_wrap_dtn_bundle_id_t_source_set) {
04860 {
04861 dtn_bundle_id_t *arg1 = (dtn_bundle_id_t *) 0 ;
04862 dtn_endpoint_id_t *arg2 = (dtn_endpoint_id_t *) 0 ;
04863 void *argp1 = 0 ;
04864 int res1 = 0 ;
04865 void *argp2 = 0 ;
04866 int res2 = 0 ;
04867 int argvi = 0;
04868 dXSARGS;
04869
04870 if ((items < 2) || (items > 2)) {
04871 SWIG_croak("Usage: dtn_bundle_id_t_source_set(self,source);");
04872 }
04873 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_id_t, 0 | 0 );
04874 if (!SWIG_IsOK(res1)) {
04875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_id_t_source_set" "', argument " "1"" of type '" "dtn_bundle_id_t *""'");
04876 }
04877 arg1 = reinterpret_cast< dtn_bundle_id_t * >(argp1);
04878 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_endpoint_id_t, 0 | 0 );
04879 if (!SWIG_IsOK(res2)) {
04880 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_id_t_source_set" "', argument " "2"" of type '" "dtn_endpoint_id_t *""'");
04881 }
04882 arg2 = reinterpret_cast< dtn_endpoint_id_t * >(argp2);
04883 if (arg1) (arg1)->source = *arg2;
04884
04885
04886
04887
04888 XSRETURN(argvi);
04889 fail:
04890
04891
04892 SWIG_croak_null();
04893 }
04894 }
04895
04896
04897 XS(_wrap_dtn_bundle_id_t_source_get) {
04898 {
04899 dtn_bundle_id_t *arg1 = (dtn_bundle_id_t *) 0 ;
04900 dtn_endpoint_id_t *result = 0 ;
04901 void *argp1 = 0 ;
04902 int res1 = 0 ;
04903 int argvi = 0;
04904 dXSARGS;
04905
04906 if ((items < 1) || (items > 1)) {
04907 SWIG_croak("Usage: dtn_bundle_id_t_source_get(self);");
04908 }
04909 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_id_t, 0 | 0 );
04910 if (!SWIG_IsOK(res1)) {
04911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_id_t_source_get" "', argument " "1"" of type '" "dtn_bundle_id_t *""'");
04912 }
04913 arg1 = reinterpret_cast< dtn_bundle_id_t * >(argp1);
04914 result = (dtn_endpoint_id_t *)& ((arg1)->source);
04915 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_endpoint_id_t, 0 | SWIG_SHADOW); argvi++ ;
04916
04917 XSRETURN(argvi);
04918 fail:
04919
04920 SWIG_croak_null();
04921 }
04922 }
04923
04924
04925 XS(_wrap_dtn_bundle_id_t_creation_ts_set) {
04926 {
04927 dtn_bundle_id_t *arg1 = (dtn_bundle_id_t *) 0 ;
04928 dtn_timestamp_t *arg2 = (dtn_timestamp_t *) 0 ;
04929 void *argp1 = 0 ;
04930 int res1 = 0 ;
04931 void *argp2 = 0 ;
04932 int res2 = 0 ;
04933 int argvi = 0;
04934 dXSARGS;
04935
04936 if ((items < 2) || (items > 2)) {
04937 SWIG_croak("Usage: dtn_bundle_id_t_creation_ts_set(self,creation_ts);");
04938 }
04939 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_id_t, 0 | 0 );
04940 if (!SWIG_IsOK(res1)) {
04941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_id_t_creation_ts_set" "', argument " "1"" of type '" "dtn_bundle_id_t *""'");
04942 }
04943 arg1 = reinterpret_cast< dtn_bundle_id_t * >(argp1);
04944 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_timestamp_t, 0 | 0 );
04945 if (!SWIG_IsOK(res2)) {
04946 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_id_t_creation_ts_set" "', argument " "2"" of type '" "dtn_timestamp_t *""'");
04947 }
04948 arg2 = reinterpret_cast< dtn_timestamp_t * >(argp2);
04949 if (arg1) (arg1)->creation_ts = *arg2;
04950
04951
04952
04953
04954 XSRETURN(argvi);
04955 fail:
04956
04957
04958 SWIG_croak_null();
04959 }
04960 }
04961
04962
04963 XS(_wrap_dtn_bundle_id_t_creation_ts_get) {
04964 {
04965 dtn_bundle_id_t *arg1 = (dtn_bundle_id_t *) 0 ;
04966 dtn_timestamp_t *result = 0 ;
04967 void *argp1 = 0 ;
04968 int res1 = 0 ;
04969 int argvi = 0;
04970 dXSARGS;
04971
04972 if ((items < 1) || (items > 1)) {
04973 SWIG_croak("Usage: dtn_bundle_id_t_creation_ts_get(self);");
04974 }
04975 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_id_t, 0 | 0 );
04976 if (!SWIG_IsOK(res1)) {
04977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_id_t_creation_ts_get" "', argument " "1"" of type '" "dtn_bundle_id_t *""'");
04978 }
04979 arg1 = reinterpret_cast< dtn_bundle_id_t * >(argp1);
04980 result = (dtn_timestamp_t *)& ((arg1)->creation_ts);
04981 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_timestamp_t, 0 | SWIG_SHADOW); argvi++ ;
04982
04983 XSRETURN(argvi);
04984 fail:
04985
04986 SWIG_croak_null();
04987 }
04988 }
04989
04990
04991 XS(_wrap_dtn_bundle_id_t_frag_offset_set) {
04992 {
04993 dtn_bundle_id_t *arg1 = (dtn_bundle_id_t *) 0 ;
04994 u_int arg2 ;
04995 void *argp1 = 0 ;
04996 int res1 = 0 ;
04997 void *argp2 ;
04998 int res2 = 0 ;
04999 int argvi = 0;
05000 dXSARGS;
05001
05002 if ((items < 2) || (items > 2)) {
05003 SWIG_croak("Usage: dtn_bundle_id_t_frag_offset_set(self,frag_offset);");
05004 }
05005 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_id_t, 0 | 0 );
05006 if (!SWIG_IsOK(res1)) {
05007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_id_t_frag_offset_set" "', argument " "1"" of type '" "dtn_bundle_id_t *""'");
05008 }
05009 arg1 = reinterpret_cast< dtn_bundle_id_t * >(argp1);
05010 {
05011 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_u_int, 0 );
05012 if (!SWIG_IsOK(res2)) {
05013 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_id_t_frag_offset_set" "', argument " "2"" of type '" "u_int""'");
05014 }
05015 if (!argp2) {
05016 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_bundle_id_t_frag_offset_set" "', argument " "2"" of type '" "u_int""'");
05017 } else {
05018 arg2 = *(reinterpret_cast< u_int * >(argp2));
05019 }
05020 }
05021 if (arg1) (arg1)->frag_offset = arg2;
05022
05023
05024
05025 XSRETURN(argvi);
05026 fail:
05027
05028 SWIG_croak_null();
05029 }
05030 }
05031
05032
05033 XS(_wrap_dtn_bundle_id_t_frag_offset_get) {
05034 {
05035 dtn_bundle_id_t *arg1 = (dtn_bundle_id_t *) 0 ;
05036 u_int result;
05037 void *argp1 = 0 ;
05038 int res1 = 0 ;
05039 int argvi = 0;
05040 dXSARGS;
05041
05042 if ((items < 1) || (items > 1)) {
05043 SWIG_croak("Usage: dtn_bundle_id_t_frag_offset_get(self);");
05044 }
05045 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_id_t, 0 | 0 );
05046 if (!SWIG_IsOK(res1)) {
05047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_id_t_frag_offset_get" "', argument " "1"" of type '" "dtn_bundle_id_t *""'");
05048 }
05049 arg1 = reinterpret_cast< dtn_bundle_id_t * >(argp1);
05050 result = ((arg1)->frag_offset);
05051 ST(argvi) = SWIG_NewPointerObj((new u_int(static_cast< const u_int& >(result))), SWIGTYPE_p_u_int, SWIG_POINTER_OWN | 0); argvi++ ;
05052
05053 XSRETURN(argvi);
05054 fail:
05055
05056 SWIG_croak_null();
05057 }
05058 }
05059
05060
05061 XS(_wrap_dtn_bundle_id_t_orig_length_set) {
05062 {
05063 dtn_bundle_id_t *arg1 = (dtn_bundle_id_t *) 0 ;
05064 u_int arg2 ;
05065 void *argp1 = 0 ;
05066 int res1 = 0 ;
05067 void *argp2 ;
05068 int res2 = 0 ;
05069 int argvi = 0;
05070 dXSARGS;
05071
05072 if ((items < 2) || (items > 2)) {
05073 SWIG_croak("Usage: dtn_bundle_id_t_orig_length_set(self,orig_length);");
05074 }
05075 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_id_t, 0 | 0 );
05076 if (!SWIG_IsOK(res1)) {
05077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_id_t_orig_length_set" "', argument " "1"" of type '" "dtn_bundle_id_t *""'");
05078 }
05079 arg1 = reinterpret_cast< dtn_bundle_id_t * >(argp1);
05080 {
05081 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_u_int, 0 );
05082 if (!SWIG_IsOK(res2)) {
05083 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_id_t_orig_length_set" "', argument " "2"" of type '" "u_int""'");
05084 }
05085 if (!argp2) {
05086 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_bundle_id_t_orig_length_set" "', argument " "2"" of type '" "u_int""'");
05087 } else {
05088 arg2 = *(reinterpret_cast< u_int * >(argp2));
05089 }
05090 }
05091 if (arg1) (arg1)->orig_length = arg2;
05092
05093
05094
05095 XSRETURN(argvi);
05096 fail:
05097
05098 SWIG_croak_null();
05099 }
05100 }
05101
05102
05103 XS(_wrap_dtn_bundle_id_t_orig_length_get) {
05104 {
05105 dtn_bundle_id_t *arg1 = (dtn_bundle_id_t *) 0 ;
05106 u_int result;
05107 void *argp1 = 0 ;
05108 int res1 = 0 ;
05109 int argvi = 0;
05110 dXSARGS;
05111
05112 if ((items < 1) || (items > 1)) {
05113 SWIG_croak("Usage: dtn_bundle_id_t_orig_length_get(self);");
05114 }
05115 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_id_t, 0 | 0 );
05116 if (!SWIG_IsOK(res1)) {
05117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_id_t_orig_length_get" "', argument " "1"" of type '" "dtn_bundle_id_t *""'");
05118 }
05119 arg1 = reinterpret_cast< dtn_bundle_id_t * >(argp1);
05120 result = ((arg1)->orig_length);
05121 ST(argvi) = SWIG_NewPointerObj((new u_int(static_cast< const u_int& >(result))), SWIGTYPE_p_u_int, SWIG_POINTER_OWN | 0); argvi++ ;
05122
05123 XSRETURN(argvi);
05124 fail:
05125
05126 SWIG_croak_null();
05127 }
05128 }
05129
05130
05131 XS(_wrap_new_dtn_bundle_id_t) {
05132 {
05133 dtn_bundle_id_t *result = 0 ;
05134 int argvi = 0;
05135 dXSARGS;
05136
05137 if ((items < 0) || (items > 0)) {
05138 SWIG_croak("Usage: new_dtn_bundle_id_t();");
05139 }
05140 result = (dtn_bundle_id_t *)new dtn_bundle_id_t();
05141 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_bundle_id_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
05142 XSRETURN(argvi);
05143 fail:
05144 SWIG_croak_null();
05145 }
05146 }
05147
05148
05149 XS(_wrap_delete_dtn_bundle_id_t) {
05150 {
05151 dtn_bundle_id_t *arg1 = (dtn_bundle_id_t *) 0 ;
05152 void *argp1 = 0 ;
05153 int res1 = 0 ;
05154 int argvi = 0;
05155 dXSARGS;
05156
05157 if ((items < 1) || (items > 1)) {
05158 SWIG_croak("Usage: delete_dtn_bundle_id_t(self);");
05159 }
05160 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_id_t, SWIG_POINTER_DISOWN | 0 );
05161 if (!SWIG_IsOK(res1)) {
05162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dtn_bundle_id_t" "', argument " "1"" of type '" "dtn_bundle_id_t *""'");
05163 }
05164 arg1 = reinterpret_cast< dtn_bundle_id_t * >(argp1);
05165 delete arg1;
05166
05167
05168
05169 XSRETURN(argvi);
05170 fail:
05171
05172 SWIG_croak_null();
05173 }
05174 }
05175
05176
05177 XS(_wrap_dtn_bundle_status_report_t_bundle_id_set) {
05178 {
05179 dtn_bundle_status_report_t *arg1 = (dtn_bundle_status_report_t *) 0 ;
05180 dtn_bundle_id_t *arg2 = (dtn_bundle_id_t *) 0 ;
05181 void *argp1 = 0 ;
05182 int res1 = 0 ;
05183 void *argp2 = 0 ;
05184 int res2 = 0 ;
05185 int argvi = 0;
05186 dXSARGS;
05187
05188 if ((items < 2) || (items > 2)) {
05189 SWIG_croak("Usage: dtn_bundle_status_report_t_bundle_id_set(self,bundle_id);");
05190 }
05191 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_status_report_t, 0 | 0 );
05192 if (!SWIG_IsOK(res1)) {
05193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_status_report_t_bundle_id_set" "', argument " "1"" of type '" "dtn_bundle_status_report_t *""'");
05194 }
05195 arg1 = reinterpret_cast< dtn_bundle_status_report_t * >(argp1);
05196 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_bundle_id_t, 0 | 0 );
05197 if (!SWIG_IsOK(res2)) {
05198 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_status_report_t_bundle_id_set" "', argument " "2"" of type '" "dtn_bundle_id_t *""'");
05199 }
05200 arg2 = reinterpret_cast< dtn_bundle_id_t * >(argp2);
05201 if (arg1) (arg1)->bundle_id = *arg2;
05202
05203
05204
05205
05206 XSRETURN(argvi);
05207 fail:
05208
05209
05210 SWIG_croak_null();
05211 }
05212 }
05213
05214
05215 XS(_wrap_dtn_bundle_status_report_t_bundle_id_get) {
05216 {
05217 dtn_bundle_status_report_t *arg1 = (dtn_bundle_status_report_t *) 0 ;
05218 dtn_bundle_id_t *result = 0 ;
05219 void *argp1 = 0 ;
05220 int res1 = 0 ;
05221 int argvi = 0;
05222 dXSARGS;
05223
05224 if ((items < 1) || (items > 1)) {
05225 SWIG_croak("Usage: dtn_bundle_status_report_t_bundle_id_get(self);");
05226 }
05227 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_status_report_t, 0 | 0 );
05228 if (!SWIG_IsOK(res1)) {
05229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_status_report_t_bundle_id_get" "', argument " "1"" of type '" "dtn_bundle_status_report_t *""'");
05230 }
05231 arg1 = reinterpret_cast< dtn_bundle_status_report_t * >(argp1);
05232 result = (dtn_bundle_id_t *)& ((arg1)->bundle_id);
05233 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_bundle_id_t, 0 | SWIG_SHADOW); argvi++ ;
05234
05235 XSRETURN(argvi);
05236 fail:
05237
05238 SWIG_croak_null();
05239 }
05240 }
05241
05242
05243 XS(_wrap_dtn_bundle_status_report_t_reason_set) {
05244 {
05245 dtn_bundle_status_report_t *arg1 = (dtn_bundle_status_report_t *) 0 ;
05246 dtn_status_report_reason_t arg2 ;
05247 void *argp1 = 0 ;
05248 int res1 = 0 ;
05249 int val2 ;
05250 int ecode2 = 0 ;
05251 int argvi = 0;
05252 dXSARGS;
05253
05254 if ((items < 2) || (items > 2)) {
05255 SWIG_croak("Usage: dtn_bundle_status_report_t_reason_set(self,reason);");
05256 }
05257 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_status_report_t, 0 | 0 );
05258 if (!SWIG_IsOK(res1)) {
05259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_status_report_t_reason_set" "', argument " "1"" of type '" "dtn_bundle_status_report_t *""'");
05260 }
05261 arg1 = reinterpret_cast< dtn_bundle_status_report_t * >(argp1);
05262 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
05263 if (!SWIG_IsOK(ecode2)) {
05264 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_bundle_status_report_t_reason_set" "', argument " "2"" of type '" "dtn_status_report_reason_t""'");
05265 }
05266 arg2 = static_cast< dtn_status_report_reason_t >(val2);
05267 if (arg1) (arg1)->reason = arg2;
05268
05269
05270
05271
05272 XSRETURN(argvi);
05273 fail:
05274
05275
05276 SWIG_croak_null();
05277 }
05278 }
05279
05280
05281 XS(_wrap_dtn_bundle_status_report_t_reason_get) {
05282 {
05283 dtn_bundle_status_report_t *arg1 = (dtn_bundle_status_report_t *) 0 ;
05284 dtn_status_report_reason_t result;
05285 void *argp1 = 0 ;
05286 int res1 = 0 ;
05287 int argvi = 0;
05288 dXSARGS;
05289
05290 if ((items < 1) || (items > 1)) {
05291 SWIG_croak("Usage: dtn_bundle_status_report_t_reason_get(self);");
05292 }
05293 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_status_report_t, 0 | 0 );
05294 if (!SWIG_IsOK(res1)) {
05295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_status_report_t_reason_get" "', argument " "1"" of type '" "dtn_bundle_status_report_t *""'");
05296 }
05297 arg1 = reinterpret_cast< dtn_bundle_status_report_t * >(argp1);
05298 result = (dtn_status_report_reason_t) ((arg1)->reason);
05299 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
05300
05301 XSRETURN(argvi);
05302 fail:
05303
05304 SWIG_croak_null();
05305 }
05306 }
05307
05308
05309 XS(_wrap_dtn_bundle_status_report_t_flags_set) {
05310 {
05311 dtn_bundle_status_report_t *arg1 = (dtn_bundle_status_report_t *) 0 ;
05312 dtn_status_report_flags_t arg2 ;
05313 void *argp1 = 0 ;
05314 int res1 = 0 ;
05315 int val2 ;
05316 int ecode2 = 0 ;
05317 int argvi = 0;
05318 dXSARGS;
05319
05320 if ((items < 2) || (items > 2)) {
05321 SWIG_croak("Usage: dtn_bundle_status_report_t_flags_set(self,flags);");
05322 }
05323 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_status_report_t, 0 | 0 );
05324 if (!SWIG_IsOK(res1)) {
05325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_status_report_t_flags_set" "', argument " "1"" of type '" "dtn_bundle_status_report_t *""'");
05326 }
05327 arg1 = reinterpret_cast< dtn_bundle_status_report_t * >(argp1);
05328 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
05329 if (!SWIG_IsOK(ecode2)) {
05330 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_bundle_status_report_t_flags_set" "', argument " "2"" of type '" "dtn_status_report_flags_t""'");
05331 }
05332 arg2 = static_cast< dtn_status_report_flags_t >(val2);
05333 if (arg1) (arg1)->flags = arg2;
05334
05335
05336
05337
05338 XSRETURN(argvi);
05339 fail:
05340
05341
05342 SWIG_croak_null();
05343 }
05344 }
05345
05346
05347 XS(_wrap_dtn_bundle_status_report_t_flags_get) {
05348 {
05349 dtn_bundle_status_report_t *arg1 = (dtn_bundle_status_report_t *) 0 ;
05350 dtn_status_report_flags_t result;
05351 void *argp1 = 0 ;
05352 int res1 = 0 ;
05353 int argvi = 0;
05354 dXSARGS;
05355
05356 if ((items < 1) || (items > 1)) {
05357 SWIG_croak("Usage: dtn_bundle_status_report_t_flags_get(self);");
05358 }
05359 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_status_report_t, 0 | 0 );
05360 if (!SWIG_IsOK(res1)) {
05361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_status_report_t_flags_get" "', argument " "1"" of type '" "dtn_bundle_status_report_t *""'");
05362 }
05363 arg1 = reinterpret_cast< dtn_bundle_status_report_t * >(argp1);
05364 result = (dtn_status_report_flags_t) ((arg1)->flags);
05365 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
05366
05367 XSRETURN(argvi);
05368 fail:
05369
05370 SWIG_croak_null();
05371 }
05372 }
05373
05374
05375 XS(_wrap_dtn_bundle_status_report_t_receipt_ts_set) {
05376 {
05377 dtn_bundle_status_report_t *arg1 = (dtn_bundle_status_report_t *) 0 ;
05378 dtn_timestamp_t *arg2 = (dtn_timestamp_t *) 0 ;
05379 void *argp1 = 0 ;
05380 int res1 = 0 ;
05381 void *argp2 = 0 ;
05382 int res2 = 0 ;
05383 int argvi = 0;
05384 dXSARGS;
05385
05386 if ((items < 2) || (items > 2)) {
05387 SWIG_croak("Usage: dtn_bundle_status_report_t_receipt_ts_set(self,receipt_ts);");
05388 }
05389 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_status_report_t, 0 | 0 );
05390 if (!SWIG_IsOK(res1)) {
05391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_status_report_t_receipt_ts_set" "', argument " "1"" of type '" "dtn_bundle_status_report_t *""'");
05392 }
05393 arg1 = reinterpret_cast< dtn_bundle_status_report_t * >(argp1);
05394 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_timestamp_t, 0 | 0 );
05395 if (!SWIG_IsOK(res2)) {
05396 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_status_report_t_receipt_ts_set" "', argument " "2"" of type '" "dtn_timestamp_t *""'");
05397 }
05398 arg2 = reinterpret_cast< dtn_timestamp_t * >(argp2);
05399 if (arg1) (arg1)->receipt_ts = *arg2;
05400
05401
05402
05403
05404 XSRETURN(argvi);
05405 fail:
05406
05407
05408 SWIG_croak_null();
05409 }
05410 }
05411
05412
05413 XS(_wrap_dtn_bundle_status_report_t_receipt_ts_get) {
05414 {
05415 dtn_bundle_status_report_t *arg1 = (dtn_bundle_status_report_t *) 0 ;
05416 dtn_timestamp_t *result = 0 ;
05417 void *argp1 = 0 ;
05418 int res1 = 0 ;
05419 int argvi = 0;
05420 dXSARGS;
05421
05422 if ((items < 1) || (items > 1)) {
05423 SWIG_croak("Usage: dtn_bundle_status_report_t_receipt_ts_get(self);");
05424 }
05425 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_status_report_t, 0 | 0 );
05426 if (!SWIG_IsOK(res1)) {
05427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_status_report_t_receipt_ts_get" "', argument " "1"" of type '" "dtn_bundle_status_report_t *""'");
05428 }
05429 arg1 = reinterpret_cast< dtn_bundle_status_report_t * >(argp1);
05430 result = (dtn_timestamp_t *)& ((arg1)->receipt_ts);
05431 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_timestamp_t, 0 | SWIG_SHADOW); argvi++ ;
05432
05433 XSRETURN(argvi);
05434 fail:
05435
05436 SWIG_croak_null();
05437 }
05438 }
05439
05440
05441 XS(_wrap_dtn_bundle_status_report_t_custody_ts_set) {
05442 {
05443 dtn_bundle_status_report_t *arg1 = (dtn_bundle_status_report_t *) 0 ;
05444 dtn_timestamp_t *arg2 = (dtn_timestamp_t *) 0 ;
05445 void *argp1 = 0 ;
05446 int res1 = 0 ;
05447 void *argp2 = 0 ;
05448 int res2 = 0 ;
05449 int argvi = 0;
05450 dXSARGS;
05451
05452 if ((items < 2) || (items > 2)) {
05453 SWIG_croak("Usage: dtn_bundle_status_report_t_custody_ts_set(self,custody_ts);");
05454 }
05455 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_status_report_t, 0 | 0 );
05456 if (!SWIG_IsOK(res1)) {
05457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_status_report_t_custody_ts_set" "', argument " "1"" of type '" "dtn_bundle_status_report_t *""'");
05458 }
05459 arg1 = reinterpret_cast< dtn_bundle_status_report_t * >(argp1);
05460 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_timestamp_t, 0 | 0 );
05461 if (!SWIG_IsOK(res2)) {
05462 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_status_report_t_custody_ts_set" "', argument " "2"" of type '" "dtn_timestamp_t *""'");
05463 }
05464 arg2 = reinterpret_cast< dtn_timestamp_t * >(argp2);
05465 if (arg1) (arg1)->custody_ts = *arg2;
05466
05467
05468
05469
05470 XSRETURN(argvi);
05471 fail:
05472
05473
05474 SWIG_croak_null();
05475 }
05476 }
05477
05478
05479 XS(_wrap_dtn_bundle_status_report_t_custody_ts_get) {
05480 {
05481 dtn_bundle_status_report_t *arg1 = (dtn_bundle_status_report_t *) 0 ;
05482 dtn_timestamp_t *result = 0 ;
05483 void *argp1 = 0 ;
05484 int res1 = 0 ;
05485 int argvi = 0;
05486 dXSARGS;
05487
05488 if ((items < 1) || (items > 1)) {
05489 SWIG_croak("Usage: dtn_bundle_status_report_t_custody_ts_get(self);");
05490 }
05491 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_status_report_t, 0 | 0 );
05492 if (!SWIG_IsOK(res1)) {
05493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_status_report_t_custody_ts_get" "', argument " "1"" of type '" "dtn_bundle_status_report_t *""'");
05494 }
05495 arg1 = reinterpret_cast< dtn_bundle_status_report_t * >(argp1);
05496 result = (dtn_timestamp_t *)& ((arg1)->custody_ts);
05497 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_timestamp_t, 0 | SWIG_SHADOW); argvi++ ;
05498
05499 XSRETURN(argvi);
05500 fail:
05501
05502 SWIG_croak_null();
05503 }
05504 }
05505
05506
05507 XS(_wrap_dtn_bundle_status_report_t_forwarding_ts_set) {
05508 {
05509 dtn_bundle_status_report_t *arg1 = (dtn_bundle_status_report_t *) 0 ;
05510 dtn_timestamp_t *arg2 = (dtn_timestamp_t *) 0 ;
05511 void *argp1 = 0 ;
05512 int res1 = 0 ;
05513 void *argp2 = 0 ;
05514 int res2 = 0 ;
05515 int argvi = 0;
05516 dXSARGS;
05517
05518 if ((items < 2) || (items > 2)) {
05519 SWIG_croak("Usage: dtn_bundle_status_report_t_forwarding_ts_set(self,forwarding_ts);");
05520 }
05521 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_status_report_t, 0 | 0 );
05522 if (!SWIG_IsOK(res1)) {
05523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_status_report_t_forwarding_ts_set" "', argument " "1"" of type '" "dtn_bundle_status_report_t *""'");
05524 }
05525 arg1 = reinterpret_cast< dtn_bundle_status_report_t * >(argp1);
05526 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_timestamp_t, 0 | 0 );
05527 if (!SWIG_IsOK(res2)) {
05528 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_status_report_t_forwarding_ts_set" "', argument " "2"" of type '" "dtn_timestamp_t *""'");
05529 }
05530 arg2 = reinterpret_cast< dtn_timestamp_t * >(argp2);
05531 if (arg1) (arg1)->forwarding_ts = *arg2;
05532
05533
05534
05535
05536 XSRETURN(argvi);
05537 fail:
05538
05539
05540 SWIG_croak_null();
05541 }
05542 }
05543
05544
05545 XS(_wrap_dtn_bundle_status_report_t_forwarding_ts_get) {
05546 {
05547 dtn_bundle_status_report_t *arg1 = (dtn_bundle_status_report_t *) 0 ;
05548 dtn_timestamp_t *result = 0 ;
05549 void *argp1 = 0 ;
05550 int res1 = 0 ;
05551 int argvi = 0;
05552 dXSARGS;
05553
05554 if ((items < 1) || (items > 1)) {
05555 SWIG_croak("Usage: dtn_bundle_status_report_t_forwarding_ts_get(self);");
05556 }
05557 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_status_report_t, 0 | 0 );
05558 if (!SWIG_IsOK(res1)) {
05559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_status_report_t_forwarding_ts_get" "', argument " "1"" of type '" "dtn_bundle_status_report_t *""'");
05560 }
05561 arg1 = reinterpret_cast< dtn_bundle_status_report_t * >(argp1);
05562 result = (dtn_timestamp_t *)& ((arg1)->forwarding_ts);
05563 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_timestamp_t, 0 | SWIG_SHADOW); argvi++ ;
05564
05565 XSRETURN(argvi);
05566 fail:
05567
05568 SWIG_croak_null();
05569 }
05570 }
05571
05572
05573 XS(_wrap_dtn_bundle_status_report_t_delivery_ts_set) {
05574 {
05575 dtn_bundle_status_report_t *arg1 = (dtn_bundle_status_report_t *) 0 ;
05576 dtn_timestamp_t *arg2 = (dtn_timestamp_t *) 0 ;
05577 void *argp1 = 0 ;
05578 int res1 = 0 ;
05579 void *argp2 = 0 ;
05580 int res2 = 0 ;
05581 int argvi = 0;
05582 dXSARGS;
05583
05584 if ((items < 2) || (items > 2)) {
05585 SWIG_croak("Usage: dtn_bundle_status_report_t_delivery_ts_set(self,delivery_ts);");
05586 }
05587 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_status_report_t, 0 | 0 );
05588 if (!SWIG_IsOK(res1)) {
05589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_status_report_t_delivery_ts_set" "', argument " "1"" of type '" "dtn_bundle_status_report_t *""'");
05590 }
05591 arg1 = reinterpret_cast< dtn_bundle_status_report_t * >(argp1);
05592 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_timestamp_t, 0 | 0 );
05593 if (!SWIG_IsOK(res2)) {
05594 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_status_report_t_delivery_ts_set" "', argument " "2"" of type '" "dtn_timestamp_t *""'");
05595 }
05596 arg2 = reinterpret_cast< dtn_timestamp_t * >(argp2);
05597 if (arg1) (arg1)->delivery_ts = *arg2;
05598
05599
05600
05601
05602 XSRETURN(argvi);
05603 fail:
05604
05605
05606 SWIG_croak_null();
05607 }
05608 }
05609
05610
05611 XS(_wrap_dtn_bundle_status_report_t_delivery_ts_get) {
05612 {
05613 dtn_bundle_status_report_t *arg1 = (dtn_bundle_status_report_t *) 0 ;
05614 dtn_timestamp_t *result = 0 ;
05615 void *argp1 = 0 ;
05616 int res1 = 0 ;
05617 int argvi = 0;
05618 dXSARGS;
05619
05620 if ((items < 1) || (items > 1)) {
05621 SWIG_croak("Usage: dtn_bundle_status_report_t_delivery_ts_get(self);");
05622 }
05623 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_status_report_t, 0 | 0 );
05624 if (!SWIG_IsOK(res1)) {
05625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_status_report_t_delivery_ts_get" "', argument " "1"" of type '" "dtn_bundle_status_report_t *""'");
05626 }
05627 arg1 = reinterpret_cast< dtn_bundle_status_report_t * >(argp1);
05628 result = (dtn_timestamp_t *)& ((arg1)->delivery_ts);
05629 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_timestamp_t, 0 | SWIG_SHADOW); argvi++ ;
05630
05631 XSRETURN(argvi);
05632 fail:
05633
05634 SWIG_croak_null();
05635 }
05636 }
05637
05638
05639 XS(_wrap_dtn_bundle_status_report_t_deletion_ts_set) {
05640 {
05641 dtn_bundle_status_report_t *arg1 = (dtn_bundle_status_report_t *) 0 ;
05642 dtn_timestamp_t *arg2 = (dtn_timestamp_t *) 0 ;
05643 void *argp1 = 0 ;
05644 int res1 = 0 ;
05645 void *argp2 = 0 ;
05646 int res2 = 0 ;
05647 int argvi = 0;
05648 dXSARGS;
05649
05650 if ((items < 2) || (items > 2)) {
05651 SWIG_croak("Usage: dtn_bundle_status_report_t_deletion_ts_set(self,deletion_ts);");
05652 }
05653 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_status_report_t, 0 | 0 );
05654 if (!SWIG_IsOK(res1)) {
05655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_status_report_t_deletion_ts_set" "', argument " "1"" of type '" "dtn_bundle_status_report_t *""'");
05656 }
05657 arg1 = reinterpret_cast< dtn_bundle_status_report_t * >(argp1);
05658 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_timestamp_t, 0 | 0 );
05659 if (!SWIG_IsOK(res2)) {
05660 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_status_report_t_deletion_ts_set" "', argument " "2"" of type '" "dtn_timestamp_t *""'");
05661 }
05662 arg2 = reinterpret_cast< dtn_timestamp_t * >(argp2);
05663 if (arg1) (arg1)->deletion_ts = *arg2;
05664
05665
05666
05667
05668 XSRETURN(argvi);
05669 fail:
05670
05671
05672 SWIG_croak_null();
05673 }
05674 }
05675
05676
05677 XS(_wrap_dtn_bundle_status_report_t_deletion_ts_get) {
05678 {
05679 dtn_bundle_status_report_t *arg1 = (dtn_bundle_status_report_t *) 0 ;
05680 dtn_timestamp_t *result = 0 ;
05681 void *argp1 = 0 ;
05682 int res1 = 0 ;
05683 int argvi = 0;
05684 dXSARGS;
05685
05686 if ((items < 1) || (items > 1)) {
05687 SWIG_croak("Usage: dtn_bundle_status_report_t_deletion_ts_get(self);");
05688 }
05689 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_status_report_t, 0 | 0 );
05690 if (!SWIG_IsOK(res1)) {
05691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_status_report_t_deletion_ts_get" "', argument " "1"" of type '" "dtn_bundle_status_report_t *""'");
05692 }
05693 arg1 = reinterpret_cast< dtn_bundle_status_report_t * >(argp1);
05694 result = (dtn_timestamp_t *)& ((arg1)->deletion_ts);
05695 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_timestamp_t, 0 | SWIG_SHADOW); argvi++ ;
05696
05697 XSRETURN(argvi);
05698 fail:
05699
05700 SWIG_croak_null();
05701 }
05702 }
05703
05704
05705 XS(_wrap_dtn_bundle_status_report_t_ack_by_app_ts_set) {
05706 {
05707 dtn_bundle_status_report_t *arg1 = (dtn_bundle_status_report_t *) 0 ;
05708 dtn_timestamp_t *arg2 = (dtn_timestamp_t *) 0 ;
05709 void *argp1 = 0 ;
05710 int res1 = 0 ;
05711 void *argp2 = 0 ;
05712 int res2 = 0 ;
05713 int argvi = 0;
05714 dXSARGS;
05715
05716 if ((items < 2) || (items > 2)) {
05717 SWIG_croak("Usage: dtn_bundle_status_report_t_ack_by_app_ts_set(self,ack_by_app_ts);");
05718 }
05719 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_status_report_t, 0 | 0 );
05720 if (!SWIG_IsOK(res1)) {
05721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_status_report_t_ack_by_app_ts_set" "', argument " "1"" of type '" "dtn_bundle_status_report_t *""'");
05722 }
05723 arg1 = reinterpret_cast< dtn_bundle_status_report_t * >(argp1);
05724 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_timestamp_t, 0 | 0 );
05725 if (!SWIG_IsOK(res2)) {
05726 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_status_report_t_ack_by_app_ts_set" "', argument " "2"" of type '" "dtn_timestamp_t *""'");
05727 }
05728 arg2 = reinterpret_cast< dtn_timestamp_t * >(argp2);
05729 if (arg1) (arg1)->ack_by_app_ts = *arg2;
05730
05731
05732
05733
05734 XSRETURN(argvi);
05735 fail:
05736
05737
05738 SWIG_croak_null();
05739 }
05740 }
05741
05742
05743 XS(_wrap_dtn_bundle_status_report_t_ack_by_app_ts_get) {
05744 {
05745 dtn_bundle_status_report_t *arg1 = (dtn_bundle_status_report_t *) 0 ;
05746 dtn_timestamp_t *result = 0 ;
05747 void *argp1 = 0 ;
05748 int res1 = 0 ;
05749 int argvi = 0;
05750 dXSARGS;
05751
05752 if ((items < 1) || (items > 1)) {
05753 SWIG_croak("Usage: dtn_bundle_status_report_t_ack_by_app_ts_get(self);");
05754 }
05755 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_status_report_t, 0 | 0 );
05756 if (!SWIG_IsOK(res1)) {
05757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_status_report_t_ack_by_app_ts_get" "', argument " "1"" of type '" "dtn_bundle_status_report_t *""'");
05758 }
05759 arg1 = reinterpret_cast< dtn_bundle_status_report_t * >(argp1);
05760 result = (dtn_timestamp_t *)& ((arg1)->ack_by_app_ts);
05761 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_timestamp_t, 0 | SWIG_SHADOW); argvi++ ;
05762
05763 XSRETURN(argvi);
05764 fail:
05765
05766 SWIG_croak_null();
05767 }
05768 }
05769
05770
05771 XS(_wrap_new_dtn_bundle_status_report_t) {
05772 {
05773 dtn_bundle_status_report_t *result = 0 ;
05774 int argvi = 0;
05775 dXSARGS;
05776
05777 if ((items < 0) || (items > 0)) {
05778 SWIG_croak("Usage: new_dtn_bundle_status_report_t();");
05779 }
05780 result = (dtn_bundle_status_report_t *)new dtn_bundle_status_report_t();
05781 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_bundle_status_report_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
05782 XSRETURN(argvi);
05783 fail:
05784 SWIG_croak_null();
05785 }
05786 }
05787
05788
05789 XS(_wrap_delete_dtn_bundle_status_report_t) {
05790 {
05791 dtn_bundle_status_report_t *arg1 = (dtn_bundle_status_report_t *) 0 ;
05792 void *argp1 = 0 ;
05793 int res1 = 0 ;
05794 int argvi = 0;
05795 dXSARGS;
05796
05797 if ((items < 1) || (items > 1)) {
05798 SWIG_croak("Usage: delete_dtn_bundle_status_report_t(self);");
05799 }
05800 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_status_report_t, SWIG_POINTER_DISOWN | 0 );
05801 if (!SWIG_IsOK(res1)) {
05802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dtn_bundle_status_report_t" "', argument " "1"" of type '" "dtn_bundle_status_report_t *""'");
05803 }
05804 arg1 = reinterpret_cast< dtn_bundle_status_report_t * >(argp1);
05805 delete arg1;
05806
05807
05808
05809 XSRETURN(argvi);
05810 fail:
05811
05812 SWIG_croak_null();
05813 }
05814 }
05815
05816
05817 XS(_wrap_dtn_bundle_payload_t_location_set) {
05818 {
05819 dtn_bundle_payload_t *arg1 = (dtn_bundle_payload_t *) 0 ;
05820 dtn_bundle_payload_location_t arg2 ;
05821 void *argp1 = 0 ;
05822 int res1 = 0 ;
05823 int val2 ;
05824 int ecode2 = 0 ;
05825 int argvi = 0;
05826 dXSARGS;
05827
05828 if ((items < 2) || (items > 2)) {
05829 SWIG_croak("Usage: dtn_bundle_payload_t_location_set(self,location);");
05830 }
05831 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_payload_t, 0 | 0 );
05832 if (!SWIG_IsOK(res1)) {
05833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_payload_t_location_set" "', argument " "1"" of type '" "dtn_bundle_payload_t *""'");
05834 }
05835 arg1 = reinterpret_cast< dtn_bundle_payload_t * >(argp1);
05836 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
05837 if (!SWIG_IsOK(ecode2)) {
05838 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_bundle_payload_t_location_set" "', argument " "2"" of type '" "dtn_bundle_payload_location_t""'");
05839 }
05840 arg2 = static_cast< dtn_bundle_payload_location_t >(val2);
05841 if (arg1) (arg1)->location = arg2;
05842
05843
05844
05845
05846 XSRETURN(argvi);
05847 fail:
05848
05849
05850 SWIG_croak_null();
05851 }
05852 }
05853
05854
05855 XS(_wrap_dtn_bundle_payload_t_location_get) {
05856 {
05857 dtn_bundle_payload_t *arg1 = (dtn_bundle_payload_t *) 0 ;
05858 dtn_bundle_payload_location_t result;
05859 void *argp1 = 0 ;
05860 int res1 = 0 ;
05861 int argvi = 0;
05862 dXSARGS;
05863
05864 if ((items < 1) || (items > 1)) {
05865 SWIG_croak("Usage: dtn_bundle_payload_t_location_get(self);");
05866 }
05867 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_payload_t, 0 | 0 );
05868 if (!SWIG_IsOK(res1)) {
05869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_payload_t_location_get" "', argument " "1"" of type '" "dtn_bundle_payload_t *""'");
05870 }
05871 arg1 = reinterpret_cast< dtn_bundle_payload_t * >(argp1);
05872 result = (dtn_bundle_payload_location_t) ((arg1)->location);
05873 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
05874
05875 XSRETURN(argvi);
05876 fail:
05877
05878 SWIG_croak_null();
05879 }
05880 }
05881
05882
05883 XS(_wrap_dtn_bundle_payload_t_status_report_set) {
05884 {
05885 dtn_bundle_payload_t *arg1 = (dtn_bundle_payload_t *) 0 ;
05886 dtn_bundle_status_report_t *arg2 = (dtn_bundle_status_report_t *) 0 ;
05887 void *argp1 = 0 ;
05888 int res1 = 0 ;
05889 void *argp2 = 0 ;
05890 int res2 = 0 ;
05891 int argvi = 0;
05892 dXSARGS;
05893
05894 if ((items < 2) || (items > 2)) {
05895 SWIG_croak("Usage: dtn_bundle_payload_t_status_report_set(self,status_report);");
05896 }
05897 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_payload_t, 0 | 0 );
05898 if (!SWIG_IsOK(res1)) {
05899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_payload_t_status_report_set" "', argument " "1"" of type '" "dtn_bundle_payload_t *""'");
05900 }
05901 arg1 = reinterpret_cast< dtn_bundle_payload_t * >(argp1);
05902 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_bundle_status_report_t, SWIG_POINTER_DISOWN | 0 );
05903 if (!SWIG_IsOK(res2)) {
05904 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_payload_t_status_report_set" "', argument " "2"" of type '" "dtn_bundle_status_report_t *""'");
05905 }
05906 arg2 = reinterpret_cast< dtn_bundle_status_report_t * >(argp2);
05907 if (arg1) (arg1)->status_report = arg2;
05908
05909
05910
05911
05912 XSRETURN(argvi);
05913 fail:
05914
05915
05916 SWIG_croak_null();
05917 }
05918 }
05919
05920
05921 XS(_wrap_dtn_bundle_payload_t_status_report_get) {
05922 {
05923 dtn_bundle_payload_t *arg1 = (dtn_bundle_payload_t *) 0 ;
05924 dtn_bundle_status_report_t *result = 0 ;
05925 void *argp1 = 0 ;
05926 int res1 = 0 ;
05927 int argvi = 0;
05928 dXSARGS;
05929
05930 if ((items < 1) || (items > 1)) {
05931 SWIG_croak("Usage: dtn_bundle_payload_t_status_report_get(self);");
05932 }
05933 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_payload_t, 0 | 0 );
05934 if (!SWIG_IsOK(res1)) {
05935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_payload_t_status_report_get" "', argument " "1"" of type '" "dtn_bundle_payload_t *""'");
05936 }
05937 arg1 = reinterpret_cast< dtn_bundle_payload_t * >(argp1);
05938 result = (dtn_bundle_status_report_t *) ((arg1)->status_report);
05939 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_bundle_status_report_t, 0 | SWIG_SHADOW); argvi++ ;
05940
05941 XSRETURN(argvi);
05942 fail:
05943
05944 SWIG_croak_null();
05945 }
05946 }
05947
05948
05949 XS(_wrap_dtn_bundle_payload_t_buf_get) {
05950 {
05951 dtn_bundle_payload_t *arg1 = (dtn_bundle_payload_t *) 0 ;
05952 dtn_bundle_payload_t_buf *result = 0 ;
05953 void *argp1 = 0 ;
05954 int res1 = 0 ;
05955 int argvi = 0;
05956 dXSARGS;
05957
05958 if ((items < 1) || (items > 1)) {
05959 SWIG_croak("Usage: dtn_bundle_payload_t_buf_get(self);");
05960 }
05961 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_payload_t, 0 | 0 );
05962 if (!SWIG_IsOK(res1)) {
05963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_payload_t_buf_get" "', argument " "1"" of type '" "dtn_bundle_payload_t *""'");
05964 }
05965 arg1 = reinterpret_cast< dtn_bundle_payload_t * >(argp1);
05966 result = (dtn_bundle_payload_t_buf *)& ((arg1)->buf);
05967 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_bundle_payload_t_buf, 0 | SWIG_SHADOW); argvi++ ;
05968
05969 XSRETURN(argvi);
05970 fail:
05971
05972 SWIG_croak_null();
05973 }
05974 }
05975
05976
05977 XS(_wrap_dtn_bundle_payload_t_filename_get) {
05978 {
05979 dtn_bundle_payload_t *arg1 = (dtn_bundle_payload_t *) 0 ;
05980 dtn_bundle_payload_t_filename *result = 0 ;
05981 void *argp1 = 0 ;
05982 int res1 = 0 ;
05983 int argvi = 0;
05984 dXSARGS;
05985
05986 if ((items < 1) || (items > 1)) {
05987 SWIG_croak("Usage: dtn_bundle_payload_t_filename_get(self);");
05988 }
05989 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_payload_t, 0 | 0 );
05990 if (!SWIG_IsOK(res1)) {
05991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_payload_t_filename_get" "', argument " "1"" of type '" "dtn_bundle_payload_t *""'");
05992 }
05993 arg1 = reinterpret_cast< dtn_bundle_payload_t * >(argp1);
05994 result = (dtn_bundle_payload_t_filename *)& ((arg1)->filename);
05995 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_bundle_payload_t_filename, 0 | SWIG_SHADOW); argvi++ ;
05996
05997 XSRETURN(argvi);
05998 fail:
05999
06000 SWIG_croak_null();
06001 }
06002 }
06003
06004
06005 XS(_wrap_new_dtn_bundle_payload_t) {
06006 {
06007 dtn_bundle_payload_t *result = 0 ;
06008 int argvi = 0;
06009 dXSARGS;
06010
06011 if ((items < 0) || (items > 0)) {
06012 SWIG_croak("Usage: new_dtn_bundle_payload_t();");
06013 }
06014 result = (dtn_bundle_payload_t *)new dtn_bundle_payload_t();
06015 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_bundle_payload_t, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
06016 XSRETURN(argvi);
06017 fail:
06018 SWIG_croak_null();
06019 }
06020 }
06021
06022
06023 XS(_wrap_delete_dtn_bundle_payload_t) {
06024 {
06025 dtn_bundle_payload_t *arg1 = (dtn_bundle_payload_t *) 0 ;
06026 void *argp1 = 0 ;
06027 int res1 = 0 ;
06028 int argvi = 0;
06029 dXSARGS;
06030
06031 if ((items < 1) || (items > 1)) {
06032 SWIG_croak("Usage: delete_dtn_bundle_payload_t(self);");
06033 }
06034 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_payload_t, SWIG_POINTER_DISOWN | 0 );
06035 if (!SWIG_IsOK(res1)) {
06036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dtn_bundle_payload_t" "', argument " "1"" of type '" "dtn_bundle_payload_t *""'");
06037 }
06038 arg1 = reinterpret_cast< dtn_bundle_payload_t * >(argp1);
06039 delete arg1;
06040
06041
06042
06043 XSRETURN(argvi);
06044 fail:
06045
06046 SWIG_croak_null();
06047 }
06048 }
06049
06050
06051 XS(_wrap_dtn_bundle_payload_t_buf_buf_len_set) {
06052 {
06053 dtn_bundle_payload_t_buf *arg1 = (dtn_bundle_payload_t_buf *) 0 ;
06054 u_int arg2 ;
06055 void *argp1 = 0 ;
06056 int res1 = 0 ;
06057 void *argp2 ;
06058 int res2 = 0 ;
06059 int argvi = 0;
06060 dXSARGS;
06061
06062 if ((items < 2) || (items > 2)) {
06063 SWIG_croak("Usage: dtn_bundle_payload_t_buf_buf_len_set(self,buf_len);");
06064 }
06065 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_payload_t_buf, 0 | 0 );
06066 if (!SWIG_IsOK(res1)) {
06067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_payload_t_buf_buf_len_set" "', argument " "1"" of type '" "dtn_bundle_payload_t_buf *""'");
06068 }
06069 arg1 = reinterpret_cast< dtn_bundle_payload_t_buf * >(argp1);
06070 {
06071 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_u_int, 0 );
06072 if (!SWIG_IsOK(res2)) {
06073 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_payload_t_buf_buf_len_set" "', argument " "2"" of type '" "u_int""'");
06074 }
06075 if (!argp2) {
06076 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_bundle_payload_t_buf_buf_len_set" "', argument " "2"" of type '" "u_int""'");
06077 } else {
06078 arg2 = *(reinterpret_cast< u_int * >(argp2));
06079 }
06080 }
06081 if (arg1) (arg1)->buf_len = arg2;
06082
06083
06084
06085 XSRETURN(argvi);
06086 fail:
06087
06088 SWIG_croak_null();
06089 }
06090 }
06091
06092
06093 XS(_wrap_dtn_bundle_payload_t_buf_buf_len_get) {
06094 {
06095 dtn_bundle_payload_t_buf *arg1 = (dtn_bundle_payload_t_buf *) 0 ;
06096 u_int result;
06097 void *argp1 = 0 ;
06098 int res1 = 0 ;
06099 int argvi = 0;
06100 dXSARGS;
06101
06102 if ((items < 1) || (items > 1)) {
06103 SWIG_croak("Usage: dtn_bundle_payload_t_buf_buf_len_get(self);");
06104 }
06105 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_payload_t_buf, 0 | 0 );
06106 if (!SWIG_IsOK(res1)) {
06107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_payload_t_buf_buf_len_get" "', argument " "1"" of type '" "dtn_bundle_payload_t_buf *""'");
06108 }
06109 arg1 = reinterpret_cast< dtn_bundle_payload_t_buf * >(argp1);
06110 result = ((arg1)->buf_len);
06111 ST(argvi) = SWIG_NewPointerObj((new u_int(static_cast< const u_int& >(result))), SWIGTYPE_p_u_int, SWIG_POINTER_OWN | 0); argvi++ ;
06112
06113 XSRETURN(argvi);
06114 fail:
06115
06116 SWIG_croak_null();
06117 }
06118 }
06119
06120
06121 XS(_wrap_dtn_bundle_payload_t_buf_buf_val_set) {
06122 {
06123 dtn_bundle_payload_t_buf *arg1 = (dtn_bundle_payload_t_buf *) 0 ;
06124 char *arg2 = (char *) 0 ;
06125 void *argp1 = 0 ;
06126 int res1 = 0 ;
06127 int res2 ;
06128 char *buf2 = 0 ;
06129 int alloc2 = 0 ;
06130 int argvi = 0;
06131 dXSARGS;
06132
06133 if ((items < 2) || (items > 2)) {
06134 SWIG_croak("Usage: dtn_bundle_payload_t_buf_buf_val_set(self,buf_val);");
06135 }
06136 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_payload_t_buf, 0 | 0 );
06137 if (!SWIG_IsOK(res1)) {
06138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_payload_t_buf_buf_val_set" "', argument " "1"" of type '" "dtn_bundle_payload_t_buf *""'");
06139 }
06140 arg1 = reinterpret_cast< dtn_bundle_payload_t_buf * >(argp1);
06141 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
06142 if (!SWIG_IsOK(res2)) {
06143 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_payload_t_buf_buf_val_set" "', argument " "2"" of type '" "char *""'");
06144 }
06145 arg2 = reinterpret_cast< char * >(buf2);
06146 if (arg1->buf_val) delete[] arg1->buf_val;
06147 if (arg2) {
06148 size_t size = strlen(reinterpret_cast< const char * >(arg2)) + 1;
06149 arg1->buf_val = (char *)reinterpret_cast< char* >(memcpy((new char[size]), reinterpret_cast< const char * >(arg2), sizeof(char)*(size)));
06150 } else {
06151 arg1->buf_val = 0;
06152 }
06153
06154
06155 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
06156 XSRETURN(argvi);
06157 fail:
06158
06159 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
06160 SWIG_croak_null();
06161 }
06162 }
06163
06164
06165 XS(_wrap_dtn_bundle_payload_t_buf_buf_val_get) {
06166 {
06167 dtn_bundle_payload_t_buf *arg1 = (dtn_bundle_payload_t_buf *) 0 ;
06168 char *result = 0 ;
06169 void *argp1 = 0 ;
06170 int res1 = 0 ;
06171 int argvi = 0;
06172 dXSARGS;
06173
06174 if ((items < 1) || (items > 1)) {
06175 SWIG_croak("Usage: dtn_bundle_payload_t_buf_buf_val_get(self);");
06176 }
06177 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_payload_t_buf, 0 | 0 );
06178 if (!SWIG_IsOK(res1)) {
06179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_payload_t_buf_buf_val_get" "', argument " "1"" of type '" "dtn_bundle_payload_t_buf *""'");
06180 }
06181 arg1 = reinterpret_cast< dtn_bundle_payload_t_buf * >(argp1);
06182 result = (char *) ((arg1)->buf_val);
06183 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
06184
06185 XSRETURN(argvi);
06186 fail:
06187
06188 SWIG_croak_null();
06189 }
06190 }
06191
06192
06193 XS(_wrap_new_dtn_bundle_payload_t_buf) {
06194 {
06195 dtn_bundle_payload_t_buf *result = 0 ;
06196 int argvi = 0;
06197 dXSARGS;
06198
06199 if ((items < 0) || (items > 0)) {
06200 SWIG_croak("Usage: new_dtn_bundle_payload_t_buf();");
06201 }
06202 result = (dtn_bundle_payload_t_buf *)new dtn_bundle_payload_t_buf();
06203 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_bundle_payload_t_buf, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
06204 XSRETURN(argvi);
06205 fail:
06206 SWIG_croak_null();
06207 }
06208 }
06209
06210
06211 XS(_wrap_delete_dtn_bundle_payload_t_buf) {
06212 {
06213 dtn_bundle_payload_t_buf *arg1 = (dtn_bundle_payload_t_buf *) 0 ;
06214 void *argp1 = 0 ;
06215 int res1 = 0 ;
06216 int argvi = 0;
06217 dXSARGS;
06218
06219 if ((items < 1) || (items > 1)) {
06220 SWIG_croak("Usage: delete_dtn_bundle_payload_t_buf(self);");
06221 }
06222 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_payload_t_buf, SWIG_POINTER_DISOWN | 0 );
06223 if (!SWIG_IsOK(res1)) {
06224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dtn_bundle_payload_t_buf" "', argument " "1"" of type '" "dtn_bundle_payload_t_buf *""'");
06225 }
06226 arg1 = reinterpret_cast< dtn_bundle_payload_t_buf * >(argp1);
06227 delete arg1;
06228
06229
06230
06231 XSRETURN(argvi);
06232 fail:
06233
06234 SWIG_croak_null();
06235 }
06236 }
06237
06238
06239 XS(_wrap_dtn_bundle_payload_t_filename_filename_len_set) {
06240 {
06241 dtn_bundle_payload_t_filename *arg1 = (dtn_bundle_payload_t_filename *) 0 ;
06242 u_int arg2 ;
06243 void *argp1 = 0 ;
06244 int res1 = 0 ;
06245 void *argp2 ;
06246 int res2 = 0 ;
06247 int argvi = 0;
06248 dXSARGS;
06249
06250 if ((items < 2) || (items > 2)) {
06251 SWIG_croak("Usage: dtn_bundle_payload_t_filename_filename_len_set(self,filename_len);");
06252 }
06253 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_payload_t_filename, 0 | 0 );
06254 if (!SWIG_IsOK(res1)) {
06255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_payload_t_filename_filename_len_set" "', argument " "1"" of type '" "dtn_bundle_payload_t_filename *""'");
06256 }
06257 arg1 = reinterpret_cast< dtn_bundle_payload_t_filename * >(argp1);
06258 {
06259 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_u_int, 0 );
06260 if (!SWIG_IsOK(res2)) {
06261 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_payload_t_filename_filename_len_set" "', argument " "2"" of type '" "u_int""'");
06262 }
06263 if (!argp2) {
06264 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_bundle_payload_t_filename_filename_len_set" "', argument " "2"" of type '" "u_int""'");
06265 } else {
06266 arg2 = *(reinterpret_cast< u_int * >(argp2));
06267 }
06268 }
06269 if (arg1) (arg1)->filename_len = arg2;
06270
06271
06272
06273 XSRETURN(argvi);
06274 fail:
06275
06276 SWIG_croak_null();
06277 }
06278 }
06279
06280
06281 XS(_wrap_dtn_bundle_payload_t_filename_filename_len_get) {
06282 {
06283 dtn_bundle_payload_t_filename *arg1 = (dtn_bundle_payload_t_filename *) 0 ;
06284 u_int result;
06285 void *argp1 = 0 ;
06286 int res1 = 0 ;
06287 int argvi = 0;
06288 dXSARGS;
06289
06290 if ((items < 1) || (items > 1)) {
06291 SWIG_croak("Usage: dtn_bundle_payload_t_filename_filename_len_get(self);");
06292 }
06293 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_payload_t_filename, 0 | 0 );
06294 if (!SWIG_IsOK(res1)) {
06295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_payload_t_filename_filename_len_get" "', argument " "1"" of type '" "dtn_bundle_payload_t_filename *""'");
06296 }
06297 arg1 = reinterpret_cast< dtn_bundle_payload_t_filename * >(argp1);
06298 result = ((arg1)->filename_len);
06299 ST(argvi) = SWIG_NewPointerObj((new u_int(static_cast< const u_int& >(result))), SWIGTYPE_p_u_int, SWIG_POINTER_OWN | 0); argvi++ ;
06300
06301 XSRETURN(argvi);
06302 fail:
06303
06304 SWIG_croak_null();
06305 }
06306 }
06307
06308
06309 XS(_wrap_dtn_bundle_payload_t_filename_filename_val_set) {
06310 {
06311 dtn_bundle_payload_t_filename *arg1 = (dtn_bundle_payload_t_filename *) 0 ;
06312 char *arg2 = (char *) 0 ;
06313 void *argp1 = 0 ;
06314 int res1 = 0 ;
06315 int res2 ;
06316 char *buf2 = 0 ;
06317 int alloc2 = 0 ;
06318 int argvi = 0;
06319 dXSARGS;
06320
06321 if ((items < 2) || (items > 2)) {
06322 SWIG_croak("Usage: dtn_bundle_payload_t_filename_filename_val_set(self,filename_val);");
06323 }
06324 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_payload_t_filename, 0 | 0 );
06325 if (!SWIG_IsOK(res1)) {
06326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_payload_t_filename_filename_val_set" "', argument " "1"" of type '" "dtn_bundle_payload_t_filename *""'");
06327 }
06328 arg1 = reinterpret_cast< dtn_bundle_payload_t_filename * >(argp1);
06329 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
06330 if (!SWIG_IsOK(res2)) {
06331 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_payload_t_filename_filename_val_set" "', argument " "2"" of type '" "char *""'");
06332 }
06333 arg2 = reinterpret_cast< char * >(buf2);
06334 if (arg1->filename_val) delete[] arg1->filename_val;
06335 if (arg2) {
06336 size_t size = strlen(reinterpret_cast< const char * >(arg2)) + 1;
06337 arg1->filename_val = (char *)reinterpret_cast< char* >(memcpy((new char[size]), reinterpret_cast< const char * >(arg2), sizeof(char)*(size)));
06338 } else {
06339 arg1->filename_val = 0;
06340 }
06341
06342
06343 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
06344 XSRETURN(argvi);
06345 fail:
06346
06347 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
06348 SWIG_croak_null();
06349 }
06350 }
06351
06352
06353 XS(_wrap_dtn_bundle_payload_t_filename_filename_val_get) {
06354 {
06355 dtn_bundle_payload_t_filename *arg1 = (dtn_bundle_payload_t_filename *) 0 ;
06356 char *result = 0 ;
06357 void *argp1 = 0 ;
06358 int res1 = 0 ;
06359 int argvi = 0;
06360 dXSARGS;
06361
06362 if ((items < 1) || (items > 1)) {
06363 SWIG_croak("Usage: dtn_bundle_payload_t_filename_filename_val_get(self);");
06364 }
06365 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_payload_t_filename, 0 | 0 );
06366 if (!SWIG_IsOK(res1)) {
06367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_payload_t_filename_filename_val_get" "', argument " "1"" of type '" "dtn_bundle_payload_t_filename *""'");
06368 }
06369 arg1 = reinterpret_cast< dtn_bundle_payload_t_filename * >(argp1);
06370 result = (char *) ((arg1)->filename_val);
06371 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
06372
06373 XSRETURN(argvi);
06374 fail:
06375
06376 SWIG_croak_null();
06377 }
06378 }
06379
06380
06381 XS(_wrap_new_dtn_bundle_payload_t_filename) {
06382 {
06383 dtn_bundle_payload_t_filename *result = 0 ;
06384 int argvi = 0;
06385 dXSARGS;
06386
06387 if ((items < 0) || (items > 0)) {
06388 SWIG_croak("Usage: new_dtn_bundle_payload_t_filename();");
06389 }
06390 result = (dtn_bundle_payload_t_filename *)new dtn_bundle_payload_t_filename();
06391 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_bundle_payload_t_filename, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
06392 XSRETURN(argvi);
06393 fail:
06394 SWIG_croak_null();
06395 }
06396 }
06397
06398
06399 XS(_wrap_delete_dtn_bundle_payload_t_filename) {
06400 {
06401 dtn_bundle_payload_t_filename *arg1 = (dtn_bundle_payload_t_filename *) 0 ;
06402 void *argp1 = 0 ;
06403 int res1 = 0 ;
06404 int argvi = 0;
06405 dXSARGS;
06406
06407 if ((items < 1) || (items > 1)) {
06408 SWIG_croak("Usage: delete_dtn_bundle_payload_t_filename(self);");
06409 }
06410 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_payload_t_filename, SWIG_POINTER_DISOWN | 0 );
06411 if (!SWIG_IsOK(res1)) {
06412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dtn_bundle_payload_t_filename" "', argument " "1"" of type '" "dtn_bundle_payload_t_filename *""'");
06413 }
06414 arg1 = reinterpret_cast< dtn_bundle_payload_t_filename * >(argp1);
06415 delete arg1;
06416
06417
06418
06419 XSRETURN(argvi);
06420 fail:
06421
06422 SWIG_croak_null();
06423 }
06424 }
06425
06426
06427 XS(_wrap_xdr_dtn_endpoint_id_t) {
06428 {
06429 XDR *arg1 = (XDR *) 0 ;
06430 dtn_endpoint_id_t *arg2 = (dtn_endpoint_id_t *) 0 ;
06431 bool_t result;
06432 void *argp1 = 0 ;
06433 int res1 = 0 ;
06434 void *argp2 = 0 ;
06435 int res2 = 0 ;
06436 int argvi = 0;
06437 dXSARGS;
06438
06439 if ((items < 2) || (items > 2)) {
06440 SWIG_croak("Usage: xdr_dtn_endpoint_id_t(XDR *,dtn_endpoint_id_t *);");
06441 }
06442 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XDR, 0 | 0 );
06443 if (!SWIG_IsOK(res1)) {
06444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "xdr_dtn_endpoint_id_t" "', argument " "1"" of type '" "XDR *""'");
06445 }
06446 arg1 = reinterpret_cast< XDR * >(argp1);
06447 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_endpoint_id_t, 0 | 0 );
06448 if (!SWIG_IsOK(res2)) {
06449 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "xdr_dtn_endpoint_id_t" "', argument " "2"" of type '" "dtn_endpoint_id_t *""'");
06450 }
06451 arg2 = reinterpret_cast< dtn_endpoint_id_t * >(argp2);
06452 result = xdr_dtn_endpoint_id_t(arg1,arg2);
06453 ST(argvi) = SWIG_NewPointerObj((new bool_t(static_cast< const bool_t& >(result))), SWIGTYPE_p_bool_t, SWIG_POINTER_OWN | 0); argvi++ ;
06454
06455
06456 XSRETURN(argvi);
06457 fail:
06458
06459
06460 SWIG_croak_null();
06461 }
06462 }
06463
06464
06465 XS(_wrap_xdr_dtn_reg_id_t) {
06466 {
06467 XDR *arg1 = (XDR *) 0 ;
06468 dtn_reg_id_t *arg2 = (dtn_reg_id_t *) 0 ;
06469 bool_t result;
06470 void *argp1 = 0 ;
06471 int res1 = 0 ;
06472 void *argp2 = 0 ;
06473 int res2 = 0 ;
06474 int argvi = 0;
06475 dXSARGS;
06476
06477 if ((items < 2) || (items > 2)) {
06478 SWIG_croak("Usage: xdr_dtn_reg_id_t(XDR *,dtn_reg_id_t *);");
06479 }
06480 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XDR, 0 | 0 );
06481 if (!SWIG_IsOK(res1)) {
06482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "xdr_dtn_reg_id_t" "', argument " "1"" of type '" "XDR *""'");
06483 }
06484 arg1 = reinterpret_cast< XDR * >(argp1);
06485 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_u_int, 0 | 0 );
06486 if (!SWIG_IsOK(res2)) {
06487 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "xdr_dtn_reg_id_t" "', argument " "2"" of type '" "dtn_reg_id_t *""'");
06488 }
06489 arg2 = reinterpret_cast< dtn_reg_id_t * >(argp2);
06490 result = xdr_dtn_reg_id_t(arg1,arg2);
06491 ST(argvi) = SWIG_NewPointerObj((new bool_t(static_cast< const bool_t& >(result))), SWIGTYPE_p_bool_t, SWIG_POINTER_OWN | 0); argvi++ ;
06492
06493
06494 XSRETURN(argvi);
06495 fail:
06496
06497
06498 SWIG_croak_null();
06499 }
06500 }
06501
06502
06503 XS(_wrap_xdr_dtn_timeval_t) {
06504 {
06505 XDR *arg1 = (XDR *) 0 ;
06506 dtn_timeval_t *arg2 = (dtn_timeval_t *) 0 ;
06507 bool_t result;
06508 void *argp1 = 0 ;
06509 int res1 = 0 ;
06510 void *argp2 = 0 ;
06511 int res2 = 0 ;
06512 int argvi = 0;
06513 dXSARGS;
06514
06515 if ((items < 2) || (items > 2)) {
06516 SWIG_croak("Usage: xdr_dtn_timeval_t(XDR *,dtn_timeval_t *);");
06517 }
06518 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XDR, 0 | 0 );
06519 if (!SWIG_IsOK(res1)) {
06520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "xdr_dtn_timeval_t" "', argument " "1"" of type '" "XDR *""'");
06521 }
06522 arg1 = reinterpret_cast< XDR * >(argp1);
06523 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_u_int, 0 | 0 );
06524 if (!SWIG_IsOK(res2)) {
06525 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "xdr_dtn_timeval_t" "', argument " "2"" of type '" "dtn_timeval_t *""'");
06526 }
06527 arg2 = reinterpret_cast< dtn_timeval_t * >(argp2);
06528 result = xdr_dtn_timeval_t(arg1,arg2);
06529 ST(argvi) = SWIG_NewPointerObj((new bool_t(static_cast< const bool_t& >(result))), SWIGTYPE_p_bool_t, SWIG_POINTER_OWN | 0); argvi++ ;
06530
06531
06532 XSRETURN(argvi);
06533 fail:
06534
06535
06536 SWIG_croak_null();
06537 }
06538 }
06539
06540
06541 XS(_wrap_xdr_dtn_timestamp_t) {
06542 {
06543 XDR *arg1 = (XDR *) 0 ;
06544 dtn_timestamp_t *arg2 = (dtn_timestamp_t *) 0 ;
06545 bool_t result;
06546 void *argp1 = 0 ;
06547 int res1 = 0 ;
06548 void *argp2 = 0 ;
06549 int res2 = 0 ;
06550 int argvi = 0;
06551 dXSARGS;
06552
06553 if ((items < 2) || (items > 2)) {
06554 SWIG_croak("Usage: xdr_dtn_timestamp_t(XDR *,dtn_timestamp_t *);");
06555 }
06556 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XDR, 0 | 0 );
06557 if (!SWIG_IsOK(res1)) {
06558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "xdr_dtn_timestamp_t" "', argument " "1"" of type '" "XDR *""'");
06559 }
06560 arg1 = reinterpret_cast< XDR * >(argp1);
06561 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_timestamp_t, 0 | 0 );
06562 if (!SWIG_IsOK(res2)) {
06563 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "xdr_dtn_timestamp_t" "', argument " "2"" of type '" "dtn_timestamp_t *""'");
06564 }
06565 arg2 = reinterpret_cast< dtn_timestamp_t * >(argp2);
06566 result = xdr_dtn_timestamp_t(arg1,arg2);
06567 ST(argvi) = SWIG_NewPointerObj((new bool_t(static_cast< const bool_t& >(result))), SWIGTYPE_p_bool_t, SWIG_POINTER_OWN | 0); argvi++ ;
06568
06569
06570 XSRETURN(argvi);
06571 fail:
06572
06573
06574 SWIG_croak_null();
06575 }
06576 }
06577
06578
06579 XS(_wrap_xdr_dtn_service_tag_t) {
06580 {
06581 XDR *arg1 = (XDR *) 0 ;
06582 dtn_service_tag_t *arg2 = (dtn_service_tag_t *) 0 ;
06583 bool_t result;
06584 void *argp1 = 0 ;
06585 int res1 = 0 ;
06586 void *argp2 = 0 ;
06587 int res2 = 0 ;
06588 int argvi = 0;
06589 dXSARGS;
06590
06591 if ((items < 2) || (items > 2)) {
06592 SWIG_croak("Usage: xdr_dtn_service_tag_t(XDR *,dtn_service_tag_t *);");
06593 }
06594 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XDR, 0 | 0 );
06595 if (!SWIG_IsOK(res1)) {
06596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "xdr_dtn_service_tag_t" "', argument " "1"" of type '" "XDR *""'");
06597 }
06598 arg1 = reinterpret_cast< XDR * >(argp1);
06599 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_service_tag_t, 0 | 0 );
06600 if (!SWIG_IsOK(res2)) {
06601 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "xdr_dtn_service_tag_t" "', argument " "2"" of type '" "dtn_service_tag_t *""'");
06602 }
06603 arg2 = reinterpret_cast< dtn_service_tag_t * >(argp2);
06604 result = xdr_dtn_service_tag_t(arg1,arg2);
06605 ST(argvi) = SWIG_NewPointerObj((new bool_t(static_cast< const bool_t& >(result))), SWIGTYPE_p_bool_t, SWIG_POINTER_OWN | 0); argvi++ ;
06606
06607
06608 XSRETURN(argvi);
06609 fail:
06610
06611
06612 SWIG_croak_null();
06613 }
06614 }
06615
06616
06617 XS(_wrap_xdr_dtn_reg_flags_t) {
06618 {
06619 XDR *arg1 = (XDR *) 0 ;
06620 dtn_reg_flags_t *arg2 = (dtn_reg_flags_t *) 0 ;
06621 bool_t result;
06622 void *argp1 = 0 ;
06623 int res1 = 0 ;
06624 void *argp2 = 0 ;
06625 int res2 = 0 ;
06626 int argvi = 0;
06627 dXSARGS;
06628
06629 if ((items < 2) || (items > 2)) {
06630 SWIG_croak("Usage: xdr_dtn_reg_flags_t(XDR *,dtn_reg_flags_t *);");
06631 }
06632 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XDR, 0 | 0 );
06633 if (!SWIG_IsOK(res1)) {
06634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "xdr_dtn_reg_flags_t" "', argument " "1"" of type '" "XDR *""'");
06635 }
06636 arg1 = reinterpret_cast< XDR * >(argp1);
06637 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_reg_flags_t, 0 | 0 );
06638 if (!SWIG_IsOK(res2)) {
06639 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "xdr_dtn_reg_flags_t" "', argument " "2"" of type '" "dtn_reg_flags_t *""'");
06640 }
06641 arg2 = reinterpret_cast< dtn_reg_flags_t * >(argp2);
06642 result = xdr_dtn_reg_flags_t(arg1,arg2);
06643 ST(argvi) = SWIG_NewPointerObj((new bool_t(static_cast< const bool_t& >(result))), SWIGTYPE_p_bool_t, SWIG_POINTER_OWN | 0); argvi++ ;
06644
06645
06646 XSRETURN(argvi);
06647 fail:
06648
06649
06650 SWIG_croak_null();
06651 }
06652 }
06653
06654
06655 XS(_wrap_xdr_dtn_reg_info_t) {
06656 {
06657 XDR *arg1 = (XDR *) 0 ;
06658 dtn_reg_info_t *arg2 = (dtn_reg_info_t *) 0 ;
06659 bool_t result;
06660 void *argp1 = 0 ;
06661 int res1 = 0 ;
06662 void *argp2 = 0 ;
06663 int res2 = 0 ;
06664 int argvi = 0;
06665 dXSARGS;
06666
06667 if ((items < 2) || (items > 2)) {
06668 SWIG_croak("Usage: xdr_dtn_reg_info_t(XDR *,dtn_reg_info_t *);");
06669 }
06670 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XDR, 0 | 0 );
06671 if (!SWIG_IsOK(res1)) {
06672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "xdr_dtn_reg_info_t" "', argument " "1"" of type '" "XDR *""'");
06673 }
06674 arg1 = reinterpret_cast< XDR * >(argp1);
06675 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_reg_info_t, 0 | 0 );
06676 if (!SWIG_IsOK(res2)) {
06677 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "xdr_dtn_reg_info_t" "', argument " "2"" of type '" "dtn_reg_info_t *""'");
06678 }
06679 arg2 = reinterpret_cast< dtn_reg_info_t * >(argp2);
06680 result = xdr_dtn_reg_info_t(arg1,arg2);
06681 ST(argvi) = SWIG_NewPointerObj((new bool_t(static_cast< const bool_t& >(result))), SWIGTYPE_p_bool_t, SWIG_POINTER_OWN | 0); argvi++ ;
06682
06683
06684 XSRETURN(argvi);
06685 fail:
06686
06687
06688 SWIG_croak_null();
06689 }
06690 }
06691
06692
06693 XS(_wrap_xdr_dtn_bundle_priority_t) {
06694 {
06695 XDR *arg1 = (XDR *) 0 ;
06696 dtn_bundle_priority_t *arg2 = (dtn_bundle_priority_t *) 0 ;
06697 bool_t result;
06698 void *argp1 = 0 ;
06699 int res1 = 0 ;
06700 void *argp2 = 0 ;
06701 int res2 = 0 ;
06702 int argvi = 0;
06703 dXSARGS;
06704
06705 if ((items < 2) || (items > 2)) {
06706 SWIG_croak("Usage: xdr_dtn_bundle_priority_t(XDR *,dtn_bundle_priority_t *);");
06707 }
06708 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XDR, 0 | 0 );
06709 if (!SWIG_IsOK(res1)) {
06710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "xdr_dtn_bundle_priority_t" "', argument " "1"" of type '" "XDR *""'");
06711 }
06712 arg1 = reinterpret_cast< XDR * >(argp1);
06713 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_bundle_priority_t, 0 | 0 );
06714 if (!SWIG_IsOK(res2)) {
06715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "xdr_dtn_bundle_priority_t" "', argument " "2"" of type '" "dtn_bundle_priority_t *""'");
06716 }
06717 arg2 = reinterpret_cast< dtn_bundle_priority_t * >(argp2);
06718 result = xdr_dtn_bundle_priority_t(arg1,arg2);
06719 ST(argvi) = SWIG_NewPointerObj((new bool_t(static_cast< const bool_t& >(result))), SWIGTYPE_p_bool_t, SWIG_POINTER_OWN | 0); argvi++ ;
06720
06721
06722 XSRETURN(argvi);
06723 fail:
06724
06725
06726 SWIG_croak_null();
06727 }
06728 }
06729
06730
06731 XS(_wrap_xdr_dtn_bundle_delivery_opts_t) {
06732 {
06733 XDR *arg1 = (XDR *) 0 ;
06734 dtn_bundle_delivery_opts_t *arg2 = (dtn_bundle_delivery_opts_t *) 0 ;
06735 bool_t result;
06736 void *argp1 = 0 ;
06737 int res1 = 0 ;
06738 void *argp2 = 0 ;
06739 int res2 = 0 ;
06740 int argvi = 0;
06741 dXSARGS;
06742
06743 if ((items < 2) || (items > 2)) {
06744 SWIG_croak("Usage: xdr_dtn_bundle_delivery_opts_t(XDR *,dtn_bundle_delivery_opts_t *);");
06745 }
06746 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XDR, 0 | 0 );
06747 if (!SWIG_IsOK(res1)) {
06748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "xdr_dtn_bundle_delivery_opts_t" "', argument " "1"" of type '" "XDR *""'");
06749 }
06750 arg1 = reinterpret_cast< XDR * >(argp1);
06751 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_bundle_delivery_opts_t, 0 | 0 );
06752 if (!SWIG_IsOK(res2)) {
06753 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "xdr_dtn_bundle_delivery_opts_t" "', argument " "2"" of type '" "dtn_bundle_delivery_opts_t *""'");
06754 }
06755 arg2 = reinterpret_cast< dtn_bundle_delivery_opts_t * >(argp2);
06756 result = xdr_dtn_bundle_delivery_opts_t(arg1,arg2);
06757 ST(argvi) = SWIG_NewPointerObj((new bool_t(static_cast< const bool_t& >(result))), SWIGTYPE_p_bool_t, SWIG_POINTER_OWN | 0); argvi++ ;
06758
06759
06760 XSRETURN(argvi);
06761 fail:
06762
06763
06764 SWIG_croak_null();
06765 }
06766 }
06767
06768
06769 XS(_wrap_xdr_dtn_extension_block_flags_t) {
06770 {
06771 XDR *arg1 = (XDR *) 0 ;
06772 dtn_extension_block_flags_t *arg2 = (dtn_extension_block_flags_t *) 0 ;
06773 bool_t result;
06774 void *argp1 = 0 ;
06775 int res1 = 0 ;
06776 void *argp2 = 0 ;
06777 int res2 = 0 ;
06778 int argvi = 0;
06779 dXSARGS;
06780
06781 if ((items < 2) || (items > 2)) {
06782 SWIG_croak("Usage: xdr_dtn_extension_block_flags_t(XDR *,dtn_extension_block_flags_t *);");
06783 }
06784 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XDR, 0 | 0 );
06785 if (!SWIG_IsOK(res1)) {
06786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "xdr_dtn_extension_block_flags_t" "', argument " "1"" of type '" "XDR *""'");
06787 }
06788 arg1 = reinterpret_cast< XDR * >(argp1);
06789 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_extension_block_flags_t, 0 | 0 );
06790 if (!SWIG_IsOK(res2)) {
06791 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "xdr_dtn_extension_block_flags_t" "', argument " "2"" of type '" "dtn_extension_block_flags_t *""'");
06792 }
06793 arg2 = reinterpret_cast< dtn_extension_block_flags_t * >(argp2);
06794 result = xdr_dtn_extension_block_flags_t(arg1,arg2);
06795 ST(argvi) = SWIG_NewPointerObj((new bool_t(static_cast< const bool_t& >(result))), SWIGTYPE_p_bool_t, SWIG_POINTER_OWN | 0); argvi++ ;
06796
06797
06798 XSRETURN(argvi);
06799 fail:
06800
06801
06802 SWIG_croak_null();
06803 }
06804 }
06805
06806
06807 XS(_wrap_xdr_dtn_extension_block_t) {
06808 {
06809 XDR *arg1 = (XDR *) 0 ;
06810 dtn_extension_block_t *arg2 = (dtn_extension_block_t *) 0 ;
06811 bool_t result;
06812 void *argp1 = 0 ;
06813 int res1 = 0 ;
06814 void *argp2 = 0 ;
06815 int res2 = 0 ;
06816 int argvi = 0;
06817 dXSARGS;
06818
06819 if ((items < 2) || (items > 2)) {
06820 SWIG_croak("Usage: xdr_dtn_extension_block_t(XDR *,dtn_extension_block_t *);");
06821 }
06822 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XDR, 0 | 0 );
06823 if (!SWIG_IsOK(res1)) {
06824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "xdr_dtn_extension_block_t" "', argument " "1"" of type '" "XDR *""'");
06825 }
06826 arg1 = reinterpret_cast< XDR * >(argp1);
06827 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_extension_block_t, 0 | 0 );
06828 if (!SWIG_IsOK(res2)) {
06829 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "xdr_dtn_extension_block_t" "', argument " "2"" of type '" "dtn_extension_block_t *""'");
06830 }
06831 arg2 = reinterpret_cast< dtn_extension_block_t * >(argp2);
06832 result = xdr_dtn_extension_block_t(arg1,arg2);
06833 ST(argvi) = SWIG_NewPointerObj((new bool_t(static_cast< const bool_t& >(result))), SWIGTYPE_p_bool_t, SWIG_POINTER_OWN | 0); argvi++ ;
06834
06835
06836 XSRETURN(argvi);
06837 fail:
06838
06839
06840 SWIG_croak_null();
06841 }
06842 }
06843
06844
06845 XS(_wrap_xdr_dtn_sequence_id_t) {
06846 {
06847 XDR *arg1 = (XDR *) 0 ;
06848 dtn_sequence_id_t *arg2 = (dtn_sequence_id_t *) 0 ;
06849 bool_t result;
06850 void *argp1 = 0 ;
06851 int res1 = 0 ;
06852 void *argp2 = 0 ;
06853 int res2 = 0 ;
06854 int argvi = 0;
06855 dXSARGS;
06856
06857 if ((items < 2) || (items > 2)) {
06858 SWIG_croak("Usage: xdr_dtn_sequence_id_t(XDR *,dtn_sequence_id_t *);");
06859 }
06860 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XDR, 0 | 0 );
06861 if (!SWIG_IsOK(res1)) {
06862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "xdr_dtn_sequence_id_t" "', argument " "1"" of type '" "XDR *""'");
06863 }
06864 arg1 = reinterpret_cast< XDR * >(argp1);
06865 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_sequence_id_t, 0 | 0 );
06866 if (!SWIG_IsOK(res2)) {
06867 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "xdr_dtn_sequence_id_t" "', argument " "2"" of type '" "dtn_sequence_id_t *""'");
06868 }
06869 arg2 = reinterpret_cast< dtn_sequence_id_t * >(argp2);
06870 result = xdr_dtn_sequence_id_t(arg1,arg2);
06871 ST(argvi) = SWIG_NewPointerObj((new bool_t(static_cast< const bool_t& >(result))), SWIGTYPE_p_bool_t, SWIG_POINTER_OWN | 0); argvi++ ;
06872
06873
06874 XSRETURN(argvi);
06875 fail:
06876
06877
06878 SWIG_croak_null();
06879 }
06880 }
06881
06882
06883 XS(_wrap_xdr_dtn_bundle_spec_t) {
06884 {
06885 XDR *arg1 = (XDR *) 0 ;
06886 dtn_bundle_spec_t *arg2 = (dtn_bundle_spec_t *) 0 ;
06887 bool_t result;
06888 void *argp1 = 0 ;
06889 int res1 = 0 ;
06890 void *argp2 = 0 ;
06891 int res2 = 0 ;
06892 int argvi = 0;
06893 dXSARGS;
06894
06895 if ((items < 2) || (items > 2)) {
06896 SWIG_croak("Usage: xdr_dtn_bundle_spec_t(XDR *,dtn_bundle_spec_t *);");
06897 }
06898 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XDR, 0 | 0 );
06899 if (!SWIG_IsOK(res1)) {
06900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "xdr_dtn_bundle_spec_t" "', argument " "1"" of type '" "XDR *""'");
06901 }
06902 arg1 = reinterpret_cast< XDR * >(argp1);
06903 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_bundle_spec_t, 0 | 0 );
06904 if (!SWIG_IsOK(res2)) {
06905 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "xdr_dtn_bundle_spec_t" "', argument " "2"" of type '" "dtn_bundle_spec_t *""'");
06906 }
06907 arg2 = reinterpret_cast< dtn_bundle_spec_t * >(argp2);
06908 result = xdr_dtn_bundle_spec_t(arg1,arg2);
06909 ST(argvi) = SWIG_NewPointerObj((new bool_t(static_cast< const bool_t& >(result))), SWIGTYPE_p_bool_t, SWIG_POINTER_OWN | 0); argvi++ ;
06910
06911
06912 XSRETURN(argvi);
06913 fail:
06914
06915
06916 SWIG_croak_null();
06917 }
06918 }
06919
06920
06921 XS(_wrap_xdr_dtn_bundle_id_t) {
06922 {
06923 XDR *arg1 = (XDR *) 0 ;
06924 dtn_bundle_id_t *arg2 = (dtn_bundle_id_t *) 0 ;
06925 bool_t result;
06926 void *argp1 = 0 ;
06927 int res1 = 0 ;
06928 void *argp2 = 0 ;
06929 int res2 = 0 ;
06930 int argvi = 0;
06931 dXSARGS;
06932
06933 if ((items < 2) || (items > 2)) {
06934 SWIG_croak("Usage: xdr_dtn_bundle_id_t(XDR *,dtn_bundle_id_t *);");
06935 }
06936 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XDR, 0 | 0 );
06937 if (!SWIG_IsOK(res1)) {
06938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "xdr_dtn_bundle_id_t" "', argument " "1"" of type '" "XDR *""'");
06939 }
06940 arg1 = reinterpret_cast< XDR * >(argp1);
06941 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_bundle_id_t, 0 | 0 );
06942 if (!SWIG_IsOK(res2)) {
06943 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "xdr_dtn_bundle_id_t" "', argument " "2"" of type '" "dtn_bundle_id_t *""'");
06944 }
06945 arg2 = reinterpret_cast< dtn_bundle_id_t * >(argp2);
06946 result = xdr_dtn_bundle_id_t(arg1,arg2);
06947 ST(argvi) = SWIG_NewPointerObj((new bool_t(static_cast< const bool_t& >(result))), SWIGTYPE_p_bool_t, SWIG_POINTER_OWN | 0); argvi++ ;
06948
06949
06950 XSRETURN(argvi);
06951 fail:
06952
06953
06954 SWIG_croak_null();
06955 }
06956 }
06957
06958
06959 XS(_wrap_xdr_dtn_status_report_reason_t) {
06960 {
06961 XDR *arg1 = (XDR *) 0 ;
06962 dtn_status_report_reason_t *arg2 = (dtn_status_report_reason_t *) 0 ;
06963 bool_t result;
06964 void *argp1 = 0 ;
06965 int res1 = 0 ;
06966 void *argp2 = 0 ;
06967 int res2 = 0 ;
06968 int argvi = 0;
06969 dXSARGS;
06970
06971 if ((items < 2) || (items > 2)) {
06972 SWIG_croak("Usage: xdr_dtn_status_report_reason_t(XDR *,dtn_status_report_reason_t *);");
06973 }
06974 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XDR, 0 | 0 );
06975 if (!SWIG_IsOK(res1)) {
06976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "xdr_dtn_status_report_reason_t" "', argument " "1"" of type '" "XDR *""'");
06977 }
06978 arg1 = reinterpret_cast< XDR * >(argp1);
06979 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_status_report_reason_t, 0 | 0 );
06980 if (!SWIG_IsOK(res2)) {
06981 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "xdr_dtn_status_report_reason_t" "', argument " "2"" of type '" "dtn_status_report_reason_t *""'");
06982 }
06983 arg2 = reinterpret_cast< dtn_status_report_reason_t * >(argp2);
06984 result = xdr_dtn_status_report_reason_t(arg1,arg2);
06985 ST(argvi) = SWIG_NewPointerObj((new bool_t(static_cast< const bool_t& >(result))), SWIGTYPE_p_bool_t, SWIG_POINTER_OWN | 0); argvi++ ;
06986
06987
06988 XSRETURN(argvi);
06989 fail:
06990
06991
06992 SWIG_croak_null();
06993 }
06994 }
06995
06996
06997 XS(_wrap_xdr_dtn_status_report_flags_t) {
06998 {
06999 XDR *arg1 = (XDR *) 0 ;
07000 dtn_status_report_flags_t *arg2 = (dtn_status_report_flags_t *) 0 ;
07001 bool_t result;
07002 void *argp1 = 0 ;
07003 int res1 = 0 ;
07004 void *argp2 = 0 ;
07005 int res2 = 0 ;
07006 int argvi = 0;
07007 dXSARGS;
07008
07009 if ((items < 2) || (items > 2)) {
07010 SWIG_croak("Usage: xdr_dtn_status_report_flags_t(XDR *,dtn_status_report_flags_t *);");
07011 }
07012 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XDR, 0 | 0 );
07013 if (!SWIG_IsOK(res1)) {
07014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "xdr_dtn_status_report_flags_t" "', argument " "1"" of type '" "XDR *""'");
07015 }
07016 arg1 = reinterpret_cast< XDR * >(argp1);
07017 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_status_report_flags_t, 0 | 0 );
07018 if (!SWIG_IsOK(res2)) {
07019 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "xdr_dtn_status_report_flags_t" "', argument " "2"" of type '" "dtn_status_report_flags_t *""'");
07020 }
07021 arg2 = reinterpret_cast< dtn_status_report_flags_t * >(argp2);
07022 result = xdr_dtn_status_report_flags_t(arg1,arg2);
07023 ST(argvi) = SWIG_NewPointerObj((new bool_t(static_cast< const bool_t& >(result))), SWIGTYPE_p_bool_t, SWIG_POINTER_OWN | 0); argvi++ ;
07024
07025
07026 XSRETURN(argvi);
07027 fail:
07028
07029
07030 SWIG_croak_null();
07031 }
07032 }
07033
07034
07035 XS(_wrap_xdr_dtn_bundle_status_report_t) {
07036 {
07037 XDR *arg1 = (XDR *) 0 ;
07038 dtn_bundle_status_report_t *arg2 = (dtn_bundle_status_report_t *) 0 ;
07039 bool_t result;
07040 void *argp1 = 0 ;
07041 int res1 = 0 ;
07042 void *argp2 = 0 ;
07043 int res2 = 0 ;
07044 int argvi = 0;
07045 dXSARGS;
07046
07047 if ((items < 2) || (items > 2)) {
07048 SWIG_croak("Usage: xdr_dtn_bundle_status_report_t(XDR *,dtn_bundle_status_report_t *);");
07049 }
07050 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XDR, 0 | 0 );
07051 if (!SWIG_IsOK(res1)) {
07052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "xdr_dtn_bundle_status_report_t" "', argument " "1"" of type '" "XDR *""'");
07053 }
07054 arg1 = reinterpret_cast< XDR * >(argp1);
07055 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_bundle_status_report_t, 0 | 0 );
07056 if (!SWIG_IsOK(res2)) {
07057 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "xdr_dtn_bundle_status_report_t" "', argument " "2"" of type '" "dtn_bundle_status_report_t *""'");
07058 }
07059 arg2 = reinterpret_cast< dtn_bundle_status_report_t * >(argp2);
07060 result = xdr_dtn_bundle_status_report_t(arg1,arg2);
07061 ST(argvi) = SWIG_NewPointerObj((new bool_t(static_cast< const bool_t& >(result))), SWIGTYPE_p_bool_t, SWIG_POINTER_OWN | 0); argvi++ ;
07062
07063
07064 XSRETURN(argvi);
07065 fail:
07066
07067
07068 SWIG_croak_null();
07069 }
07070 }
07071
07072
07073 XS(_wrap_xdr_dtn_bundle_payload_location_t) {
07074 {
07075 XDR *arg1 = (XDR *) 0 ;
07076 dtn_bundle_payload_location_t *arg2 = (dtn_bundle_payload_location_t *) 0 ;
07077 bool_t result;
07078 void *argp1 = 0 ;
07079 int res1 = 0 ;
07080 void *argp2 = 0 ;
07081 int res2 = 0 ;
07082 int argvi = 0;
07083 dXSARGS;
07084
07085 if ((items < 2) || (items > 2)) {
07086 SWIG_croak("Usage: xdr_dtn_bundle_payload_location_t(XDR *,dtn_bundle_payload_location_t *);");
07087 }
07088 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XDR, 0 | 0 );
07089 if (!SWIG_IsOK(res1)) {
07090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "xdr_dtn_bundle_payload_location_t" "', argument " "1"" of type '" "XDR *""'");
07091 }
07092 arg1 = reinterpret_cast< XDR * >(argp1);
07093 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_bundle_payload_location_t, 0 | 0 );
07094 if (!SWIG_IsOK(res2)) {
07095 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "xdr_dtn_bundle_payload_location_t" "', argument " "2"" of type '" "dtn_bundle_payload_location_t *""'");
07096 }
07097 arg2 = reinterpret_cast< dtn_bundle_payload_location_t * >(argp2);
07098 result = xdr_dtn_bundle_payload_location_t(arg1,arg2);
07099 ST(argvi) = SWIG_NewPointerObj((new bool_t(static_cast< const bool_t& >(result))), SWIGTYPE_p_bool_t, SWIG_POINTER_OWN | 0); argvi++ ;
07100
07101
07102 XSRETURN(argvi);
07103 fail:
07104
07105
07106 SWIG_croak_null();
07107 }
07108 }
07109
07110
07111 XS(_wrap_xdr_dtn_bundle_payload_t) {
07112 {
07113 XDR *arg1 = (XDR *) 0 ;
07114 dtn_bundle_payload_t *arg2 = (dtn_bundle_payload_t *) 0 ;
07115 bool_t result;
07116 void *argp1 = 0 ;
07117 int res1 = 0 ;
07118 void *argp2 = 0 ;
07119 int res2 = 0 ;
07120 int argvi = 0;
07121 dXSARGS;
07122
07123 if ((items < 2) || (items > 2)) {
07124 SWIG_croak("Usage: xdr_dtn_bundle_payload_t(XDR *,dtn_bundle_payload_t *);");
07125 }
07126 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XDR, 0 | 0 );
07127 if (!SWIG_IsOK(res1)) {
07128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "xdr_dtn_bundle_payload_t" "', argument " "1"" of type '" "XDR *""'");
07129 }
07130 arg1 = reinterpret_cast< XDR * >(argp1);
07131 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_bundle_payload_t, 0 | 0 );
07132 if (!SWIG_IsOK(res2)) {
07133 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "xdr_dtn_bundle_payload_t" "', argument " "2"" of type '" "dtn_bundle_payload_t *""'");
07134 }
07135 arg2 = reinterpret_cast< dtn_bundle_payload_t * >(argp2);
07136 result = xdr_dtn_bundle_payload_t(arg1,arg2);
07137 ST(argvi) = SWIG_NewPointerObj((new bool_t(static_cast< const bool_t& >(result))), SWIGTYPE_p_bool_t, SWIG_POINTER_OWN | 0); argvi++ ;
07138
07139
07140 XSRETURN(argvi);
07141 fail:
07142
07143
07144 SWIG_croak_null();
07145 }
07146 }
07147
07148
07149 XS(_wrap_dtn_strerror) {
07150 {
07151 int arg1 ;
07152 char *result = 0 ;
07153 int val1 ;
07154 int ecode1 = 0 ;
07155 int argvi = 0;
07156 dXSARGS;
07157
07158 if ((items < 1) || (items > 1)) {
07159 SWIG_croak("Usage: dtn_strerror(err);");
07160 }
07161 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
07162 if (!SWIG_IsOK(ecode1)) {
07163 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "dtn_strerror" "', argument " "1"" of type '" "int""'");
07164 }
07165 arg1 = static_cast< int >(val1);
07166 result = (char *)dtn_strerror(arg1);
07167 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
07168
07169 XSRETURN(argvi);
07170 fail:
07171
07172 SWIG_croak_null();
07173 }
07174 }
07175
07176
07177 XS(_wrap_dtn_open) {
07178 {
07179 int result;
07180 int argvi = 0;
07181 dXSARGS;
07182
07183 if ((items < 0) || (items > 0)) {
07184 SWIG_croak("Usage: dtn_open();");
07185 }
07186 result = (int)dtn_open();
07187 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
07188 XSRETURN(argvi);
07189 fail:
07190 SWIG_croak_null();
07191 }
07192 }
07193
07194
07195 XS(_wrap_find_handle) {
07196 {
07197 int arg1 ;
07198 dtn_handle_t result;
07199 int val1 ;
07200 int ecode1 = 0 ;
07201 int argvi = 0;
07202 dXSARGS;
07203
07204 if ((items < 1) || (items > 1)) {
07205 SWIG_croak("Usage: find_handle(i);");
07206 }
07207 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
07208 if (!SWIG_IsOK(ecode1)) {
07209 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "find_handle" "', argument " "1"" of type '" "int""'");
07210 }
07211 arg1 = static_cast< int >(val1);
07212 result = find_handle(arg1);
07213 ST(argvi) = SWIG_NewPointerObj((new dtn_handle_t(static_cast< const dtn_handle_t& >(result))), SWIGTYPE_p_dtn_handle_t, SWIG_POINTER_OWN | 0); argvi++ ;
07214
07215 XSRETURN(argvi);
07216 fail:
07217
07218 SWIG_croak_null();
07219 }
07220 }
07221
07222
07223 XS(_wrap_dtn_close) {
07224 {
07225 int arg1 ;
07226 int val1 ;
07227 int ecode1 = 0 ;
07228 int argvi = 0;
07229 dXSARGS;
07230
07231 if ((items < 1) || (items > 1)) {
07232 SWIG_croak("Usage: dtn_close(handle);");
07233 }
07234 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
07235 if (!SWIG_IsOK(ecode1)) {
07236 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "dtn_close" "', argument " "1"" of type '" "int""'");
07237 }
07238 arg1 = static_cast< int >(val1);
07239 dtn_close(arg1);
07240
07241
07242 XSRETURN(argvi);
07243 fail:
07244
07245 SWIG_croak_null();
07246 }
07247 }
07248
07249
07250 XS(_wrap_dtn_errno) {
07251 {
07252 int arg1 ;
07253 int result;
07254 int val1 ;
07255 int ecode1 = 0 ;
07256 int argvi = 0;
07257 dXSARGS;
07258
07259 if ((items < 1) || (items > 1)) {
07260 SWIG_croak("Usage: dtn_errno(handle);");
07261 }
07262 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
07263 if (!SWIG_IsOK(ecode1)) {
07264 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "dtn_errno" "', argument " "1"" of type '" "int""'");
07265 }
07266 arg1 = static_cast< int >(val1);
07267 result = (int)dtn_errno(arg1);
07268 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
07269
07270 XSRETURN(argvi);
07271 fail:
07272
07273 SWIG_croak_null();
07274 }
07275 }
07276
07277
07278 XS(_wrap_dtn_build_local_eid) {
07279 {
07280 int arg1 ;
07281 char *arg2 = (char *) 0 ;
07282 std::string result;
07283 int val1 ;
07284 int ecode1 = 0 ;
07285 int res2 ;
07286 char *buf2 = 0 ;
07287 int alloc2 = 0 ;
07288 int argvi = 0;
07289 dXSARGS;
07290
07291 if ((items < 2) || (items > 2)) {
07292 SWIG_croak("Usage: dtn_build_local_eid(handle,service_tag);");
07293 }
07294 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
07295 if (!SWIG_IsOK(ecode1)) {
07296 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "dtn_build_local_eid" "', argument " "1"" of type '" "int""'");
07297 }
07298 arg1 = static_cast< int >(val1);
07299 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
07300 if (!SWIG_IsOK(res2)) {
07301 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_build_local_eid" "', argument " "2"" of type '" "char const *""'");
07302 }
07303 arg2 = reinterpret_cast< char * >(buf2);
07304 result = dtn_build_local_eid(arg1,(char const *)arg2);
07305 ST(argvi) = SWIG_From_std_string SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ;
07306
07307 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
07308 XSRETURN(argvi);
07309 fail:
07310
07311 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
07312 SWIG_croak_null();
07313 }
07314 }
07315
07316
07317 XS(_wrap_build_reginfo) {
07318 {
07319 dtn_reg_info_t *arg1 = (dtn_reg_info_t *) 0 ;
07320 std::string *arg2 = 0 ;
07321 unsigned int arg3 ;
07322 unsigned int arg4 ;
07323 bool arg5 ;
07324 std::string *arg6 = 0 ;
07325 int result;
07326 void *argp1 = 0 ;
07327 int res1 = 0 ;
07328 int res2 = SWIG_OLDOBJ ;
07329 unsigned int val3 ;
07330 int ecode3 = 0 ;
07331 unsigned int val4 ;
07332 int ecode4 = 0 ;
07333 bool val5 ;
07334 int ecode5 = 0 ;
07335 int res6 = SWIG_OLDOBJ ;
07336 int argvi = 0;
07337 dXSARGS;
07338
07339 if ((items < 6) || (items > 6)) {
07340 SWIG_croak("Usage: build_reginfo(reginfo,endpoint,flags,expiration,init_passive,script);");
07341 }
07342 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_reg_info_t, 0 | 0 );
07343 if (!SWIG_IsOK(res1)) {
07344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "build_reginfo" "', argument " "1"" of type '" "dtn_reg_info_t *""'");
07345 }
07346 arg1 = reinterpret_cast< dtn_reg_info_t * >(argp1);
07347 {
07348 std::string *ptr = (std::string *)0;
07349 res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr);
07350 if (!SWIG_IsOK(res2)) {
07351 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "build_reginfo" "', argument " "2"" of type '" "std::string const &""'");
07352 }
07353 if (!ptr) {
07354 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "build_reginfo" "', argument " "2"" of type '" "std::string const &""'");
07355 }
07356 arg2 = ptr;
07357 }
07358 ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
07359 if (!SWIG_IsOK(ecode3)) {
07360 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "build_reginfo" "', argument " "3"" of type '" "unsigned int""'");
07361 }
07362 arg3 = static_cast< unsigned int >(val3);
07363 ecode4 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
07364 if (!SWIG_IsOK(ecode4)) {
07365 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "build_reginfo" "', argument " "4"" of type '" "unsigned int""'");
07366 }
07367 arg4 = static_cast< unsigned int >(val4);
07368 ecode5 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
07369 if (!SWIG_IsOK(ecode5)) {
07370 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "build_reginfo" "', argument " "5"" of type '" "bool""'");
07371 }
07372 arg5 = static_cast< bool >(val5);
07373 {
07374 std::string *ptr = (std::string *)0;
07375 res6 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(5), &ptr);
07376 if (!SWIG_IsOK(res6)) {
07377 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "build_reginfo" "', argument " "6"" of type '" "std::string const &""'");
07378 }
07379 if (!ptr) {
07380 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "build_reginfo" "', argument " "6"" of type '" "std::string const &""'");
07381 }
07382 arg6 = ptr;
07383 }
07384 result = (int)build_reginfo(arg1,(std::string const &)*arg2,arg3,arg4,arg5,(std::string const &)*arg6);
07385 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
07386
07387 if (SWIG_IsNewObj(res2)) delete arg2;
07388
07389
07390
07391 if (SWIG_IsNewObj(res6)) delete arg6;
07392 XSRETURN(argvi);
07393 fail:
07394
07395 if (SWIG_IsNewObj(res2)) delete arg2;
07396
07397
07398
07399 if (SWIG_IsNewObj(res6)) delete arg6;
07400 SWIG_croak_null();
07401 }
07402 }
07403
07404
07405 XS(_wrap_dtn_register) {
07406 {
07407 int arg1 ;
07408 std::string *arg2 = 0 ;
07409 unsigned int arg3 ;
07410 int arg4 ;
07411 bool arg5 ;
07412 std::string *arg6 = 0 ;
07413 int result;
07414 int val1 ;
07415 int ecode1 = 0 ;
07416 int res2 = SWIG_OLDOBJ ;
07417 unsigned int val3 ;
07418 int ecode3 = 0 ;
07419 int val4 ;
07420 int ecode4 = 0 ;
07421 bool val5 ;
07422 int ecode5 = 0 ;
07423 int res6 = SWIG_OLDOBJ ;
07424 int argvi = 0;
07425 dXSARGS;
07426
07427 if ((items < 6) || (items > 6)) {
07428 SWIG_croak("Usage: dtn_register(handle,endpoint,flags,expiration,init_passive,script);");
07429 }
07430 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
07431 if (!SWIG_IsOK(ecode1)) {
07432 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "dtn_register" "', argument " "1"" of type '" "int""'");
07433 }
07434 arg1 = static_cast< int >(val1);
07435 {
07436 std::string *ptr = (std::string *)0;
07437 res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr);
07438 if (!SWIG_IsOK(res2)) {
07439 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_register" "', argument " "2"" of type '" "std::string const &""'");
07440 }
07441 if (!ptr) {
07442 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_register" "', argument " "2"" of type '" "std::string const &""'");
07443 }
07444 arg2 = ptr;
07445 }
07446 ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
07447 if (!SWIG_IsOK(ecode3)) {
07448 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "dtn_register" "', argument " "3"" of type '" "unsigned int""'");
07449 }
07450 arg3 = static_cast< unsigned int >(val3);
07451 ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
07452 if (!SWIG_IsOK(ecode4)) {
07453 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "dtn_register" "', argument " "4"" of type '" "int""'");
07454 }
07455 arg4 = static_cast< int >(val4);
07456 ecode5 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
07457 if (!SWIG_IsOK(ecode5)) {
07458 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "dtn_register" "', argument " "5"" of type '" "bool""'");
07459 }
07460 arg5 = static_cast< bool >(val5);
07461 {
07462 std::string *ptr = (std::string *)0;
07463 res6 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(5), &ptr);
07464 if (!SWIG_IsOK(res6)) {
07465 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "dtn_register" "', argument " "6"" of type '" "std::string const &""'");
07466 }
07467 if (!ptr) {
07468 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_register" "', argument " "6"" of type '" "std::string const &""'");
07469 }
07470 arg6 = ptr;
07471 }
07472 result = (int)dtn_register(arg1,(std::string const &)*arg2,arg3,arg4,arg5,(std::string const &)*arg6);
07473 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
07474
07475 if (SWIG_IsNewObj(res2)) delete arg2;
07476
07477
07478
07479 if (SWIG_IsNewObj(res6)) delete arg6;
07480 XSRETURN(argvi);
07481 fail:
07482
07483 if (SWIG_IsNewObj(res2)) delete arg2;
07484
07485
07486
07487 if (SWIG_IsNewObj(res6)) delete arg6;
07488 SWIG_croak_null();
07489 }
07490 }
07491
07492
07493 XS(_wrap_dtn_unregister) {
07494 {
07495 int arg1 ;
07496 dtn_reg_id_t arg2 ;
07497 int result;
07498 int val1 ;
07499 int ecode1 = 0 ;
07500 void *argp2 ;
07501 int res2 = 0 ;
07502 int argvi = 0;
07503 dXSARGS;
07504
07505 if ((items < 2) || (items > 2)) {
07506 SWIG_croak("Usage: dtn_unregister(handle,regid);");
07507 }
07508 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
07509 if (!SWIG_IsOK(ecode1)) {
07510 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "dtn_unregister" "', argument " "1"" of type '" "int""'");
07511 }
07512 arg1 = static_cast< int >(val1);
07513 {
07514 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_u_int, 0 );
07515 if (!SWIG_IsOK(res2)) {
07516 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_unregister" "', argument " "2"" of type '" "dtn_reg_id_t""'");
07517 }
07518 if (!argp2) {
07519 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_unregister" "', argument " "2"" of type '" "dtn_reg_id_t""'");
07520 } else {
07521 arg2 = *(reinterpret_cast< dtn_reg_id_t * >(argp2));
07522 }
07523 }
07524 result = (int)dtn_unregister(arg1,arg2);
07525 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
07526
07527 XSRETURN(argvi);
07528 fail:
07529
07530 SWIG_croak_null();
07531 }
07532 }
07533
07534
07535 XS(_wrap_dtn_find_registration) {
07536 {
07537 int arg1 ;
07538 std::string *arg2 = 0 ;
07539 int result;
07540 int val1 ;
07541 int ecode1 = 0 ;
07542 int res2 = SWIG_OLDOBJ ;
07543 int argvi = 0;
07544 dXSARGS;
07545
07546 if ((items < 2) || (items > 2)) {
07547 SWIG_croak("Usage: dtn_find_registration(handle,endpoint);");
07548 }
07549 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
07550 if (!SWIG_IsOK(ecode1)) {
07551 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "dtn_find_registration" "', argument " "1"" of type '" "int""'");
07552 }
07553 arg1 = static_cast< int >(val1);
07554 {
07555 std::string *ptr = (std::string *)0;
07556 res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr);
07557 if (!SWIG_IsOK(res2)) {
07558 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_find_registration" "', argument " "2"" of type '" "std::string const &""'");
07559 }
07560 if (!ptr) {
07561 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_find_registration" "', argument " "2"" of type '" "std::string const &""'");
07562 }
07563 arg2 = ptr;
07564 }
07565 result = (int)dtn_find_registration(arg1,(std::string const &)*arg2);
07566 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
07567
07568 if (SWIG_IsNewObj(res2)) delete arg2;
07569 XSRETURN(argvi);
07570 fail:
07571
07572 if (SWIG_IsNewObj(res2)) delete arg2;
07573 SWIG_croak_null();
07574 }
07575 }
07576
07577
07578 XS(_wrap_dtn_change_registration) {
07579 {
07580 int arg1 ;
07581 dtn_reg_id_t arg2 ;
07582 std::string *arg3 = 0 ;
07583 unsigned int arg4 ;
07584 int arg5 ;
07585 bool arg6 ;
07586 std::string *arg7 = 0 ;
07587 int result;
07588 int val1 ;
07589 int ecode1 = 0 ;
07590 void *argp2 ;
07591 int res2 = 0 ;
07592 int res3 = SWIG_OLDOBJ ;
07593 unsigned int val4 ;
07594 int ecode4 = 0 ;
07595 int val5 ;
07596 int ecode5 = 0 ;
07597 bool val6 ;
07598 int ecode6 = 0 ;
07599 int res7 = SWIG_OLDOBJ ;
07600 int argvi = 0;
07601 dXSARGS;
07602
07603 if ((items < 7) || (items > 7)) {
07604 SWIG_croak("Usage: dtn_change_registration(handle,regid,endpoint,action,expiration,init_passive,script);");
07605 }
07606 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
07607 if (!SWIG_IsOK(ecode1)) {
07608 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "dtn_change_registration" "', argument " "1"" of type '" "int""'");
07609 }
07610 arg1 = static_cast< int >(val1);
07611 {
07612 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_u_int, 0 );
07613 if (!SWIG_IsOK(res2)) {
07614 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_change_registration" "', argument " "2"" of type '" "dtn_reg_id_t""'");
07615 }
07616 if (!argp2) {
07617 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_change_registration" "', argument " "2"" of type '" "dtn_reg_id_t""'");
07618 } else {
07619 arg2 = *(reinterpret_cast< dtn_reg_id_t * >(argp2));
07620 }
07621 }
07622 {
07623 std::string *ptr = (std::string *)0;
07624 res3 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), &ptr);
07625 if (!SWIG_IsOK(res3)) {
07626 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "dtn_change_registration" "', argument " "3"" of type '" "std::string const &""'");
07627 }
07628 if (!ptr) {
07629 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_change_registration" "', argument " "3"" of type '" "std::string const &""'");
07630 }
07631 arg3 = ptr;
07632 }
07633 ecode4 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
07634 if (!SWIG_IsOK(ecode4)) {
07635 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "dtn_change_registration" "', argument " "4"" of type '" "unsigned int""'");
07636 }
07637 arg4 = static_cast< unsigned int >(val4);
07638 ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
07639 if (!SWIG_IsOK(ecode5)) {
07640 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "dtn_change_registration" "', argument " "5"" of type '" "int""'");
07641 }
07642 arg5 = static_cast< int >(val5);
07643 ecode6 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
07644 if (!SWIG_IsOK(ecode6)) {
07645 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "dtn_change_registration" "', argument " "6"" of type '" "bool""'");
07646 }
07647 arg6 = static_cast< bool >(val6);
07648 {
07649 std::string *ptr = (std::string *)0;
07650 res7 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(6), &ptr);
07651 if (!SWIG_IsOK(res7)) {
07652 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "dtn_change_registration" "', argument " "7"" of type '" "std::string const &""'");
07653 }
07654 if (!ptr) {
07655 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_change_registration" "', argument " "7"" of type '" "std::string const &""'");
07656 }
07657 arg7 = ptr;
07658 }
07659 result = (int)dtn_change_registration(arg1,arg2,(std::string const &)*arg3,arg4,arg5,arg6,(std::string const &)*arg7);
07660 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
07661
07662 if (SWIG_IsNewObj(res3)) delete arg3;
07663
07664
07665
07666 if (SWIG_IsNewObj(res7)) delete arg7;
07667 XSRETURN(argvi);
07668 fail:
07669
07670 if (SWIG_IsNewObj(res3)) delete arg3;
07671
07672
07673
07674 if (SWIG_IsNewObj(res7)) delete arg7;
07675 SWIG_croak_null();
07676 }
07677 }
07678
07679
07680 XS(_wrap_dtn_bind) {
07681 {
07682 int arg1 ;
07683 int arg2 ;
07684 int result;
07685 int val1 ;
07686 int ecode1 = 0 ;
07687 int val2 ;
07688 int ecode2 = 0 ;
07689 int argvi = 0;
07690 dXSARGS;
07691
07692 if ((items < 2) || (items > 2)) {
07693 SWIG_croak("Usage: dtn_bind(handle,regid);");
07694 }
07695 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
07696 if (!SWIG_IsOK(ecode1)) {
07697 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "dtn_bind" "', argument " "1"" of type '" "int""'");
07698 }
07699 arg1 = static_cast< int >(val1);
07700 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
07701 if (!SWIG_IsOK(ecode2)) {
07702 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_bind" "', argument " "2"" of type '" "int""'");
07703 }
07704 arg2 = static_cast< int >(val2);
07705 result = (int)dtn_bind(arg1,arg2);
07706 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
07707
07708
07709 XSRETURN(argvi);
07710 fail:
07711
07712
07713 SWIG_croak_null();
07714 }
07715 }
07716
07717
07718 XS(_wrap_dtn_unbind) {
07719 {
07720 int arg1 ;
07721 int arg2 ;
07722 int result;
07723 int val1 ;
07724 int ecode1 = 0 ;
07725 int val2 ;
07726 int ecode2 = 0 ;
07727 int argvi = 0;
07728 dXSARGS;
07729
07730 if ((items < 2) || (items > 2)) {
07731 SWIG_croak("Usage: dtn_unbind(handle,regid);");
07732 }
07733 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
07734 if (!SWIG_IsOK(ecode1)) {
07735 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "dtn_unbind" "', argument " "1"" of type '" "int""'");
07736 }
07737 arg1 = static_cast< int >(val1);
07738 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
07739 if (!SWIG_IsOK(ecode2)) {
07740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_unbind" "', argument " "2"" of type '" "int""'");
07741 }
07742 arg2 = static_cast< int >(val2);
07743 result = (int)dtn_unbind(arg1,arg2);
07744 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
07745
07746
07747 XSRETURN(argvi);
07748 fail:
07749
07750
07751 SWIG_croak_null();
07752 }
07753 }
07754
07755
07756 XS(_wrap_dtn_bundle_id_source_set) {
07757 {
07758 dtn_bundle_id *arg1 = (dtn_bundle_id *) 0 ;
07759 std::string *arg2 = 0 ;
07760 void *argp1 = 0 ;
07761 int res1 = 0 ;
07762 int res2 = SWIG_OLDOBJ ;
07763 int argvi = 0;
07764 dXSARGS;
07765
07766 if ((items < 2) || (items > 2)) {
07767 SWIG_croak("Usage: dtn_bundle_id_source_set(self,source);");
07768 }
07769 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_id, 0 | 0 );
07770 if (!SWIG_IsOK(res1)) {
07771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_id_source_set" "', argument " "1"" of type '" "dtn_bundle_id *""'");
07772 }
07773 arg1 = reinterpret_cast< dtn_bundle_id * >(argp1);
07774 {
07775 std::string *ptr = (std::string *)0;
07776 res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr);
07777 if (!SWIG_IsOK(res2)) {
07778 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_id_source_set" "', argument " "2"" of type '" "std::string const &""'");
07779 }
07780 if (!ptr) {
07781 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_bundle_id_source_set" "', argument " "2"" of type '" "std::string const &""'");
07782 }
07783 arg2 = ptr;
07784 }
07785 if (arg1) (arg1)->source = *arg2;
07786
07787
07788
07789 if (SWIG_IsNewObj(res2)) delete arg2;
07790 XSRETURN(argvi);
07791 fail:
07792
07793 if (SWIG_IsNewObj(res2)) delete arg2;
07794 SWIG_croak_null();
07795 }
07796 }
07797
07798
07799 XS(_wrap_dtn_bundle_id_source_get) {
07800 {
07801 dtn_bundle_id *arg1 = (dtn_bundle_id *) 0 ;
07802 std::string *result = 0 ;
07803 void *argp1 = 0 ;
07804 int res1 = 0 ;
07805 int argvi = 0;
07806 dXSARGS;
07807
07808 if ((items < 1) || (items > 1)) {
07809 SWIG_croak("Usage: dtn_bundle_id_source_get(self);");
07810 }
07811 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_id, 0 | 0 );
07812 if (!SWIG_IsOK(res1)) {
07813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_id_source_get" "', argument " "1"" of type '" "dtn_bundle_id *""'");
07814 }
07815 arg1 = reinterpret_cast< dtn_bundle_id * >(argp1);
07816 {
07817 std::string const &_result_ref = ((arg1)->source);
07818 result = (std::string *) &_result_ref;
07819 }
07820 ST(argvi) = SWIG_From_std_string SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(*result)); argvi++ ;
07821
07822 XSRETURN(argvi);
07823 fail:
07824
07825 SWIG_croak_null();
07826 }
07827 }
07828
07829
07830 XS(_wrap_dtn_bundle_id_creation_secs_set) {
07831 {
07832 dtn_bundle_id *arg1 = (dtn_bundle_id *) 0 ;
07833 unsigned int arg2 ;
07834 void *argp1 = 0 ;
07835 int res1 = 0 ;
07836 unsigned int val2 ;
07837 int ecode2 = 0 ;
07838 int argvi = 0;
07839 dXSARGS;
07840
07841 if ((items < 2) || (items > 2)) {
07842 SWIG_croak("Usage: dtn_bundle_id_creation_secs_set(self,creation_secs);");
07843 }
07844 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_id, 0 | 0 );
07845 if (!SWIG_IsOK(res1)) {
07846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_id_creation_secs_set" "', argument " "1"" of type '" "dtn_bundle_id *""'");
07847 }
07848 arg1 = reinterpret_cast< dtn_bundle_id * >(argp1);
07849 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
07850 if (!SWIG_IsOK(ecode2)) {
07851 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_bundle_id_creation_secs_set" "', argument " "2"" of type '" "unsigned int""'");
07852 }
07853 arg2 = static_cast< unsigned int >(val2);
07854 if (arg1) (arg1)->creation_secs = arg2;
07855
07856
07857
07858
07859 XSRETURN(argvi);
07860 fail:
07861
07862
07863 SWIG_croak_null();
07864 }
07865 }
07866
07867
07868 XS(_wrap_dtn_bundle_id_creation_secs_get) {
07869 {
07870 dtn_bundle_id *arg1 = (dtn_bundle_id *) 0 ;
07871 unsigned int result;
07872 void *argp1 = 0 ;
07873 int res1 = 0 ;
07874 int argvi = 0;
07875 dXSARGS;
07876
07877 if ((items < 1) || (items > 1)) {
07878 SWIG_croak("Usage: dtn_bundle_id_creation_secs_get(self);");
07879 }
07880 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_id, 0 | 0 );
07881 if (!SWIG_IsOK(res1)) {
07882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_id_creation_secs_get" "', argument " "1"" of type '" "dtn_bundle_id *""'");
07883 }
07884 arg1 = reinterpret_cast< dtn_bundle_id * >(argp1);
07885 result = (unsigned int) ((arg1)->creation_secs);
07886 ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
07887
07888 XSRETURN(argvi);
07889 fail:
07890
07891 SWIG_croak_null();
07892 }
07893 }
07894
07895
07896 XS(_wrap_dtn_bundle_id_creation_seqno_set) {
07897 {
07898 dtn_bundle_id *arg1 = (dtn_bundle_id *) 0 ;
07899 unsigned int arg2 ;
07900 void *argp1 = 0 ;
07901 int res1 = 0 ;
07902 unsigned int val2 ;
07903 int ecode2 = 0 ;
07904 int argvi = 0;
07905 dXSARGS;
07906
07907 if ((items < 2) || (items > 2)) {
07908 SWIG_croak("Usage: dtn_bundle_id_creation_seqno_set(self,creation_seqno);");
07909 }
07910 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_id, 0 | 0 );
07911 if (!SWIG_IsOK(res1)) {
07912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_id_creation_seqno_set" "', argument " "1"" of type '" "dtn_bundle_id *""'");
07913 }
07914 arg1 = reinterpret_cast< dtn_bundle_id * >(argp1);
07915 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
07916 if (!SWIG_IsOK(ecode2)) {
07917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_bundle_id_creation_seqno_set" "', argument " "2"" of type '" "unsigned int""'");
07918 }
07919 arg2 = static_cast< unsigned int >(val2);
07920 if (arg1) (arg1)->creation_seqno = arg2;
07921
07922
07923
07924
07925 XSRETURN(argvi);
07926 fail:
07927
07928
07929 SWIG_croak_null();
07930 }
07931 }
07932
07933
07934 XS(_wrap_dtn_bundle_id_creation_seqno_get) {
07935 {
07936 dtn_bundle_id *arg1 = (dtn_bundle_id *) 0 ;
07937 unsigned int result;
07938 void *argp1 = 0 ;
07939 int res1 = 0 ;
07940 int argvi = 0;
07941 dXSARGS;
07942
07943 if ((items < 1) || (items > 1)) {
07944 SWIG_croak("Usage: dtn_bundle_id_creation_seqno_get(self);");
07945 }
07946 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_id, 0 | 0 );
07947 if (!SWIG_IsOK(res1)) {
07948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_id_creation_seqno_get" "', argument " "1"" of type '" "dtn_bundle_id *""'");
07949 }
07950 arg1 = reinterpret_cast< dtn_bundle_id * >(argp1);
07951 result = (unsigned int) ((arg1)->creation_seqno);
07952 ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
07953
07954 XSRETURN(argvi);
07955 fail:
07956
07957 SWIG_croak_null();
07958 }
07959 }
07960
07961
07962 XS(_wrap_new_dtn_bundle_id) {
07963 {
07964 dtn_bundle_id *result = 0 ;
07965 int argvi = 0;
07966 dXSARGS;
07967
07968 if ((items < 0) || (items > 0)) {
07969 SWIG_croak("Usage: new_dtn_bundle_id();");
07970 }
07971 result = (dtn_bundle_id *)new dtn_bundle_id();
07972 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_bundle_id, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
07973 XSRETURN(argvi);
07974 fail:
07975 SWIG_croak_null();
07976 }
07977 }
07978
07979
07980 XS(_wrap_delete_dtn_bundle_id) {
07981 {
07982 dtn_bundle_id *arg1 = (dtn_bundle_id *) 0 ;
07983 void *argp1 = 0 ;
07984 int res1 = 0 ;
07985 int argvi = 0;
07986 dXSARGS;
07987
07988 if ((items < 1) || (items > 1)) {
07989 SWIG_croak("Usage: delete_dtn_bundle_id(self);");
07990 }
07991 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle_id, SWIG_POINTER_DISOWN | 0 );
07992 if (!SWIG_IsOK(res1)) {
07993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dtn_bundle_id" "', argument " "1"" of type '" "dtn_bundle_id *""'");
07994 }
07995 arg1 = reinterpret_cast< dtn_bundle_id * >(argp1);
07996 delete arg1;
07997
07998
07999
08000 XSRETURN(argvi);
08001 fail:
08002
08003 SWIG_croak_null();
08004 }
08005 }
08006
08007
08008 XS(_wrap_dtn_send__SWIG_0) {
08009 {
08010 int arg1 ;
08011 int arg2 ;
08012 std::string *arg3 = 0 ;
08013 std::string *arg4 = 0 ;
08014 std::string *arg5 = 0 ;
08015 unsigned int arg6 ;
08016 unsigned int arg7 ;
08017 unsigned int arg8 ;
08018 unsigned int arg9 ;
08019 std::string *arg10 = 0 ;
08020 std::string *arg11 = 0 ;
08021 std::string *arg12 = 0 ;
08022 dtn_bundle_id *result = 0 ;
08023 int val1 ;
08024 int ecode1 = 0 ;
08025 int val2 ;
08026 int ecode2 = 0 ;
08027 int res3 = SWIG_OLDOBJ ;
08028 int res4 = SWIG_OLDOBJ ;
08029 int res5 = SWIG_OLDOBJ ;
08030 unsigned int val6 ;
08031 int ecode6 = 0 ;
08032 unsigned int val7 ;
08033 int ecode7 = 0 ;
08034 unsigned int val8 ;
08035 int ecode8 = 0 ;
08036 unsigned int val9 ;
08037 int ecode9 = 0 ;
08038 int res10 = SWIG_OLDOBJ ;
08039 int res11 = SWIG_OLDOBJ ;
08040 int res12 = SWIG_OLDOBJ ;
08041 int argvi = 0;
08042 dXSARGS;
08043
08044 if ((items < 12) || (items > 12)) {
08045 SWIG_croak("Usage: dtn_send(handle,regid,source,dest,replyto,priority,dopts,expiration,payload_location,payload_data,sequence_id,obsoletes_id);");
08046 }
08047 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
08048 if (!SWIG_IsOK(ecode1)) {
08049 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "dtn_send" "', argument " "1"" of type '" "int""'");
08050 }
08051 arg1 = static_cast< int >(val1);
08052 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
08053 if (!SWIG_IsOK(ecode2)) {
08054 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_send" "', argument " "2"" of type '" "int""'");
08055 }
08056 arg2 = static_cast< int >(val2);
08057 {
08058 std::string *ptr = (std::string *)0;
08059 res3 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), &ptr);
08060 if (!SWIG_IsOK(res3)) {
08061 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "dtn_send" "', argument " "3"" of type '" "std::string const &""'");
08062 }
08063 if (!ptr) {
08064 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_send" "', argument " "3"" of type '" "std::string const &""'");
08065 }
08066 arg3 = ptr;
08067 }
08068 {
08069 std::string *ptr = (std::string *)0;
08070 res4 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(3), &ptr);
08071 if (!SWIG_IsOK(res4)) {
08072 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "dtn_send" "', argument " "4"" of type '" "std::string const &""'");
08073 }
08074 if (!ptr) {
08075 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_send" "', argument " "4"" of type '" "std::string const &""'");
08076 }
08077 arg4 = ptr;
08078 }
08079 {
08080 std::string *ptr = (std::string *)0;
08081 res5 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(4), &ptr);
08082 if (!SWIG_IsOK(res5)) {
08083 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "dtn_send" "', argument " "5"" of type '" "std::string const &""'");
08084 }
08085 if (!ptr) {
08086 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_send" "', argument " "5"" of type '" "std::string const &""'");
08087 }
08088 arg5 = ptr;
08089 }
08090 ecode6 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
08091 if (!SWIG_IsOK(ecode6)) {
08092 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "dtn_send" "', argument " "6"" of type '" "unsigned int""'");
08093 }
08094 arg6 = static_cast< unsigned int >(val6);
08095 ecode7 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(6), &val7);
08096 if (!SWIG_IsOK(ecode7)) {
08097 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "dtn_send" "', argument " "7"" of type '" "unsigned int""'");
08098 }
08099 arg7 = static_cast< unsigned int >(val7);
08100 ecode8 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(7), &val8);
08101 if (!SWIG_IsOK(ecode8)) {
08102 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "dtn_send" "', argument " "8"" of type '" "unsigned int""'");
08103 }
08104 arg8 = static_cast< unsigned int >(val8);
08105 ecode9 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(8), &val9);
08106 if (!SWIG_IsOK(ecode9)) {
08107 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "dtn_send" "', argument " "9"" of type '" "unsigned int""'");
08108 }
08109 arg9 = static_cast< unsigned int >(val9);
08110 {
08111 std::string *ptr = (std::string *)0;
08112 res10 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(9), &ptr);
08113 if (!SWIG_IsOK(res10)) {
08114 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "dtn_send" "', argument " "10"" of type '" "std::string const &""'");
08115 }
08116 if (!ptr) {
08117 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_send" "', argument " "10"" of type '" "std::string const &""'");
08118 }
08119 arg10 = ptr;
08120 }
08121 {
08122 std::string *ptr = (std::string *)0;
08123 res11 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(10), &ptr);
08124 if (!SWIG_IsOK(res11)) {
08125 SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "dtn_send" "', argument " "11"" of type '" "std::string const &""'");
08126 }
08127 if (!ptr) {
08128 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_send" "', argument " "11"" of type '" "std::string const &""'");
08129 }
08130 arg11 = ptr;
08131 }
08132 {
08133 std::string *ptr = (std::string *)0;
08134 res12 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(11), &ptr);
08135 if (!SWIG_IsOK(res12)) {
08136 SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "dtn_send" "', argument " "12"" of type '" "std::string const &""'");
08137 }
08138 if (!ptr) {
08139 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_send" "', argument " "12"" of type '" "std::string const &""'");
08140 }
08141 arg12 = ptr;
08142 }
08143 result = (dtn_bundle_id *)dtn_send(arg1,arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,arg6,arg7,arg8,arg9,(std::string const &)*arg10,(std::string const &)*arg11,(std::string const &)*arg12);
08144 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_bundle_id, 0 | SWIG_SHADOW); argvi++ ;
08145
08146
08147 if (SWIG_IsNewObj(res3)) delete arg3;
08148 if (SWIG_IsNewObj(res4)) delete arg4;
08149 if (SWIG_IsNewObj(res5)) delete arg5;
08150
08151
08152
08153
08154 if (SWIG_IsNewObj(res10)) delete arg10;
08155 if (SWIG_IsNewObj(res11)) delete arg11;
08156 if (SWIG_IsNewObj(res12)) delete arg12;
08157 XSRETURN(argvi);
08158 fail:
08159
08160
08161 if (SWIG_IsNewObj(res3)) delete arg3;
08162 if (SWIG_IsNewObj(res4)) delete arg4;
08163 if (SWIG_IsNewObj(res5)) delete arg5;
08164
08165
08166
08167
08168 if (SWIG_IsNewObj(res10)) delete arg10;
08169 if (SWIG_IsNewObj(res11)) delete arg11;
08170 if (SWIG_IsNewObj(res12)) delete arg12;
08171 SWIG_croak_null();
08172 }
08173 }
08174
08175
08176 XS(_wrap_dtn_send__SWIG_1) {
08177 {
08178 int arg1 ;
08179 int arg2 ;
08180 std::string *arg3 = 0 ;
08181 std::string *arg4 = 0 ;
08182 std::string *arg5 = 0 ;
08183 unsigned int arg6 ;
08184 unsigned int arg7 ;
08185 unsigned int arg8 ;
08186 unsigned int arg9 ;
08187 std::string *arg10 = 0 ;
08188 std::string *arg11 = 0 ;
08189 dtn_bundle_id *result = 0 ;
08190 int val1 ;
08191 int ecode1 = 0 ;
08192 int val2 ;
08193 int ecode2 = 0 ;
08194 int res3 = SWIG_OLDOBJ ;
08195 int res4 = SWIG_OLDOBJ ;
08196 int res5 = SWIG_OLDOBJ ;
08197 unsigned int val6 ;
08198 int ecode6 = 0 ;
08199 unsigned int val7 ;
08200 int ecode7 = 0 ;
08201 unsigned int val8 ;
08202 int ecode8 = 0 ;
08203 unsigned int val9 ;
08204 int ecode9 = 0 ;
08205 int res10 = SWIG_OLDOBJ ;
08206 int res11 = SWIG_OLDOBJ ;
08207 int argvi = 0;
08208 dXSARGS;
08209
08210 if ((items < 11) || (items > 11)) {
08211 SWIG_croak("Usage: dtn_send(handle,regid,source,dest,replyto,priority,dopts,expiration,payload_location,payload_data,sequence_id);");
08212 }
08213 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
08214 if (!SWIG_IsOK(ecode1)) {
08215 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "dtn_send" "', argument " "1"" of type '" "int""'");
08216 }
08217 arg1 = static_cast< int >(val1);
08218 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
08219 if (!SWIG_IsOK(ecode2)) {
08220 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_send" "', argument " "2"" of type '" "int""'");
08221 }
08222 arg2 = static_cast< int >(val2);
08223 {
08224 std::string *ptr = (std::string *)0;
08225 res3 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), &ptr);
08226 if (!SWIG_IsOK(res3)) {
08227 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "dtn_send" "', argument " "3"" of type '" "std::string const &""'");
08228 }
08229 if (!ptr) {
08230 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_send" "', argument " "3"" of type '" "std::string const &""'");
08231 }
08232 arg3 = ptr;
08233 }
08234 {
08235 std::string *ptr = (std::string *)0;
08236 res4 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(3), &ptr);
08237 if (!SWIG_IsOK(res4)) {
08238 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "dtn_send" "', argument " "4"" of type '" "std::string const &""'");
08239 }
08240 if (!ptr) {
08241 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_send" "', argument " "4"" of type '" "std::string const &""'");
08242 }
08243 arg4 = ptr;
08244 }
08245 {
08246 std::string *ptr = (std::string *)0;
08247 res5 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(4), &ptr);
08248 if (!SWIG_IsOK(res5)) {
08249 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "dtn_send" "', argument " "5"" of type '" "std::string const &""'");
08250 }
08251 if (!ptr) {
08252 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_send" "', argument " "5"" of type '" "std::string const &""'");
08253 }
08254 arg5 = ptr;
08255 }
08256 ecode6 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
08257 if (!SWIG_IsOK(ecode6)) {
08258 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "dtn_send" "', argument " "6"" of type '" "unsigned int""'");
08259 }
08260 arg6 = static_cast< unsigned int >(val6);
08261 ecode7 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(6), &val7);
08262 if (!SWIG_IsOK(ecode7)) {
08263 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "dtn_send" "', argument " "7"" of type '" "unsigned int""'");
08264 }
08265 arg7 = static_cast< unsigned int >(val7);
08266 ecode8 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(7), &val8);
08267 if (!SWIG_IsOK(ecode8)) {
08268 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "dtn_send" "', argument " "8"" of type '" "unsigned int""'");
08269 }
08270 arg8 = static_cast< unsigned int >(val8);
08271 ecode9 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(8), &val9);
08272 if (!SWIG_IsOK(ecode9)) {
08273 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "dtn_send" "', argument " "9"" of type '" "unsigned int""'");
08274 }
08275 arg9 = static_cast< unsigned int >(val9);
08276 {
08277 std::string *ptr = (std::string *)0;
08278 res10 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(9), &ptr);
08279 if (!SWIG_IsOK(res10)) {
08280 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "dtn_send" "', argument " "10"" of type '" "std::string const &""'");
08281 }
08282 if (!ptr) {
08283 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_send" "', argument " "10"" of type '" "std::string const &""'");
08284 }
08285 arg10 = ptr;
08286 }
08287 {
08288 std::string *ptr = (std::string *)0;
08289 res11 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(10), &ptr);
08290 if (!SWIG_IsOK(res11)) {
08291 SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "dtn_send" "', argument " "11"" of type '" "std::string const &""'");
08292 }
08293 if (!ptr) {
08294 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_send" "', argument " "11"" of type '" "std::string const &""'");
08295 }
08296 arg11 = ptr;
08297 }
08298 result = (dtn_bundle_id *)dtn_send(arg1,arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,arg6,arg7,arg8,arg9,(std::string const &)*arg10,(std::string const &)*arg11);
08299 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_bundle_id, 0 | SWIG_SHADOW); argvi++ ;
08300
08301
08302 if (SWIG_IsNewObj(res3)) delete arg3;
08303 if (SWIG_IsNewObj(res4)) delete arg4;
08304 if (SWIG_IsNewObj(res5)) delete arg5;
08305
08306
08307
08308
08309 if (SWIG_IsNewObj(res10)) delete arg10;
08310 if (SWIG_IsNewObj(res11)) delete arg11;
08311 XSRETURN(argvi);
08312 fail:
08313
08314
08315 if (SWIG_IsNewObj(res3)) delete arg3;
08316 if (SWIG_IsNewObj(res4)) delete arg4;
08317 if (SWIG_IsNewObj(res5)) delete arg5;
08318
08319
08320
08321
08322 if (SWIG_IsNewObj(res10)) delete arg10;
08323 if (SWIG_IsNewObj(res11)) delete arg11;
08324 SWIG_croak_null();
08325 }
08326 }
08327
08328
08329 XS(_wrap_dtn_send__SWIG_2) {
08330 {
08331 int arg1 ;
08332 int arg2 ;
08333 std::string *arg3 = 0 ;
08334 std::string *arg4 = 0 ;
08335 std::string *arg5 = 0 ;
08336 unsigned int arg6 ;
08337 unsigned int arg7 ;
08338 unsigned int arg8 ;
08339 unsigned int arg9 ;
08340 std::string *arg10 = 0 ;
08341 dtn_bundle_id *result = 0 ;
08342 int val1 ;
08343 int ecode1 = 0 ;
08344 int val2 ;
08345 int ecode2 = 0 ;
08346 int res3 = SWIG_OLDOBJ ;
08347 int res4 = SWIG_OLDOBJ ;
08348 int res5 = SWIG_OLDOBJ ;
08349 unsigned int val6 ;
08350 int ecode6 = 0 ;
08351 unsigned int val7 ;
08352 int ecode7 = 0 ;
08353 unsigned int val8 ;
08354 int ecode8 = 0 ;
08355 unsigned int val9 ;
08356 int ecode9 = 0 ;
08357 int res10 = SWIG_OLDOBJ ;
08358 int argvi = 0;
08359 dXSARGS;
08360
08361 if ((items < 10) || (items > 10)) {
08362 SWIG_croak("Usage: dtn_send(handle,regid,source,dest,replyto,priority,dopts,expiration,payload_location,payload_data);");
08363 }
08364 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
08365 if (!SWIG_IsOK(ecode1)) {
08366 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "dtn_send" "', argument " "1"" of type '" "int""'");
08367 }
08368 arg1 = static_cast< int >(val1);
08369 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
08370 if (!SWIG_IsOK(ecode2)) {
08371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_send" "', argument " "2"" of type '" "int""'");
08372 }
08373 arg2 = static_cast< int >(val2);
08374 {
08375 std::string *ptr = (std::string *)0;
08376 res3 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), &ptr);
08377 if (!SWIG_IsOK(res3)) {
08378 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "dtn_send" "', argument " "3"" of type '" "std::string const &""'");
08379 }
08380 if (!ptr) {
08381 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_send" "', argument " "3"" of type '" "std::string const &""'");
08382 }
08383 arg3 = ptr;
08384 }
08385 {
08386 std::string *ptr = (std::string *)0;
08387 res4 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(3), &ptr);
08388 if (!SWIG_IsOK(res4)) {
08389 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "dtn_send" "', argument " "4"" of type '" "std::string const &""'");
08390 }
08391 if (!ptr) {
08392 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_send" "', argument " "4"" of type '" "std::string const &""'");
08393 }
08394 arg4 = ptr;
08395 }
08396 {
08397 std::string *ptr = (std::string *)0;
08398 res5 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(4), &ptr);
08399 if (!SWIG_IsOK(res5)) {
08400 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "dtn_send" "', argument " "5"" of type '" "std::string const &""'");
08401 }
08402 if (!ptr) {
08403 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_send" "', argument " "5"" of type '" "std::string const &""'");
08404 }
08405 arg5 = ptr;
08406 }
08407 ecode6 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
08408 if (!SWIG_IsOK(ecode6)) {
08409 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "dtn_send" "', argument " "6"" of type '" "unsigned int""'");
08410 }
08411 arg6 = static_cast< unsigned int >(val6);
08412 ecode7 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(6), &val7);
08413 if (!SWIG_IsOK(ecode7)) {
08414 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "dtn_send" "', argument " "7"" of type '" "unsigned int""'");
08415 }
08416 arg7 = static_cast< unsigned int >(val7);
08417 ecode8 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(7), &val8);
08418 if (!SWIG_IsOK(ecode8)) {
08419 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "dtn_send" "', argument " "8"" of type '" "unsigned int""'");
08420 }
08421 arg8 = static_cast< unsigned int >(val8);
08422 ecode9 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(8), &val9);
08423 if (!SWIG_IsOK(ecode9)) {
08424 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "dtn_send" "', argument " "9"" of type '" "unsigned int""'");
08425 }
08426 arg9 = static_cast< unsigned int >(val9);
08427 {
08428 std::string *ptr = (std::string *)0;
08429 res10 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(9), &ptr);
08430 if (!SWIG_IsOK(res10)) {
08431 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "dtn_send" "', argument " "10"" of type '" "std::string const &""'");
08432 }
08433 if (!ptr) {
08434 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_send" "', argument " "10"" of type '" "std::string const &""'");
08435 }
08436 arg10 = ptr;
08437 }
08438 result = (dtn_bundle_id *)dtn_send(arg1,arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5,arg6,arg7,arg8,arg9,(std::string const &)*arg10);
08439 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_bundle_id, 0 | SWIG_SHADOW); argvi++ ;
08440
08441
08442 if (SWIG_IsNewObj(res3)) delete arg3;
08443 if (SWIG_IsNewObj(res4)) delete arg4;
08444 if (SWIG_IsNewObj(res5)) delete arg5;
08445
08446
08447
08448
08449 if (SWIG_IsNewObj(res10)) delete arg10;
08450 XSRETURN(argvi);
08451 fail:
08452
08453
08454 if (SWIG_IsNewObj(res3)) delete arg3;
08455 if (SWIG_IsNewObj(res4)) delete arg4;
08456 if (SWIG_IsNewObj(res5)) delete arg5;
08457
08458
08459
08460
08461 if (SWIG_IsNewObj(res10)) delete arg10;
08462 SWIG_croak_null();
08463 }
08464 }
08465
08466
08467 XS(_wrap_dtn_send) {
08468 dXSARGS;
08469
08470 {
08471 unsigned long _index = 0;
08472 SWIG_TypeRank _rank = 0;
08473 if (items == 10) {
08474 SWIG_TypeRank _ranki = 0;
08475 SWIG_TypeRank _rankm = 0;
08476 SWIG_TypeRank _pi = 1;
08477 int _v = 0;
08478 {
08479 {
08480 int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
08481 _v = SWIG_CheckState(res);
08482 }
08483 }
08484 if (!_v) goto check_1;
08485 _ranki += _v*_pi;
08486 _rankm += _pi;
08487 _pi *= SWIG_MAXCASTRANK;
08488 {
08489 {
08490 int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL);
08491 _v = SWIG_CheckState(res);
08492 }
08493 }
08494 if (!_v) goto check_1;
08495 _ranki += _v*_pi;
08496 _rankm += _pi;
08497 _pi *= SWIG_MAXCASTRANK;
08498 {
08499 int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), (std::string**)(0));
08500 _v = SWIG_CheckState(res);
08501 }
08502 if (!_v) goto check_1;
08503 _ranki += _v*_pi;
08504 _rankm += _pi;
08505 _pi *= SWIG_MAXCASTRANK;
08506 {
08507 int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(3), (std::string**)(0));
08508 _v = SWIG_CheckState(res);
08509 }
08510 if (!_v) goto check_1;
08511 _ranki += _v*_pi;
08512 _rankm += _pi;
08513 _pi *= SWIG_MAXCASTRANK;
08514 {
08515 int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(4), (std::string**)(0));
08516 _v = SWIG_CheckState(res);
08517 }
08518 if (!_v) goto check_1;
08519 _ranki += _v*_pi;
08520 _rankm += _pi;
08521 _pi *= SWIG_MAXCASTRANK;
08522 {
08523 {
08524 int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(5), NULL);
08525 _v = SWIG_CheckState(res);
08526 }
08527 }
08528 if (!_v) goto check_1;
08529 _ranki += _v*_pi;
08530 _rankm += _pi;
08531 _pi *= SWIG_MAXCASTRANK;
08532 {
08533 {
08534 int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(6), NULL);
08535 _v = SWIG_CheckState(res);
08536 }
08537 }
08538 if (!_v) goto check_1;
08539 _ranki += _v*_pi;
08540 _rankm += _pi;
08541 _pi *= SWIG_MAXCASTRANK;
08542 {
08543 {
08544 int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(7), NULL);
08545 _v = SWIG_CheckState(res);
08546 }
08547 }
08548 if (!_v) goto check_1;
08549 _ranki += _v*_pi;
08550 _rankm += _pi;
08551 _pi *= SWIG_MAXCASTRANK;
08552 {
08553 {
08554 int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(8), NULL);
08555 _v = SWIG_CheckState(res);
08556 }
08557 }
08558 if (!_v) goto check_1;
08559 _ranki += _v*_pi;
08560 _rankm += _pi;
08561 _pi *= SWIG_MAXCASTRANK;
08562 {
08563 int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(9), (std::string**)(0));
08564 _v = SWIG_CheckState(res);
08565 }
08566 if (!_v) goto check_1;
08567 _ranki += _v*_pi;
08568 _rankm += _pi;
08569 _pi *= SWIG_MAXCASTRANK;
08570 if (!_index || (_ranki < _rank)) {
08571 _rank = _ranki; _index = 1;
08572 if (_rank == _rankm) goto dispatch;
08573 }
08574 }
08575 check_1:
08576
08577 if (items == 11) {
08578 SWIG_TypeRank _ranki = 0;
08579 SWIG_TypeRank _rankm = 0;
08580 SWIG_TypeRank _pi = 1;
08581 int _v = 0;
08582 {
08583 {
08584 int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
08585 _v = SWIG_CheckState(res);
08586 }
08587 }
08588 if (!_v) goto check_2;
08589 _ranki += _v*_pi;
08590 _rankm += _pi;
08591 _pi *= SWIG_MAXCASTRANK;
08592 {
08593 {
08594 int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL);
08595 _v = SWIG_CheckState(res);
08596 }
08597 }
08598 if (!_v) goto check_2;
08599 _ranki += _v*_pi;
08600 _rankm += _pi;
08601 _pi *= SWIG_MAXCASTRANK;
08602 {
08603 int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), (std::string**)(0));
08604 _v = SWIG_CheckState(res);
08605 }
08606 if (!_v) goto check_2;
08607 _ranki += _v*_pi;
08608 _rankm += _pi;
08609 _pi *= SWIG_MAXCASTRANK;
08610 {
08611 int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(3), (std::string**)(0));
08612 _v = SWIG_CheckState(res);
08613 }
08614 if (!_v) goto check_2;
08615 _ranki += _v*_pi;
08616 _rankm += _pi;
08617 _pi *= SWIG_MAXCASTRANK;
08618 {
08619 int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(4), (std::string**)(0));
08620 _v = SWIG_CheckState(res);
08621 }
08622 if (!_v) goto check_2;
08623 _ranki += _v*_pi;
08624 _rankm += _pi;
08625 _pi *= SWIG_MAXCASTRANK;
08626 {
08627 {
08628 int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(5), NULL);
08629 _v = SWIG_CheckState(res);
08630 }
08631 }
08632 if (!_v) goto check_2;
08633 _ranki += _v*_pi;
08634 _rankm += _pi;
08635 _pi *= SWIG_MAXCASTRANK;
08636 {
08637 {
08638 int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(6), NULL);
08639 _v = SWIG_CheckState(res);
08640 }
08641 }
08642 if (!_v) goto check_2;
08643 _ranki += _v*_pi;
08644 _rankm += _pi;
08645 _pi *= SWIG_MAXCASTRANK;
08646 {
08647 {
08648 int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(7), NULL);
08649 _v = SWIG_CheckState(res);
08650 }
08651 }
08652 if (!_v) goto check_2;
08653 _ranki += _v*_pi;
08654 _rankm += _pi;
08655 _pi *= SWIG_MAXCASTRANK;
08656 {
08657 {
08658 int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(8), NULL);
08659 _v = SWIG_CheckState(res);
08660 }
08661 }
08662 if (!_v) goto check_2;
08663 _ranki += _v*_pi;
08664 _rankm += _pi;
08665 _pi *= SWIG_MAXCASTRANK;
08666 {
08667 int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(9), (std::string**)(0));
08668 _v = SWIG_CheckState(res);
08669 }
08670 if (!_v) goto check_2;
08671 _ranki += _v*_pi;
08672 _rankm += _pi;
08673 _pi *= SWIG_MAXCASTRANK;
08674 {
08675 int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(10), (std::string**)(0));
08676 _v = SWIG_CheckState(res);
08677 }
08678 if (!_v) goto check_2;
08679 _ranki += _v*_pi;
08680 _rankm += _pi;
08681 _pi *= SWIG_MAXCASTRANK;
08682 if (!_index || (_ranki < _rank)) {
08683 _rank = _ranki; _index = 2;
08684 if (_rank == _rankm) goto dispatch;
08685 }
08686 }
08687 check_2:
08688
08689 if (items == 12) {
08690 SWIG_TypeRank _ranki = 0;
08691 SWIG_TypeRank _rankm = 0;
08692 SWIG_TypeRank _pi = 1;
08693 int _v = 0;
08694 {
08695 {
08696 int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), NULL);
08697 _v = SWIG_CheckState(res);
08698 }
08699 }
08700 if (!_v) goto check_3;
08701 _ranki += _v*_pi;
08702 _rankm += _pi;
08703 _pi *= SWIG_MAXCASTRANK;
08704 {
08705 {
08706 int res = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL);
08707 _v = SWIG_CheckState(res);
08708 }
08709 }
08710 if (!_v) goto check_3;
08711 _ranki += _v*_pi;
08712 _rankm += _pi;
08713 _pi *= SWIG_MAXCASTRANK;
08714 {
08715 int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(2), (std::string**)(0));
08716 _v = SWIG_CheckState(res);
08717 }
08718 if (!_v) goto check_3;
08719 _ranki += _v*_pi;
08720 _rankm += _pi;
08721 _pi *= SWIG_MAXCASTRANK;
08722 {
08723 int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(3), (std::string**)(0));
08724 _v = SWIG_CheckState(res);
08725 }
08726 if (!_v) goto check_3;
08727 _ranki += _v*_pi;
08728 _rankm += _pi;
08729 _pi *= SWIG_MAXCASTRANK;
08730 {
08731 int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(4), (std::string**)(0));
08732 _v = SWIG_CheckState(res);
08733 }
08734 if (!_v) goto check_3;
08735 _ranki += _v*_pi;
08736 _rankm += _pi;
08737 _pi *= SWIG_MAXCASTRANK;
08738 {
08739 {
08740 int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(5), NULL);
08741 _v = SWIG_CheckState(res);
08742 }
08743 }
08744 if (!_v) goto check_3;
08745 _ranki += _v*_pi;
08746 _rankm += _pi;
08747 _pi *= SWIG_MAXCASTRANK;
08748 {
08749 {
08750 int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(6), NULL);
08751 _v = SWIG_CheckState(res);
08752 }
08753 }
08754 if (!_v) goto check_3;
08755 _ranki += _v*_pi;
08756 _rankm += _pi;
08757 _pi *= SWIG_MAXCASTRANK;
08758 {
08759 {
08760 int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(7), NULL);
08761 _v = SWIG_CheckState(res);
08762 }
08763 }
08764 if (!_v) goto check_3;
08765 _ranki += _v*_pi;
08766 _rankm += _pi;
08767 _pi *= SWIG_MAXCASTRANK;
08768 {
08769 {
08770 int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(8), NULL);
08771 _v = SWIG_CheckState(res);
08772 }
08773 }
08774 if (!_v) goto check_3;
08775 _ranki += _v*_pi;
08776 _rankm += _pi;
08777 _pi *= SWIG_MAXCASTRANK;
08778 {
08779 int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(9), (std::string**)(0));
08780 _v = SWIG_CheckState(res);
08781 }
08782 if (!_v) goto check_3;
08783 _ranki += _v*_pi;
08784 _rankm += _pi;
08785 _pi *= SWIG_MAXCASTRANK;
08786 {
08787 int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(10), (std::string**)(0));
08788 _v = SWIG_CheckState(res);
08789 }
08790 if (!_v) goto check_3;
08791 _ranki += _v*_pi;
08792 _rankm += _pi;
08793 _pi *= SWIG_MAXCASTRANK;
08794 {
08795 int res = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(11), (std::string**)(0));
08796 _v = SWIG_CheckState(res);
08797 }
08798 if (!_v) goto check_3;
08799 _ranki += _v*_pi;
08800 _rankm += _pi;
08801 _pi *= SWIG_MAXCASTRANK;
08802 if (!_index || (_ranki < _rank)) {
08803 _rank = _ranki; _index = 3;
08804 if (_rank == _rankm) goto dispatch;
08805 }
08806 }
08807 check_3:
08808
08809 dispatch:
08810 switch(_index) {
08811 case 1:
08812 ++PL_markstack_ptr; SWIG_CALLXS(_wrap_dtn_send__SWIG_2); return;
08813 case 2:
08814 ++PL_markstack_ptr; SWIG_CALLXS(_wrap_dtn_send__SWIG_1); return;
08815 case 3:
08816 ++PL_markstack_ptr; SWIG_CALLXS(_wrap_dtn_send__SWIG_0); return;
08817 }
08818 }
08819
08820 croak("No matching function for overloaded 'dtn_send'");
08821 XSRETURN(0);
08822 }
08823
08824
08825 XS(_wrap_dtn_cancel) {
08826 {
08827 int arg1 ;
08828 dtn_bundle_id *arg2 = 0 ;
08829 int result;
08830 int val1 ;
08831 int ecode1 = 0 ;
08832 void *argp2 ;
08833 int res2 = 0 ;
08834 int argvi = 0;
08835 dXSARGS;
08836
08837 if ((items < 2) || (items > 2)) {
08838 SWIG_croak("Usage: dtn_cancel(handle,id);");
08839 }
08840 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
08841 if (!SWIG_IsOK(ecode1)) {
08842 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "dtn_cancel" "', argument " "1"" of type '" "int""'");
08843 }
08844 arg1 = static_cast< int >(val1);
08845 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_dtn_bundle_id, 0 );
08846 if (!SWIG_IsOK(res2)) {
08847 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_cancel" "', argument " "2"" of type '" "dtn_bundle_id const &""'");
08848 }
08849 if (!argp2) {
08850 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_cancel" "', argument " "2"" of type '" "dtn_bundle_id const &""'");
08851 }
08852 arg2 = reinterpret_cast< dtn_bundle_id * >(argp2);
08853 result = (int)dtn_cancel(arg1,(dtn_bundle_id const &)*arg2);
08854 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
08855
08856
08857 XSRETURN(argvi);
08858 fail:
08859
08860
08861 SWIG_croak_null();
08862 }
08863 }
08864
08865
08866 XS(_wrap_dtn_status_report_bundle_id_set) {
08867 {
08868 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
08869 dtn_bundle_id *arg2 = (dtn_bundle_id *) 0 ;
08870 void *argp1 = 0 ;
08871 int res1 = 0 ;
08872 void *argp2 = 0 ;
08873 int res2 = 0 ;
08874 int argvi = 0;
08875 dXSARGS;
08876
08877 if ((items < 2) || (items > 2)) {
08878 SWIG_croak("Usage: dtn_status_report_bundle_id_set(self,bundle_id);");
08879 }
08880 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
08881 if (!SWIG_IsOK(res1)) {
08882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_bundle_id_set" "', argument " "1"" of type '" "dtn_status_report *""'");
08883 }
08884 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
08885 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_bundle_id, 0 | 0 );
08886 if (!SWIG_IsOK(res2)) {
08887 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_status_report_bundle_id_set" "', argument " "2"" of type '" "dtn_bundle_id *""'");
08888 }
08889 arg2 = reinterpret_cast< dtn_bundle_id * >(argp2);
08890 if (arg1) (arg1)->bundle_id = *arg2;
08891
08892
08893
08894
08895 XSRETURN(argvi);
08896 fail:
08897
08898
08899 SWIG_croak_null();
08900 }
08901 }
08902
08903
08904 XS(_wrap_dtn_status_report_bundle_id_get) {
08905 {
08906 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
08907 dtn_bundle_id *result = 0 ;
08908 void *argp1 = 0 ;
08909 int res1 = 0 ;
08910 int argvi = 0;
08911 dXSARGS;
08912
08913 if ((items < 1) || (items > 1)) {
08914 SWIG_croak("Usage: dtn_status_report_bundle_id_get(self);");
08915 }
08916 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
08917 if (!SWIG_IsOK(res1)) {
08918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_bundle_id_get" "', argument " "1"" of type '" "dtn_status_report *""'");
08919 }
08920 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
08921 result = (dtn_bundle_id *)& ((arg1)->bundle_id);
08922 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_bundle_id, 0 | SWIG_SHADOW); argvi++ ;
08923
08924 XSRETURN(argvi);
08925 fail:
08926
08927 SWIG_croak_null();
08928 }
08929 }
08930
08931
08932 XS(_wrap_dtn_status_report_reason_set) {
08933 {
08934 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
08935 unsigned int arg2 ;
08936 void *argp1 = 0 ;
08937 int res1 = 0 ;
08938 unsigned int val2 ;
08939 int ecode2 = 0 ;
08940 int argvi = 0;
08941 dXSARGS;
08942
08943 if ((items < 2) || (items > 2)) {
08944 SWIG_croak("Usage: dtn_status_report_reason_set(self,reason);");
08945 }
08946 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
08947 if (!SWIG_IsOK(res1)) {
08948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_reason_set" "', argument " "1"" of type '" "dtn_status_report *""'");
08949 }
08950 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
08951 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
08952 if (!SWIG_IsOK(ecode2)) {
08953 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_status_report_reason_set" "', argument " "2"" of type '" "unsigned int""'");
08954 }
08955 arg2 = static_cast< unsigned int >(val2);
08956 if (arg1) (arg1)->reason = arg2;
08957
08958
08959
08960
08961 XSRETURN(argvi);
08962 fail:
08963
08964
08965 SWIG_croak_null();
08966 }
08967 }
08968
08969
08970 XS(_wrap_dtn_status_report_reason_get) {
08971 {
08972 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
08973 unsigned int result;
08974 void *argp1 = 0 ;
08975 int res1 = 0 ;
08976 int argvi = 0;
08977 dXSARGS;
08978
08979 if ((items < 1) || (items > 1)) {
08980 SWIG_croak("Usage: dtn_status_report_reason_get(self);");
08981 }
08982 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
08983 if (!SWIG_IsOK(res1)) {
08984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_reason_get" "', argument " "1"" of type '" "dtn_status_report *""'");
08985 }
08986 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
08987 result = (unsigned int) ((arg1)->reason);
08988 ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
08989
08990 XSRETURN(argvi);
08991 fail:
08992
08993 SWIG_croak_null();
08994 }
08995 }
08996
08997
08998 XS(_wrap_dtn_status_report_flags_set) {
08999 {
09000 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09001 unsigned int arg2 ;
09002 void *argp1 = 0 ;
09003 int res1 = 0 ;
09004 unsigned int val2 ;
09005 int ecode2 = 0 ;
09006 int argvi = 0;
09007 dXSARGS;
09008
09009 if ((items < 2) || (items > 2)) {
09010 SWIG_croak("Usage: dtn_status_report_flags_set(self,flags);");
09011 }
09012 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09013 if (!SWIG_IsOK(res1)) {
09014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_flags_set" "', argument " "1"" of type '" "dtn_status_report *""'");
09015 }
09016 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09017 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
09018 if (!SWIG_IsOK(ecode2)) {
09019 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_status_report_flags_set" "', argument " "2"" of type '" "unsigned int""'");
09020 }
09021 arg2 = static_cast< unsigned int >(val2);
09022 if (arg1) (arg1)->flags = arg2;
09023
09024
09025
09026
09027 XSRETURN(argvi);
09028 fail:
09029
09030
09031 SWIG_croak_null();
09032 }
09033 }
09034
09035
09036 XS(_wrap_dtn_status_report_flags_get) {
09037 {
09038 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09039 unsigned int result;
09040 void *argp1 = 0 ;
09041 int res1 = 0 ;
09042 int argvi = 0;
09043 dXSARGS;
09044
09045 if ((items < 1) || (items > 1)) {
09046 SWIG_croak("Usage: dtn_status_report_flags_get(self);");
09047 }
09048 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09049 if (!SWIG_IsOK(res1)) {
09050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_flags_get" "', argument " "1"" of type '" "dtn_status_report *""'");
09051 }
09052 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09053 result = (unsigned int) ((arg1)->flags);
09054 ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
09055
09056 XSRETURN(argvi);
09057 fail:
09058
09059 SWIG_croak_null();
09060 }
09061 }
09062
09063
09064 XS(_wrap_dtn_status_report_receipt_ts_secs_set) {
09065 {
09066 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09067 unsigned int arg2 ;
09068 void *argp1 = 0 ;
09069 int res1 = 0 ;
09070 unsigned int val2 ;
09071 int ecode2 = 0 ;
09072 int argvi = 0;
09073 dXSARGS;
09074
09075 if ((items < 2) || (items > 2)) {
09076 SWIG_croak("Usage: dtn_status_report_receipt_ts_secs_set(self,receipt_ts_secs);");
09077 }
09078 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09079 if (!SWIG_IsOK(res1)) {
09080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_receipt_ts_secs_set" "', argument " "1"" of type '" "dtn_status_report *""'");
09081 }
09082 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09083 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
09084 if (!SWIG_IsOK(ecode2)) {
09085 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_status_report_receipt_ts_secs_set" "', argument " "2"" of type '" "unsigned int""'");
09086 }
09087 arg2 = static_cast< unsigned int >(val2);
09088 if (arg1) (arg1)->receipt_ts_secs = arg2;
09089
09090
09091
09092
09093 XSRETURN(argvi);
09094 fail:
09095
09096
09097 SWIG_croak_null();
09098 }
09099 }
09100
09101
09102 XS(_wrap_dtn_status_report_receipt_ts_secs_get) {
09103 {
09104 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09105 unsigned int result;
09106 void *argp1 = 0 ;
09107 int res1 = 0 ;
09108 int argvi = 0;
09109 dXSARGS;
09110
09111 if ((items < 1) || (items > 1)) {
09112 SWIG_croak("Usage: dtn_status_report_receipt_ts_secs_get(self);");
09113 }
09114 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09115 if (!SWIG_IsOK(res1)) {
09116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_receipt_ts_secs_get" "', argument " "1"" of type '" "dtn_status_report *""'");
09117 }
09118 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09119 result = (unsigned int) ((arg1)->receipt_ts_secs);
09120 ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
09121
09122 XSRETURN(argvi);
09123 fail:
09124
09125 SWIG_croak_null();
09126 }
09127 }
09128
09129
09130 XS(_wrap_dtn_status_report_receipt_ts_seqno_set) {
09131 {
09132 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09133 unsigned int arg2 ;
09134 void *argp1 = 0 ;
09135 int res1 = 0 ;
09136 unsigned int val2 ;
09137 int ecode2 = 0 ;
09138 int argvi = 0;
09139 dXSARGS;
09140
09141 if ((items < 2) || (items > 2)) {
09142 SWIG_croak("Usage: dtn_status_report_receipt_ts_seqno_set(self,receipt_ts_seqno);");
09143 }
09144 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09145 if (!SWIG_IsOK(res1)) {
09146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_receipt_ts_seqno_set" "', argument " "1"" of type '" "dtn_status_report *""'");
09147 }
09148 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09149 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
09150 if (!SWIG_IsOK(ecode2)) {
09151 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_status_report_receipt_ts_seqno_set" "', argument " "2"" of type '" "unsigned int""'");
09152 }
09153 arg2 = static_cast< unsigned int >(val2);
09154 if (arg1) (arg1)->receipt_ts_seqno = arg2;
09155
09156
09157
09158
09159 XSRETURN(argvi);
09160 fail:
09161
09162
09163 SWIG_croak_null();
09164 }
09165 }
09166
09167
09168 XS(_wrap_dtn_status_report_receipt_ts_seqno_get) {
09169 {
09170 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09171 unsigned int result;
09172 void *argp1 = 0 ;
09173 int res1 = 0 ;
09174 int argvi = 0;
09175 dXSARGS;
09176
09177 if ((items < 1) || (items > 1)) {
09178 SWIG_croak("Usage: dtn_status_report_receipt_ts_seqno_get(self);");
09179 }
09180 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09181 if (!SWIG_IsOK(res1)) {
09182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_receipt_ts_seqno_get" "', argument " "1"" of type '" "dtn_status_report *""'");
09183 }
09184 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09185 result = (unsigned int) ((arg1)->receipt_ts_seqno);
09186 ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
09187
09188 XSRETURN(argvi);
09189 fail:
09190
09191 SWIG_croak_null();
09192 }
09193 }
09194
09195
09196 XS(_wrap_dtn_status_report_custody_ts_secs_set) {
09197 {
09198 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09199 unsigned int arg2 ;
09200 void *argp1 = 0 ;
09201 int res1 = 0 ;
09202 unsigned int val2 ;
09203 int ecode2 = 0 ;
09204 int argvi = 0;
09205 dXSARGS;
09206
09207 if ((items < 2) || (items > 2)) {
09208 SWIG_croak("Usage: dtn_status_report_custody_ts_secs_set(self,custody_ts_secs);");
09209 }
09210 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09211 if (!SWIG_IsOK(res1)) {
09212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_custody_ts_secs_set" "', argument " "1"" of type '" "dtn_status_report *""'");
09213 }
09214 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09215 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
09216 if (!SWIG_IsOK(ecode2)) {
09217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_status_report_custody_ts_secs_set" "', argument " "2"" of type '" "unsigned int""'");
09218 }
09219 arg2 = static_cast< unsigned int >(val2);
09220 if (arg1) (arg1)->custody_ts_secs = arg2;
09221
09222
09223
09224
09225 XSRETURN(argvi);
09226 fail:
09227
09228
09229 SWIG_croak_null();
09230 }
09231 }
09232
09233
09234 XS(_wrap_dtn_status_report_custody_ts_secs_get) {
09235 {
09236 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09237 unsigned int result;
09238 void *argp1 = 0 ;
09239 int res1 = 0 ;
09240 int argvi = 0;
09241 dXSARGS;
09242
09243 if ((items < 1) || (items > 1)) {
09244 SWIG_croak("Usage: dtn_status_report_custody_ts_secs_get(self);");
09245 }
09246 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09247 if (!SWIG_IsOK(res1)) {
09248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_custody_ts_secs_get" "', argument " "1"" of type '" "dtn_status_report *""'");
09249 }
09250 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09251 result = (unsigned int) ((arg1)->custody_ts_secs);
09252 ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
09253
09254 XSRETURN(argvi);
09255 fail:
09256
09257 SWIG_croak_null();
09258 }
09259 }
09260
09261
09262 XS(_wrap_dtn_status_report_custody_ts_seqno_set) {
09263 {
09264 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09265 unsigned int arg2 ;
09266 void *argp1 = 0 ;
09267 int res1 = 0 ;
09268 unsigned int val2 ;
09269 int ecode2 = 0 ;
09270 int argvi = 0;
09271 dXSARGS;
09272
09273 if ((items < 2) || (items > 2)) {
09274 SWIG_croak("Usage: dtn_status_report_custody_ts_seqno_set(self,custody_ts_seqno);");
09275 }
09276 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09277 if (!SWIG_IsOK(res1)) {
09278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_custody_ts_seqno_set" "', argument " "1"" of type '" "dtn_status_report *""'");
09279 }
09280 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09281 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
09282 if (!SWIG_IsOK(ecode2)) {
09283 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_status_report_custody_ts_seqno_set" "', argument " "2"" of type '" "unsigned int""'");
09284 }
09285 arg2 = static_cast< unsigned int >(val2);
09286 if (arg1) (arg1)->custody_ts_seqno = arg2;
09287
09288
09289
09290
09291 XSRETURN(argvi);
09292 fail:
09293
09294
09295 SWIG_croak_null();
09296 }
09297 }
09298
09299
09300 XS(_wrap_dtn_status_report_custody_ts_seqno_get) {
09301 {
09302 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09303 unsigned int result;
09304 void *argp1 = 0 ;
09305 int res1 = 0 ;
09306 int argvi = 0;
09307 dXSARGS;
09308
09309 if ((items < 1) || (items > 1)) {
09310 SWIG_croak("Usage: dtn_status_report_custody_ts_seqno_get(self);");
09311 }
09312 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09313 if (!SWIG_IsOK(res1)) {
09314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_custody_ts_seqno_get" "', argument " "1"" of type '" "dtn_status_report *""'");
09315 }
09316 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09317 result = (unsigned int) ((arg1)->custody_ts_seqno);
09318 ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
09319
09320 XSRETURN(argvi);
09321 fail:
09322
09323 SWIG_croak_null();
09324 }
09325 }
09326
09327
09328 XS(_wrap_dtn_status_report_forwarding_ts_secs_set) {
09329 {
09330 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09331 unsigned int arg2 ;
09332 void *argp1 = 0 ;
09333 int res1 = 0 ;
09334 unsigned int val2 ;
09335 int ecode2 = 0 ;
09336 int argvi = 0;
09337 dXSARGS;
09338
09339 if ((items < 2) || (items > 2)) {
09340 SWIG_croak("Usage: dtn_status_report_forwarding_ts_secs_set(self,forwarding_ts_secs);");
09341 }
09342 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09343 if (!SWIG_IsOK(res1)) {
09344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_forwarding_ts_secs_set" "', argument " "1"" of type '" "dtn_status_report *""'");
09345 }
09346 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09347 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
09348 if (!SWIG_IsOK(ecode2)) {
09349 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_status_report_forwarding_ts_secs_set" "', argument " "2"" of type '" "unsigned int""'");
09350 }
09351 arg2 = static_cast< unsigned int >(val2);
09352 if (arg1) (arg1)->forwarding_ts_secs = arg2;
09353
09354
09355
09356
09357 XSRETURN(argvi);
09358 fail:
09359
09360
09361 SWIG_croak_null();
09362 }
09363 }
09364
09365
09366 XS(_wrap_dtn_status_report_forwarding_ts_secs_get) {
09367 {
09368 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09369 unsigned int result;
09370 void *argp1 = 0 ;
09371 int res1 = 0 ;
09372 int argvi = 0;
09373 dXSARGS;
09374
09375 if ((items < 1) || (items > 1)) {
09376 SWIG_croak("Usage: dtn_status_report_forwarding_ts_secs_get(self);");
09377 }
09378 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09379 if (!SWIG_IsOK(res1)) {
09380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_forwarding_ts_secs_get" "', argument " "1"" of type '" "dtn_status_report *""'");
09381 }
09382 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09383 result = (unsigned int) ((arg1)->forwarding_ts_secs);
09384 ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
09385
09386 XSRETURN(argvi);
09387 fail:
09388
09389 SWIG_croak_null();
09390 }
09391 }
09392
09393
09394 XS(_wrap_dtn_status_report_forwarding_ts_seqno_set) {
09395 {
09396 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09397 unsigned int arg2 ;
09398 void *argp1 = 0 ;
09399 int res1 = 0 ;
09400 unsigned int val2 ;
09401 int ecode2 = 0 ;
09402 int argvi = 0;
09403 dXSARGS;
09404
09405 if ((items < 2) || (items > 2)) {
09406 SWIG_croak("Usage: dtn_status_report_forwarding_ts_seqno_set(self,forwarding_ts_seqno);");
09407 }
09408 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09409 if (!SWIG_IsOK(res1)) {
09410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_forwarding_ts_seqno_set" "', argument " "1"" of type '" "dtn_status_report *""'");
09411 }
09412 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09413 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
09414 if (!SWIG_IsOK(ecode2)) {
09415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_status_report_forwarding_ts_seqno_set" "', argument " "2"" of type '" "unsigned int""'");
09416 }
09417 arg2 = static_cast< unsigned int >(val2);
09418 if (arg1) (arg1)->forwarding_ts_seqno = arg2;
09419
09420
09421
09422
09423 XSRETURN(argvi);
09424 fail:
09425
09426
09427 SWIG_croak_null();
09428 }
09429 }
09430
09431
09432 XS(_wrap_dtn_status_report_forwarding_ts_seqno_get) {
09433 {
09434 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09435 unsigned int result;
09436 void *argp1 = 0 ;
09437 int res1 = 0 ;
09438 int argvi = 0;
09439 dXSARGS;
09440
09441 if ((items < 1) || (items > 1)) {
09442 SWIG_croak("Usage: dtn_status_report_forwarding_ts_seqno_get(self);");
09443 }
09444 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09445 if (!SWIG_IsOK(res1)) {
09446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_forwarding_ts_seqno_get" "', argument " "1"" of type '" "dtn_status_report *""'");
09447 }
09448 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09449 result = (unsigned int) ((arg1)->forwarding_ts_seqno);
09450 ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
09451
09452 XSRETURN(argvi);
09453 fail:
09454
09455 SWIG_croak_null();
09456 }
09457 }
09458
09459
09460 XS(_wrap_dtn_status_report_delivery_ts_secs_set) {
09461 {
09462 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09463 unsigned int arg2 ;
09464 void *argp1 = 0 ;
09465 int res1 = 0 ;
09466 unsigned int val2 ;
09467 int ecode2 = 0 ;
09468 int argvi = 0;
09469 dXSARGS;
09470
09471 if ((items < 2) || (items > 2)) {
09472 SWIG_croak("Usage: dtn_status_report_delivery_ts_secs_set(self,delivery_ts_secs);");
09473 }
09474 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09475 if (!SWIG_IsOK(res1)) {
09476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_delivery_ts_secs_set" "', argument " "1"" of type '" "dtn_status_report *""'");
09477 }
09478 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09479 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
09480 if (!SWIG_IsOK(ecode2)) {
09481 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_status_report_delivery_ts_secs_set" "', argument " "2"" of type '" "unsigned int""'");
09482 }
09483 arg2 = static_cast< unsigned int >(val2);
09484 if (arg1) (arg1)->delivery_ts_secs = arg2;
09485
09486
09487
09488
09489 XSRETURN(argvi);
09490 fail:
09491
09492
09493 SWIG_croak_null();
09494 }
09495 }
09496
09497
09498 XS(_wrap_dtn_status_report_delivery_ts_secs_get) {
09499 {
09500 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09501 unsigned int result;
09502 void *argp1 = 0 ;
09503 int res1 = 0 ;
09504 int argvi = 0;
09505 dXSARGS;
09506
09507 if ((items < 1) || (items > 1)) {
09508 SWIG_croak("Usage: dtn_status_report_delivery_ts_secs_get(self);");
09509 }
09510 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09511 if (!SWIG_IsOK(res1)) {
09512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_delivery_ts_secs_get" "', argument " "1"" of type '" "dtn_status_report *""'");
09513 }
09514 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09515 result = (unsigned int) ((arg1)->delivery_ts_secs);
09516 ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
09517
09518 XSRETURN(argvi);
09519 fail:
09520
09521 SWIG_croak_null();
09522 }
09523 }
09524
09525
09526 XS(_wrap_dtn_status_report_delivery_ts_seqno_set) {
09527 {
09528 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09529 unsigned int arg2 ;
09530 void *argp1 = 0 ;
09531 int res1 = 0 ;
09532 unsigned int val2 ;
09533 int ecode2 = 0 ;
09534 int argvi = 0;
09535 dXSARGS;
09536
09537 if ((items < 2) || (items > 2)) {
09538 SWIG_croak("Usage: dtn_status_report_delivery_ts_seqno_set(self,delivery_ts_seqno);");
09539 }
09540 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09541 if (!SWIG_IsOK(res1)) {
09542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_delivery_ts_seqno_set" "', argument " "1"" of type '" "dtn_status_report *""'");
09543 }
09544 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09545 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
09546 if (!SWIG_IsOK(ecode2)) {
09547 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_status_report_delivery_ts_seqno_set" "', argument " "2"" of type '" "unsigned int""'");
09548 }
09549 arg2 = static_cast< unsigned int >(val2);
09550 if (arg1) (arg1)->delivery_ts_seqno = arg2;
09551
09552
09553
09554
09555 XSRETURN(argvi);
09556 fail:
09557
09558
09559 SWIG_croak_null();
09560 }
09561 }
09562
09563
09564 XS(_wrap_dtn_status_report_delivery_ts_seqno_get) {
09565 {
09566 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09567 unsigned int result;
09568 void *argp1 = 0 ;
09569 int res1 = 0 ;
09570 int argvi = 0;
09571 dXSARGS;
09572
09573 if ((items < 1) || (items > 1)) {
09574 SWIG_croak("Usage: dtn_status_report_delivery_ts_seqno_get(self);");
09575 }
09576 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09577 if (!SWIG_IsOK(res1)) {
09578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_delivery_ts_seqno_get" "', argument " "1"" of type '" "dtn_status_report *""'");
09579 }
09580 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09581 result = (unsigned int) ((arg1)->delivery_ts_seqno);
09582 ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
09583
09584 XSRETURN(argvi);
09585 fail:
09586
09587 SWIG_croak_null();
09588 }
09589 }
09590
09591
09592 XS(_wrap_dtn_status_report_deletion_ts_secs_set) {
09593 {
09594 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09595 unsigned int arg2 ;
09596 void *argp1 = 0 ;
09597 int res1 = 0 ;
09598 unsigned int val2 ;
09599 int ecode2 = 0 ;
09600 int argvi = 0;
09601 dXSARGS;
09602
09603 if ((items < 2) || (items > 2)) {
09604 SWIG_croak("Usage: dtn_status_report_deletion_ts_secs_set(self,deletion_ts_secs);");
09605 }
09606 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09607 if (!SWIG_IsOK(res1)) {
09608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_deletion_ts_secs_set" "', argument " "1"" of type '" "dtn_status_report *""'");
09609 }
09610 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09611 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
09612 if (!SWIG_IsOK(ecode2)) {
09613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_status_report_deletion_ts_secs_set" "', argument " "2"" of type '" "unsigned int""'");
09614 }
09615 arg2 = static_cast< unsigned int >(val2);
09616 if (arg1) (arg1)->deletion_ts_secs = arg2;
09617
09618
09619
09620
09621 XSRETURN(argvi);
09622 fail:
09623
09624
09625 SWIG_croak_null();
09626 }
09627 }
09628
09629
09630 XS(_wrap_dtn_status_report_deletion_ts_secs_get) {
09631 {
09632 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09633 unsigned int result;
09634 void *argp1 = 0 ;
09635 int res1 = 0 ;
09636 int argvi = 0;
09637 dXSARGS;
09638
09639 if ((items < 1) || (items > 1)) {
09640 SWIG_croak("Usage: dtn_status_report_deletion_ts_secs_get(self);");
09641 }
09642 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09643 if (!SWIG_IsOK(res1)) {
09644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_deletion_ts_secs_get" "', argument " "1"" of type '" "dtn_status_report *""'");
09645 }
09646 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09647 result = (unsigned int) ((arg1)->deletion_ts_secs);
09648 ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
09649
09650 XSRETURN(argvi);
09651 fail:
09652
09653 SWIG_croak_null();
09654 }
09655 }
09656
09657
09658 XS(_wrap_dtn_status_report_deletion_ts_seqno_set) {
09659 {
09660 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09661 unsigned int arg2 ;
09662 void *argp1 = 0 ;
09663 int res1 = 0 ;
09664 unsigned int val2 ;
09665 int ecode2 = 0 ;
09666 int argvi = 0;
09667 dXSARGS;
09668
09669 if ((items < 2) || (items > 2)) {
09670 SWIG_croak("Usage: dtn_status_report_deletion_ts_seqno_set(self,deletion_ts_seqno);");
09671 }
09672 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09673 if (!SWIG_IsOK(res1)) {
09674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_deletion_ts_seqno_set" "', argument " "1"" of type '" "dtn_status_report *""'");
09675 }
09676 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09677 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
09678 if (!SWIG_IsOK(ecode2)) {
09679 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_status_report_deletion_ts_seqno_set" "', argument " "2"" of type '" "unsigned int""'");
09680 }
09681 arg2 = static_cast< unsigned int >(val2);
09682 if (arg1) (arg1)->deletion_ts_seqno = arg2;
09683
09684
09685
09686
09687 XSRETURN(argvi);
09688 fail:
09689
09690
09691 SWIG_croak_null();
09692 }
09693 }
09694
09695
09696 XS(_wrap_dtn_status_report_deletion_ts_seqno_get) {
09697 {
09698 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09699 unsigned int result;
09700 void *argp1 = 0 ;
09701 int res1 = 0 ;
09702 int argvi = 0;
09703 dXSARGS;
09704
09705 if ((items < 1) || (items > 1)) {
09706 SWIG_croak("Usage: dtn_status_report_deletion_ts_seqno_get(self);");
09707 }
09708 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09709 if (!SWIG_IsOK(res1)) {
09710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_deletion_ts_seqno_get" "', argument " "1"" of type '" "dtn_status_report *""'");
09711 }
09712 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09713 result = (unsigned int) ((arg1)->deletion_ts_seqno);
09714 ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
09715
09716 XSRETURN(argvi);
09717 fail:
09718
09719 SWIG_croak_null();
09720 }
09721 }
09722
09723
09724 XS(_wrap_dtn_status_report_ack_by_app_ts_secs_set) {
09725 {
09726 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09727 unsigned int arg2 ;
09728 void *argp1 = 0 ;
09729 int res1 = 0 ;
09730 unsigned int val2 ;
09731 int ecode2 = 0 ;
09732 int argvi = 0;
09733 dXSARGS;
09734
09735 if ((items < 2) || (items > 2)) {
09736 SWIG_croak("Usage: dtn_status_report_ack_by_app_ts_secs_set(self,ack_by_app_ts_secs);");
09737 }
09738 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09739 if (!SWIG_IsOK(res1)) {
09740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_ack_by_app_ts_secs_set" "', argument " "1"" of type '" "dtn_status_report *""'");
09741 }
09742 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09743 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
09744 if (!SWIG_IsOK(ecode2)) {
09745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_status_report_ack_by_app_ts_secs_set" "', argument " "2"" of type '" "unsigned int""'");
09746 }
09747 arg2 = static_cast< unsigned int >(val2);
09748 if (arg1) (arg1)->ack_by_app_ts_secs = arg2;
09749
09750
09751
09752
09753 XSRETURN(argvi);
09754 fail:
09755
09756
09757 SWIG_croak_null();
09758 }
09759 }
09760
09761
09762 XS(_wrap_dtn_status_report_ack_by_app_ts_secs_get) {
09763 {
09764 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09765 unsigned int result;
09766 void *argp1 = 0 ;
09767 int res1 = 0 ;
09768 int argvi = 0;
09769 dXSARGS;
09770
09771 if ((items < 1) || (items > 1)) {
09772 SWIG_croak("Usage: dtn_status_report_ack_by_app_ts_secs_get(self);");
09773 }
09774 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09775 if (!SWIG_IsOK(res1)) {
09776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_ack_by_app_ts_secs_get" "', argument " "1"" of type '" "dtn_status_report *""'");
09777 }
09778 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09779 result = (unsigned int) ((arg1)->ack_by_app_ts_secs);
09780 ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
09781
09782 XSRETURN(argvi);
09783 fail:
09784
09785 SWIG_croak_null();
09786 }
09787 }
09788
09789
09790 XS(_wrap_dtn_status_report_ack_by_app_ts_seqno_set) {
09791 {
09792 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09793 unsigned int arg2 ;
09794 void *argp1 = 0 ;
09795 int res1 = 0 ;
09796 unsigned int val2 ;
09797 int ecode2 = 0 ;
09798 int argvi = 0;
09799 dXSARGS;
09800
09801 if ((items < 2) || (items > 2)) {
09802 SWIG_croak("Usage: dtn_status_report_ack_by_app_ts_seqno_set(self,ack_by_app_ts_seqno);");
09803 }
09804 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09805 if (!SWIG_IsOK(res1)) {
09806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_ack_by_app_ts_seqno_set" "', argument " "1"" of type '" "dtn_status_report *""'");
09807 }
09808 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09809 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
09810 if (!SWIG_IsOK(ecode2)) {
09811 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_status_report_ack_by_app_ts_seqno_set" "', argument " "2"" of type '" "unsigned int""'");
09812 }
09813 arg2 = static_cast< unsigned int >(val2);
09814 if (arg1) (arg1)->ack_by_app_ts_seqno = arg2;
09815
09816
09817
09818
09819 XSRETURN(argvi);
09820 fail:
09821
09822
09823 SWIG_croak_null();
09824 }
09825 }
09826
09827
09828 XS(_wrap_dtn_status_report_ack_by_app_ts_seqno_get) {
09829 {
09830 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09831 unsigned int result;
09832 void *argp1 = 0 ;
09833 int res1 = 0 ;
09834 int argvi = 0;
09835 dXSARGS;
09836
09837 if ((items < 1) || (items > 1)) {
09838 SWIG_croak("Usage: dtn_status_report_ack_by_app_ts_seqno_get(self);");
09839 }
09840 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, 0 | 0 );
09841 if (!SWIG_IsOK(res1)) {
09842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_status_report_ack_by_app_ts_seqno_get" "', argument " "1"" of type '" "dtn_status_report *""'");
09843 }
09844 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09845 result = (unsigned int) ((arg1)->ack_by_app_ts_seqno);
09846 ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
09847
09848 XSRETURN(argvi);
09849 fail:
09850
09851 SWIG_croak_null();
09852 }
09853 }
09854
09855
09856 XS(_wrap_new_dtn_status_report) {
09857 {
09858 dtn_status_report *result = 0 ;
09859 int argvi = 0;
09860 dXSARGS;
09861
09862 if ((items < 0) || (items > 0)) {
09863 SWIG_croak("Usage: new_dtn_status_report();");
09864 }
09865 result = (dtn_status_report *)new dtn_status_report();
09866 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_status_report, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
09867 XSRETURN(argvi);
09868 fail:
09869 SWIG_croak_null();
09870 }
09871 }
09872
09873
09874 XS(_wrap_delete_dtn_status_report) {
09875 {
09876 dtn_status_report *arg1 = (dtn_status_report *) 0 ;
09877 void *argp1 = 0 ;
09878 int res1 = 0 ;
09879 int argvi = 0;
09880 dXSARGS;
09881
09882 if ((items < 1) || (items > 1)) {
09883 SWIG_croak("Usage: delete_dtn_status_report(self);");
09884 }
09885 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_status_report, SWIG_POINTER_DISOWN | 0 );
09886 if (!SWIG_IsOK(res1)) {
09887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dtn_status_report" "', argument " "1"" of type '" "dtn_status_report *""'");
09888 }
09889 arg1 = reinterpret_cast< dtn_status_report * >(argp1);
09890 delete arg1;
09891
09892
09893
09894 XSRETURN(argvi);
09895 fail:
09896
09897 SWIG_croak_null();
09898 }
09899 }
09900
09901
09902 XS(_wrap_dtn_status_report_reason_to_str) {
09903 {
09904 unsigned int arg1 ;
09905 std::string result;
09906 unsigned int val1 ;
09907 int ecode1 = 0 ;
09908 int argvi = 0;
09909 dXSARGS;
09910
09911 if ((items < 1) || (items > 1)) {
09912 SWIG_croak("Usage: dtn_status_report_reason_to_str(reason);");
09913 }
09914 ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
09915 if (!SWIG_IsOK(ecode1)) {
09916 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "dtn_status_report_reason_to_str" "', argument " "1"" of type '" "unsigned int""'");
09917 }
09918 arg1 = static_cast< unsigned int >(val1);
09919 result = dtn_status_report_reason_to_str(arg1);
09920 ST(argvi) = SWIG_From_std_string SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(result)); argvi++ ;
09921
09922 XSRETURN(argvi);
09923 fail:
09924
09925 SWIG_croak_null();
09926 }
09927 }
09928
09929
09930 XS(_wrap_dtn_bundle_source_set) {
09931 {
09932 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
09933 std::string *arg2 = 0 ;
09934 void *argp1 = 0 ;
09935 int res1 = 0 ;
09936 int res2 = SWIG_OLDOBJ ;
09937 int argvi = 0;
09938 dXSARGS;
09939
09940 if ((items < 2) || (items > 2)) {
09941 SWIG_croak("Usage: dtn_bundle_source_set(self,source);");
09942 }
09943 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
09944 if (!SWIG_IsOK(res1)) {
09945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_source_set" "', argument " "1"" of type '" "dtn_bundle *""'");
09946 }
09947 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
09948 {
09949 std::string *ptr = (std::string *)0;
09950 res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr);
09951 if (!SWIG_IsOK(res2)) {
09952 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_source_set" "', argument " "2"" of type '" "std::string const &""'");
09953 }
09954 if (!ptr) {
09955 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_bundle_source_set" "', argument " "2"" of type '" "std::string const &""'");
09956 }
09957 arg2 = ptr;
09958 }
09959 if (arg1) (arg1)->source = *arg2;
09960
09961
09962
09963 if (SWIG_IsNewObj(res2)) delete arg2;
09964 XSRETURN(argvi);
09965 fail:
09966
09967 if (SWIG_IsNewObj(res2)) delete arg2;
09968 SWIG_croak_null();
09969 }
09970 }
09971
09972
09973 XS(_wrap_dtn_bundle_source_get) {
09974 {
09975 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
09976 std::string *result = 0 ;
09977 void *argp1 = 0 ;
09978 int res1 = 0 ;
09979 int argvi = 0;
09980 dXSARGS;
09981
09982 if ((items < 1) || (items > 1)) {
09983 SWIG_croak("Usage: dtn_bundle_source_get(self);");
09984 }
09985 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
09986 if (!SWIG_IsOK(res1)) {
09987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_source_get" "', argument " "1"" of type '" "dtn_bundle *""'");
09988 }
09989 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
09990 {
09991 std::string const &_result_ref = ((arg1)->source);
09992 result = (std::string *) &_result_ref;
09993 }
09994 ST(argvi) = SWIG_From_std_string SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(*result)); argvi++ ;
09995
09996 XSRETURN(argvi);
09997 fail:
09998
09999 SWIG_croak_null();
10000 }
10001 }
10002
10003
10004 XS(_wrap_dtn_bundle_dest_set) {
10005 {
10006 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10007 std::string *arg2 = 0 ;
10008 void *argp1 = 0 ;
10009 int res1 = 0 ;
10010 int res2 = SWIG_OLDOBJ ;
10011 int argvi = 0;
10012 dXSARGS;
10013
10014 if ((items < 2) || (items > 2)) {
10015 SWIG_croak("Usage: dtn_bundle_dest_set(self,dest);");
10016 }
10017 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10018 if (!SWIG_IsOK(res1)) {
10019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_dest_set" "', argument " "1"" of type '" "dtn_bundle *""'");
10020 }
10021 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10022 {
10023 std::string *ptr = (std::string *)0;
10024 res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr);
10025 if (!SWIG_IsOK(res2)) {
10026 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_dest_set" "', argument " "2"" of type '" "std::string const &""'");
10027 }
10028 if (!ptr) {
10029 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_bundle_dest_set" "', argument " "2"" of type '" "std::string const &""'");
10030 }
10031 arg2 = ptr;
10032 }
10033 if (arg1) (arg1)->dest = *arg2;
10034
10035
10036
10037 if (SWIG_IsNewObj(res2)) delete arg2;
10038 XSRETURN(argvi);
10039 fail:
10040
10041 if (SWIG_IsNewObj(res2)) delete arg2;
10042 SWIG_croak_null();
10043 }
10044 }
10045
10046
10047 XS(_wrap_dtn_bundle_dest_get) {
10048 {
10049 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10050 std::string *result = 0 ;
10051 void *argp1 = 0 ;
10052 int res1 = 0 ;
10053 int argvi = 0;
10054 dXSARGS;
10055
10056 if ((items < 1) || (items > 1)) {
10057 SWIG_croak("Usage: dtn_bundle_dest_get(self);");
10058 }
10059 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10060 if (!SWIG_IsOK(res1)) {
10061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_dest_get" "', argument " "1"" of type '" "dtn_bundle *""'");
10062 }
10063 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10064 {
10065 std::string const &_result_ref = ((arg1)->dest);
10066 result = (std::string *) &_result_ref;
10067 }
10068 ST(argvi) = SWIG_From_std_string SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(*result)); argvi++ ;
10069
10070 XSRETURN(argvi);
10071 fail:
10072
10073 SWIG_croak_null();
10074 }
10075 }
10076
10077
10078 XS(_wrap_dtn_bundle_replyto_set) {
10079 {
10080 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10081 std::string *arg2 = 0 ;
10082 void *argp1 = 0 ;
10083 int res1 = 0 ;
10084 int res2 = SWIG_OLDOBJ ;
10085 int argvi = 0;
10086 dXSARGS;
10087
10088 if ((items < 2) || (items > 2)) {
10089 SWIG_croak("Usage: dtn_bundle_replyto_set(self,replyto);");
10090 }
10091 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10092 if (!SWIG_IsOK(res1)) {
10093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_replyto_set" "', argument " "1"" of type '" "dtn_bundle *""'");
10094 }
10095 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10096 {
10097 std::string *ptr = (std::string *)0;
10098 res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr);
10099 if (!SWIG_IsOK(res2)) {
10100 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_replyto_set" "', argument " "2"" of type '" "std::string const &""'");
10101 }
10102 if (!ptr) {
10103 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_bundle_replyto_set" "', argument " "2"" of type '" "std::string const &""'");
10104 }
10105 arg2 = ptr;
10106 }
10107 if (arg1) (arg1)->replyto = *arg2;
10108
10109
10110
10111 if (SWIG_IsNewObj(res2)) delete arg2;
10112 XSRETURN(argvi);
10113 fail:
10114
10115 if (SWIG_IsNewObj(res2)) delete arg2;
10116 SWIG_croak_null();
10117 }
10118 }
10119
10120
10121 XS(_wrap_dtn_bundle_replyto_get) {
10122 {
10123 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10124 std::string *result = 0 ;
10125 void *argp1 = 0 ;
10126 int res1 = 0 ;
10127 int argvi = 0;
10128 dXSARGS;
10129
10130 if ((items < 1) || (items > 1)) {
10131 SWIG_croak("Usage: dtn_bundle_replyto_get(self);");
10132 }
10133 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10134 if (!SWIG_IsOK(res1)) {
10135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_replyto_get" "', argument " "1"" of type '" "dtn_bundle *""'");
10136 }
10137 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10138 {
10139 std::string const &_result_ref = ((arg1)->replyto);
10140 result = (std::string *) &_result_ref;
10141 }
10142 ST(argvi) = SWIG_From_std_string SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(*result)); argvi++ ;
10143
10144 XSRETURN(argvi);
10145 fail:
10146
10147 SWIG_croak_null();
10148 }
10149 }
10150
10151
10152 XS(_wrap_dtn_bundle_priority_set) {
10153 {
10154 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10155 unsigned int arg2 ;
10156 void *argp1 = 0 ;
10157 int res1 = 0 ;
10158 unsigned int val2 ;
10159 int ecode2 = 0 ;
10160 int argvi = 0;
10161 dXSARGS;
10162
10163 if ((items < 2) || (items > 2)) {
10164 SWIG_croak("Usage: dtn_bundle_priority_set(self,priority);");
10165 }
10166 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10167 if (!SWIG_IsOK(res1)) {
10168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_priority_set" "', argument " "1"" of type '" "dtn_bundle *""'");
10169 }
10170 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10171 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10172 if (!SWIG_IsOK(ecode2)) {
10173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_bundle_priority_set" "', argument " "2"" of type '" "unsigned int""'");
10174 }
10175 arg2 = static_cast< unsigned int >(val2);
10176 if (arg1) (arg1)->priority = arg2;
10177
10178
10179
10180
10181 XSRETURN(argvi);
10182 fail:
10183
10184
10185 SWIG_croak_null();
10186 }
10187 }
10188
10189
10190 XS(_wrap_dtn_bundle_priority_get) {
10191 {
10192 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10193 unsigned int result;
10194 void *argp1 = 0 ;
10195 int res1 = 0 ;
10196 int argvi = 0;
10197 dXSARGS;
10198
10199 if ((items < 1) || (items > 1)) {
10200 SWIG_croak("Usage: dtn_bundle_priority_get(self);");
10201 }
10202 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10203 if (!SWIG_IsOK(res1)) {
10204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_priority_get" "', argument " "1"" of type '" "dtn_bundle *""'");
10205 }
10206 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10207 result = (unsigned int) ((arg1)->priority);
10208 ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
10209
10210 XSRETURN(argvi);
10211 fail:
10212
10213 SWIG_croak_null();
10214 }
10215 }
10216
10217
10218 XS(_wrap_dtn_bundle_dopts_set) {
10219 {
10220 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10221 unsigned int arg2 ;
10222 void *argp1 = 0 ;
10223 int res1 = 0 ;
10224 unsigned int val2 ;
10225 int ecode2 = 0 ;
10226 int argvi = 0;
10227 dXSARGS;
10228
10229 if ((items < 2) || (items > 2)) {
10230 SWIG_croak("Usage: dtn_bundle_dopts_set(self,dopts);");
10231 }
10232 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10233 if (!SWIG_IsOK(res1)) {
10234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_dopts_set" "', argument " "1"" of type '" "dtn_bundle *""'");
10235 }
10236 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10237 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10238 if (!SWIG_IsOK(ecode2)) {
10239 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_bundle_dopts_set" "', argument " "2"" of type '" "unsigned int""'");
10240 }
10241 arg2 = static_cast< unsigned int >(val2);
10242 if (arg1) (arg1)->dopts = arg2;
10243
10244
10245
10246
10247 XSRETURN(argvi);
10248 fail:
10249
10250
10251 SWIG_croak_null();
10252 }
10253 }
10254
10255
10256 XS(_wrap_dtn_bundle_dopts_get) {
10257 {
10258 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10259 unsigned int result;
10260 void *argp1 = 0 ;
10261 int res1 = 0 ;
10262 int argvi = 0;
10263 dXSARGS;
10264
10265 if ((items < 1) || (items > 1)) {
10266 SWIG_croak("Usage: dtn_bundle_dopts_get(self);");
10267 }
10268 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10269 if (!SWIG_IsOK(res1)) {
10270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_dopts_get" "', argument " "1"" of type '" "dtn_bundle *""'");
10271 }
10272 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10273 result = (unsigned int) ((arg1)->dopts);
10274 ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
10275
10276 XSRETURN(argvi);
10277 fail:
10278
10279 SWIG_croak_null();
10280 }
10281 }
10282
10283
10284 XS(_wrap_dtn_bundle_expiration_set) {
10285 {
10286 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10287 unsigned int arg2 ;
10288 void *argp1 = 0 ;
10289 int res1 = 0 ;
10290 unsigned int val2 ;
10291 int ecode2 = 0 ;
10292 int argvi = 0;
10293 dXSARGS;
10294
10295 if ((items < 2) || (items > 2)) {
10296 SWIG_croak("Usage: dtn_bundle_expiration_set(self,expiration);");
10297 }
10298 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10299 if (!SWIG_IsOK(res1)) {
10300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_expiration_set" "', argument " "1"" of type '" "dtn_bundle *""'");
10301 }
10302 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10303 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10304 if (!SWIG_IsOK(ecode2)) {
10305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_bundle_expiration_set" "', argument " "2"" of type '" "unsigned int""'");
10306 }
10307 arg2 = static_cast< unsigned int >(val2);
10308 if (arg1) (arg1)->expiration = arg2;
10309
10310
10311
10312
10313 XSRETURN(argvi);
10314 fail:
10315
10316
10317 SWIG_croak_null();
10318 }
10319 }
10320
10321
10322 XS(_wrap_dtn_bundle_expiration_get) {
10323 {
10324 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10325 unsigned int result;
10326 void *argp1 = 0 ;
10327 int res1 = 0 ;
10328 int argvi = 0;
10329 dXSARGS;
10330
10331 if ((items < 1) || (items > 1)) {
10332 SWIG_croak("Usage: dtn_bundle_expiration_get(self);");
10333 }
10334 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10335 if (!SWIG_IsOK(res1)) {
10336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_expiration_get" "', argument " "1"" of type '" "dtn_bundle *""'");
10337 }
10338 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10339 result = (unsigned int) ((arg1)->expiration);
10340 ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
10341
10342 XSRETURN(argvi);
10343 fail:
10344
10345 SWIG_croak_null();
10346 }
10347 }
10348
10349
10350 XS(_wrap_dtn_bundle_creation_secs_set) {
10351 {
10352 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10353 unsigned int arg2 ;
10354 void *argp1 = 0 ;
10355 int res1 = 0 ;
10356 unsigned int val2 ;
10357 int ecode2 = 0 ;
10358 int argvi = 0;
10359 dXSARGS;
10360
10361 if ((items < 2) || (items > 2)) {
10362 SWIG_croak("Usage: dtn_bundle_creation_secs_set(self,creation_secs);");
10363 }
10364 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10365 if (!SWIG_IsOK(res1)) {
10366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_creation_secs_set" "', argument " "1"" of type '" "dtn_bundle *""'");
10367 }
10368 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10369 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10370 if (!SWIG_IsOK(ecode2)) {
10371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_bundle_creation_secs_set" "', argument " "2"" of type '" "unsigned int""'");
10372 }
10373 arg2 = static_cast< unsigned int >(val2);
10374 if (arg1) (arg1)->creation_secs = arg2;
10375
10376
10377
10378
10379 XSRETURN(argvi);
10380 fail:
10381
10382
10383 SWIG_croak_null();
10384 }
10385 }
10386
10387
10388 XS(_wrap_dtn_bundle_creation_secs_get) {
10389 {
10390 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10391 unsigned int result;
10392 void *argp1 = 0 ;
10393 int res1 = 0 ;
10394 int argvi = 0;
10395 dXSARGS;
10396
10397 if ((items < 1) || (items > 1)) {
10398 SWIG_croak("Usage: dtn_bundle_creation_secs_get(self);");
10399 }
10400 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10401 if (!SWIG_IsOK(res1)) {
10402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_creation_secs_get" "', argument " "1"" of type '" "dtn_bundle *""'");
10403 }
10404 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10405 result = (unsigned int) ((arg1)->creation_secs);
10406 ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
10407
10408 XSRETURN(argvi);
10409 fail:
10410
10411 SWIG_croak_null();
10412 }
10413 }
10414
10415
10416 XS(_wrap_dtn_bundle_creation_seqno_set) {
10417 {
10418 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10419 unsigned int arg2 ;
10420 void *argp1 = 0 ;
10421 int res1 = 0 ;
10422 unsigned int val2 ;
10423 int ecode2 = 0 ;
10424 int argvi = 0;
10425 dXSARGS;
10426
10427 if ((items < 2) || (items > 2)) {
10428 SWIG_croak("Usage: dtn_bundle_creation_seqno_set(self,creation_seqno);");
10429 }
10430 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10431 if (!SWIG_IsOK(res1)) {
10432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_creation_seqno_set" "', argument " "1"" of type '" "dtn_bundle *""'");
10433 }
10434 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10435 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10436 if (!SWIG_IsOK(ecode2)) {
10437 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_bundle_creation_seqno_set" "', argument " "2"" of type '" "unsigned int""'");
10438 }
10439 arg2 = static_cast< unsigned int >(val2);
10440 if (arg1) (arg1)->creation_seqno = arg2;
10441
10442
10443
10444
10445 XSRETURN(argvi);
10446 fail:
10447
10448
10449 SWIG_croak_null();
10450 }
10451 }
10452
10453
10454 XS(_wrap_dtn_bundle_creation_seqno_get) {
10455 {
10456 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10457 unsigned int result;
10458 void *argp1 = 0 ;
10459 int res1 = 0 ;
10460 int argvi = 0;
10461 dXSARGS;
10462
10463 if ((items < 1) || (items > 1)) {
10464 SWIG_croak("Usage: dtn_bundle_creation_seqno_get(self);");
10465 }
10466 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10467 if (!SWIG_IsOK(res1)) {
10468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_creation_seqno_get" "', argument " "1"" of type '" "dtn_bundle *""'");
10469 }
10470 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10471 result = (unsigned int) ((arg1)->creation_seqno);
10472 ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
10473
10474 XSRETURN(argvi);
10475 fail:
10476
10477 SWIG_croak_null();
10478 }
10479 }
10480
10481
10482 XS(_wrap_dtn_bundle_delivery_regid_set) {
10483 {
10484 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10485 unsigned int arg2 ;
10486 void *argp1 = 0 ;
10487 int res1 = 0 ;
10488 unsigned int val2 ;
10489 int ecode2 = 0 ;
10490 int argvi = 0;
10491 dXSARGS;
10492
10493 if ((items < 2) || (items > 2)) {
10494 SWIG_croak("Usage: dtn_bundle_delivery_regid_set(self,delivery_regid);");
10495 }
10496 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10497 if (!SWIG_IsOK(res1)) {
10498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_delivery_regid_set" "', argument " "1"" of type '" "dtn_bundle *""'");
10499 }
10500 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10501 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10502 if (!SWIG_IsOK(ecode2)) {
10503 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_bundle_delivery_regid_set" "', argument " "2"" of type '" "unsigned int""'");
10504 }
10505 arg2 = static_cast< unsigned int >(val2);
10506 if (arg1) (arg1)->delivery_regid = arg2;
10507
10508
10509
10510
10511 XSRETURN(argvi);
10512 fail:
10513
10514
10515 SWIG_croak_null();
10516 }
10517 }
10518
10519
10520 XS(_wrap_dtn_bundle_delivery_regid_get) {
10521 {
10522 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10523 unsigned int result;
10524 void *argp1 = 0 ;
10525 int res1 = 0 ;
10526 int argvi = 0;
10527 dXSARGS;
10528
10529 if ((items < 1) || (items > 1)) {
10530 SWIG_croak("Usage: dtn_bundle_delivery_regid_get(self);");
10531 }
10532 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10533 if (!SWIG_IsOK(res1)) {
10534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_delivery_regid_get" "', argument " "1"" of type '" "dtn_bundle *""'");
10535 }
10536 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10537 result = (unsigned int) ((arg1)->delivery_regid);
10538 ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
10539
10540 XSRETURN(argvi);
10541 fail:
10542
10543 SWIG_croak_null();
10544 }
10545 }
10546
10547
10548 XS(_wrap_dtn_bundle_sequence_id_set) {
10549 {
10550 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10551 std::string *arg2 = 0 ;
10552 void *argp1 = 0 ;
10553 int res1 = 0 ;
10554 int res2 = SWIG_OLDOBJ ;
10555 int argvi = 0;
10556 dXSARGS;
10557
10558 if ((items < 2) || (items > 2)) {
10559 SWIG_croak("Usage: dtn_bundle_sequence_id_set(self,sequence_id);");
10560 }
10561 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10562 if (!SWIG_IsOK(res1)) {
10563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_sequence_id_set" "', argument " "1"" of type '" "dtn_bundle *""'");
10564 }
10565 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10566 {
10567 std::string *ptr = (std::string *)0;
10568 res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr);
10569 if (!SWIG_IsOK(res2)) {
10570 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_sequence_id_set" "', argument " "2"" of type '" "std::string const &""'");
10571 }
10572 if (!ptr) {
10573 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_bundle_sequence_id_set" "', argument " "2"" of type '" "std::string const &""'");
10574 }
10575 arg2 = ptr;
10576 }
10577 if (arg1) (arg1)->sequence_id = *arg2;
10578
10579
10580
10581 if (SWIG_IsNewObj(res2)) delete arg2;
10582 XSRETURN(argvi);
10583 fail:
10584
10585 if (SWIG_IsNewObj(res2)) delete arg2;
10586 SWIG_croak_null();
10587 }
10588 }
10589
10590
10591 XS(_wrap_dtn_bundle_sequence_id_get) {
10592 {
10593 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10594 std::string *result = 0 ;
10595 void *argp1 = 0 ;
10596 int res1 = 0 ;
10597 int argvi = 0;
10598 dXSARGS;
10599
10600 if ((items < 1) || (items > 1)) {
10601 SWIG_croak("Usage: dtn_bundle_sequence_id_get(self);");
10602 }
10603 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10604 if (!SWIG_IsOK(res1)) {
10605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_sequence_id_get" "', argument " "1"" of type '" "dtn_bundle *""'");
10606 }
10607 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10608 {
10609 std::string const &_result_ref = ((arg1)->sequence_id);
10610 result = (std::string *) &_result_ref;
10611 }
10612 ST(argvi) = SWIG_From_std_string SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(*result)); argvi++ ;
10613
10614 XSRETURN(argvi);
10615 fail:
10616
10617 SWIG_croak_null();
10618 }
10619 }
10620
10621
10622 XS(_wrap_dtn_bundle_obsoletes_id_set) {
10623 {
10624 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10625 std::string *arg2 = 0 ;
10626 void *argp1 = 0 ;
10627 int res1 = 0 ;
10628 int res2 = SWIG_OLDOBJ ;
10629 int argvi = 0;
10630 dXSARGS;
10631
10632 if ((items < 2) || (items > 2)) {
10633 SWIG_croak("Usage: dtn_bundle_obsoletes_id_set(self,obsoletes_id);");
10634 }
10635 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10636 if (!SWIG_IsOK(res1)) {
10637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_obsoletes_id_set" "', argument " "1"" of type '" "dtn_bundle *""'");
10638 }
10639 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10640 {
10641 std::string *ptr = (std::string *)0;
10642 res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr);
10643 if (!SWIG_IsOK(res2)) {
10644 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_obsoletes_id_set" "', argument " "2"" of type '" "std::string const &""'");
10645 }
10646 if (!ptr) {
10647 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_bundle_obsoletes_id_set" "', argument " "2"" of type '" "std::string const &""'");
10648 }
10649 arg2 = ptr;
10650 }
10651 if (arg1) (arg1)->obsoletes_id = *arg2;
10652
10653
10654
10655 if (SWIG_IsNewObj(res2)) delete arg2;
10656 XSRETURN(argvi);
10657 fail:
10658
10659 if (SWIG_IsNewObj(res2)) delete arg2;
10660 SWIG_croak_null();
10661 }
10662 }
10663
10664
10665 XS(_wrap_dtn_bundle_obsoletes_id_get) {
10666 {
10667 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10668 std::string *result = 0 ;
10669 void *argp1 = 0 ;
10670 int res1 = 0 ;
10671 int argvi = 0;
10672 dXSARGS;
10673
10674 if ((items < 1) || (items > 1)) {
10675 SWIG_croak("Usage: dtn_bundle_obsoletes_id_get(self);");
10676 }
10677 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10678 if (!SWIG_IsOK(res1)) {
10679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_obsoletes_id_get" "', argument " "1"" of type '" "dtn_bundle *""'");
10680 }
10681 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10682 {
10683 std::string const &_result_ref = ((arg1)->obsoletes_id);
10684 result = (std::string *) &_result_ref;
10685 }
10686 ST(argvi) = SWIG_From_std_string SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(*result)); argvi++ ;
10687
10688 XSRETURN(argvi);
10689 fail:
10690
10691 SWIG_croak_null();
10692 }
10693 }
10694
10695
10696 XS(_wrap_dtn_bundle_payload_set) {
10697 {
10698 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10699 std::string *arg2 = 0 ;
10700 void *argp1 = 0 ;
10701 int res1 = 0 ;
10702 int res2 = SWIG_OLDOBJ ;
10703 int argvi = 0;
10704 dXSARGS;
10705
10706 if ((items < 2) || (items > 2)) {
10707 SWIG_croak("Usage: dtn_bundle_payload_set(self,payload);");
10708 }
10709 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10710 if (!SWIG_IsOK(res1)) {
10711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_payload_set" "', argument " "1"" of type '" "dtn_bundle *""'");
10712 }
10713 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10714 {
10715 std::string *ptr = (std::string *)0;
10716 res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr);
10717 if (!SWIG_IsOK(res2)) {
10718 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_payload_set" "', argument " "2"" of type '" "std::string const &""'");
10719 }
10720 if (!ptr) {
10721 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_bundle_payload_set" "', argument " "2"" of type '" "std::string const &""'");
10722 }
10723 arg2 = ptr;
10724 }
10725 if (arg1) (arg1)->payload = *arg2;
10726
10727
10728
10729 if (SWIG_IsNewObj(res2)) delete arg2;
10730 XSRETURN(argvi);
10731 fail:
10732
10733 if (SWIG_IsNewObj(res2)) delete arg2;
10734 SWIG_croak_null();
10735 }
10736 }
10737
10738
10739 XS(_wrap_dtn_bundle_payload_get) {
10740 {
10741 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10742 std::string *result = 0 ;
10743 void *argp1 = 0 ;
10744 int res1 = 0 ;
10745 int argvi = 0;
10746 dXSARGS;
10747
10748 if ((items < 1) || (items > 1)) {
10749 SWIG_croak("Usage: dtn_bundle_payload_get(self);");
10750 }
10751 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10752 if (!SWIG_IsOK(res1)) {
10753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_payload_get" "', argument " "1"" of type '" "dtn_bundle *""'");
10754 }
10755 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10756 {
10757 std::string const &_result_ref = ((arg1)->payload);
10758 result = (std::string *) &_result_ref;
10759 }
10760 ST(argvi) = SWIG_From_std_string SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(*result)); argvi++ ;
10761
10762 XSRETURN(argvi);
10763 fail:
10764
10765 SWIG_croak_null();
10766 }
10767 }
10768
10769
10770 XS(_wrap_dtn_bundle_status_report_set) {
10771 {
10772 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10773 dtn_status_report *arg2 = (dtn_status_report *) 0 ;
10774 void *argp1 = 0 ;
10775 int res1 = 0 ;
10776 void *argp2 = 0 ;
10777 int res2 = 0 ;
10778 int argvi = 0;
10779 dXSARGS;
10780
10781 if ((items < 2) || (items > 2)) {
10782 SWIG_croak("Usage: dtn_bundle_status_report_set(self,status_report);");
10783 }
10784 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10785 if (!SWIG_IsOK(res1)) {
10786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_status_report_set" "', argument " "1"" of type '" "dtn_bundle *""'");
10787 }
10788 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10789 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_dtn_status_report, SWIG_POINTER_DISOWN | 0 );
10790 if (!SWIG_IsOK(res2)) {
10791 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_bundle_status_report_set" "', argument " "2"" of type '" "dtn_status_report *""'");
10792 }
10793 arg2 = reinterpret_cast< dtn_status_report * >(argp2);
10794 if (arg1) (arg1)->status_report = arg2;
10795
10796
10797
10798
10799 XSRETURN(argvi);
10800 fail:
10801
10802
10803 SWIG_croak_null();
10804 }
10805 }
10806
10807
10808 XS(_wrap_dtn_bundle_status_report_get) {
10809 {
10810 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10811 dtn_status_report *result = 0 ;
10812 void *argp1 = 0 ;
10813 int res1 = 0 ;
10814 int argvi = 0;
10815 dXSARGS;
10816
10817 if ((items < 1) || (items > 1)) {
10818 SWIG_croak("Usage: dtn_bundle_status_report_get(self);");
10819 }
10820 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, 0 | 0 );
10821 if (!SWIG_IsOK(res1)) {
10822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_bundle_status_report_get" "', argument " "1"" of type '" "dtn_bundle *""'");
10823 }
10824 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10825 result = (dtn_status_report *) ((arg1)->status_report);
10826 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_status_report, 0 | SWIG_SHADOW); argvi++ ;
10827
10828 XSRETURN(argvi);
10829 fail:
10830
10831 SWIG_croak_null();
10832 }
10833 }
10834
10835
10836 XS(_wrap_new_dtn_bundle) {
10837 {
10838 dtn_bundle *result = 0 ;
10839 int argvi = 0;
10840 dXSARGS;
10841
10842 if ((items < 0) || (items > 0)) {
10843 SWIG_croak("Usage: new_dtn_bundle();");
10844 }
10845 result = (dtn_bundle *)new dtn_bundle();
10846 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_bundle, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
10847 XSRETURN(argvi);
10848 fail:
10849 SWIG_croak_null();
10850 }
10851 }
10852
10853
10854 XS(_wrap_delete_dtn_bundle) {
10855 {
10856 dtn_bundle *arg1 = (dtn_bundle *) 0 ;
10857 void *argp1 = 0 ;
10858 int res1 = 0 ;
10859 int argvi = 0;
10860 dXSARGS;
10861
10862 if ((items < 1) || (items > 1)) {
10863 SWIG_croak("Usage: delete_dtn_bundle(self);");
10864 }
10865 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_bundle, SWIG_POINTER_DISOWN | 0 );
10866 if (!SWIG_IsOK(res1)) {
10867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dtn_bundle" "', argument " "1"" of type '" "dtn_bundle *""'");
10868 }
10869 arg1 = reinterpret_cast< dtn_bundle * >(argp1);
10870 delete arg1;
10871
10872
10873
10874 XSRETURN(argvi);
10875 fail:
10876
10877 SWIG_croak_null();
10878 }
10879 }
10880
10881
10882 XS(_wrap_dtn_recv) {
10883 {
10884 int arg1 ;
10885 unsigned int arg2 ;
10886 int arg3 ;
10887 dtn_bundle *result = 0 ;
10888 int val1 ;
10889 int ecode1 = 0 ;
10890 unsigned int val2 ;
10891 int ecode2 = 0 ;
10892 int val3 ;
10893 int ecode3 = 0 ;
10894 int argvi = 0;
10895 dXSARGS;
10896
10897 if ((items < 3) || (items > 3)) {
10898 SWIG_croak("Usage: dtn_recv(handle,payload_location,timeout);");
10899 }
10900 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
10901 if (!SWIG_IsOK(ecode1)) {
10902 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "dtn_recv" "', argument " "1"" of type '" "int""'");
10903 }
10904 arg1 = static_cast< int >(val1);
10905 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10906 if (!SWIG_IsOK(ecode2)) {
10907 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_recv" "', argument " "2"" of type '" "unsigned int""'");
10908 }
10909 arg2 = static_cast< unsigned int >(val2);
10910 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
10911 if (!SWIG_IsOK(ecode3)) {
10912 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "dtn_recv" "', argument " "3"" of type '" "int""'");
10913 }
10914 arg3 = static_cast< int >(val3);
10915 result = (dtn_bundle *)dtn_recv(arg1,arg2,arg3);
10916 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_bundle, 0 | SWIG_SHADOW); argvi++ ;
10917
10918
10919
10920 XSRETURN(argvi);
10921 fail:
10922
10923
10924
10925 SWIG_croak_null();
10926 }
10927 }
10928
10929
10930 XS(_wrap_dtn_session_info_status_set) {
10931 {
10932 dtn_session_info *arg1 = (dtn_session_info *) 0 ;
10933 unsigned int arg2 ;
10934 void *argp1 = 0 ;
10935 int res1 = 0 ;
10936 unsigned int val2 ;
10937 int ecode2 = 0 ;
10938 int argvi = 0;
10939 dXSARGS;
10940
10941 if ((items < 2) || (items > 2)) {
10942 SWIG_croak("Usage: dtn_session_info_status_set(self,status);");
10943 }
10944 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_session_info, 0 | 0 );
10945 if (!SWIG_IsOK(res1)) {
10946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_session_info_status_set" "', argument " "1"" of type '" "dtn_session_info *""'");
10947 }
10948 arg1 = reinterpret_cast< dtn_session_info * >(argp1);
10949 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10950 if (!SWIG_IsOK(ecode2)) {
10951 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_session_info_status_set" "', argument " "2"" of type '" "unsigned int""'");
10952 }
10953 arg2 = static_cast< unsigned int >(val2);
10954 if (arg1) (arg1)->status = arg2;
10955
10956
10957
10958
10959 XSRETURN(argvi);
10960 fail:
10961
10962
10963 SWIG_croak_null();
10964 }
10965 }
10966
10967
10968 XS(_wrap_dtn_session_info_status_get) {
10969 {
10970 dtn_session_info *arg1 = (dtn_session_info *) 0 ;
10971 unsigned int result;
10972 void *argp1 = 0 ;
10973 int res1 = 0 ;
10974 int argvi = 0;
10975 dXSARGS;
10976
10977 if ((items < 1) || (items > 1)) {
10978 SWIG_croak("Usage: dtn_session_info_status_get(self);");
10979 }
10980 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_session_info, 0 | 0 );
10981 if (!SWIG_IsOK(res1)) {
10982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_session_info_status_get" "', argument " "1"" of type '" "dtn_session_info *""'");
10983 }
10984 arg1 = reinterpret_cast< dtn_session_info * >(argp1);
10985 result = (unsigned int) ((arg1)->status);
10986 ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
10987
10988 XSRETURN(argvi);
10989 fail:
10990
10991 SWIG_croak_null();
10992 }
10993 }
10994
10995
10996 XS(_wrap_dtn_session_info_session_set) {
10997 {
10998 dtn_session_info *arg1 = (dtn_session_info *) 0 ;
10999 std::string *arg2 = 0 ;
11000 void *argp1 = 0 ;
11001 int res1 = 0 ;
11002 int res2 = SWIG_OLDOBJ ;
11003 int argvi = 0;
11004 dXSARGS;
11005
11006 if ((items < 2) || (items > 2)) {
11007 SWIG_croak("Usage: dtn_session_info_session_set(self,session);");
11008 }
11009 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_session_info, 0 | 0 );
11010 if (!SWIG_IsOK(res1)) {
11011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_session_info_session_set" "', argument " "1"" of type '" "dtn_session_info *""'");
11012 }
11013 arg1 = reinterpret_cast< dtn_session_info * >(argp1);
11014 {
11015 std::string *ptr = (std::string *)0;
11016 res2 = SWIG_AsPtr_std_string SWIG_PERL_CALL_ARGS_2(ST(1), &ptr);
11017 if (!SWIG_IsOK(res2)) {
11018 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dtn_session_info_session_set" "', argument " "2"" of type '" "std::string const &""'");
11019 }
11020 if (!ptr) {
11021 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dtn_session_info_session_set" "', argument " "2"" of type '" "std::string const &""'");
11022 }
11023 arg2 = ptr;
11024 }
11025 if (arg1) (arg1)->session = *arg2;
11026
11027
11028
11029 if (SWIG_IsNewObj(res2)) delete arg2;
11030 XSRETURN(argvi);
11031 fail:
11032
11033 if (SWIG_IsNewObj(res2)) delete arg2;
11034 SWIG_croak_null();
11035 }
11036 }
11037
11038
11039 XS(_wrap_dtn_session_info_session_get) {
11040 {
11041 dtn_session_info *arg1 = (dtn_session_info *) 0 ;
11042 std::string *result = 0 ;
11043 void *argp1 = 0 ;
11044 int res1 = 0 ;
11045 int argvi = 0;
11046 dXSARGS;
11047
11048 if ((items < 1) || (items > 1)) {
11049 SWIG_croak("Usage: dtn_session_info_session_get(self);");
11050 }
11051 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_session_info, 0 | 0 );
11052 if (!SWIG_IsOK(res1)) {
11053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dtn_session_info_session_get" "', argument " "1"" of type '" "dtn_session_info *""'");
11054 }
11055 arg1 = reinterpret_cast< dtn_session_info * >(argp1);
11056 {
11057 std::string const &_result_ref = ((arg1)->session);
11058 result = (std::string *) &_result_ref;
11059 }
11060 ST(argvi) = SWIG_From_std_string SWIG_PERL_CALL_ARGS_1(static_cast< std::string >(*result)); argvi++ ;
11061
11062 XSRETURN(argvi);
11063 fail:
11064
11065 SWIG_croak_null();
11066 }
11067 }
11068
11069
11070 XS(_wrap_new_dtn_session_info) {
11071 {
11072 dtn_session_info *result = 0 ;
11073 int argvi = 0;
11074 dXSARGS;
11075
11076 if ((items < 0) || (items > 0)) {
11077 SWIG_croak("Usage: new_dtn_session_info();");
11078 }
11079 result = (dtn_session_info *)new dtn_session_info();
11080 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_session_info, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
11081 XSRETURN(argvi);
11082 fail:
11083 SWIG_croak_null();
11084 }
11085 }
11086
11087
11088 XS(_wrap_delete_dtn_session_info) {
11089 {
11090 dtn_session_info *arg1 = (dtn_session_info *) 0 ;
11091 void *argp1 = 0 ;
11092 int res1 = 0 ;
11093 int argvi = 0;
11094 dXSARGS;
11095
11096 if ((items < 1) || (items > 1)) {
11097 SWIG_croak("Usage: delete_dtn_session_info(self);");
11098 }
11099 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_dtn_session_info, SWIG_POINTER_DISOWN | 0 );
11100 if (!SWIG_IsOK(res1)) {
11101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dtn_session_info" "', argument " "1"" of type '" "dtn_session_info *""'");
11102 }
11103 arg1 = reinterpret_cast< dtn_session_info * >(argp1);
11104 delete arg1;
11105
11106
11107
11108 XSRETURN(argvi);
11109 fail:
11110
11111 SWIG_croak_null();
11112 }
11113 }
11114
11115
11116 XS(_wrap_dtn_session_update) {
11117 {
11118 int arg1 ;
11119 int arg2 ;
11120 dtn_session_info *result = 0 ;
11121 int val1 ;
11122 int ecode1 = 0 ;
11123 int val2 ;
11124 int ecode2 = 0 ;
11125 int argvi = 0;
11126 dXSARGS;
11127
11128 if ((items < 2) || (items > 2)) {
11129 SWIG_croak("Usage: dtn_session_update(handle,timeout);");
11130 }
11131 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
11132 if (!SWIG_IsOK(ecode1)) {
11133 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "dtn_session_update" "', argument " "1"" of type '" "int""'");
11134 }
11135 arg1 = static_cast< int >(val1);
11136 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11137 if (!SWIG_IsOK(ecode2)) {
11138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_session_update" "', argument " "2"" of type '" "int""'");
11139 }
11140 arg2 = static_cast< int >(val2);
11141 result = (dtn_session_info *)dtn_session_update(arg1,arg2);
11142 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dtn_session_info, 0 | SWIG_SHADOW); argvi++ ;
11143
11144
11145 XSRETURN(argvi);
11146 fail:
11147
11148
11149 SWIG_croak_null();
11150 }
11151 }
11152
11153
11154 XS(_wrap_dtn_poll_fd) {
11155 {
11156 int arg1 ;
11157 int result;
11158 int val1 ;
11159 int ecode1 = 0 ;
11160 int argvi = 0;
11161 dXSARGS;
11162
11163 if ((items < 1) || (items > 1)) {
11164 SWIG_croak("Usage: dtn_poll_fd(handle);");
11165 }
11166 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
11167 if (!SWIG_IsOK(ecode1)) {
11168 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "dtn_poll_fd" "', argument " "1"" of type '" "int""'");
11169 }
11170 arg1 = static_cast< int >(val1);
11171 result = (int)dtn_poll_fd(arg1);
11172 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
11173
11174 XSRETURN(argvi);
11175 fail:
11176
11177 SWIG_croak_null();
11178 }
11179 }
11180
11181
11182 XS(_wrap_dtn_begin_poll) {
11183 {
11184 int arg1 ;
11185 int arg2 ;
11186 int result;
11187 int val1 ;
11188 int ecode1 = 0 ;
11189 int val2 ;
11190 int ecode2 = 0 ;
11191 int argvi = 0;
11192 dXSARGS;
11193
11194 if ((items < 2) || (items > 2)) {
11195 SWIG_croak("Usage: dtn_begin_poll(handle,timeout);");
11196 }
11197 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
11198 if (!SWIG_IsOK(ecode1)) {
11199 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "dtn_begin_poll" "', argument " "1"" of type '" "int""'");
11200 }
11201 arg1 = static_cast< int >(val1);
11202 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11203 if (!SWIG_IsOK(ecode2)) {
11204 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "dtn_begin_poll" "', argument " "2"" of type '" "int""'");
11205 }
11206 arg2 = static_cast< int >(val2);
11207 result = (int)dtn_begin_poll(arg1,arg2);
11208 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
11209
11210
11211 XSRETURN(argvi);
11212 fail:
11213
11214
11215 SWIG_croak_null();
11216 }
11217 }
11218
11219
11220 XS(_wrap_dtn_cancel_poll) {
11221 {
11222 int arg1 ;
11223 int result;
11224 int val1 ;
11225 int ecode1 = 0 ;
11226 int argvi = 0;
11227 dXSARGS;
11228
11229 if ((items < 1) || (items > 1)) {
11230 SWIG_croak("Usage: dtn_cancel_poll(handle);");
11231 }
11232 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
11233 if (!SWIG_IsOK(ecode1)) {
11234 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "dtn_cancel_poll" "', argument " "1"" of type '" "int""'");
11235 }
11236 arg1 = static_cast< int >(val1);
11237 result = (int)dtn_cancel_poll(arg1);
11238 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
11239
11240 XSRETURN(argvi);
11241 fail:
11242
11243 SWIG_croak_null();
11244 }
11245 }
11246
11247
11248
11249
11250
11251 static swig_type_info _swigt__p_XDR = {"_p_XDR", "XDR *", 0, 0, (void*)0, 0};
11252 static swig_type_info _swigt__p_bool_t = {"_p_bool_t", "bool_t *", 0, 0, (void*)0, 0};
11253 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
11254 static swig_type_info _swigt__p_dtn_bundle = {"_p_dtn_bundle", "dtn_bundle *", 0, 0, (void*)"dtnapi::dtn_bundle", 0};
11255 static swig_type_info _swigt__p_dtn_bundle_delivery_opts_t = {"_p_dtn_bundle_delivery_opts_t", "enum dtn_bundle_delivery_opts_t *|dtn_bundle_delivery_opts_t *", 0, 0, (void*)0, 0};
11256 static swig_type_info _swigt__p_dtn_bundle_id = {"_p_dtn_bundle_id", "dtn_bundle_id *", 0, 0, (void*)"dtnapi::dtn_bundle_id", 0};
11257 static swig_type_info _swigt__p_dtn_bundle_id_t = {"_p_dtn_bundle_id_t", "dtn_bundle_id_t *", 0, 0, (void*)"dtnapi::dtn_bundle_id_t", 0};
11258 static swig_type_info _swigt__p_dtn_bundle_payload_location_t = {"_p_dtn_bundle_payload_location_t", "enum dtn_bundle_payload_location_t *|dtn_bundle_payload_location_t *", 0, 0, (void*)0, 0};
11259 static swig_type_info _swigt__p_dtn_bundle_payload_t = {"_p_dtn_bundle_payload_t", "dtn_bundle_payload_t *", 0, 0, (void*)"dtnapi::dtn_bundle_payload_t", 0};
11260 static swig_type_info _swigt__p_dtn_bundle_payload_t_buf = {"_p_dtn_bundle_payload_t_buf", "dtn_bundle_payload_t_buf *", 0, 0, (void*)"dtnapi::dtn_bundle_payload_t_buf", 0};
11261 static swig_type_info _swigt__p_dtn_bundle_payload_t_filename = {"_p_dtn_bundle_payload_t_filename", "dtn_bundle_payload_t_filename *", 0, 0, (void*)"dtnapi::dtn_bundle_payload_t_filename", 0};
11262 static swig_type_info _swigt__p_dtn_bundle_priority_t = {"_p_dtn_bundle_priority_t", "enum dtn_bundle_priority_t *|dtn_bundle_priority_t *", 0, 0, (void*)0, 0};
11263 static swig_type_info _swigt__p_dtn_bundle_spec_t = {"_p_dtn_bundle_spec_t", "dtn_bundle_spec_t *", 0, 0, (void*)"dtnapi::dtn_bundle_spec_t", 0};
11264 static swig_type_info _swigt__p_dtn_bundle_spec_t_blocks = {"_p_dtn_bundle_spec_t_blocks", "dtn_bundle_spec_t_blocks *", 0, 0, (void*)"dtnapi::dtn_bundle_spec_t_blocks", 0};
11265 static swig_type_info _swigt__p_dtn_bundle_spec_t_metadata = {"_p_dtn_bundle_spec_t_metadata", "dtn_bundle_spec_t_metadata *", 0, 0, (void*)"dtnapi::dtn_bundle_spec_t_metadata", 0};
11266 static swig_type_info _swigt__p_dtn_bundle_status_report_t = {"_p_dtn_bundle_status_report_t", "dtn_bundle_status_report_t *", 0, 0, (void*)"dtnapi::dtn_bundle_status_report_t", 0};
11267 static swig_type_info _swigt__p_dtn_endpoint_id_t = {"_p_dtn_endpoint_id_t", "dtn_endpoint_id_t *", 0, 0, (void*)"dtnapi::dtn_endpoint_id_t", 0};
11268 static swig_type_info _swigt__p_dtn_extension_block_flags_t = {"_p_dtn_extension_block_flags_t", "enum dtn_extension_block_flags_t *|dtn_extension_block_flags_t *", 0, 0, (void*)0, 0};
11269 static swig_type_info _swigt__p_dtn_extension_block_t = {"_p_dtn_extension_block_t", "dtn_extension_block_t *", 0, 0, (void*)"dtnapi::dtn_extension_block_t", 0};
11270 static swig_type_info _swigt__p_dtn_extension_block_t_data = {"_p_dtn_extension_block_t_data", "dtn_extension_block_t_data *", 0, 0, (void*)"dtnapi::dtn_extension_block_t_data", 0};
11271 static swig_type_info _swigt__p_dtn_handle_t = {"_p_dtn_handle_t", "dtn_handle_t *", 0, 0, (void*)0, 0};
11272 static swig_type_info _swigt__p_dtn_reg_flags_t = {"_p_dtn_reg_flags_t", "enum dtn_reg_flags_t *|dtn_reg_flags_t *", 0, 0, (void*)0, 0};
11273 static swig_type_info _swigt__p_dtn_reg_info_t = {"_p_dtn_reg_info_t", "dtn_reg_info_t *", 0, 0, (void*)"dtnapi::dtn_reg_info_t", 0};
11274 static swig_type_info _swigt__p_dtn_reg_info_t_script = {"_p_dtn_reg_info_t_script", "dtn_reg_info_t_script *", 0, 0, (void*)"dtnapi::dtn_reg_info_t_script", 0};
11275 static swig_type_info _swigt__p_dtn_sequence_id_t = {"_p_dtn_sequence_id_t", "dtn_sequence_id_t *", 0, 0, (void*)"dtnapi::dtn_sequence_id_t", 0};
11276 static swig_type_info _swigt__p_dtn_sequence_id_t_data = {"_p_dtn_sequence_id_t_data", "dtn_sequence_id_t_data *", 0, 0, (void*)"dtnapi::dtn_sequence_id_t_data", 0};
11277 static swig_type_info _swigt__p_dtn_service_tag_t = {"_p_dtn_service_tag_t", "dtn_service_tag_t *", 0, 0, (void*)"dtnapi::dtn_service_tag_t", 0};
11278 static swig_type_info _swigt__p_dtn_session_info = {"_p_dtn_session_info", "dtn_session_info *", 0, 0, (void*)"dtnapi::dtn_session_info", 0};
11279 static swig_type_info _swigt__p_dtn_status_report = {"_p_dtn_status_report", "dtn_status_report *", 0, 0, (void*)"dtnapi::dtn_status_report", 0};
11280 static swig_type_info _swigt__p_dtn_status_report_flags_t = {"_p_dtn_status_report_flags_t", "enum dtn_status_report_flags_t *|dtn_status_report_flags_t *", 0, 0, (void*)0, 0};
11281 static swig_type_info _swigt__p_dtn_status_report_reason_t = {"_p_dtn_status_report_reason_t", "enum dtn_status_report_reason_t *|dtn_status_report_reason_t *", 0, 0, (void*)0, 0};
11282 static swig_type_info _swigt__p_dtn_timestamp_t = {"_p_dtn_timestamp_t", "dtn_timestamp_t *", 0, 0, (void*)"dtnapi::dtn_timestamp_t", 0};
11283 static swig_type_info _swigt__p_mapT_unsigned_int_dtn_handle_t_t = {"_p_mapT_unsigned_int_dtn_handle_t_t", "map< unsigned int,dtn_handle_t > *|HandleMap *", 0, 0, (void*)0, 0};
11284 static swig_type_info _swigt__p_u_int = {"_p_u_int", "dtn_timeval_t *|dtn_reg_id_t *|u_int *", 0, 0, (void*)0, 0};
11285
11286 static swig_type_info *swig_type_initial[] = {
11287 &_swigt__p_XDR,
11288 &_swigt__p_bool_t,
11289 &_swigt__p_char,
11290 &_swigt__p_dtn_bundle,
11291 &_swigt__p_dtn_bundle_delivery_opts_t,
11292 &_swigt__p_dtn_bundle_id,
11293 &_swigt__p_dtn_bundle_id_t,
11294 &_swigt__p_dtn_bundle_payload_location_t,
11295 &_swigt__p_dtn_bundle_payload_t,
11296 &_swigt__p_dtn_bundle_payload_t_buf,
11297 &_swigt__p_dtn_bundle_payload_t_filename,
11298 &_swigt__p_dtn_bundle_priority_t,
11299 &_swigt__p_dtn_bundle_spec_t,
11300 &_swigt__p_dtn_bundle_spec_t_blocks,
11301 &_swigt__p_dtn_bundle_spec_t_metadata,
11302 &_swigt__p_dtn_bundle_status_report_t,
11303 &_swigt__p_dtn_endpoint_id_t,
11304 &_swigt__p_dtn_extension_block_flags_t,
11305 &_swigt__p_dtn_extension_block_t,
11306 &_swigt__p_dtn_extension_block_t_data,
11307 &_swigt__p_dtn_handle_t,
11308 &_swigt__p_dtn_reg_flags_t,
11309 &_swigt__p_dtn_reg_info_t,
11310 &_swigt__p_dtn_reg_info_t_script,
11311 &_swigt__p_dtn_sequence_id_t,
11312 &_swigt__p_dtn_sequence_id_t_data,
11313 &_swigt__p_dtn_service_tag_t,
11314 &_swigt__p_dtn_session_info,
11315 &_swigt__p_dtn_status_report,
11316 &_swigt__p_dtn_status_report_flags_t,
11317 &_swigt__p_dtn_status_report_reason_t,
11318 &_swigt__p_dtn_timestamp_t,
11319 &_swigt__p_mapT_unsigned_int_dtn_handle_t_t,
11320 &_swigt__p_u_int,
11321 };
11322
11323 static swig_cast_info _swigc__p_XDR[] = { {&_swigt__p_XDR, 0, 0, 0},{0, 0, 0, 0}};
11324 static swig_cast_info _swigc__p_bool_t[] = { {&_swigt__p_bool_t, 0, 0, 0},{0, 0, 0, 0}};
11325 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
11326 static swig_cast_info _swigc__p_dtn_bundle[] = { {&_swigt__p_dtn_bundle, 0, 0, 0},{0, 0, 0, 0}};
11327 static swig_cast_info _swigc__p_dtn_bundle_delivery_opts_t[] = { {&_swigt__p_dtn_bundle_delivery_opts_t, 0, 0, 0},{0, 0, 0, 0}};
11328 static swig_cast_info _swigc__p_dtn_bundle_id[] = { {&_swigt__p_dtn_bundle_id, 0, 0, 0},{0, 0, 0, 0}};
11329 static swig_cast_info _swigc__p_dtn_bundle_id_t[] = { {&_swigt__p_dtn_bundle_id_t, 0, 0, 0},{0, 0, 0, 0}};
11330 static swig_cast_info _swigc__p_dtn_bundle_payload_location_t[] = { {&_swigt__p_dtn_bundle_payload_location_t, 0, 0, 0},{0, 0, 0, 0}};
11331 static swig_cast_info _swigc__p_dtn_bundle_payload_t[] = { {&_swigt__p_dtn_bundle_payload_t, 0, 0, 0},{0, 0, 0, 0}};
11332 static swig_cast_info _swigc__p_dtn_bundle_payload_t_buf[] = { {&_swigt__p_dtn_bundle_payload_t_buf, 0, 0, 0},{0, 0, 0, 0}};
11333 static swig_cast_info _swigc__p_dtn_bundle_payload_t_filename[] = { {&_swigt__p_dtn_bundle_payload_t_filename, 0, 0, 0},{0, 0, 0, 0}};
11334 static swig_cast_info _swigc__p_dtn_bundle_priority_t[] = { {&_swigt__p_dtn_bundle_priority_t, 0, 0, 0},{0, 0, 0, 0}};
11335 static swig_cast_info _swigc__p_dtn_bundle_spec_t[] = { {&_swigt__p_dtn_bundle_spec_t, 0, 0, 0},{0, 0, 0, 0}};
11336 static swig_cast_info _swigc__p_dtn_bundle_spec_t_blocks[] = { {&_swigt__p_dtn_bundle_spec_t_blocks, 0, 0, 0},{0, 0, 0, 0}};
11337 static swig_cast_info _swigc__p_dtn_bundle_spec_t_metadata[] = { {&_swigt__p_dtn_bundle_spec_t_metadata, 0, 0, 0},{0, 0, 0, 0}};
11338 static swig_cast_info _swigc__p_dtn_bundle_status_report_t[] = { {&_swigt__p_dtn_bundle_status_report_t, 0, 0, 0},{0, 0, 0, 0}};
11339 static swig_cast_info _swigc__p_dtn_endpoint_id_t[] = { {&_swigt__p_dtn_endpoint_id_t, 0, 0, 0},{0, 0, 0, 0}};
11340 static swig_cast_info _swigc__p_dtn_extension_block_flags_t[] = { {&_swigt__p_dtn_extension_block_flags_t, 0, 0, 0},{0, 0, 0, 0}};
11341 static swig_cast_info _swigc__p_dtn_extension_block_t[] = { {&_swigt__p_dtn_extension_block_t, 0, 0, 0},{0, 0, 0, 0}};
11342 static swig_cast_info _swigc__p_dtn_extension_block_t_data[] = { {&_swigt__p_dtn_extension_block_t_data, 0, 0, 0},{0, 0, 0, 0}};
11343 static swig_cast_info _swigc__p_dtn_handle_t[] = { {&_swigt__p_dtn_handle_t, 0, 0, 0},{0, 0, 0, 0}};
11344 static swig_cast_info _swigc__p_dtn_reg_flags_t[] = { {&_swigt__p_dtn_reg_flags_t, 0, 0, 0},{0, 0, 0, 0}};
11345 static swig_cast_info _swigc__p_dtn_reg_info_t[] = { {&_swigt__p_dtn_reg_info_t, 0, 0, 0},{0, 0, 0, 0}};
11346 static swig_cast_info _swigc__p_dtn_reg_info_t_script[] = { {&_swigt__p_dtn_reg_info_t_script, 0, 0, 0},{0, 0, 0, 0}};
11347 static swig_cast_info _swigc__p_dtn_sequence_id_t[] = { {&_swigt__p_dtn_sequence_id_t, 0, 0, 0},{0, 0, 0, 0}};
11348 static swig_cast_info _swigc__p_dtn_sequence_id_t_data[] = { {&_swigt__p_dtn_sequence_id_t_data, 0, 0, 0},{0, 0, 0, 0}};
11349 static swig_cast_info _swigc__p_dtn_service_tag_t[] = { {&_swigt__p_dtn_service_tag_t, 0, 0, 0},{0, 0, 0, 0}};
11350 static swig_cast_info _swigc__p_dtn_session_info[] = { {&_swigt__p_dtn_session_info, 0, 0, 0},{0, 0, 0, 0}};
11351 static swig_cast_info _swigc__p_dtn_status_report[] = { {&_swigt__p_dtn_status_report, 0, 0, 0},{0, 0, 0, 0}};
11352 static swig_cast_info _swigc__p_dtn_status_report_flags_t[] = { {&_swigt__p_dtn_status_report_flags_t, 0, 0, 0},{0, 0, 0, 0}};
11353 static swig_cast_info _swigc__p_dtn_status_report_reason_t[] = { {&_swigt__p_dtn_status_report_reason_t, 0, 0, 0},{0, 0, 0, 0}};
11354 static swig_cast_info _swigc__p_dtn_timestamp_t[] = { {&_swigt__p_dtn_timestamp_t, 0, 0, 0},{0, 0, 0, 0}};
11355 static swig_cast_info _swigc__p_mapT_unsigned_int_dtn_handle_t_t[] = { {&_swigt__p_mapT_unsigned_int_dtn_handle_t_t, 0, 0, 0},{0, 0, 0, 0}};
11356 static swig_cast_info _swigc__p_u_int[] = { {&_swigt__p_u_int, 0, 0, 0},{0, 0, 0, 0}};
11357
11358 static swig_cast_info *swig_cast_initial[] = {
11359 _swigc__p_XDR,
11360 _swigc__p_bool_t,
11361 _swigc__p_char,
11362 _swigc__p_dtn_bundle,
11363 _swigc__p_dtn_bundle_delivery_opts_t,
11364 _swigc__p_dtn_bundle_id,
11365 _swigc__p_dtn_bundle_id_t,
11366 _swigc__p_dtn_bundle_payload_location_t,
11367 _swigc__p_dtn_bundle_payload_t,
11368 _swigc__p_dtn_bundle_payload_t_buf,
11369 _swigc__p_dtn_bundle_payload_t_filename,
11370 _swigc__p_dtn_bundle_priority_t,
11371 _swigc__p_dtn_bundle_spec_t,
11372 _swigc__p_dtn_bundle_spec_t_blocks,
11373 _swigc__p_dtn_bundle_spec_t_metadata,
11374 _swigc__p_dtn_bundle_status_report_t,
11375 _swigc__p_dtn_endpoint_id_t,
11376 _swigc__p_dtn_extension_block_flags_t,
11377 _swigc__p_dtn_extension_block_t,
11378 _swigc__p_dtn_extension_block_t_data,
11379 _swigc__p_dtn_handle_t,
11380 _swigc__p_dtn_reg_flags_t,
11381 _swigc__p_dtn_reg_info_t,
11382 _swigc__p_dtn_reg_info_t_script,
11383 _swigc__p_dtn_sequence_id_t,
11384 _swigc__p_dtn_sequence_id_t_data,
11385 _swigc__p_dtn_service_tag_t,
11386 _swigc__p_dtn_session_info,
11387 _swigc__p_dtn_status_report,
11388 _swigc__p_dtn_status_report_flags_t,
11389 _swigc__p_dtn_status_report_reason_t,
11390 _swigc__p_dtn_timestamp_t,
11391 _swigc__p_mapT_unsigned_int_dtn_handle_t_t,
11392 _swigc__p_u_int,
11393 };
11394
11395
11396
11397
11398 static swig_constant_info swig_constants[] = {
11399 {0,0,0,0,0,0}
11400 };
11401 #ifdef __cplusplus
11402 }
11403 #endif
11404 static swig_variable_info swig_variables[] = {
11405 { "dtnapic::Handles", MAGIC_CLASS _wrap_Handles_set, MAGIC_CLASS _wrap_Handles_get,&SWIGTYPE_p_mapT_unsigned_int_dtn_handle_t_t },
11406 { "dtnapic::HandleID", MAGIC_CLASS _wrap_HandleID_set, MAGIC_CLASS _wrap_HandleID_get,0 },
11407 {0,0,0,0}
11408 };
11409 static swig_command_info swig_commands[] = {
11410 {"dtnapic::dtn_endpoint_id_t_uri_set", _wrap_dtn_endpoint_id_t_uri_set},
11411 {"dtnapic::dtn_endpoint_id_t_uri_get", _wrap_dtn_endpoint_id_t_uri_get},
11412 {"dtnapic::new_dtn_endpoint_id_t", _wrap_new_dtn_endpoint_id_t},
11413 {"dtnapic::delete_dtn_endpoint_id_t", _wrap_delete_dtn_endpoint_id_t},
11414 {"dtnapic::dtn_timestamp_t_secs_set", _wrap_dtn_timestamp_t_secs_set},
11415 {"dtnapic::dtn_timestamp_t_secs_get", _wrap_dtn_timestamp_t_secs_get},
11416 {"dtnapic::dtn_timestamp_t_seqno_set", _wrap_dtn_timestamp_t_seqno_set},
11417 {"dtnapic::dtn_timestamp_t_seqno_get", _wrap_dtn_timestamp_t_seqno_get},
11418 {"dtnapic::new_dtn_timestamp_t", _wrap_new_dtn_timestamp_t},
11419 {"dtnapic::delete_dtn_timestamp_t", _wrap_delete_dtn_timestamp_t},
11420 {"dtnapic::dtn_service_tag_t_tag_set", _wrap_dtn_service_tag_t_tag_set},
11421 {"dtnapic::dtn_service_tag_t_tag_get", _wrap_dtn_service_tag_t_tag_get},
11422 {"dtnapic::new_dtn_service_tag_t", _wrap_new_dtn_service_tag_t},
11423 {"dtnapic::delete_dtn_service_tag_t", _wrap_delete_dtn_service_tag_t},
11424 {"dtnapic::dtn_reg_info_t_endpoint_set", _wrap_dtn_reg_info_t_endpoint_set},
11425 {"dtnapic::dtn_reg_info_t_endpoint_get", _wrap_dtn_reg_info_t_endpoint_get},
11426 {"dtnapic::dtn_reg_info_t_regid_set", _wrap_dtn_reg_info_t_regid_set},
11427 {"dtnapic::dtn_reg_info_t_regid_get", _wrap_dtn_reg_info_t_regid_get},
11428 {"dtnapic::dtn_reg_info_t_flags_set", _wrap_dtn_reg_info_t_flags_set},
11429 {"dtnapic::dtn_reg_info_t_flags_get", _wrap_dtn_reg_info_t_flags_get},
11430 {"dtnapic::dtn_reg_info_t_expiration_set", _wrap_dtn_reg_info_t_expiration_set},
11431 {"dtnapic::dtn_reg_info_t_expiration_get", _wrap_dtn_reg_info_t_expiration_get},
11432 {"dtnapic::dtn_reg_info_t_init_passive_set", _wrap_dtn_reg_info_t_init_passive_set},
11433 {"dtnapic::dtn_reg_info_t_init_passive_get", _wrap_dtn_reg_info_t_init_passive_get},
11434 {"dtnapic::dtn_reg_info_t_script_get", _wrap_dtn_reg_info_t_script_get},
11435 {"dtnapic::new_dtn_reg_info_t", _wrap_new_dtn_reg_info_t},
11436 {"dtnapic::delete_dtn_reg_info_t", _wrap_delete_dtn_reg_info_t},
11437 {"dtnapic::dtn_reg_info_t_script_script_len_set", _wrap_dtn_reg_info_t_script_script_len_set},
11438 {"dtnapic::dtn_reg_info_t_script_script_len_get", _wrap_dtn_reg_info_t_script_script_len_get},
11439 {"dtnapic::dtn_reg_info_t_script_script_val_set", _wrap_dtn_reg_info_t_script_script_val_set},
11440 {"dtnapic::dtn_reg_info_t_script_script_val_get", _wrap_dtn_reg_info_t_script_script_val_get},
11441 {"dtnapic::new_dtn_reg_info_t_script", _wrap_new_dtn_reg_info_t_script},
11442 {"dtnapic::delete_dtn_reg_info_t_script", _wrap_delete_dtn_reg_info_t_script},
11443 {"dtnapic::dtn_extension_block_t_type_set", _wrap_dtn_extension_block_t_type_set},
11444 {"dtnapic::dtn_extension_block_t_type_get", _wrap_dtn_extension_block_t_type_get},
11445 {"dtnapic::dtn_extension_block_t_flags_set", _wrap_dtn_extension_block_t_flags_set},
11446 {"dtnapic::dtn_extension_block_t_flags_get", _wrap_dtn_extension_block_t_flags_get},
11447 {"dtnapic::dtn_extension_block_t_data_get", _wrap_dtn_extension_block_t_data_get},
11448 {"dtnapic::new_dtn_extension_block_t", _wrap_new_dtn_extension_block_t},
11449 {"dtnapic::delete_dtn_extension_block_t", _wrap_delete_dtn_extension_block_t},
11450 {"dtnapic::dtn_extension_block_t_data_data_len_set", _wrap_dtn_extension_block_t_data_data_len_set},
11451 {"dtnapic::dtn_extension_block_t_data_data_len_get", _wrap_dtn_extension_block_t_data_data_len_get},
11452 {"dtnapic::dtn_extension_block_t_data_data_val_set", _wrap_dtn_extension_block_t_data_data_val_set},
11453 {"dtnapic::dtn_extension_block_t_data_data_val_get", _wrap_dtn_extension_block_t_data_data_val_get},
11454 {"dtnapic::new_dtn_extension_block_t_data", _wrap_new_dtn_extension_block_t_data},
11455 {"dtnapic::delete_dtn_extension_block_t_data", _wrap_delete_dtn_extension_block_t_data},
11456 {"dtnapic::dtn_sequence_id_t_data_get", _wrap_dtn_sequence_id_t_data_get},
11457 {"dtnapic::new_dtn_sequence_id_t", _wrap_new_dtn_sequence_id_t},
11458 {"dtnapic::delete_dtn_sequence_id_t", _wrap_delete_dtn_sequence_id_t},
11459 {"dtnapic::dtn_sequence_id_t_data_data_len_set", _wrap_dtn_sequence_id_t_data_data_len_set},
11460 {"dtnapic::dtn_sequence_id_t_data_data_len_get", _wrap_dtn_sequence_id_t_data_data_len_get},
11461 {"dtnapic::dtn_sequence_id_t_data_data_val_set", _wrap_dtn_sequence_id_t_data_data_val_set},
11462 {"dtnapic::dtn_sequence_id_t_data_data_val_get", _wrap_dtn_sequence_id_t_data_data_val_get},
11463 {"dtnapic::new_dtn_sequence_id_t_data", _wrap_new_dtn_sequence_id_t_data},
11464 {"dtnapic::delete_dtn_sequence_id_t_data", _wrap_delete_dtn_sequence_id_t_data},
11465 {"dtnapic::dtn_bundle_spec_t_source_set", _wrap_dtn_bundle_spec_t_source_set},
11466 {"dtnapic::dtn_bundle_spec_t_source_get", _wrap_dtn_bundle_spec_t_source_get},
11467 {"dtnapic::dtn_bundle_spec_t_dest_set", _wrap_dtn_bundle_spec_t_dest_set},
11468 {"dtnapic::dtn_bundle_spec_t_dest_get", _wrap_dtn_bundle_spec_t_dest_get},
11469 {"dtnapic::dtn_bundle_spec_t_replyto_set", _wrap_dtn_bundle_spec_t_replyto_set},
11470 {"dtnapic::dtn_bundle_spec_t_replyto_get", _wrap_dtn_bundle_spec_t_replyto_get},
11471 {"dtnapic::dtn_bundle_spec_t_priority_set", _wrap_dtn_bundle_spec_t_priority_set},
11472 {"dtnapic::dtn_bundle_spec_t_priority_get", _wrap_dtn_bundle_spec_t_priority_get},
11473 {"dtnapic::dtn_bundle_spec_t_dopts_set", _wrap_dtn_bundle_spec_t_dopts_set},
11474 {"dtnapic::dtn_bundle_spec_t_dopts_get", _wrap_dtn_bundle_spec_t_dopts_get},
11475 {"dtnapic::dtn_bundle_spec_t_expiration_set", _wrap_dtn_bundle_spec_t_expiration_set},
11476 {"dtnapic::dtn_bundle_spec_t_expiration_get", _wrap_dtn_bundle_spec_t_expiration_get},
11477 {"dtnapic::dtn_bundle_spec_t_creation_ts_set", _wrap_dtn_bundle_spec_t_creation_ts_set},
11478 {"dtnapic::dtn_bundle_spec_t_creation_ts_get", _wrap_dtn_bundle_spec_t_creation_ts_get},
11479 {"dtnapic::dtn_bundle_spec_t_delivery_regid_set", _wrap_dtn_bundle_spec_t_delivery_regid_set},
11480 {"dtnapic::dtn_bundle_spec_t_delivery_regid_get", _wrap_dtn_bundle_spec_t_delivery_regid_get},
11481 {"dtnapic::dtn_bundle_spec_t_sequence_id_set", _wrap_dtn_bundle_spec_t_sequence_id_set},
11482 {"dtnapic::dtn_bundle_spec_t_sequence_id_get", _wrap_dtn_bundle_spec_t_sequence_id_get},
11483 {"dtnapic::dtn_bundle_spec_t_obsoletes_id_set", _wrap_dtn_bundle_spec_t_obsoletes_id_set},
11484 {"dtnapic::dtn_bundle_spec_t_obsoletes_id_get", _wrap_dtn_bundle_spec_t_obsoletes_id_get},
11485 {"dtnapic::dtn_bundle_spec_t_metadata_get", _wrap_dtn_bundle_spec_t_metadata_get},
11486 {"dtnapic::dtn_bundle_spec_t_blocks_get", _wrap_dtn_bundle_spec_t_blocks_get},
11487 {"dtnapic::new_dtn_bundle_spec_t", _wrap_new_dtn_bundle_spec_t},
11488 {"dtnapic::delete_dtn_bundle_spec_t", _wrap_delete_dtn_bundle_spec_t},
11489 {"dtnapic::dtn_bundle_spec_t_metadata_metadata_len_set", _wrap_dtn_bundle_spec_t_metadata_metadata_len_set},
11490 {"dtnapic::dtn_bundle_spec_t_metadata_metadata_len_get", _wrap_dtn_bundle_spec_t_metadata_metadata_len_get},
11491 {"dtnapic::dtn_bundle_spec_t_metadata_metadata_val_set", _wrap_dtn_bundle_spec_t_metadata_metadata_val_set},
11492 {"dtnapic::dtn_bundle_spec_t_metadata_metadata_val_get", _wrap_dtn_bundle_spec_t_metadata_metadata_val_get},
11493 {"dtnapic::new_dtn_bundle_spec_t_metadata", _wrap_new_dtn_bundle_spec_t_metadata},
11494 {"dtnapic::delete_dtn_bundle_spec_t_metadata", _wrap_delete_dtn_bundle_spec_t_metadata},
11495 {"dtnapic::dtn_bundle_spec_t_blocks_blocks_len_set", _wrap_dtn_bundle_spec_t_blocks_blocks_len_set},
11496 {"dtnapic::dtn_bundle_spec_t_blocks_blocks_len_get", _wrap_dtn_bundle_spec_t_blocks_blocks_len_get},
11497 {"dtnapic::dtn_bundle_spec_t_blocks_blocks_val_set", _wrap_dtn_bundle_spec_t_blocks_blocks_val_set},
11498 {"dtnapic::dtn_bundle_spec_t_blocks_blocks_val_get", _wrap_dtn_bundle_spec_t_blocks_blocks_val_get},
11499 {"dtnapic::new_dtn_bundle_spec_t_blocks", _wrap_new_dtn_bundle_spec_t_blocks},
11500 {"dtnapic::delete_dtn_bundle_spec_t_blocks", _wrap_delete_dtn_bundle_spec_t_blocks},
11501 {"dtnapic::dtn_bundle_id_t_source_set", _wrap_dtn_bundle_id_t_source_set},
11502 {"dtnapic::dtn_bundle_id_t_source_get", _wrap_dtn_bundle_id_t_source_get},
11503 {"dtnapic::dtn_bundle_id_t_creation_ts_set", _wrap_dtn_bundle_id_t_creation_ts_set},
11504 {"dtnapic::dtn_bundle_id_t_creation_ts_get", _wrap_dtn_bundle_id_t_creation_ts_get},
11505 {"dtnapic::dtn_bundle_id_t_frag_offset_set", _wrap_dtn_bundle_id_t_frag_offset_set},
11506 {"dtnapic::dtn_bundle_id_t_frag_offset_get", _wrap_dtn_bundle_id_t_frag_offset_get},
11507 {"dtnapic::dtn_bundle_id_t_orig_length_set", _wrap_dtn_bundle_id_t_orig_length_set},
11508 {"dtnapic::dtn_bundle_id_t_orig_length_get", _wrap_dtn_bundle_id_t_orig_length_get},
11509 {"dtnapic::new_dtn_bundle_id_t", _wrap_new_dtn_bundle_id_t},
11510 {"dtnapic::delete_dtn_bundle_id_t", _wrap_delete_dtn_bundle_id_t},
11511 {"dtnapic::dtn_bundle_status_report_t_bundle_id_set", _wrap_dtn_bundle_status_report_t_bundle_id_set},
11512 {"dtnapic::dtn_bundle_status_report_t_bundle_id_get", _wrap_dtn_bundle_status_report_t_bundle_id_get},
11513 {"dtnapic::dtn_bundle_status_report_t_reason_set", _wrap_dtn_bundle_status_report_t_reason_set},
11514 {"dtnapic::dtn_bundle_status_report_t_reason_get", _wrap_dtn_bundle_status_report_t_reason_get},
11515 {"dtnapic::dtn_bundle_status_report_t_flags_set", _wrap_dtn_bundle_status_report_t_flags_set},
11516 {"dtnapic::dtn_bundle_status_report_t_flags_get", _wrap_dtn_bundle_status_report_t_flags_get},
11517 {"dtnapic::dtn_bundle_status_report_t_receipt_ts_set", _wrap_dtn_bundle_status_report_t_receipt_ts_set},
11518 {"dtnapic::dtn_bundle_status_report_t_receipt_ts_get", _wrap_dtn_bundle_status_report_t_receipt_ts_get},
11519 {"dtnapic::dtn_bundle_status_report_t_custody_ts_set", _wrap_dtn_bundle_status_report_t_custody_ts_set},
11520 {"dtnapic::dtn_bundle_status_report_t_custody_ts_get", _wrap_dtn_bundle_status_report_t_custody_ts_get},
11521 {"dtnapic::dtn_bundle_status_report_t_forwarding_ts_set", _wrap_dtn_bundle_status_report_t_forwarding_ts_set},
11522 {"dtnapic::dtn_bundle_status_report_t_forwarding_ts_get", _wrap_dtn_bundle_status_report_t_forwarding_ts_get},
11523 {"dtnapic::dtn_bundle_status_report_t_delivery_ts_set", _wrap_dtn_bundle_status_report_t_delivery_ts_set},
11524 {"dtnapic::dtn_bundle_status_report_t_delivery_ts_get", _wrap_dtn_bundle_status_report_t_delivery_ts_get},
11525 {"dtnapic::dtn_bundle_status_report_t_deletion_ts_set", _wrap_dtn_bundle_status_report_t_deletion_ts_set},
11526 {"dtnapic::dtn_bundle_status_report_t_deletion_ts_get", _wrap_dtn_bundle_status_report_t_deletion_ts_get},
11527 {"dtnapic::dtn_bundle_status_report_t_ack_by_app_ts_set", _wrap_dtn_bundle_status_report_t_ack_by_app_ts_set},
11528 {"dtnapic::dtn_bundle_status_report_t_ack_by_app_ts_get", _wrap_dtn_bundle_status_report_t_ack_by_app_ts_get},
11529 {"dtnapic::new_dtn_bundle_status_report_t", _wrap_new_dtn_bundle_status_report_t},
11530 {"dtnapic::delete_dtn_bundle_status_report_t", _wrap_delete_dtn_bundle_status_report_t},
11531 {"dtnapic::dtn_bundle_payload_t_location_set", _wrap_dtn_bundle_payload_t_location_set},
11532 {"dtnapic::dtn_bundle_payload_t_location_get", _wrap_dtn_bundle_payload_t_location_get},
11533 {"dtnapic::dtn_bundle_payload_t_status_report_set", _wrap_dtn_bundle_payload_t_status_report_set},
11534 {"dtnapic::dtn_bundle_payload_t_status_report_get", _wrap_dtn_bundle_payload_t_status_report_get},
11535 {"dtnapic::dtn_bundle_payload_t_buf_get", _wrap_dtn_bundle_payload_t_buf_get},
11536 {"dtnapic::dtn_bundle_payload_t_filename_get", _wrap_dtn_bundle_payload_t_filename_get},
11537 {"dtnapic::new_dtn_bundle_payload_t", _wrap_new_dtn_bundle_payload_t},
11538 {"dtnapic::delete_dtn_bundle_payload_t", _wrap_delete_dtn_bundle_payload_t},
11539 {"dtnapic::dtn_bundle_payload_t_buf_buf_len_set", _wrap_dtn_bundle_payload_t_buf_buf_len_set},
11540 {"dtnapic::dtn_bundle_payload_t_buf_buf_len_get", _wrap_dtn_bundle_payload_t_buf_buf_len_get},
11541 {"dtnapic::dtn_bundle_payload_t_buf_buf_val_set", _wrap_dtn_bundle_payload_t_buf_buf_val_set},
11542 {"dtnapic::dtn_bundle_payload_t_buf_buf_val_get", _wrap_dtn_bundle_payload_t_buf_buf_val_get},
11543 {"dtnapic::new_dtn_bundle_payload_t_buf", _wrap_new_dtn_bundle_payload_t_buf},
11544 {"dtnapic::delete_dtn_bundle_payload_t_buf", _wrap_delete_dtn_bundle_payload_t_buf},
11545 {"dtnapic::dtn_bundle_payload_t_filename_filename_len_set", _wrap_dtn_bundle_payload_t_filename_filename_len_set},
11546 {"dtnapic::dtn_bundle_payload_t_filename_filename_len_get", _wrap_dtn_bundle_payload_t_filename_filename_len_get},
11547 {"dtnapic::dtn_bundle_payload_t_filename_filename_val_set", _wrap_dtn_bundle_payload_t_filename_filename_val_set},
11548 {"dtnapic::dtn_bundle_payload_t_filename_filename_val_get", _wrap_dtn_bundle_payload_t_filename_filename_val_get},
11549 {"dtnapic::new_dtn_bundle_payload_t_filename", _wrap_new_dtn_bundle_payload_t_filename},
11550 {"dtnapic::delete_dtn_bundle_payload_t_filename", _wrap_delete_dtn_bundle_payload_t_filename},
11551 {"dtnapic::xdr_dtn_endpoint_id_t", _wrap_xdr_dtn_endpoint_id_t},
11552 {"dtnapic::xdr_dtn_reg_id_t", _wrap_xdr_dtn_reg_id_t},
11553 {"dtnapic::xdr_dtn_timeval_t", _wrap_xdr_dtn_timeval_t},
11554 {"dtnapic::xdr_dtn_timestamp_t", _wrap_xdr_dtn_timestamp_t},
11555 {"dtnapic::xdr_dtn_service_tag_t", _wrap_xdr_dtn_service_tag_t},
11556 {"dtnapic::xdr_dtn_reg_flags_t", _wrap_xdr_dtn_reg_flags_t},
11557 {"dtnapic::xdr_dtn_reg_info_t", _wrap_xdr_dtn_reg_info_t},
11558 {"dtnapic::xdr_dtn_bundle_priority_t", _wrap_xdr_dtn_bundle_priority_t},
11559 {"dtnapic::xdr_dtn_bundle_delivery_opts_t", _wrap_xdr_dtn_bundle_delivery_opts_t},
11560 {"dtnapic::xdr_dtn_extension_block_flags_t", _wrap_xdr_dtn_extension_block_flags_t},
11561 {"dtnapic::xdr_dtn_extension_block_t", _wrap_xdr_dtn_extension_block_t},
11562 {"dtnapic::xdr_dtn_sequence_id_t", _wrap_xdr_dtn_sequence_id_t},
11563 {"dtnapic::xdr_dtn_bundle_spec_t", _wrap_xdr_dtn_bundle_spec_t},
11564 {"dtnapic::xdr_dtn_bundle_id_t", _wrap_xdr_dtn_bundle_id_t},
11565 {"dtnapic::xdr_dtn_status_report_reason_t", _wrap_xdr_dtn_status_report_reason_t},
11566 {"dtnapic::xdr_dtn_status_report_flags_t", _wrap_xdr_dtn_status_report_flags_t},
11567 {"dtnapic::xdr_dtn_bundle_status_report_t", _wrap_xdr_dtn_bundle_status_report_t},
11568 {"dtnapic::xdr_dtn_bundle_payload_location_t", _wrap_xdr_dtn_bundle_payload_location_t},
11569 {"dtnapic::xdr_dtn_bundle_payload_t", _wrap_xdr_dtn_bundle_payload_t},
11570 {"dtnapic::dtn_strerror", _wrap_dtn_strerror},
11571 {"dtnapic::dtn_open", _wrap_dtn_open},
11572 {"dtnapic::find_handle", _wrap_find_handle},
11573 {"dtnapic::dtn_close", _wrap_dtn_close},
11574 {"dtnapic::dtn_errno", _wrap_dtn_errno},
11575 {"dtnapic::dtn_build_local_eid", _wrap_dtn_build_local_eid},
11576 {"dtnapic::build_reginfo", _wrap_build_reginfo},
11577 {"dtnapic::dtn_register", _wrap_dtn_register},
11578 {"dtnapic::dtn_unregister", _wrap_dtn_unregister},
11579 {"dtnapic::dtn_find_registration", _wrap_dtn_find_registration},
11580 {"dtnapic::dtn_change_registration", _wrap_dtn_change_registration},
11581 {"dtnapic::dtn_bind", _wrap_dtn_bind},
11582 {"dtnapic::dtn_unbind", _wrap_dtn_unbind},
11583 {"dtnapic::dtn_bundle_id_source_set", _wrap_dtn_bundle_id_source_set},
11584 {"dtnapic::dtn_bundle_id_source_get", _wrap_dtn_bundle_id_source_get},
11585 {"dtnapic::dtn_bundle_id_creation_secs_set", _wrap_dtn_bundle_id_creation_secs_set},
11586 {"dtnapic::dtn_bundle_id_creation_secs_get", _wrap_dtn_bundle_id_creation_secs_get},
11587 {"dtnapic::dtn_bundle_id_creation_seqno_set", _wrap_dtn_bundle_id_creation_seqno_set},
11588 {"dtnapic::dtn_bundle_id_creation_seqno_get", _wrap_dtn_bundle_id_creation_seqno_get},
11589 {"dtnapic::new_dtn_bundle_id", _wrap_new_dtn_bundle_id},
11590 {"dtnapic::delete_dtn_bundle_id", _wrap_delete_dtn_bundle_id},
11591 {"dtnapic::dtn_send", _wrap_dtn_send},
11592 {"dtnapic::dtn_cancel", _wrap_dtn_cancel},
11593 {"dtnapic::dtn_status_report_bundle_id_set", _wrap_dtn_status_report_bundle_id_set},
11594 {"dtnapic::dtn_status_report_bundle_id_get", _wrap_dtn_status_report_bundle_id_get},
11595 {"dtnapic::dtn_status_report_reason_set", _wrap_dtn_status_report_reason_set},
11596 {"dtnapic::dtn_status_report_reason_get", _wrap_dtn_status_report_reason_get},
11597 {"dtnapic::dtn_status_report_flags_set", _wrap_dtn_status_report_flags_set},
11598 {"dtnapic::dtn_status_report_flags_get", _wrap_dtn_status_report_flags_get},
11599 {"dtnapic::dtn_status_report_receipt_ts_secs_set", _wrap_dtn_status_report_receipt_ts_secs_set},
11600 {"dtnapic::dtn_status_report_receipt_ts_secs_get", _wrap_dtn_status_report_receipt_ts_secs_get},
11601 {"dtnapic::dtn_status_report_receipt_ts_seqno_set", _wrap_dtn_status_report_receipt_ts_seqno_set},
11602 {"dtnapic::dtn_status_report_receipt_ts_seqno_get", _wrap_dtn_status_report_receipt_ts_seqno_get},
11603 {"dtnapic::dtn_status_report_custody_ts_secs_set", _wrap_dtn_status_report_custody_ts_secs_set},
11604 {"dtnapic::dtn_status_report_custody_ts_secs_get", _wrap_dtn_status_report_custody_ts_secs_get},
11605 {"dtnapic::dtn_status_report_custody_ts_seqno_set", _wrap_dtn_status_report_custody_ts_seqno_set},
11606 {"dtnapic::dtn_status_report_custody_ts_seqno_get", _wrap_dtn_status_report_custody_ts_seqno_get},
11607 {"dtnapic::dtn_status_report_forwarding_ts_secs_set", _wrap_dtn_status_report_forwarding_ts_secs_set},
11608 {"dtnapic::dtn_status_report_forwarding_ts_secs_get", _wrap_dtn_status_report_forwarding_ts_secs_get},
11609 {"dtnapic::dtn_status_report_forwarding_ts_seqno_set", _wrap_dtn_status_report_forwarding_ts_seqno_set},
11610 {"dtnapic::dtn_status_report_forwarding_ts_seqno_get", _wrap_dtn_status_report_forwarding_ts_seqno_get},
11611 {"dtnapic::dtn_status_report_delivery_ts_secs_set", _wrap_dtn_status_report_delivery_ts_secs_set},
11612 {"dtnapic::dtn_status_report_delivery_ts_secs_get", _wrap_dtn_status_report_delivery_ts_secs_get},
11613 {"dtnapic::dtn_status_report_delivery_ts_seqno_set", _wrap_dtn_status_report_delivery_ts_seqno_set},
11614 {"dtnapic::dtn_status_report_delivery_ts_seqno_get", _wrap_dtn_status_report_delivery_ts_seqno_get},
11615 {"dtnapic::dtn_status_report_deletion_ts_secs_set", _wrap_dtn_status_report_deletion_ts_secs_set},
11616 {"dtnapic::dtn_status_report_deletion_ts_secs_get", _wrap_dtn_status_report_deletion_ts_secs_get},
11617 {"dtnapic::dtn_status_report_deletion_ts_seqno_set", _wrap_dtn_status_report_deletion_ts_seqno_set},
11618 {"dtnapic::dtn_status_report_deletion_ts_seqno_get", _wrap_dtn_status_report_deletion_ts_seqno_get},
11619 {"dtnapic::dtn_status_report_ack_by_app_ts_secs_set", _wrap_dtn_status_report_ack_by_app_ts_secs_set},
11620 {"dtnapic::dtn_status_report_ack_by_app_ts_secs_get", _wrap_dtn_status_report_ack_by_app_ts_secs_get},
11621 {"dtnapic::dtn_status_report_ack_by_app_ts_seqno_set", _wrap_dtn_status_report_ack_by_app_ts_seqno_set},
11622 {"dtnapic::dtn_status_report_ack_by_app_ts_seqno_get", _wrap_dtn_status_report_ack_by_app_ts_seqno_get},
11623 {"dtnapic::new_dtn_status_report", _wrap_new_dtn_status_report},
11624 {"dtnapic::delete_dtn_status_report", _wrap_delete_dtn_status_report},
11625 {"dtnapic::dtn_status_report_reason_to_str", _wrap_dtn_status_report_reason_to_str},
11626 {"dtnapic::dtn_bundle_source_set", _wrap_dtn_bundle_source_set},
11627 {"dtnapic::dtn_bundle_source_get", _wrap_dtn_bundle_source_get},
11628 {"dtnapic::dtn_bundle_dest_set", _wrap_dtn_bundle_dest_set},
11629 {"dtnapic::dtn_bundle_dest_get", _wrap_dtn_bundle_dest_get},
11630 {"dtnapic::dtn_bundle_replyto_set", _wrap_dtn_bundle_replyto_set},
11631 {"dtnapic::dtn_bundle_replyto_get", _wrap_dtn_bundle_replyto_get},
11632 {"dtnapic::dtn_bundle_priority_set", _wrap_dtn_bundle_priority_set},
11633 {"dtnapic::dtn_bundle_priority_get", _wrap_dtn_bundle_priority_get},
11634 {"dtnapic::dtn_bundle_dopts_set", _wrap_dtn_bundle_dopts_set},
11635 {"dtnapic::dtn_bundle_dopts_get", _wrap_dtn_bundle_dopts_get},
11636 {"dtnapic::dtn_bundle_expiration_set", _wrap_dtn_bundle_expiration_set},
11637 {"dtnapic::dtn_bundle_expiration_get", _wrap_dtn_bundle_expiration_get},
11638 {"dtnapic::dtn_bundle_creation_secs_set", _wrap_dtn_bundle_creation_secs_set},
11639 {"dtnapic::dtn_bundle_creation_secs_get", _wrap_dtn_bundle_creation_secs_get},
11640 {"dtnapic::dtn_bundle_creation_seqno_set", _wrap_dtn_bundle_creation_seqno_set},
11641 {"dtnapic::dtn_bundle_creation_seqno_get", _wrap_dtn_bundle_creation_seqno_get},
11642 {"dtnapic::dtn_bundle_delivery_regid_set", _wrap_dtn_bundle_delivery_regid_set},
11643 {"dtnapic::dtn_bundle_delivery_regid_get", _wrap_dtn_bundle_delivery_regid_get},
11644 {"dtnapic::dtn_bundle_sequence_id_set", _wrap_dtn_bundle_sequence_id_set},
11645 {"dtnapic::dtn_bundle_sequence_id_get", _wrap_dtn_bundle_sequence_id_get},
11646 {"dtnapic::dtn_bundle_obsoletes_id_set", _wrap_dtn_bundle_obsoletes_id_set},
11647 {"dtnapic::dtn_bundle_obsoletes_id_get", _wrap_dtn_bundle_obsoletes_id_get},
11648 {"dtnapic::dtn_bundle_payload_set", _wrap_dtn_bundle_payload_set},
11649 {"dtnapic::dtn_bundle_payload_get", _wrap_dtn_bundle_payload_get},
11650 {"dtnapic::dtn_bundle_status_report_set", _wrap_dtn_bundle_status_report_set},
11651 {"dtnapic::dtn_bundle_status_report_get", _wrap_dtn_bundle_status_report_get},
11652 {"dtnapic::new_dtn_bundle", _wrap_new_dtn_bundle},
11653 {"dtnapic::delete_dtn_bundle", _wrap_delete_dtn_bundle},
11654 {"dtnapic::dtn_recv", _wrap_dtn_recv},
11655 {"dtnapic::dtn_session_info_status_set", _wrap_dtn_session_info_status_set},
11656 {"dtnapic::dtn_session_info_status_get", _wrap_dtn_session_info_status_get},
11657 {"dtnapic::dtn_session_info_session_set", _wrap_dtn_session_info_session_set},
11658 {"dtnapic::dtn_session_info_session_get", _wrap_dtn_session_info_session_get},
11659 {"dtnapic::new_dtn_session_info", _wrap_new_dtn_session_info},
11660 {"dtnapic::delete_dtn_session_info", _wrap_delete_dtn_session_info},
11661 {"dtnapic::dtn_session_update", _wrap_dtn_session_update},
11662 {"dtnapic::dtn_poll_fd", _wrap_dtn_poll_fd},
11663 {"dtnapic::dtn_begin_poll", _wrap_dtn_begin_poll},
11664 {"dtnapic::dtn_cancel_poll", _wrap_dtn_cancel_poll},
11665 {0,0}
11666 };
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708 #ifdef __cplusplus
11709 extern "C" {
11710 #if 0
11711 }
11712 #endif
11713 #endif
11714
11715 #if 0
11716 #define SWIGRUNTIME_DEBUG
11717 #endif
11718
11719
11720 SWIGRUNTIME void
11721 SWIG_InitializeModule(void *clientdata) {
11722 size_t i;
11723 swig_module_info *module_head, *iter;
11724 int found, init;
11725
11726 clientdata = clientdata;
11727
11728
11729 if (swig_module.next==0) {
11730
11731 swig_module.type_initial = swig_type_initial;
11732 swig_module.cast_initial = swig_cast_initial;
11733 swig_module.next = &swig_module;
11734 init = 1;
11735 } else {
11736 init = 0;
11737 }
11738
11739
11740 module_head = SWIG_GetModule(clientdata);
11741 if (!module_head) {
11742
11743
11744 SWIG_SetModule(clientdata, &swig_module);
11745 module_head = &swig_module;
11746 } else {
11747
11748 found=0;
11749 iter=module_head;
11750 do {
11751 if (iter==&swig_module) {
11752 found=1;
11753 break;
11754 }
11755 iter=iter->next;
11756 } while (iter!= module_head);
11757
11758
11759 if (found) return;
11760
11761 swig_module.next = module_head->next;
11762 module_head->next = &swig_module;
11763 }
11764
11765
11766
11767
11768
11769 if (init == 0) return;
11770
11771
11772 #ifdef SWIGRUNTIME_DEBUG
11773 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
11774 #endif
11775 for (i = 0; i < swig_module.size; ++i) {
11776 swig_type_info *type = 0;
11777 swig_type_info *ret;
11778 swig_cast_info *cast;
11779
11780 #ifdef SWIGRUNTIME_DEBUG
11781 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
11782 #endif
11783
11784
11785 if (swig_module.next != &swig_module) {
11786 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
11787 }
11788 if (type) {
11789
11790 #ifdef SWIGRUNTIME_DEBUG
11791 printf("SWIG_InitializeModule: found type %s\n", type->name);
11792 #endif
11793 if (swig_module.type_initial[i]->clientdata) {
11794 type->clientdata = swig_module.type_initial[i]->clientdata;
11795 #ifdef SWIGRUNTIME_DEBUG
11796 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
11797 #endif
11798 }
11799 } else {
11800 type = swig_module.type_initial[i];
11801 }
11802
11803
11804 cast = swig_module.cast_initial[i];
11805 while (cast->type) {
11806
11807 ret = 0;
11808 #ifdef SWIGRUNTIME_DEBUG
11809 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
11810 #endif
11811 if (swig_module.next != &swig_module) {
11812 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
11813 #ifdef SWIGRUNTIME_DEBUG
11814 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
11815 #endif
11816 }
11817 if (ret) {
11818 if (type == swig_module.type_initial[i]) {
11819 #ifdef SWIGRUNTIME_DEBUG
11820 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
11821 #endif
11822 cast->type = ret;
11823 ret = 0;
11824 } else {
11825
11826 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
11827 #ifdef SWIGRUNTIME_DEBUG
11828 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
11829 #endif
11830 if (!ocast) ret = 0;
11831 }
11832 }
11833
11834 if (!ret) {
11835 #ifdef SWIGRUNTIME_DEBUG
11836 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
11837 #endif
11838 if (type->cast) {
11839 type->cast->prev = cast;
11840 cast->next = type->cast;
11841 }
11842 type->cast = cast;
11843 }
11844 cast++;
11845 }
11846
11847 swig_module.types[i] = type;
11848 }
11849 swig_module.types[i] = 0;
11850
11851 #ifdef SWIGRUNTIME_DEBUG
11852 printf("**** SWIG_InitializeModule: Cast List ******\n");
11853 for (i = 0; i < swig_module.size; ++i) {
11854 int j = 0;
11855 swig_cast_info *cast = swig_module.cast_initial[i];
11856 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
11857 while (cast->type) {
11858 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
11859 cast++;
11860 ++j;
11861 }
11862 printf("---- Total casts: %d\n",j);
11863 }
11864 printf("**** SWIG_InitializeModule: Cast List ******\n");
11865 #endif
11866 }
11867
11868
11869
11870
11871
11872
11873 SWIGRUNTIME void
11874 SWIG_PropagateClientData(void) {
11875 size_t i;
11876 swig_cast_info *equiv;
11877 static int init_run = 0;
11878
11879 if (init_run) return;
11880 init_run = 1;
11881
11882 for (i = 0; i < swig_module.size; i++) {
11883 if (swig_module.types[i]->clientdata) {
11884 equiv = swig_module.types[i]->cast;
11885 while (equiv) {
11886 if (!equiv->converter) {
11887 if (equiv->type && !equiv->type->clientdata)
11888 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
11889 }
11890 equiv = equiv->next;
11891 }
11892 }
11893 }
11894 }
11895
11896 #ifdef __cplusplus
11897 #if 0
11898 {
11899
11900 #endif
11901 }
11902 #endif
11903
11904
11905
11906 #ifdef __cplusplus
11907 extern "C"
11908 #endif
11909
11910 XS(SWIG_init) {
11911 dXSARGS;
11912 int i;
11913
11914 SWIG_InitializeModule(0);
11915
11916
11917 for (i = 0; swig_commands[i].name; i++) {
11918 newXS((char*) swig_commands[i].name,swig_commands[i].wrapper, (char*)__FILE__);
11919 }
11920
11921
11922 for (i = 0; swig_variables[i].name; i++) {
11923 SV *sv;
11924 sv = get_sv((char*) swig_variables[i].name, TRUE | 0x2 | GV_ADDMULTI);
11925 if (swig_variables[i].type) {
11926 SWIG_MakePtr(sv,(void *)1, *swig_variables[i].type,0);
11927 } else {
11928 sv_setiv(sv,(IV) 0);
11929 }
11930 swig_create_magic(sv, (char *) swig_variables[i].name, swig_variables[i].set, swig_variables[i].get);
11931 }
11932
11933
11934 for (i = 0; swig_constants[i].type; i++) {
11935 SV *sv;
11936 sv = get_sv((char*)swig_constants[i].name, TRUE | 0x2 | GV_ADDMULTI);
11937 switch(swig_constants[i].type) {
11938 case SWIG_INT:
11939 sv_setiv(sv, (IV) swig_constants[i].lvalue);
11940 break;
11941 case SWIG_FLOAT:
11942 sv_setnv(sv, (double) swig_constants[i].dvalue);
11943 break;
11944 case SWIG_STRING:
11945 sv_setpv(sv, (char *) swig_constants[i].pvalue);
11946 break;
11947 case SWIG_POINTER:
11948 SWIG_MakePtr(sv, swig_constants[i].pvalue, *(swig_constants[i].ptype),0);
11949 break;
11950 case SWIG_BINARY:
11951 SWIG_MakePackedObj(sv, swig_constants[i].pvalue, swig_constants[i].lvalue, *(swig_constants[i].ptype));
11952 break;
11953 default:
11954 break;
11955 }
11956 SvREADONLY_on(sv);
11957 }
11958
11959 do {
11960 SV *sv = get_sv((char*) SWIG_prefix "DTN_MAX_ENDPOINT_ID", TRUE | 0x2 | GV_ADDMULTI);
11961 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(256)));
11962 SvREADONLY_on(sv);
11963 } while(0) ;
11964 do {
11965 SV *sv = get_sv((char*) SWIG_prefix "DTN_MAX_AUTHDATA", TRUE | 0x2 | GV_ADDMULTI);
11966 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(1024)));
11967 SvREADONLY_on(sv);
11968 } while(0) ;
11969 do {
11970 SV *sv = get_sv((char*) SWIG_prefix "DTN_MAX_REGION_LEN", TRUE | 0x2 | GV_ADDMULTI);
11971 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(64)));
11972 SvREADONLY_on(sv);
11973 } while(0) ;
11974 do {
11975 SV *sv = get_sv((char*) SWIG_prefix "DTN_MAX_BUNDLE_MEM", TRUE | 0x2 | GV_ADDMULTI);
11976 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(50000)));
11977 SvREADONLY_on(sv);
11978 } while(0) ;
11979 do {
11980 SV *sv = get_sv((char*) SWIG_prefix "DTN_MAX_BLOCK_LEN", TRUE | 0x2 | GV_ADDMULTI);
11981 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(1024)));
11982 SvREADONLY_on(sv);
11983 } while(0) ;
11984 do {
11985 SV *sv = get_sv((char*) SWIG_prefix "DTN_MAX_BLOCKS", TRUE | 0x2 | GV_ADDMULTI);
11986 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(256)));
11987 SvREADONLY_on(sv);
11988 } while(0) ;
11989 SWIG_TypeClientData(SWIGTYPE_p_dtn_endpoint_id_t, (void*) "dtnapi::dtn_endpoint_id_t");
11990 SWIG_TypeClientData(SWIGTYPE_p_dtn_timestamp_t, (void*) "dtnapi::dtn_timestamp_t");
11991 SWIG_TypeClientData(SWIGTYPE_p_dtn_service_tag_t, (void*) "dtnapi::dtn_service_tag_t");
11992 do {
11993 SV *sv = get_sv((char*) SWIG_prefix "DTN_REGID_NONE", TRUE | 0x2 | GV_ADDMULTI);
11994 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(0)));
11995 SvREADONLY_on(sv);
11996 } while(0) ;
11997 do {
11998 SV *sv = get_sv((char*) SWIG_prefix "DTN_REG_DROP", TRUE | 0x2 | GV_ADDMULTI);
11999 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(DTN_REG_DROP)));
12000 SvREADONLY_on(sv);
12001 } while(0) ;
12002 do {
12003 SV *sv = get_sv((char*) SWIG_prefix "DTN_REG_DEFER", TRUE | 0x2 | GV_ADDMULTI);
12004 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(DTN_REG_DEFER)));
12005 SvREADONLY_on(sv);
12006 } while(0) ;
12007 do {
12008 SV *sv = get_sv((char*) SWIG_prefix "DTN_REG_EXEC", TRUE | 0x2 | GV_ADDMULTI);
12009 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(DTN_REG_EXEC)));
12010 SvREADONLY_on(sv);
12011 } while(0) ;
12012 do {
12013 SV *sv = get_sv((char*) SWIG_prefix "DTN_SESSION_CUSTODY", TRUE | 0x2 | GV_ADDMULTI);
12014 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(DTN_SESSION_CUSTODY)));
12015 SvREADONLY_on(sv);
12016 } while(0) ;
12017 do {
12018 SV *sv = get_sv((char*) SWIG_prefix "DTN_SESSION_PUBLISH", TRUE | 0x2 | GV_ADDMULTI);
12019 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(DTN_SESSION_PUBLISH)));
12020 SvREADONLY_on(sv);
12021 } while(0) ;
12022 do {
12023 SV *sv = get_sv((char*) SWIG_prefix "DTN_SESSION_SUBSCRIBE", TRUE | 0x2 | GV_ADDMULTI);
12024 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(DTN_SESSION_SUBSCRIBE)));
12025 SvREADONLY_on(sv);
12026 } while(0) ;
12027 SWIG_TypeClientData(SWIGTYPE_p_dtn_reg_info_t, (void*) "dtnapi::dtn_reg_info_t");
12028 SWIG_TypeClientData(SWIGTYPE_p_dtn_reg_info_t_script, (void*) "dtnapi::dtn_reg_info_t_script");
12029 do {
12030 SV *sv = get_sv((char*) SWIG_prefix "COS_BULK", TRUE | 0x2 | GV_ADDMULTI);
12031 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(COS_BULK)));
12032 SvREADONLY_on(sv);
12033 } while(0) ;
12034 do {
12035 SV *sv = get_sv((char*) SWIG_prefix "COS_NORMAL", TRUE | 0x2 | GV_ADDMULTI);
12036 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(COS_NORMAL)));
12037 SvREADONLY_on(sv);
12038 } while(0) ;
12039 do {
12040 SV *sv = get_sv((char*) SWIG_prefix "COS_EXPEDITED", TRUE | 0x2 | GV_ADDMULTI);
12041 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(COS_EXPEDITED)));
12042 SvREADONLY_on(sv);
12043 } while(0) ;
12044 do {
12045 SV *sv = get_sv((char*) SWIG_prefix "COS_RESERVED", TRUE | 0x2 | GV_ADDMULTI);
12046 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(COS_RESERVED)));
12047 SvREADONLY_on(sv);
12048 } while(0) ;
12049 do {
12050 SV *sv = get_sv((char*) SWIG_prefix "DOPTS_NONE", TRUE | 0x2 | GV_ADDMULTI);
12051 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(DOPTS_NONE)));
12052 SvREADONLY_on(sv);
12053 } while(0) ;
12054 do {
12055 SV *sv = get_sv((char*) SWIG_prefix "DOPTS_CUSTODY", TRUE | 0x2 | GV_ADDMULTI);
12056 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(DOPTS_CUSTODY)));
12057 SvREADONLY_on(sv);
12058 } while(0) ;
12059 do {
12060 SV *sv = get_sv((char*) SWIG_prefix "DOPTS_DELIVERY_RCPT", TRUE | 0x2 | GV_ADDMULTI);
12061 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(DOPTS_DELIVERY_RCPT)));
12062 SvREADONLY_on(sv);
12063 } while(0) ;
12064 do {
12065 SV *sv = get_sv((char*) SWIG_prefix "DOPTS_RECEIVE_RCPT", TRUE | 0x2 | GV_ADDMULTI);
12066 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(DOPTS_RECEIVE_RCPT)));
12067 SvREADONLY_on(sv);
12068 } while(0) ;
12069 do {
12070 SV *sv = get_sv((char*) SWIG_prefix "DOPTS_FORWARD_RCPT", TRUE | 0x2 | GV_ADDMULTI);
12071 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(DOPTS_FORWARD_RCPT)));
12072 SvREADONLY_on(sv);
12073 } while(0) ;
12074 do {
12075 SV *sv = get_sv((char*) SWIG_prefix "DOPTS_CUSTODY_RCPT", TRUE | 0x2 | GV_ADDMULTI);
12076 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(DOPTS_CUSTODY_RCPT)));
12077 SvREADONLY_on(sv);
12078 } while(0) ;
12079 do {
12080 SV *sv = get_sv((char*) SWIG_prefix "DOPTS_DELETE_RCPT", TRUE | 0x2 | GV_ADDMULTI);
12081 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(DOPTS_DELETE_RCPT)));
12082 SvREADONLY_on(sv);
12083 } while(0) ;
12084 do {
12085 SV *sv = get_sv((char*) SWIG_prefix "DOPTS_SINGLETON_DEST", TRUE | 0x2 | GV_ADDMULTI);
12086 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(DOPTS_SINGLETON_DEST)));
12087 SvREADONLY_on(sv);
12088 } while(0) ;
12089 do {
12090 SV *sv = get_sv((char*) SWIG_prefix "DOPTS_MULTINODE_DEST", TRUE | 0x2 | GV_ADDMULTI);
12091 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(DOPTS_MULTINODE_DEST)));
12092 SvREADONLY_on(sv);
12093 } while(0) ;
12094 do {
12095 SV *sv = get_sv((char*) SWIG_prefix "DOPTS_DO_NOT_FRAGMENT", TRUE | 0x2 | GV_ADDMULTI);
12096 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(DOPTS_DO_NOT_FRAGMENT)));
12097 SvREADONLY_on(sv);
12098 } while(0) ;
12099 do {
12100 SV *sv = get_sv((char*) SWIG_prefix "BLOCK_FLAG_NONE", TRUE | 0x2 | GV_ADDMULTI);
12101 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(BLOCK_FLAG_NONE)));
12102 SvREADONLY_on(sv);
12103 } while(0) ;
12104 do {
12105 SV *sv = get_sv((char*) SWIG_prefix "BLOCK_FLAG_REPLICATE", TRUE | 0x2 | GV_ADDMULTI);
12106 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(BLOCK_FLAG_REPLICATE)));
12107 SvREADONLY_on(sv);
12108 } while(0) ;
12109 do {
12110 SV *sv = get_sv((char*) SWIG_prefix "BLOCK_FLAG_REPORT", TRUE | 0x2 | GV_ADDMULTI);
12111 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(BLOCK_FLAG_REPORT)));
12112 SvREADONLY_on(sv);
12113 } while(0) ;
12114 do {
12115 SV *sv = get_sv((char*) SWIG_prefix "BLOCK_FLAG_DELETE_BUNDLE", TRUE | 0x2 | GV_ADDMULTI);
12116 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(BLOCK_FLAG_DELETE_BUNDLE)));
12117 SvREADONLY_on(sv);
12118 } while(0) ;
12119 do {
12120 SV *sv = get_sv((char*) SWIG_prefix "BLOCK_FLAG_LAST", TRUE | 0x2 | GV_ADDMULTI);
12121 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(BLOCK_FLAG_LAST)));
12122 SvREADONLY_on(sv);
12123 } while(0) ;
12124 do {
12125 SV *sv = get_sv((char*) SWIG_prefix "BLOCK_FLAG_DISCARD_BLOCK", TRUE | 0x2 | GV_ADDMULTI);
12126 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(BLOCK_FLAG_DISCARD_BLOCK)));
12127 SvREADONLY_on(sv);
12128 } while(0) ;
12129 do {
12130 SV *sv = get_sv((char*) SWIG_prefix "BLOCK_FLAG_UNPROCESSED", TRUE | 0x2 | GV_ADDMULTI);
12131 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(BLOCK_FLAG_UNPROCESSED)));
12132 SvREADONLY_on(sv);
12133 } while(0) ;
12134 SWIG_TypeClientData(SWIGTYPE_p_dtn_extension_block_t, (void*) "dtnapi::dtn_extension_block_t");
12135 SWIG_TypeClientData(SWIGTYPE_p_dtn_extension_block_t_data, (void*) "dtnapi::dtn_extension_block_t_data");
12136 SWIG_TypeClientData(SWIGTYPE_p_dtn_sequence_id_t, (void*) "dtnapi::dtn_sequence_id_t");
12137 SWIG_TypeClientData(SWIGTYPE_p_dtn_sequence_id_t_data, (void*) "dtnapi::dtn_sequence_id_t_data");
12138 SWIG_TypeClientData(SWIGTYPE_p_dtn_bundle_spec_t, (void*) "dtnapi::dtn_bundle_spec_t");
12139 SWIG_TypeClientData(SWIGTYPE_p_dtn_bundle_spec_t_metadata, (void*) "dtnapi::dtn_bundle_spec_t_metadata");
12140 SWIG_TypeClientData(SWIGTYPE_p_dtn_bundle_spec_t_blocks, (void*) "dtnapi::dtn_bundle_spec_t_blocks");
12141 SWIG_TypeClientData(SWIGTYPE_p_dtn_bundle_id_t, (void*) "dtnapi::dtn_bundle_id_t");
12142 do {
12143 SV *sv = get_sv((char*) SWIG_prefix "REASON_NO_ADDTL_INFO", TRUE | 0x2 | GV_ADDMULTI);
12144 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(REASON_NO_ADDTL_INFO)));
12145 SvREADONLY_on(sv);
12146 } while(0) ;
12147 do {
12148 SV *sv = get_sv((char*) SWIG_prefix "REASON_LIFETIME_EXPIRED", TRUE | 0x2 | GV_ADDMULTI);
12149 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(REASON_LIFETIME_EXPIRED)));
12150 SvREADONLY_on(sv);
12151 } while(0) ;
12152 do {
12153 SV *sv = get_sv((char*) SWIG_prefix "REASON_FORWARDED_UNIDIR_LINK", TRUE | 0x2 | GV_ADDMULTI);
12154 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(REASON_FORWARDED_UNIDIR_LINK)));
12155 SvREADONLY_on(sv);
12156 } while(0) ;
12157 do {
12158 SV *sv = get_sv((char*) SWIG_prefix "REASON_TRANSMISSION_CANCELLED", TRUE | 0x2 | GV_ADDMULTI);
12159 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(REASON_TRANSMISSION_CANCELLED)));
12160 SvREADONLY_on(sv);
12161 } while(0) ;
12162 do {
12163 SV *sv = get_sv((char*) SWIG_prefix "REASON_DEPLETED_STORAGE", TRUE | 0x2 | GV_ADDMULTI);
12164 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(REASON_DEPLETED_STORAGE)));
12165 SvREADONLY_on(sv);
12166 } while(0) ;
12167 do {
12168 SV *sv = get_sv((char*) SWIG_prefix "REASON_ENDPOINT_ID_UNINTELLIGIBLE", TRUE | 0x2 | GV_ADDMULTI);
12169 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(REASON_ENDPOINT_ID_UNINTELLIGIBLE)));
12170 SvREADONLY_on(sv);
12171 } while(0) ;
12172 do {
12173 SV *sv = get_sv((char*) SWIG_prefix "REASON_NO_ROUTE_TO_DEST", TRUE | 0x2 | GV_ADDMULTI);
12174 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(REASON_NO_ROUTE_TO_DEST)));
12175 SvREADONLY_on(sv);
12176 } while(0) ;
12177 do {
12178 SV *sv = get_sv((char*) SWIG_prefix "REASON_NO_TIMELY_CONTACT", TRUE | 0x2 | GV_ADDMULTI);
12179 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(REASON_NO_TIMELY_CONTACT)));
12180 SvREADONLY_on(sv);
12181 } while(0) ;
12182 do {
12183 SV *sv = get_sv((char*) SWIG_prefix "REASON_BLOCK_UNINTELLIGIBLE", TRUE | 0x2 | GV_ADDMULTI);
12184 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(REASON_BLOCK_UNINTELLIGIBLE)));
12185 SvREADONLY_on(sv);
12186 } while(0) ;
12187 do {
12188 SV *sv = get_sv((char*) SWIG_prefix "STATUS_RECEIVED", TRUE | 0x2 | GV_ADDMULTI);
12189 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(STATUS_RECEIVED)));
12190 SvREADONLY_on(sv);
12191 } while(0) ;
12192 do {
12193 SV *sv = get_sv((char*) SWIG_prefix "STATUS_CUSTODY_ACCEPTED", TRUE | 0x2 | GV_ADDMULTI);
12194 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(STATUS_CUSTODY_ACCEPTED)));
12195 SvREADONLY_on(sv);
12196 } while(0) ;
12197 do {
12198 SV *sv = get_sv((char*) SWIG_prefix "STATUS_FORWARDED", TRUE | 0x2 | GV_ADDMULTI);
12199 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(STATUS_FORWARDED)));
12200 SvREADONLY_on(sv);
12201 } while(0) ;
12202 do {
12203 SV *sv = get_sv((char*) SWIG_prefix "STATUS_DELIVERED", TRUE | 0x2 | GV_ADDMULTI);
12204 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(STATUS_DELIVERED)));
12205 SvREADONLY_on(sv);
12206 } while(0) ;
12207 do {
12208 SV *sv = get_sv((char*) SWIG_prefix "STATUS_DELETED", TRUE | 0x2 | GV_ADDMULTI);
12209 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(STATUS_DELETED)));
12210 SvREADONLY_on(sv);
12211 } while(0) ;
12212 do {
12213 SV *sv = get_sv((char*) SWIG_prefix "STATUS_ACKED_BY_APP", TRUE | 0x2 | GV_ADDMULTI);
12214 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(STATUS_ACKED_BY_APP)));
12215 SvREADONLY_on(sv);
12216 } while(0) ;
12217 SWIG_TypeClientData(SWIGTYPE_p_dtn_bundle_status_report_t, (void*) "dtnapi::dtn_bundle_status_report_t");
12218 do {
12219 SV *sv = get_sv((char*) SWIG_prefix "DTN_PAYLOAD_FILE", TRUE | 0x2 | GV_ADDMULTI);
12220 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(DTN_PAYLOAD_FILE)));
12221 SvREADONLY_on(sv);
12222 } while(0) ;
12223 do {
12224 SV *sv = get_sv((char*) SWIG_prefix "DTN_PAYLOAD_MEM", TRUE | 0x2 | GV_ADDMULTI);
12225 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(DTN_PAYLOAD_MEM)));
12226 SvREADONLY_on(sv);
12227 } while(0) ;
12228 do {
12229 SV *sv = get_sv((char*) SWIG_prefix "DTN_PAYLOAD_TEMP_FILE", TRUE | 0x2 | GV_ADDMULTI);
12230 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(DTN_PAYLOAD_TEMP_FILE)));
12231 SvREADONLY_on(sv);
12232 } while(0) ;
12233 SWIG_TypeClientData(SWIGTYPE_p_dtn_bundle_payload_t, (void*) "dtnapi::dtn_bundle_payload_t");
12234 SWIG_TypeClientData(SWIGTYPE_p_dtn_bundle_payload_t_buf, (void*) "dtnapi::dtn_bundle_payload_t_buf");
12235 SWIG_TypeClientData(SWIGTYPE_p_dtn_bundle_payload_t_filename, (void*) "dtnapi::dtn_bundle_payload_t_filename");
12236 do {
12237 SV *sv = get_sv((char*) SWIG_prefix "DTN_SUCCESS", TRUE | 0x2 | GV_ADDMULTI);
12238 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(0)));
12239 SvREADONLY_on(sv);
12240 } while(0) ;
12241 do {
12242 SV *sv = get_sv((char*) SWIG_prefix "DTN_ERRBASE", TRUE | 0x2 | GV_ADDMULTI);
12243 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(128)));
12244 SvREADONLY_on(sv);
12245 } while(0) ;
12246 do {
12247 SV *sv = get_sv((char*) SWIG_prefix "DTN_EINVAL", TRUE | 0x2 | GV_ADDMULTI);
12248 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >((128+1))));
12249 SvREADONLY_on(sv);
12250 } while(0) ;
12251 do {
12252 SV *sv = get_sv((char*) SWIG_prefix "DTN_EXDR", TRUE | 0x2 | GV_ADDMULTI);
12253 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >((128+2))));
12254 SvREADONLY_on(sv);
12255 } while(0) ;
12256 do {
12257 SV *sv = get_sv((char*) SWIG_prefix "DTN_ECOMM", TRUE | 0x2 | GV_ADDMULTI);
12258 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >((128+3))));
12259 SvREADONLY_on(sv);
12260 } while(0) ;
12261 do {
12262 SV *sv = get_sv((char*) SWIG_prefix "DTN_ECONNECT", TRUE | 0x2 | GV_ADDMULTI);
12263 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >((128+4))));
12264 SvREADONLY_on(sv);
12265 } while(0) ;
12266 do {
12267 SV *sv = get_sv((char*) SWIG_prefix "DTN_ETIMEOUT", TRUE | 0x2 | GV_ADDMULTI);
12268 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >((128+5))));
12269 SvREADONLY_on(sv);
12270 } while(0) ;
12271 do {
12272 SV *sv = get_sv((char*) SWIG_prefix "DTN_ESIZE", TRUE | 0x2 | GV_ADDMULTI);
12273 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >((128+6))));
12274 SvREADONLY_on(sv);
12275 } while(0) ;
12276 do {
12277 SV *sv = get_sv((char*) SWIG_prefix "DTN_ENOTFOUND", TRUE | 0x2 | GV_ADDMULTI);
12278 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >((128+7))));
12279 SvREADONLY_on(sv);
12280 } while(0) ;
12281 do {
12282 SV *sv = get_sv((char*) SWIG_prefix "DTN_EINTERNAL", TRUE | 0x2 | GV_ADDMULTI);
12283 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >((128+8))));
12284 SvREADONLY_on(sv);
12285 } while(0) ;
12286 do {
12287 SV *sv = get_sv((char*) SWIG_prefix "DTN_EINPOLL", TRUE | 0x2 | GV_ADDMULTI);
12288 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >((128+9))));
12289 SvREADONLY_on(sv);
12290 } while(0) ;
12291 do {
12292 SV *sv = get_sv((char*) SWIG_prefix "DTN_EBUSY", TRUE | 0x2 | GV_ADDMULTI);
12293 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >((128+10))));
12294 SvREADONLY_on(sv);
12295 } while(0) ;
12296 do {
12297 SV *sv = get_sv((char*) SWIG_prefix "DTN_EVERSION", TRUE | 0x2 | GV_ADDMULTI);
12298 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >((128+11))));
12299 SvREADONLY_on(sv);
12300 } while(0) ;
12301 do {
12302 SV *sv = get_sv((char*) SWIG_prefix "DTN_EMSGTYPE", TRUE | 0x2 | GV_ADDMULTI);
12303 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >((128+12))));
12304 SvREADONLY_on(sv);
12305 } while(0) ;
12306 do {
12307 SV *sv = get_sv((char*) SWIG_prefix "DTN_ENOSPACE", TRUE | 0x2 | GV_ADDMULTI);
12308 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >((128+13))));
12309 SvREADONLY_on(sv);
12310 } while(0) ;
12311 do {
12312 SV *sv = get_sv((char*) SWIG_prefix "DTN_ERRMAX", TRUE | 0x2 | GV_ADDMULTI);
12313 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(255)));
12314 SvREADONLY_on(sv);
12315 } while(0) ;
12316 SWIG_TypeClientData(SWIGTYPE_p_dtn_bundle_id, (void*) "dtnapi::dtn_bundle_id");
12317 SWIG_TypeClientData(SWIGTYPE_p_dtn_status_report, (void*) "dtnapi::dtn_status_report");
12318 SWIG_TypeClientData(SWIGTYPE_p_dtn_bundle, (void*) "dtnapi::dtn_bundle");
12319 SWIG_TypeClientData(SWIGTYPE_p_dtn_session_info, (void*) "dtnapi::dtn_session_info");
12320 ST(0) = &PL_sv_yes;
12321 XSRETURN(1);
12322 }
12323