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