LCOV - code coverage report
Current view: top level - tests/testutils/quagga_constants - header_constants_wrap.c (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1885 4707 40.0 %
Date: 2015-11-19 Functions: 314 504 62.3 %

          Line data    Source code
       1             : /* ----------------------------------------------------------------------------
       2             :  * This file was automatically generated by SWIG (http://www.swig.org).
       3             :  * Version 3.0.7
       4             :  *
       5             :  * This file is not intended to be easily readable and contains a number of
       6             :  * coding conventions designed to improve portability and efficiency. Do not make
       7             :  * changes to this file unless you know what you are doing--modify the SWIG
       8             :  * interface file instead.
       9             :  * ----------------------------------------------------------------------------- */
      10             : 
      11             : #define SWIGPYTHON
      12             : #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
      13             : 
      14             : /* -----------------------------------------------------------------------------
      15             :  *  This section contains generic SWIG labels for method/variable
      16             :  *  declarations/attributes, and other compiler dependent labels.
      17             :  * ----------------------------------------------------------------------------- */
      18             : 
      19             : /* template workaround for compilers that cannot correctly implement the C++ standard */
      20             : #ifndef SWIGTEMPLATEDISAMBIGUATOR
      21             : # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
      22             : #  define SWIGTEMPLATEDISAMBIGUATOR template
      23             : # elif defined(__HP_aCC)
      24             : /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
      25             : /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
      26             : #  define SWIGTEMPLATEDISAMBIGUATOR template
      27             : # else
      28             : #  define SWIGTEMPLATEDISAMBIGUATOR
      29             : # endif
      30             : #endif
      31             : 
      32             : /* inline attribute */
      33             : #ifndef SWIGINLINE
      34             : # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
      35             : #   define SWIGINLINE inline
      36             : # else
      37             : #   define SWIGINLINE
      38             : # endif
      39             : #endif
      40             : 
      41             : /* attribute recognised by some compilers to avoid 'unused' warnings */
      42             : #ifndef SWIGUNUSED
      43             : # if defined(__GNUC__)
      44             : #   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
      45             : #     define SWIGUNUSED __attribute__ ((__unused__))
      46             : #   else
      47             : #     define SWIGUNUSED
      48             : #   endif
      49             : # elif defined(__ICC)
      50             : #   define SWIGUNUSED __attribute__ ((__unused__))
      51             : # else
      52             : #   define SWIGUNUSED
      53             : # endif
      54             : #endif
      55             : 
      56             : #ifndef SWIG_MSC_UNSUPPRESS_4505
      57             : # if defined(_MSC_VER)
      58             : #   pragma warning(disable : 4505) /* unreferenced local function has been removed */
      59             : # endif
      60             : #endif
      61             : 
      62             : #ifndef SWIGUNUSEDPARM
      63             : # ifdef __cplusplus
      64             : #   define SWIGUNUSEDPARM(p)
      65             : # else
      66             : #   define SWIGUNUSEDPARM(p) p SWIGUNUSED
      67             : # endif
      68             : #endif
      69             : 
      70             : /* internal SWIG method */
      71             : #ifndef SWIGINTERN
      72             : # define SWIGINTERN static SWIGUNUSED
      73             : #endif
      74             : 
      75             : /* internal inline SWIG method */
      76             : #ifndef SWIGINTERNINLINE
      77             : # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
      78             : #endif
      79             : 
      80             : /* exporting methods */
      81             : #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
      82             : #  ifndef GCC_HASCLASSVISIBILITY
      83             : #    define GCC_HASCLASSVISIBILITY
      84             : #  endif
      85             : #endif
      86             : 
      87             : #ifndef SWIGEXPORT
      88             : # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
      89             : #   if defined(STATIC_LINKED)
      90             : #     define SWIGEXPORT
      91             : #   else
      92             : #     define SWIGEXPORT __declspec(dllexport)
      93             : #   endif
      94             : # else
      95             : #   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
      96             : #     define SWIGEXPORT __attribute__ ((visibility("default")))
      97             : #   else
      98             : #     define SWIGEXPORT
      99             : #   endif
     100             : # endif
     101             : #endif
     102             : 
     103             : /* calling conventions for Windows */
     104             : #ifndef SWIGSTDCALL
     105             : # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
     106             : #   define SWIGSTDCALL __stdcall
     107             : # else
     108             : #   define SWIGSTDCALL
     109             : # endif
     110             : #endif
     111             : 
     112             : /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
     113             : #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
     114             : # define _CRT_SECURE_NO_DEPRECATE
     115             : #endif
     116             : 
     117             : /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
     118             : #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
     119             : # define _SCL_SECURE_NO_DEPRECATE
     120             : #endif
     121             : 
     122             : /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
     123             : #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
     124             : # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
     125             : #endif
     126             : 
     127             : /* Intel's compiler complains if a variable which was never initialised is
     128             :  * cast to void, which is a common idiom which we use to indicate that we
     129             :  * are aware a variable isn't used.  So we just silence that warning.
     130             :  * See: https://github.com/swig/swig/issues/192 for more discussion.
     131             :  */
     132             : #ifdef __INTEL_COMPILER
     133             : # pragma warning disable 592
     134             : #endif
     135             : 
     136             : 
     137             : #if defined(_DEBUG) && defined(SWIG_PYTHON_INTERPRETER_NO_DEBUG)
     138             : /* Use debug wrappers with the Python release dll */
     139             : # undef _DEBUG
     140             : # include <Python.h>
     141             : # define _DEBUG
     142             : #else
     143             : # include <Python.h>
     144             : #endif
     145             : 
     146             : /* -----------------------------------------------------------------------------
     147             :  * swigrun.swg
     148             :  *
     149             :  * This file contains generic C API SWIG runtime support for pointer
     150             :  * type checking.
     151             :  * ----------------------------------------------------------------------------- */
     152             : 
     153             : /* This should only be incremented when either the layout of swig_type_info changes,
     154             :    or for whatever reason, the runtime changes incompatibly */
     155             : #define SWIG_RUNTIME_VERSION "4"
     156             : 
     157             : /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
     158             : #ifdef SWIG_TYPE_TABLE
     159             : # define SWIG_QUOTE_STRING(x) #x
     160             : # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
     161             : # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
     162             : #else
     163             : # define SWIG_TYPE_TABLE_NAME
     164             : #endif
     165             : 
     166             : /*
     167             :   You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
     168             :   creating a static or dynamic library from the SWIG runtime code.
     169             :   In 99.9% of the cases, SWIG just needs to declare them as 'static'.
     170             : 
     171             :   But only do this if strictly necessary, ie, if you have problems
     172             :   with your compiler or suchlike.
     173             : */
     174             : 
     175             : #ifndef SWIGRUNTIME
     176             : # define SWIGRUNTIME SWIGINTERN
     177             : #endif
     178             : 
     179             : #ifndef SWIGRUNTIMEINLINE
     180             : # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
     181             : #endif
     182             : 
     183             : /*  Generic buffer size */
     184             : #ifndef SWIG_BUFFER_SIZE
     185             : # define SWIG_BUFFER_SIZE 1024
     186             : #endif
     187             : 
     188             : /* Flags for pointer conversions */
     189             : #define SWIG_POINTER_DISOWN        0x1
     190             : #define SWIG_CAST_NEW_MEMORY       0x2
     191             : 
     192             : /* Flags for new pointer objects */
     193             : #define SWIG_POINTER_OWN           0x1
     194             : 
     195             : 
     196             : /*
     197             :    Flags/methods for returning states.
     198             : 
     199             :    The SWIG conversion methods, as ConvertPtr, return an integer
     200             :    that tells if the conversion was successful or not. And if not,
     201             :    an error code can be returned (see swigerrors.swg for the codes).
     202             : 
     203             :    Use the following macros/flags to set or process the returning
     204             :    states.
     205             : 
     206             :    In old versions of SWIG, code such as the following was usually written:
     207             : 
     208             :      if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
     209             :        // success code
     210             :      } else {
     211             :        //fail code
     212             :      }
     213             : 
     214             :    Now you can be more explicit:
     215             : 
     216             :     int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
     217             :     if (SWIG_IsOK(res)) {
     218             :       // success code
     219             :     } else {
     220             :       // fail code
     221             :     }
     222             : 
     223             :    which is the same really, but now you can also do
     224             : 
     225             :     Type *ptr;
     226             :     int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
     227             :     if (SWIG_IsOK(res)) {
     228             :       // success code
     229             :       if (SWIG_IsNewObj(res) {
     230             :         ...
     231             :         delete *ptr;
     232             :       } else {
     233             :         ...
     234             :       }
     235             :     } else {
     236             :       // fail code
     237             :     }
     238             : 
     239             :    I.e., now SWIG_ConvertPtr can return new objects and you can
     240             :    identify the case and take care of the deallocation. Of course that
     241             :    also requires SWIG_ConvertPtr to return new result values, such as
     242             : 
     243             :       int SWIG_ConvertPtr(obj, ptr,...) {
     244             :         if (<obj is ok>) {
     245             :           if (<need new object>) {
     246             :             *ptr = <ptr to new allocated object>;
     247             :             return SWIG_NEWOBJ;
     248             :           } else {
     249             :             *ptr = <ptr to old object>;
     250             :             return SWIG_OLDOBJ;
     251             :           }
     252             :         } else {
     253             :           return SWIG_BADOBJ;
     254             :         }
     255             :       }
     256             : 
     257             :    Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
     258             :    more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
     259             :    SWIG errors code.
     260             : 
     261             :    Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
     262             :    allows to return the 'cast rank', for example, if you have this
     263             : 
     264             :        int food(double)
     265             :        int fooi(int);
     266             : 
     267             :    and you call
     268             : 
     269             :       food(1)   // cast rank '1'  (1 -> 1.0)
     270             :       fooi(1)   // cast rank '0'
     271             : 
     272             :    just use the SWIG_AddCast()/SWIG_CheckState()
     273             : */
     274             : 
     275             : #define SWIG_OK                    (0)
     276             : #define SWIG_ERROR                 (-1)
     277             : #define SWIG_IsOK(r)               (r >= 0)
     278             : #define SWIG_ArgError(r)           ((r != SWIG_ERROR) ? r : SWIG_TypeError)
     279             : 
     280             : /* The CastRankLimit says how many bits are used for the cast rank */
     281             : #define SWIG_CASTRANKLIMIT         (1 << 8)
     282             : /* The NewMask denotes the object was created (using new/malloc) */
     283             : #define SWIG_NEWOBJMASK            (SWIG_CASTRANKLIMIT  << 1)
     284             : /* The TmpMask is for in/out typemaps that use temporal objects */
     285             : #define SWIG_TMPOBJMASK            (SWIG_NEWOBJMASK << 1)
     286             : /* Simple returning values */
     287             : #define SWIG_BADOBJ                (SWIG_ERROR)
     288             : #define SWIG_OLDOBJ                (SWIG_OK)
     289             : #define SWIG_NEWOBJ                (SWIG_OK | SWIG_NEWOBJMASK)
     290             : #define SWIG_TMPOBJ                (SWIG_OK | SWIG_TMPOBJMASK)
     291             : /* Check, add and del mask methods */
     292             : #define SWIG_AddNewMask(r)         (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
     293             : #define SWIG_DelNewMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
     294             : #define SWIG_IsNewObj(r)           (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
     295             : #define SWIG_AddTmpMask(r)         (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
     296             : #define SWIG_DelTmpMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
     297             : #define SWIG_IsTmpObj(r)           (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
     298             : 
     299             : /* Cast-Rank Mode */
     300             : #if defined(SWIG_CASTRANK_MODE)
     301             : #  ifndef SWIG_TypeRank
     302             : #    define SWIG_TypeRank             unsigned long
     303             : #  endif
     304             : #  ifndef SWIG_MAXCASTRANK            /* Default cast allowed */
     305             : #    define SWIG_MAXCASTRANK          (2)
     306             : #  endif
     307             : #  define SWIG_CASTRANKMASK          ((SWIG_CASTRANKLIMIT) -1)
     308             : #  define SWIG_CastRank(r)           (r & SWIG_CASTRANKMASK)
     309             : SWIGINTERNINLINE int SWIG_AddCast(int r) {
     310             :   return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
     311             : }
     312             : SWIGINTERNINLINE int SWIG_CheckState(int r) {
     313             :   return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
     314             : }
     315             : #else /* no cast-rank mode */
     316             : #  define SWIG_AddCast(r) (r)
     317             : #  define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
     318             : #endif
     319             : 
     320             : 
     321             : #include <string.h>
     322             : 
     323             : #ifdef __cplusplus
     324             : extern "C" {
     325             : #endif
     326             : 
     327             : typedef void *(*swig_converter_func)(void *, int *);
     328             : typedef struct swig_type_info *(*swig_dycast_func)(void **);
     329             : 
     330             : /* Structure to store information on one type */
     331             : typedef struct swig_type_info {
     332             :   const char             *name;                 /* mangled name of this type */
     333             :   const char             *str;                  /* human readable name of this type */
     334             :   swig_dycast_func        dcast;                /* dynamic cast function down a hierarchy */
     335             :   struct swig_cast_info  *cast;                 /* linked list of types that can cast into this type */
     336             :   void                   *clientdata;           /* language specific type data */
     337             :   int                    owndata;               /* flag if the structure owns the clientdata */
     338             : } swig_type_info;
     339             : 
     340             : /* Structure to store a type and conversion function used for casting */
     341             : typedef struct swig_cast_info {
     342             :   swig_type_info         *type;                 /* pointer to type that is equivalent to this type */
     343             :   swig_converter_func     converter;            /* function to cast the void pointers */
     344             :   struct swig_cast_info  *next;                 /* pointer to next cast in linked list */
     345             :   struct swig_cast_info  *prev;                 /* pointer to the previous cast */
     346             : } swig_cast_info;
     347             : 
     348             : /* Structure used to store module information
     349             :  * Each module generates one structure like this, and the runtime collects
     350             :  * all of these structures and stores them in a circularly linked list.*/
     351             : typedef struct swig_module_info {
     352             :   swig_type_info         **types;               /* Array of pointers to swig_type_info structures that are in this module */
     353             :   size_t                 size;                  /* Number of types in this module */
     354             :   struct swig_module_info *next;                /* Pointer to next element in circularly linked list */
     355             :   swig_type_info         **type_initial;        /* Array of initially generated type structures */
     356             :   swig_cast_info         **cast_initial;        /* Array of initially generated casting structures */
     357             :   void                    *clientdata;          /* Language specific module data */
     358             : } swig_module_info;
     359             : 
     360             : /*
     361             :   Compare two type names skipping the space characters, therefore
     362             :   "char*" == "char *" and "Class<int>" == "Class<int >", etc.
     363             : 
     364             :   Return 0 when the two name types are equivalent, as in
     365             :   strncmp, but skipping ' '.
     366             : */
     367             : SWIGRUNTIME int
     368           0 : SWIG_TypeNameComp(const char *f1, const char *l1,
     369             :                   const char *f2, const char *l2) {
     370           0 :   for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
     371           0 :     while ((*f1 == ' ') && (f1 != l1)) ++f1;
     372           0 :     while ((*f2 == ' ') && (f2 != l2)) ++f2;
     373           0 :     if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
     374             :   }
     375           0 :   return (int)((l1 - f1) - (l2 - f2));
     376             : }
     377             : 
     378             : /*
     379             :   Check type equivalence in a name list like <name1>|<name2>|...
     380             :   Return 0 if equal, -1 if nb < tb, 1 if nb > tb
     381             : */
     382             : SWIGRUNTIME int
     383           0 : SWIG_TypeCmp(const char *nb, const char *tb) {
     384           0 :   int equiv = 1;
     385           0 :   const char* te = tb + strlen(tb);
     386           0 :   const char* ne = nb;
     387           0 :   while (equiv != 0 && *ne) {
     388           0 :     for (nb = ne; *ne; ++ne) {
     389           0 :       if (*ne == '|') break;
     390             :     }
     391           0 :     equiv = SWIG_TypeNameComp(nb, ne, tb, te);
     392           0 :     if (*ne) ++ne;
     393             :   }
     394           0 :   return equiv;
     395             : }
     396             : 
     397             : /*
     398             :   Check type equivalence in a name list like <name1>|<name2>|...
     399             :   Return 0 if not equal, 1 if equal
     400             : */
     401             : SWIGRUNTIME int
     402           0 : SWIG_TypeEquiv(const char *nb, const char *tb) {
     403           0 :   return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
     404             : }
     405             : 
     406             : /*
     407             :   Check the typename
     408             : */
     409             : SWIGRUNTIME swig_cast_info *
     410           0 : SWIG_TypeCheck(const char *c, swig_type_info *ty) {
     411           0 :   if (ty) {
     412           0 :     swig_cast_info *iter = ty->cast;
     413           0 :     while (iter) {
     414           0 :       if (strcmp(iter->type->name, c) == 0) {
     415           0 :         if (iter == ty->cast)
     416           0 :           return iter;
     417             :         /* Move iter to the top of the linked list */
     418           0 :         iter->prev->next = iter->next;
     419           0 :         if (iter->next)
     420           0 :           iter->next->prev = iter->prev;
     421           0 :         iter->next = ty->cast;
     422           0 :         iter->prev = 0;
     423           0 :         if (ty->cast) ty->cast->prev = iter;
     424           0 :         ty->cast = iter;
     425           0 :         return iter;
     426             :       }
     427           0 :       iter = iter->next;
     428             :     }
     429             :   }
     430           0 :   return 0;
     431             : }
     432             : 
     433             : /*
     434             :   Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
     435             : */
     436             : SWIGRUNTIME swig_cast_info *
     437           0 : SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
     438           0 :   if (ty) {
     439           0 :     swig_cast_info *iter = ty->cast;
     440           0 :     while (iter) {
     441           0 :       if (iter->type == from) {
     442           0 :         if (iter == ty->cast)
     443           0 :           return iter;
     444             :         /* Move iter to the top of the linked list */
     445           0 :         iter->prev->next = iter->next;
     446           0 :         if (iter->next)
     447           0 :           iter->next->prev = iter->prev;
     448           0 :         iter->next = ty->cast;
     449           0 :         iter->prev = 0;
     450           0 :         if (ty->cast) ty->cast->prev = iter;
     451           0 :         ty->cast = iter;
     452           0 :         return iter;
     453             :       }
     454           0 :       iter = iter->next;
     455             :     }
     456             :   }
     457           0 :   return 0;
     458             : }
     459             : 
     460             : /*
     461             :   Cast a pointer up an inheritance hierarchy
     462             : */
     463             : SWIGRUNTIMEINLINE void *
     464           0 : SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
     465           0 :   return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
     466             : }
     467             : 
     468             : /*
     469             :    Dynamic pointer casting. Down an inheritance hierarchy
     470             : */
     471             : SWIGRUNTIME swig_type_info *
     472           0 : SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
     473           0 :   swig_type_info *lastty = ty;
     474           0 :   if (!ty || !ty->dcast) return ty;
     475           0 :   while (ty && (ty->dcast)) {
     476           0 :     ty = (*ty->dcast)(ptr);
     477           0 :     if (ty) lastty = ty;
     478             :   }
     479           0 :   return lastty;
     480             : }
     481             : 
     482             : /*
     483             :   Return the name associated with this type
     484             : */
     485             : SWIGRUNTIMEINLINE const char *
     486             : SWIG_TypeName(const swig_type_info *ty) {
     487             :   return ty->name;
     488             : }
     489             : 
     490             : /*
     491             :   Return the pretty name associated with this type,
     492             :   that is an unmangled type name in a form presentable to the user.
     493             : */
     494             : SWIGRUNTIME const char *
     495           0 : SWIG_TypePrettyName(const swig_type_info *type) {
     496             :   /* The "str" field contains the equivalent pretty names of the
     497             :      type, separated by vertical-bar characters.  We choose
     498             :      to print the last name, as it is often (?) the most
     499             :      specific. */
     500           0 :   if (!type) return NULL;
     501           0 :   if (type->str != NULL) {
     502           0 :     const char *last_name = type->str;
     503             :     const char *s;
     504           0 :     for (s = type->str; *s; s++)
     505           0 :       if (*s == '|') last_name = s+1;
     506           0 :     return last_name;
     507             :   }
     508             :   else
     509           0 :     return type->name;
     510             : }
     511             : 
     512             : /*
     513             :    Set the clientdata field for a type
     514             : */
     515             : SWIGRUNTIME void
     516           5 : SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
     517           5 :   swig_cast_info *cast = ti->cast;
     518             :   /* if (ti->clientdata == clientdata) return; */
     519           5 :   ti->clientdata = clientdata;
     520             : 
     521          15 :   while (cast) {
     522           5 :     if (!cast->converter) {
     523           5 :       swig_type_info *tc = cast->type;
     524           5 :       if (!tc->clientdata) {
     525           0 :         SWIG_TypeClientData(tc, clientdata);
     526             :       }
     527             :     }
     528           5 :     cast = cast->next;
     529             :   }
     530           5 : }
     531             : SWIGRUNTIME void
     532           5 : SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
     533           5 :   SWIG_TypeClientData(ti, clientdata);
     534           5 :   ti->owndata = 1;
     535           5 : }
     536             : 
     537             : /*
     538             :   Search for a swig_type_info structure only by mangled name
     539             :   Search is a O(log #types)
     540             : 
     541             :   We start searching at module start, and finish searching when start == end.
     542             :   Note: if start == end at the beginning of the function, we go all the way around
     543             :   the circular list.
     544             : */
     545             : SWIGRUNTIME swig_type_info *
     546           0 : SWIG_MangledTypeQueryModule(swig_module_info *start,
     547             :                             swig_module_info *end,
     548             :                             const char *name) {
     549           0 :   swig_module_info *iter = start;
     550             :   do {
     551           0 :     if (iter->size) {
     552           0 :       size_t l = 0;
     553           0 :       size_t r = iter->size - 1;
     554             :       do {
     555             :         /* since l+r >= 0, we can (>> 1) instead (/ 2) */
     556           0 :         size_t i = (l + r) >> 1;
     557           0 :         const char *iname = iter->types[i]->name;
     558           0 :         if (iname) {
     559           0 :           int compare = strcmp(name, iname);
     560           0 :           if (compare == 0) {
     561           0 :             return iter->types[i];
     562           0 :           } else if (compare < 0) {
     563           0 :             if (i) {
     564           0 :               r = i - 1;
     565             :             } else {
     566           0 :               break;
     567             :             }
     568           0 :           } else if (compare > 0) {
     569           0 :             l = i + 1;
     570             :           }
     571             :         } else {
     572           0 :           break; /* should never happen */
     573             :         }
     574           0 :       } while (l <= r);
     575             :     }
     576           0 :     iter = iter->next;
     577           0 :   } while (iter != end);
     578           0 :   return 0;
     579             : }
     580             : 
     581             : /*
     582             :   Search for a swig_type_info structure for either a mangled name or a human readable name.
     583             :   It first searches the mangled names of the types, which is a O(log #types)
     584             :   If a type is not found it then searches the human readable names, which is O(#types).
     585             : 
     586             :   We start searching at module start, and finish searching when start == end.
     587             :   Note: if start == end at the beginning of the function, we go all the way around
     588             :   the circular list.
     589             : */
     590             : SWIGRUNTIME swig_type_info *
     591           0 : SWIG_TypeQueryModule(swig_module_info *start,
     592             :                      swig_module_info *end,
     593             :                      const char *name) {
     594             :   /* STEP 1: Search the name field using binary search */
     595           0 :   swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
     596           0 :   if (ret) {
     597           0 :     return ret;
     598             :   } else {
     599             :     /* STEP 2: If the type hasn't been found, do a complete search
     600             :        of the str field (the human readable name) */
     601           0 :     swig_module_info *iter = start;
     602             :     do {
     603           0 :       size_t i = 0;
     604           0 :       for (; i < iter->size; ++i) {
     605           0 :         if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
     606           0 :           return iter->types[i];
     607             :       }
     608           0 :       iter = iter->next;
     609           0 :     } while (iter != end);
     610             :   }
     611             : 
     612             :   /* neither found a match */
     613           0 :   return 0;
     614             : }
     615             : 
     616             : /*
     617             :    Pack binary data into a string
     618             : */
     619             : SWIGRUNTIME char *
     620           0 : SWIG_PackData(char *c, void *ptr, size_t sz) {
     621             :   static const char hex[17] = "0123456789abcdef";
     622           0 :   const unsigned char *u = (unsigned char *) ptr;
     623           0 :   const unsigned char *eu =  u + sz;
     624           0 :   for (; u != eu; ++u) {
     625           0 :     unsigned char uu = *u;
     626           0 :     *(c++) = hex[(uu & 0xf0) >> 4];
     627           0 :     *(c++) = hex[uu & 0xf];
     628             :   }
     629           0 :   return c;
     630             : }
     631             : 
     632             : /*
     633             :    Unpack binary data from a string
     634             : */
     635             : SWIGRUNTIME const char *
     636           0 : SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
     637           0 :   unsigned char *u = (unsigned char *) ptr;
     638           0 :   const unsigned char *eu = u + sz;
     639           0 :   for (; u != eu; ++u) {
     640           0 :     char d = *(c++);
     641             :     unsigned char uu;
     642           0 :     if ((d >= '0') && (d <= '9'))
     643           0 :       uu = ((d - '0') << 4);
     644           0 :     else if ((d >= 'a') && (d <= 'f'))
     645           0 :       uu = ((d - ('a'-10)) << 4);
     646             :     else
     647           0 :       return (char *) 0;
     648           0 :     d = *(c++);
     649           0 :     if ((d >= '0') && (d <= '9'))
     650           0 :       uu |= (d - '0');
     651           0 :     else if ((d >= 'a') && (d <= 'f'))
     652           0 :       uu |= (d - ('a'-10));
     653             :     else
     654           0 :       return (char *) 0;
     655           0 :     *u = uu;
     656             :   }
     657           0 :   return c;
     658             : }
     659             : 
     660             : /*
     661             :    Pack 'void *' into a string buffer.
     662             : */
     663             : SWIGRUNTIME char *
     664           0 : SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
     665           0 :   char *r = buff;
     666           0 :   if ((2*sizeof(void *) + 2) > bsz) return 0;
     667           0 :   *(r++) = '_';
     668           0 :   r = SWIG_PackData(r,&ptr,sizeof(void *));
     669           0 :   if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
     670           0 :   strcpy(r,name);
     671           0 :   return buff;
     672             : }
     673             : 
     674             : SWIGRUNTIME const char *
     675           0 : SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
     676           0 :   if (*c != '_') {
     677           0 :     if (strcmp(c,"NULL") == 0) {
     678           0 :       *ptr = (void *) 0;
     679           0 :       return name;
     680             :     } else {
     681           0 :       return 0;
     682             :     }
     683             :   }
     684           0 :   return SWIG_UnpackData(++c,ptr,sizeof(void *));
     685             : }
     686             : 
     687             : SWIGRUNTIME char *
     688           0 : SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
     689           0 :   char *r = buff;
     690           0 :   size_t lname = (name ? strlen(name) : 0);
     691           0 :   if ((2*sz + 2 + lname) > bsz) return 0;
     692           0 :   *(r++) = '_';
     693           0 :   r = SWIG_PackData(r,ptr,sz);
     694           0 :   if (lname) {
     695           0 :     strncpy(r,name,lname+1);
     696             :   } else {
     697           0 :     *r = 0;
     698             :   }
     699           0 :   return buff;
     700             : }
     701             : 
     702             : SWIGRUNTIME const char *
     703           0 : SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
     704           0 :   if (*c != '_') {
     705           0 :     if (strcmp(c,"NULL") == 0) {
     706           0 :       memset(ptr,0,sz);
     707           0 :       return name;
     708             :     } else {
     709           0 :       return 0;
     710             :     }
     711             :   }
     712           0 :   return SWIG_UnpackData(++c,ptr,sz);
     713             : }
     714             : 
     715             : #ifdef __cplusplus
     716             : }
     717             : #endif
     718             : 
     719             : /*  Errors in SWIG */
     720             : #define  SWIG_UnknownError         -1
     721             : #define  SWIG_IOError              -2
     722             : #define  SWIG_RuntimeError         -3
     723             : #define  SWIG_IndexError           -4
     724             : #define  SWIG_TypeError            -5
     725             : #define  SWIG_DivisionByZero       -6
     726             : #define  SWIG_OverflowError        -7
     727             : #define  SWIG_SyntaxError          -8
     728             : #define  SWIG_ValueError           -9
     729             : #define  SWIG_SystemError          -10
     730             : #define  SWIG_AttributeError       -11
     731             : #define  SWIG_MemoryError          -12
     732             : #define  SWIG_NullReferenceError   -13
     733             : 
     734             : 
     735             : 
     736             : /* Compatibility macros for Python 3 */
     737             : #if PY_VERSION_HEX >= 0x03000000
     738             : 
     739             : #define PyClass_Check(obj) PyObject_IsInstance(obj, (PyObject *)&PyType_Type)
     740             : #define PyInt_Check(x) PyLong_Check(x)
     741             : #define PyInt_AsLong(x) PyLong_AsLong(x)
     742             : #define PyInt_FromLong(x) PyLong_FromLong(x)
     743             : #define PyInt_FromSize_t(x) PyLong_FromSize_t(x)
     744             : #define PyString_Check(name) PyBytes_Check(name)
     745             : #define PyString_FromString(x) PyUnicode_FromString(x)
     746             : #define PyString_Format(fmt, args)  PyUnicode_Format(fmt, args)
     747             : #define PyString_AsString(str) PyBytes_AsString(str)
     748             : #define PyString_Size(str) PyBytes_Size(str)    
     749             : #define PyString_InternFromString(key) PyUnicode_InternFromString(key)
     750             : #define Py_TPFLAGS_HAVE_CLASS Py_TPFLAGS_BASETYPE
     751             : #define PyString_AS_STRING(x) PyUnicode_AS_STRING(x)
     752             : #define _PyLong_FromSsize_t(x) PyLong_FromSsize_t(x)
     753             : 
     754             : #endif
     755             : 
     756             : #ifndef Py_TYPE
     757             : #  define Py_TYPE(op) ((op)->ob_type)
     758             : #endif
     759             : 
     760             : /* SWIG APIs for compatibility of both Python 2 & 3 */
     761             : 
     762             : #if PY_VERSION_HEX >= 0x03000000
     763             : #  define SWIG_Python_str_FromFormat PyUnicode_FromFormat
     764             : #else
     765             : #  define SWIG_Python_str_FromFormat PyString_FromFormat
     766             : #endif
     767             : 
     768             : 
     769             : /* Warning: This function will allocate a new string in Python 3,
     770             :  * so please call SWIG_Python_str_DelForPy3(x) to free the space.
     771             :  */
     772             : SWIGINTERN char*
     773           0 : SWIG_Python_str_AsChar(PyObject *str)
     774             : {
     775             : #if PY_VERSION_HEX >= 0x03000000
     776             :   char *cstr;
     777             :   char *newstr;
     778             :   Py_ssize_t len;
     779             :   str = PyUnicode_AsUTF8String(str);
     780             :   PyBytes_AsStringAndSize(str, &cstr, &len);
     781             :   newstr = (char *) malloc(len+1);
     782             :   memcpy(newstr, cstr, len+1);
     783             :   Py_XDECREF(str);
     784             :   return newstr;
     785             : #else
     786           0 :   return PyString_AsString(str);
     787             : #endif
     788             : }
     789             : 
     790             : #if PY_VERSION_HEX >= 0x03000000
     791             : #  define SWIG_Python_str_DelForPy3(x) free( (void*) (x) )
     792             : #else
     793             : #  define SWIG_Python_str_DelForPy3(x) 
     794             : #endif
     795             : 
     796             : 
     797             : SWIGINTERN PyObject*
     798           1 : SWIG_Python_str_FromChar(const char *c)
     799             : {
     800             : #if PY_VERSION_HEX >= 0x03000000
     801             :   return PyUnicode_FromString(c); 
     802             : #else
     803           1 :   return PyString_FromString(c);
     804             : #endif
     805             : }
     806             : 
     807             : /* Add PyOS_snprintf for old Pythons */
     808             : #if PY_VERSION_HEX < 0x02020000
     809             : # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
     810             : #  define PyOS_snprintf _snprintf
     811             : # else
     812             : #  define PyOS_snprintf snprintf
     813             : # endif
     814             : #endif
     815             : 
     816             : /* A crude PyString_FromFormat implementation for old Pythons */
     817             : #if PY_VERSION_HEX < 0x02020000
     818             : 
     819             : #ifndef SWIG_PYBUFFER_SIZE
     820             : # define SWIG_PYBUFFER_SIZE 1024
     821             : #endif
     822             : 
     823             : static PyObject *
     824             : PyString_FromFormat(const char *fmt, ...) {
     825             :   va_list ap;
     826             :   char buf[SWIG_PYBUFFER_SIZE * 2];
     827             :   int res;
     828             :   va_start(ap, fmt);
     829             :   res = vsnprintf(buf, sizeof(buf), fmt, ap);
     830             :   va_end(ap);
     831             :   return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
     832             : }
     833             : #endif
     834             : 
     835             : /* Add PyObject_Del for old Pythons */
     836             : #if PY_VERSION_HEX < 0x01060000
     837             : # define PyObject_Del(op) PyMem_DEL((op))
     838             : #endif
     839             : #ifndef PyObject_DEL
     840             : # define PyObject_DEL PyObject_Del
     841             : #endif
     842             : 
     843             : /* A crude PyExc_StopIteration exception for old Pythons */
     844             : #if PY_VERSION_HEX < 0x02020000
     845             : # ifndef PyExc_StopIteration
     846             : #  define PyExc_StopIteration PyExc_RuntimeError
     847             : # endif
     848             : # ifndef PyObject_GenericGetAttr
     849             : #  define PyObject_GenericGetAttr 0
     850             : # endif
     851             : #endif
     852             : 
     853             : /* Py_NotImplemented is defined in 2.1 and up. */
     854             : #if PY_VERSION_HEX < 0x02010000
     855             : # ifndef Py_NotImplemented
     856             : #  define Py_NotImplemented PyExc_RuntimeError
     857             : # endif
     858             : #endif
     859             : 
     860             : /* A crude PyString_AsStringAndSize implementation for old Pythons */
     861             : #if PY_VERSION_HEX < 0x02010000
     862             : # ifndef PyString_AsStringAndSize
     863             : #  define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
     864             : # endif
     865             : #endif
     866             : 
     867             : /* PySequence_Size for old Pythons */
     868             : #if PY_VERSION_HEX < 0x02000000
     869             : # ifndef PySequence_Size
     870             : #  define PySequence_Size PySequence_Length
     871             : # endif
     872             : #endif
     873             : 
     874             : /* PyBool_FromLong for old Pythons */
     875             : #if PY_VERSION_HEX < 0x02030000
     876             : static
     877             : PyObject *PyBool_FromLong(long ok)
     878             : {
     879             :   PyObject *result = ok ? Py_True : Py_False;
     880             :   Py_INCREF(result);
     881             :   return result;
     882             : }
     883             : #endif
     884             : 
     885             : /* Py_ssize_t for old Pythons */
     886             : /* This code is as recommended by: */
     887             : /* http://www.python.org/dev/peps/pep-0353/#conversion-guidelines */
     888             : #if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
     889             : typedef int Py_ssize_t;
     890             : # define PY_SSIZE_T_MAX INT_MAX
     891             : # define PY_SSIZE_T_MIN INT_MIN
     892             : typedef inquiry lenfunc;
     893             : typedef intargfunc ssizeargfunc;
     894             : typedef intintargfunc ssizessizeargfunc;
     895             : typedef intobjargproc ssizeobjargproc;
     896             : typedef intintobjargproc ssizessizeobjargproc;
     897             : typedef getreadbufferproc readbufferproc;
     898             : typedef getwritebufferproc writebufferproc;
     899             : typedef getsegcountproc segcountproc;
     900             : typedef getcharbufferproc charbufferproc;
     901             : static long PyNumber_AsSsize_t (PyObject *x, void *SWIGUNUSEDPARM(exc))
     902             : {
     903             :   long result = 0;
     904             :   PyObject *i = PyNumber_Int(x);
     905             :   if (i) {
     906             :     result = PyInt_AsLong(i);
     907             :     Py_DECREF(i);
     908             :   }
     909             :   return result;
     910             : }
     911             : #endif
     912             : 
     913             : #if PY_VERSION_HEX < 0x02050000
     914             : #define PyInt_FromSize_t(x) PyInt_FromLong((long)x)
     915             : #endif
     916             : 
     917             : #if PY_VERSION_HEX < 0x02040000
     918             : #define Py_VISIT(op)                            \
     919             :   do {                                          \
     920             :     if (op) {                                   \
     921             :       int vret = visit((op), arg);              \
     922             :       if (vret)                                 \
     923             :         return vret;                            \
     924             :     }                                           \
     925             :   } while (0)
     926             : #endif
     927             : 
     928             : #if PY_VERSION_HEX < 0x02030000
     929             : typedef struct {
     930             :   PyTypeObject type;
     931             :   PyNumberMethods as_number;
     932             :   PyMappingMethods as_mapping;
     933             :   PySequenceMethods as_sequence;
     934             :   PyBufferProcs as_buffer;
     935             :   PyObject *name, *slots;
     936             : } PyHeapTypeObject;
     937             : #endif
     938             : 
     939             : #if PY_VERSION_HEX < 0x02030000
     940             : typedef destructor freefunc;
     941             : #endif
     942             : 
     943             : #if ((PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION > 6) || \
     944             :      (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION > 0) || \
     945             :      (PY_MAJOR_VERSION > 3))
     946             : # define SWIGPY_USE_CAPSULE
     947             : # define SWIGPY_CAPSULE_NAME ((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION ".type_pointer_capsule" SWIG_TYPE_TABLE_NAME)
     948             : #endif
     949             : 
     950             : #if PY_VERSION_HEX < 0x03020000
     951             : #define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
     952             : #define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
     953             : #endif
     954             : 
     955             : /* -----------------------------------------------------------------------------
     956             :  * error manipulation
     957             :  * ----------------------------------------------------------------------------- */
     958             : 
     959             : SWIGRUNTIME PyObject*
     960           0 : SWIG_Python_ErrorType(int code) {
     961           0 :   PyObject* type = 0;
     962           0 :   switch(code) {
     963             :   case SWIG_MemoryError:
     964           0 :     type = PyExc_MemoryError;
     965           0 :     break;
     966             :   case SWIG_IOError:
     967           0 :     type = PyExc_IOError;
     968           0 :     break;
     969             :   case SWIG_RuntimeError:
     970           0 :     type = PyExc_RuntimeError;
     971           0 :     break;
     972             :   case SWIG_IndexError:
     973           0 :     type = PyExc_IndexError;
     974           0 :     break;
     975             :   case SWIG_TypeError:
     976           0 :     type = PyExc_TypeError;
     977           0 :     break;
     978             :   case SWIG_DivisionByZero:
     979           0 :     type = PyExc_ZeroDivisionError;
     980           0 :     break;
     981             :   case SWIG_OverflowError:
     982           0 :     type = PyExc_OverflowError;
     983           0 :     break;
     984             :   case SWIG_SyntaxError:
     985           0 :     type = PyExc_SyntaxError;
     986           0 :     break;
     987             :   case SWIG_ValueError:
     988           0 :     type = PyExc_ValueError;
     989           0 :     break;
     990             :   case SWIG_SystemError:
     991           0 :     type = PyExc_SystemError;
     992           0 :     break;
     993             :   case SWIG_AttributeError:
     994           0 :     type = PyExc_AttributeError;
     995           0 :     break;
     996             :   default:
     997           0 :     type = PyExc_RuntimeError;
     998             :   }
     999           0 :   return type;
    1000             : }
    1001             : 
    1002             : 
    1003             : SWIGRUNTIME void
    1004           0 : SWIG_Python_AddErrorMsg(const char* mesg)
    1005             : {
    1006           0 :   PyObject *type = 0;
    1007           0 :   PyObject *value = 0;
    1008           0 :   PyObject *traceback = 0;
    1009             : 
    1010           0 :   if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
    1011           0 :   if (value) {
    1012             :     char *tmp;
    1013           0 :     PyObject *old_str = PyObject_Str(value);
    1014           0 :     PyErr_Clear();
    1015           0 :     Py_XINCREF(type);
    1016             : 
    1017           0 :     PyErr_Format(type, "%s %s", tmp = SWIG_Python_str_AsChar(old_str), mesg);
    1018             :     SWIG_Python_str_DelForPy3(tmp);
    1019           0 :     Py_DECREF(old_str);
    1020           0 :     Py_DECREF(value);
    1021             :   } else {
    1022           0 :     PyErr_SetString(PyExc_RuntimeError, mesg);
    1023             :   }
    1024           0 : }
    1025             : 
    1026             : #if defined(SWIG_PYTHON_NO_THREADS)
    1027             : #  if defined(SWIG_PYTHON_THREADS)
    1028             : #    undef SWIG_PYTHON_THREADS
    1029             : #  endif
    1030             : #endif
    1031             : #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
    1032             : #  if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
    1033             : #    if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
    1034             : #      define SWIG_PYTHON_USE_GIL
    1035             : #    endif
    1036             : #  endif
    1037             : #  if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
    1038             : #    ifndef SWIG_PYTHON_INITIALIZE_THREADS
    1039             : #     define SWIG_PYTHON_INITIALIZE_THREADS  PyEval_InitThreads() 
    1040             : #    endif
    1041             : #    ifdef __cplusplus /* C++ code */
    1042             :        class SWIG_Python_Thread_Block {
    1043             :          bool status;
    1044             :          PyGILState_STATE state;
    1045             :        public:
    1046             :          void end() { if (status) { PyGILState_Release(state); status = false;} }
    1047             :          SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
    1048             :          ~SWIG_Python_Thread_Block() { end(); }
    1049             :        };
    1050             :        class SWIG_Python_Thread_Allow {
    1051             :          bool status;
    1052             :          PyThreadState *save;
    1053             :        public:
    1054             :          void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
    1055             :          SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
    1056             :          ~SWIG_Python_Thread_Allow() { end(); }
    1057             :        };
    1058             : #      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   SWIG_Python_Thread_Block _swig_thread_block
    1059             : #      define SWIG_PYTHON_THREAD_END_BLOCK     _swig_thread_block.end()
    1060             : #      define SWIG_PYTHON_THREAD_BEGIN_ALLOW   SWIG_Python_Thread_Allow _swig_thread_allow
    1061             : #      define SWIG_PYTHON_THREAD_END_ALLOW     _swig_thread_allow.end()
    1062             : #    else /* C code */
    1063             : #      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
    1064             : #      define SWIG_PYTHON_THREAD_END_BLOCK     PyGILState_Release(_swig_thread_block)
    1065             : #      define SWIG_PYTHON_THREAD_BEGIN_ALLOW   PyThreadState *_swig_thread_allow = PyEval_SaveThread()
    1066             : #      define SWIG_PYTHON_THREAD_END_ALLOW     PyEval_RestoreThread(_swig_thread_allow)
    1067             : #    endif
    1068             : #  else /* Old thread way, not implemented, user must provide it */
    1069             : #    if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
    1070             : #      define SWIG_PYTHON_INITIALIZE_THREADS
    1071             : #    endif
    1072             : #    if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
    1073             : #      define SWIG_PYTHON_THREAD_BEGIN_BLOCK
    1074             : #    endif
    1075             : #    if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
    1076             : #      define SWIG_PYTHON_THREAD_END_BLOCK
    1077             : #    endif
    1078             : #    if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
    1079             : #      define SWIG_PYTHON_THREAD_BEGIN_ALLOW
    1080             : #    endif
    1081             : #    if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
    1082             : #      define SWIG_PYTHON_THREAD_END_ALLOW
    1083             : #    endif
    1084             : #  endif
    1085             : #else /* No thread support */
    1086             : #  define SWIG_PYTHON_INITIALIZE_THREADS
    1087             : #  define SWIG_PYTHON_THREAD_BEGIN_BLOCK
    1088             : #  define SWIG_PYTHON_THREAD_END_BLOCK
    1089             : #  define SWIG_PYTHON_THREAD_BEGIN_ALLOW
    1090             : #  define SWIG_PYTHON_THREAD_END_ALLOW
    1091             : #endif
    1092             : 
    1093             : /* -----------------------------------------------------------------------------
    1094             :  * Python API portion that goes into the runtime
    1095             :  * ----------------------------------------------------------------------------- */
    1096             : 
    1097             : #ifdef __cplusplus
    1098             : extern "C" {
    1099             : #endif
    1100             : 
    1101             : /* -----------------------------------------------------------------------------
    1102             :  * Constant declarations
    1103             :  * ----------------------------------------------------------------------------- */
    1104             : 
    1105             : /* Constant Types */
    1106             : #define SWIG_PY_POINTER 4
    1107             : #define SWIG_PY_BINARY  5
    1108             : 
    1109             : /* Constant information structure */
    1110             : typedef struct swig_const_info {
    1111             :   int type;
    1112             :   char *name;
    1113             :   long lvalue;
    1114             :   double dvalue;
    1115             :   void   *pvalue;
    1116             :   swig_type_info **ptype;
    1117             : } swig_const_info;
    1118             : 
    1119             : 
    1120             : /* -----------------------------------------------------------------------------
    1121             :  * Wrapper of PyInstanceMethod_New() used in Python 3
    1122             :  * It is exported to the generated module, used for -fastproxy
    1123             :  * ----------------------------------------------------------------------------- */
    1124             : #if PY_VERSION_HEX >= 0x03000000
    1125             : SWIGRUNTIME PyObject* SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func)
    1126             : {
    1127             :   return PyInstanceMethod_New(func);
    1128             : }
    1129             : #else
    1130           0 : SWIGRUNTIME PyObject* SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *SWIGUNUSEDPARM(func))
    1131             : {
    1132           0 :   return NULL;
    1133             : }
    1134             : #endif
    1135             : 
    1136             : #ifdef __cplusplus
    1137             : }
    1138             : #endif
    1139             : 
    1140             : 
    1141             : /* -----------------------------------------------------------------------------
    1142             :  * pyrun.swg
    1143             :  *
    1144             :  * This file contains the runtime support for Python modules
    1145             :  * and includes code for managing global variables and pointer
    1146             :  * type checking.
    1147             :  *
    1148             :  * ----------------------------------------------------------------------------- */
    1149             : 
    1150             : /* Common SWIG API */
    1151             : 
    1152             : /* for raw pointers */
    1153             : #define SWIG_Python_ConvertPtr(obj, pptr, type, flags)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
    1154             : #define SWIG_ConvertPtr(obj, pptr, type, flags)         SWIG_Python_ConvertPtr(obj, pptr, type, flags)
    1155             : #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
    1156             : 
    1157             : #ifdef SWIGPYTHON_BUILTIN
    1158             : #define SWIG_NewPointerObj(ptr, type, flags)            SWIG_Python_NewPointerObj(self, ptr, type, flags)
    1159             : #else
    1160             : #define SWIG_NewPointerObj(ptr, type, flags)            SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
    1161             : #endif
    1162             : 
    1163             : #define SWIG_InternalNewPointerObj(ptr, type, flags)    SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
    1164             : 
    1165             : #define SWIG_CheckImplicit(ty)                          SWIG_Python_CheckImplicit(ty) 
    1166             : #define SWIG_AcquirePtr(ptr, src)                       SWIG_Python_AcquirePtr(ptr, src)
    1167             : #define swig_owntype                                    int
    1168             : 
    1169             : /* for raw packed data */
    1170             : #define SWIG_ConvertPacked(obj, ptr, sz, ty)            SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
    1171             : #define SWIG_NewPackedObj(ptr, sz, type)                SWIG_Python_NewPackedObj(ptr, sz, type)
    1172             : 
    1173             : /* for class or struct pointers */
    1174             : #define SWIG_ConvertInstance(obj, pptr, type, flags)    SWIG_ConvertPtr(obj, pptr, type, flags)
    1175             : #define SWIG_NewInstanceObj(ptr, type, flags)           SWIG_NewPointerObj(ptr, type, flags)
    1176             : 
    1177             : /* for C or C++ function pointers */
    1178             : #define SWIG_ConvertFunctionPtr(obj, pptr, type)        SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
    1179             : #define SWIG_NewFunctionPtrObj(ptr, type)               SWIG_Python_NewPointerObj(NULL, ptr, type, 0)
    1180             : 
    1181             : /* for C++ member pointers, ie, member methods */
    1182             : #define SWIG_ConvertMember(obj, ptr, sz, ty)            SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
    1183             : #define SWIG_NewMemberObj(ptr, sz, type)                SWIG_Python_NewPackedObj(ptr, sz, type)
    1184             : 
    1185             : 
    1186             : /* Runtime API */
    1187             : 
    1188             : #define SWIG_GetModule(clientdata)                      SWIG_Python_GetModule(clientdata)
    1189             : #define SWIG_SetModule(clientdata, pointer)             SWIG_Python_SetModule(pointer)
    1190             : #define SWIG_NewClientData(obj)                         SwigPyClientData_New(obj)
    1191             : 
    1192             : #define SWIG_SetErrorObj                                SWIG_Python_SetErrorObj                            
    1193             : #define SWIG_SetErrorMsg                                SWIG_Python_SetErrorMsg                            
    1194             : #define SWIG_ErrorType(code)                            SWIG_Python_ErrorType(code)                        
    1195             : #define SWIG_Error(code, msg)                           SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg) 
    1196             : #define SWIG_fail                                       goto fail                                          
    1197             : 
    1198             : 
    1199             : /* Runtime API implementation */
    1200             : 
    1201             : /* Error manipulation */
    1202             : 
    1203             : SWIGINTERN void 
    1204           0 : SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
    1205             :   SWIG_PYTHON_THREAD_BEGIN_BLOCK; 
    1206           0 :   PyErr_SetObject(errtype, obj);
    1207           0 :   Py_DECREF(obj);
    1208             :   SWIG_PYTHON_THREAD_END_BLOCK;
    1209           0 : }
    1210             : 
    1211             : SWIGINTERN void 
    1212           0 : SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
    1213             :   SWIG_PYTHON_THREAD_BEGIN_BLOCK;
    1214           0 :   PyErr_SetString(errtype, msg);
    1215             :   SWIG_PYTHON_THREAD_END_BLOCK;
    1216           0 : }
    1217             : 
    1218             : #define SWIG_Python_Raise(obj, type, desc)  SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
    1219             : 
    1220             : /* Set a constant value */
    1221             : 
    1222             : #if defined(SWIGPYTHON_BUILTIN)
    1223             : 
    1224             : SWIGINTERN void
    1225             : SwigPyBuiltin_AddPublicSymbol(PyObject *seq, const char *key) {
    1226             :   PyObject *s = PyString_InternFromString(key);
    1227             :   PyList_Append(seq, s);
    1228             :   Py_DECREF(s);
    1229             : }
    1230             : 
    1231             : SWIGINTERN void
    1232             : SWIG_Python_SetConstant(PyObject *d, PyObject *public_interface, const char *name, PyObject *obj) {   
    1233             : #if PY_VERSION_HEX < 0x02030000
    1234             :   PyDict_SetItemString(d, (char *)name, obj);
    1235             : #else
    1236             :   PyDict_SetItemString(d, name, obj);
    1237             : #endif
    1238             :   Py_DECREF(obj);
    1239             :   if (public_interface)
    1240             :     SwigPyBuiltin_AddPublicSymbol(public_interface, name);
    1241             : }
    1242             : 
    1243             : #else
    1244             : 
    1245             : SWIGINTERN void
    1246         289 : SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {   
    1247             : #if PY_VERSION_HEX < 0x02030000
    1248             :   PyDict_SetItemString(d, (char *)name, obj);
    1249             : #else
    1250         289 :   PyDict_SetItemString(d, name, obj);
    1251             : #endif
    1252         289 :   Py_DECREF(obj);                            
    1253         289 : }
    1254             : 
    1255             : #endif
    1256             : 
    1257             : /* Append a value to the result obj */
    1258             : 
    1259             : SWIGINTERN PyObject*
    1260           0 : SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
    1261             : #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
    1262           0 :   if (!result) {
    1263           0 :     result = obj;
    1264           0 :   } else if (result == Py_None) {
    1265           0 :     Py_DECREF(result);
    1266           0 :     result = obj;
    1267             :   } else {
    1268           0 :     if (!PyList_Check(result)) {
    1269           0 :       PyObject *o2 = result;
    1270           0 :       result = PyList_New(1);
    1271           0 :       PyList_SetItem(result, 0, o2);
    1272             :     }
    1273           0 :     PyList_Append(result,obj);
    1274           0 :     Py_DECREF(obj);
    1275             :   }
    1276           0 :   return result;
    1277             : #else
    1278             :   PyObject*   o2;
    1279             :   PyObject*   o3;
    1280             :   if (!result) {
    1281             :     result = obj;
    1282             :   } else if (result == Py_None) {
    1283             :     Py_DECREF(result);
    1284             :     result = obj;
    1285             :   } else {
    1286             :     if (!PyTuple_Check(result)) {
    1287             :       o2 = result;
    1288             :       result = PyTuple_New(1);
    1289             :       PyTuple_SET_ITEM(result, 0, o2);
    1290             :     }
    1291             :     o3 = PyTuple_New(1);
    1292             :     PyTuple_SET_ITEM(o3, 0, obj);
    1293             :     o2 = result;
    1294             :     result = PySequence_Concat(o2, o3);
    1295             :     Py_DECREF(o2);
    1296             :     Py_DECREF(o3);
    1297             :   }
    1298             :   return result;
    1299             : #endif
    1300             : }
    1301             : 
    1302             : /* Unpack the argument tuple */
    1303             : 
    1304             : SWIGINTERN int
    1305           0 : SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs)
    1306             : {
    1307           0 :   if (!args) {
    1308           0 :     if (!min && !max) {
    1309           0 :       return 1;
    1310             :     } else {
    1311           0 :       PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none", 
    1312             :                    name, (min == max ? "" : "at least "), (int)min);
    1313           0 :       return 0;
    1314             :     }
    1315             :   }  
    1316           0 :   if (!PyTuple_Check(args)) {
    1317           0 :     if (min <= 1 && max >= 1) {
    1318             :       int i;
    1319           0 :       objs[0] = args;
    1320           0 :       for (i = 1; i < max; ++i) {
    1321           0 :         objs[i] = 0;
    1322             :       }
    1323           0 :       return 2;
    1324             :     }
    1325           0 :     PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
    1326           0 :     return 0;
    1327             :   } else {
    1328           0 :     Py_ssize_t l = PyTuple_GET_SIZE(args);
    1329           0 :     if (l < min) {
    1330           0 :       PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", 
    1331             :                    name, (min == max ? "" : "at least "), (int)min, (int)l);
    1332           0 :       return 0;
    1333           0 :     } else if (l > max) {
    1334           0 :       PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", 
    1335             :                    name, (min == max ? "" : "at most "), (int)max, (int)l);
    1336           0 :       return 0;
    1337             :     } else {
    1338             :       int i;
    1339           0 :       for (i = 0; i < l; ++i) {
    1340           0 :         objs[i] = PyTuple_GET_ITEM(args, i);
    1341             :       }
    1342           0 :       for (; l < max; ++l) {
    1343           0 :         objs[l] = 0;
    1344             :       }
    1345           0 :       return i + 1;
    1346             :     }    
    1347             :   }
    1348             : }
    1349             : 
    1350             : /* A functor is a function object with one single object argument */
    1351             : #if PY_VERSION_HEX >= 0x02020000
    1352             : #define SWIG_Python_CallFunctor(functor, obj)           PyObject_CallFunctionObjArgs(functor, obj, NULL);
    1353             : #else
    1354             : #define SWIG_Python_CallFunctor(functor, obj)           PyObject_CallFunction(functor, "O", obj);
    1355             : #endif
    1356             : 
    1357             : /*
    1358             :   Helper for static pointer initialization for both C and C++ code, for example
    1359             :   static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
    1360             : */
    1361             : #ifdef __cplusplus
    1362             : #define SWIG_STATIC_POINTER(var)  var
    1363             : #else
    1364             : #define SWIG_STATIC_POINTER(var)  var = 0; if (!var) var
    1365             : #endif
    1366             : 
    1367             : /* -----------------------------------------------------------------------------
    1368             :  * Pointer declarations
    1369             :  * ----------------------------------------------------------------------------- */
    1370             : 
    1371             : /* Flags for new pointer objects */
    1372             : #define SWIG_POINTER_NOSHADOW       (SWIG_POINTER_OWN      << 1)
    1373             : #define SWIG_POINTER_NEW            (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
    1374             : 
    1375             : #define SWIG_POINTER_IMPLICIT_CONV  (SWIG_POINTER_DISOWN   << 1)
    1376             : 
    1377             : #define SWIG_BUILTIN_TP_INIT        (SWIG_POINTER_OWN << 2)
    1378             : #define SWIG_BUILTIN_INIT           (SWIG_BUILTIN_TP_INIT | SWIG_POINTER_OWN)
    1379             : 
    1380             : #ifdef __cplusplus
    1381             : extern "C" {
    1382             : #endif
    1383             : 
    1384             : /*  How to access Py_None */
    1385             : #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
    1386             : #  ifndef SWIG_PYTHON_NO_BUILD_NONE
    1387             : #    ifndef SWIG_PYTHON_BUILD_NONE
    1388             : #      define SWIG_PYTHON_BUILD_NONE
    1389             : #    endif
    1390             : #  endif
    1391             : #endif
    1392             : 
    1393             : #ifdef SWIG_PYTHON_BUILD_NONE
    1394             : #  ifdef Py_None
    1395             : #   undef Py_None
    1396             : #   define Py_None SWIG_Py_None()
    1397             : #  endif
    1398             : SWIGRUNTIMEINLINE PyObject * 
    1399             : _SWIG_Py_None(void)
    1400             : {
    1401             :   PyObject *none = Py_BuildValue((char*)"");
    1402             :   Py_DECREF(none);
    1403             :   return none;
    1404             : }
    1405             : SWIGRUNTIME PyObject * 
    1406             : SWIG_Py_None(void)
    1407             : {
    1408             :   static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
    1409             :   return none;
    1410             : }
    1411             : #endif
    1412             : 
    1413             : /* The python void return value */
    1414             : 
    1415             : SWIGRUNTIMEINLINE PyObject * 
    1416         294 : SWIG_Py_Void(void)
    1417             : {
    1418         294 :   PyObject *none = Py_None;
    1419         294 :   Py_INCREF(none);
    1420         294 :   return none;
    1421             : }
    1422             : 
    1423             : /* SwigPyClientData */
    1424             : 
    1425             : typedef struct {
    1426             :   PyObject *klass;
    1427             :   PyObject *newraw;
    1428             :   PyObject *newargs;
    1429             :   PyObject *destroy;
    1430             :   int delargs;
    1431             :   int implicitconv;
    1432             :   PyTypeObject *pytype;
    1433             : } SwigPyClientData;
    1434             : 
    1435             : SWIGRUNTIMEINLINE int 
    1436             : SWIG_Python_CheckImplicit(swig_type_info *ty)
    1437             : {
    1438             :   SwigPyClientData *data = (SwigPyClientData *)ty->clientdata;
    1439             :   return data ? data->implicitconv : 0;
    1440             : }
    1441             : 
    1442             : SWIGRUNTIMEINLINE PyObject *
    1443             : SWIG_Python_ExceptionType(swig_type_info *desc) {
    1444             :   SwigPyClientData *data = desc ? (SwigPyClientData *) desc->clientdata : 0;
    1445             :   PyObject *klass = data ? data->klass : 0;
    1446             :   return (klass ? klass : PyExc_RuntimeError);
    1447             : }
    1448             : 
    1449             : 
    1450             : SWIGRUNTIME SwigPyClientData * 
    1451           5 : SwigPyClientData_New(PyObject* obj)
    1452             : {
    1453           5 :   if (!obj) {
    1454           0 :     return 0;
    1455             :   } else {
    1456           5 :     SwigPyClientData *data = (SwigPyClientData *)malloc(sizeof(SwigPyClientData));
    1457             :     /* the klass element */
    1458           5 :     data->klass = obj;
    1459           5 :     Py_INCREF(data->klass);
    1460             :     /* the newraw method and newargs arguments used to create a new raw instance */
    1461           5 :     if (PyClass_Check(obj)) {
    1462           0 :       data->newraw = 0;
    1463           0 :       data->newargs = obj;
    1464           0 :       Py_INCREF(obj);
    1465             :     } else {
    1466             : #if (PY_VERSION_HEX < 0x02020000)
    1467             :       data->newraw = 0;
    1468             : #else
    1469           5 :       data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
    1470             : #endif
    1471           5 :       if (data->newraw) {
    1472           5 :         Py_INCREF(data->newraw);
    1473           5 :         data->newargs = PyTuple_New(1);
    1474           5 :         PyTuple_SetItem(data->newargs, 0, obj);
    1475             :       } else {
    1476           0 :         data->newargs = obj;
    1477             :       }
    1478           5 :       Py_INCREF(data->newargs);
    1479             :     }
    1480             :     /* the destroy method, aka as the C++ delete method */
    1481           5 :     data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
    1482           5 :     if (PyErr_Occurred()) {
    1483           0 :       PyErr_Clear();
    1484           0 :       data->destroy = 0;
    1485             :     }
    1486           5 :     if (data->destroy) {
    1487             :       int flags;
    1488           5 :       Py_INCREF(data->destroy);
    1489           5 :       flags = PyCFunction_GET_FLAGS(data->destroy);
    1490             : #ifdef METH_O
    1491           5 :       data->delargs = !(flags & (METH_O));
    1492             : #else
    1493             :       data->delargs = 0;
    1494             : #endif
    1495             :     } else {
    1496           0 :       data->delargs = 0;
    1497             :     }
    1498           5 :     data->implicitconv = 0;
    1499           5 :     data->pytype = 0;
    1500           5 :     return data;
    1501             :   }
    1502             : }
    1503             : 
    1504             : SWIGRUNTIME void 
    1505           5 : SwigPyClientData_Del(SwigPyClientData *data) {
    1506           5 :   Py_XDECREF(data->newraw);
    1507           5 :   Py_XDECREF(data->newargs);
    1508           5 :   Py_XDECREF(data->destroy);
    1509           5 : }
    1510             : 
    1511             : /* =============== SwigPyObject =====================*/
    1512             : 
    1513             : typedef struct {
    1514             :   PyObject_HEAD
    1515             :   void *ptr;
    1516             :   swig_type_info *ty;
    1517             :   int own;
    1518             :   PyObject *next;
    1519             : #ifdef SWIGPYTHON_BUILTIN
    1520             :   PyObject *dict;
    1521             : #endif
    1522             : } SwigPyObject;
    1523             : 
    1524             : 
    1525             : #ifdef SWIGPYTHON_BUILTIN
    1526             : 
    1527             : SWIGRUNTIME PyObject *
    1528             : SwigPyObject_get___dict__(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
    1529             : {
    1530             :   SwigPyObject *sobj = (SwigPyObject *)v;
    1531             : 
    1532             :   if (!sobj->dict)
    1533             :     sobj->dict = PyDict_New();
    1534             : 
    1535             :   Py_INCREF(sobj->dict);
    1536             :   return sobj->dict;
    1537             : }
    1538             : 
    1539             : #endif
    1540             : 
    1541             : SWIGRUNTIME PyObject *
    1542           0 : SwigPyObject_long(SwigPyObject *v)
    1543             : {
    1544           0 :   return PyLong_FromVoidPtr(v->ptr);
    1545             : }
    1546             : 
    1547             : SWIGRUNTIME PyObject *
    1548           0 : SwigPyObject_format(const char* fmt, SwigPyObject *v)
    1549             : {
    1550           0 :   PyObject *res = NULL;
    1551           0 :   PyObject *args = PyTuple_New(1);
    1552           0 :   if (args) {
    1553           0 :     if (PyTuple_SetItem(args, 0, SwigPyObject_long(v)) == 0) {
    1554           0 :       PyObject *ofmt = SWIG_Python_str_FromChar(fmt);
    1555           0 :       if (ofmt) {
    1556             : #if PY_VERSION_HEX >= 0x03000000
    1557             :         res = PyUnicode_Format(ofmt,args);
    1558             : #else
    1559           0 :         res = PyString_Format(ofmt,args);
    1560             : #endif
    1561           0 :         Py_DECREF(ofmt);
    1562             :       }
    1563           0 :       Py_DECREF(args);
    1564             :     }
    1565             :   }
    1566           0 :   return res;
    1567             : }
    1568             : 
    1569             : SWIGRUNTIME PyObject *
    1570           0 : SwigPyObject_oct(SwigPyObject *v)
    1571             : {
    1572           0 :   return SwigPyObject_format("%o",v);
    1573             : }
    1574             : 
    1575             : SWIGRUNTIME PyObject *
    1576           0 : SwigPyObject_hex(SwigPyObject *v)
    1577             : {
    1578           0 :   return SwigPyObject_format("%x",v);
    1579             : }
    1580             : 
    1581             : SWIGRUNTIME PyObject *
    1582             : #ifdef METH_NOARGS
    1583           0 : SwigPyObject_repr(SwigPyObject *v)
    1584             : #else
    1585             : SwigPyObject_repr(SwigPyObject *v, PyObject *args)
    1586             : #endif
    1587             : {
    1588           0 :   const char *name = SWIG_TypePrettyName(v->ty);
    1589           0 :   PyObject *repr = SWIG_Python_str_FromFormat("<Swig Object of type '%s' at %p>", (name ? name : "unknown"), (void *)v);
    1590           0 :   if (v->next) {
    1591             : # ifdef METH_NOARGS
    1592           0 :     PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next);
    1593             : # else
    1594             :     PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next, args);
    1595             : # endif
    1596             : # if PY_VERSION_HEX >= 0x03000000
    1597             :     PyObject *joined = PyUnicode_Concat(repr, nrep);
    1598             :     Py_DecRef(repr);
    1599             :     Py_DecRef(nrep);
    1600             :     repr = joined;
    1601             : # else
    1602           0 :     PyString_ConcatAndDel(&repr,nrep);
    1603             : # endif
    1604             :   }
    1605           0 :   return repr;  
    1606             : }
    1607             : 
    1608             : SWIGRUNTIME int
    1609           0 : SwigPyObject_compare(SwigPyObject *v, SwigPyObject *w)
    1610             : {
    1611           0 :   void *i = v->ptr;
    1612           0 :   void *j = w->ptr;
    1613           0 :   return (i < j) ? -1 : ((i > j) ? 1 : 0);
    1614             : }
    1615             : 
    1616             : /* Added for Python 3.x, would it also be useful for Python 2.x? */
    1617             : SWIGRUNTIME PyObject*
    1618           0 : SwigPyObject_richcompare(SwigPyObject *v, SwigPyObject *w, int op)
    1619             : {
    1620             :   PyObject* res;
    1621           0 :   if( op != Py_EQ && op != Py_NE ) {
    1622           0 :     Py_INCREF(Py_NotImplemented);
    1623           0 :     return Py_NotImplemented;
    1624             :   }
    1625           0 :   res = PyBool_FromLong( (SwigPyObject_compare(v, w)==0) == (op == Py_EQ) ? 1 : 0);
    1626           0 :   return res;  
    1627             : }
    1628             : 
    1629             : 
    1630             : SWIGRUNTIME PyTypeObject* SwigPyObject_TypeOnce(void);
    1631             : 
    1632             : #ifdef SWIGPYTHON_BUILTIN
    1633             : static swig_type_info *SwigPyObject_stype = 0;
    1634             : SWIGRUNTIME PyTypeObject*
    1635             : SwigPyObject_type(void) {
    1636             :     SwigPyClientData *cd;
    1637             :     assert(SwigPyObject_stype);
    1638             :     cd = (SwigPyClientData*) SwigPyObject_stype->clientdata;
    1639             :     assert(cd);
    1640             :     assert(cd->pytype);
    1641             :     return cd->pytype;
    1642             : }
    1643             : #else
    1644             : SWIGRUNTIME PyTypeObject*
    1645           0 : SwigPyObject_type(void) {
    1646           0 :   static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyObject_TypeOnce();
    1647           0 :   return type;
    1648             : }
    1649             : #endif
    1650             : 
    1651             : SWIGRUNTIMEINLINE int
    1652           0 : SwigPyObject_Check(PyObject *op) {
    1653             : #ifdef SWIGPYTHON_BUILTIN
    1654             :   PyTypeObject *target_tp = SwigPyObject_type();
    1655             :   if (PyType_IsSubtype(op->ob_type, target_tp))
    1656             :     return 1;
    1657             :   return (strcmp(op->ob_type->tp_name, "SwigPyObject") == 0);
    1658             : #else
    1659           0 :   return (Py_TYPE(op) == SwigPyObject_type())
    1660           0 :     || (strcmp(Py_TYPE(op)->tp_name,"SwigPyObject") == 0);
    1661             : #endif
    1662             : }
    1663             : 
    1664             : SWIGRUNTIME PyObject *
    1665             : SwigPyObject_New(void *ptr, swig_type_info *ty, int own);
    1666             : 
    1667             : SWIGRUNTIME void
    1668           0 : SwigPyObject_dealloc(PyObject *v)
    1669             : {
    1670           0 :   SwigPyObject *sobj = (SwigPyObject *) v;
    1671           0 :   PyObject *next = sobj->next;
    1672           0 :   if (sobj->own == SWIG_POINTER_OWN) {
    1673           0 :     swig_type_info *ty = sobj->ty;
    1674           0 :     SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0;
    1675           0 :     PyObject *destroy = data ? data->destroy : 0;
    1676           0 :     if (destroy) {
    1677             :       /* destroy is always a VARARGS method */
    1678             :       PyObject *res;
    1679           0 :       if (data->delargs) {
    1680             :         /* we need to create a temporary object to carry the destroy operation */
    1681           0 :         PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0);
    1682           0 :         res = SWIG_Python_CallFunctor(destroy, tmp);
    1683           0 :         Py_DECREF(tmp);
    1684             :       } else {
    1685           0 :         PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
    1686           0 :         PyObject *mself = PyCFunction_GET_SELF(destroy);
    1687           0 :         res = ((*meth)(mself, v));
    1688             :       }
    1689           0 :       Py_XDECREF(res);
    1690             :     } 
    1691             : #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
    1692             :     else {
    1693           0 :       const char *name = SWIG_TypePrettyName(ty);
    1694           0 :       printf("swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name : "unknown"));
    1695             :     }
    1696             : #endif
    1697             :   } 
    1698           0 :   Py_XDECREF(next);
    1699           0 :   PyObject_DEL(v);
    1700           0 : }
    1701             : 
    1702             : SWIGRUNTIME PyObject* 
    1703           0 : SwigPyObject_append(PyObject* v, PyObject* next)
    1704             : {
    1705           0 :   SwigPyObject *sobj = (SwigPyObject *) v;
    1706             : #ifndef METH_O
    1707             :   PyObject *tmp = 0;
    1708             :   if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
    1709             :   next = tmp;
    1710             : #endif
    1711           0 :   if (!SwigPyObject_Check(next)) {
    1712           0 :     return NULL;
    1713             :   }
    1714           0 :   sobj->next = next;
    1715           0 :   Py_INCREF(next);
    1716           0 :   return SWIG_Py_Void();
    1717             : }
    1718             : 
    1719             : SWIGRUNTIME PyObject* 
    1720             : #ifdef METH_NOARGS
    1721           0 : SwigPyObject_next(PyObject* v)
    1722             : #else
    1723             : SwigPyObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
    1724             : #endif
    1725             : {
    1726           0 :   SwigPyObject *sobj = (SwigPyObject *) v;
    1727           0 :   if (sobj->next) {    
    1728           0 :     Py_INCREF(sobj->next);
    1729           0 :     return sobj->next;
    1730             :   } else {
    1731           0 :     return SWIG_Py_Void();
    1732             :   }
    1733             : }
    1734             : 
    1735             : SWIGINTERN PyObject*
    1736             : #ifdef METH_NOARGS
    1737           0 : SwigPyObject_disown(PyObject *v)
    1738             : #else
    1739             : SwigPyObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
    1740             : #endif
    1741             : {
    1742           0 :   SwigPyObject *sobj = (SwigPyObject *)v;
    1743           0 :   sobj->own = 0;
    1744           0 :   return SWIG_Py_Void();
    1745             : }
    1746             : 
    1747             : SWIGINTERN PyObject*
    1748             : #ifdef METH_NOARGS
    1749           0 : SwigPyObject_acquire(PyObject *v)
    1750             : #else
    1751             : SwigPyObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
    1752             : #endif
    1753             : {
    1754           0 :   SwigPyObject *sobj = (SwigPyObject *)v;
    1755           0 :   sobj->own = SWIG_POINTER_OWN;
    1756           0 :   return SWIG_Py_Void();
    1757             : }
    1758             : 
    1759             : SWIGINTERN PyObject*
    1760           0 : SwigPyObject_own(PyObject *v, PyObject *args)
    1761             : {
    1762           0 :   PyObject *val = 0;
    1763             : #if (PY_VERSION_HEX < 0x02020000)
    1764             :   if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
    1765             : #elif (PY_VERSION_HEX < 0x02050000)
    1766             :   if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val)) 
    1767             : #else
    1768           0 :   if (!PyArg_UnpackTuple(args, "own", 0, 1, &val)) 
    1769             : #endif
    1770             :     {
    1771           0 :       return NULL;
    1772             :     } 
    1773             :   else
    1774             :     {
    1775           0 :       SwigPyObject *sobj = (SwigPyObject *)v;
    1776           0 :       PyObject *obj = PyBool_FromLong(sobj->own);
    1777           0 :       if (val) {
    1778             : #ifdef METH_NOARGS
    1779           0 :         if (PyObject_IsTrue(val)) {
    1780           0 :           SwigPyObject_acquire(v);
    1781             :         } else {
    1782           0 :           SwigPyObject_disown(v);
    1783             :         }
    1784             : #else
    1785             :         if (PyObject_IsTrue(val)) {
    1786             :           SwigPyObject_acquire(v,args);
    1787             :         } else {
    1788             :           SwigPyObject_disown(v,args);
    1789             :         }
    1790             : #endif
    1791             :       } 
    1792           0 :       return obj;
    1793             :     }
    1794             : }
    1795             : 
    1796             : #ifdef METH_O
    1797             : static PyMethodDef
    1798             : swigobject_methods[] = {
    1799             :   {(char *)"disown",  (PyCFunction)SwigPyObject_disown,  METH_NOARGS,  (char *)"releases ownership of the pointer"},
    1800             :   {(char *)"acquire", (PyCFunction)SwigPyObject_acquire, METH_NOARGS,  (char *)"acquires ownership of the pointer"},
    1801             :   {(char *)"own",     (PyCFunction)SwigPyObject_own,     METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
    1802             :   {(char *)"append",  (PyCFunction)SwigPyObject_append,  METH_O,       (char *)"appends another 'this' object"},
    1803             :   {(char *)"next",    (PyCFunction)SwigPyObject_next,    METH_NOARGS,  (char *)"returns the next 'this' object"},
    1804             :   {(char *)"__repr__",(PyCFunction)SwigPyObject_repr,    METH_NOARGS,  (char *)"returns object representation"},
    1805             :   {0, 0, 0, 0}  
    1806             : };
    1807             : #else
    1808             : static PyMethodDef
    1809             : swigobject_methods[] = {
    1810             :   {(char *)"disown",  (PyCFunction)SwigPyObject_disown,  METH_VARARGS,  (char *)"releases ownership of the pointer"},
    1811             :   {(char *)"acquire", (PyCFunction)SwigPyObject_acquire, METH_VARARGS,  (char *)"acquires ownership of the pointer"},
    1812             :   {(char *)"own",     (PyCFunction)SwigPyObject_own,     METH_VARARGS,  (char *)"returns/sets ownership of the pointer"},
    1813             :   {(char *)"append",  (PyCFunction)SwigPyObject_append,  METH_VARARGS,  (char *)"appends another 'this' object"},
    1814             :   {(char *)"next",    (PyCFunction)SwigPyObject_next,    METH_VARARGS,  (char *)"returns the next 'this' object"},
    1815             :   {(char *)"__repr__",(PyCFunction)SwigPyObject_repr,   METH_VARARGS,  (char *)"returns object representation"},
    1816             :   {0, 0, 0, 0}  
    1817             : };
    1818             : #endif
    1819             : 
    1820             : #if PY_VERSION_HEX < 0x02020000
    1821             : SWIGINTERN PyObject *
    1822             : SwigPyObject_getattr(SwigPyObject *sobj,char *name)
    1823             : {
    1824             :   return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
    1825             : }
    1826             : #endif
    1827             : 
    1828             : SWIGRUNTIME PyTypeObject*
    1829           0 : SwigPyObject_TypeOnce(void) {
    1830             :   static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
    1831             : 
    1832             :   static PyNumberMethods SwigPyObject_as_number = {
    1833             :     (binaryfunc)0, /*nb_add*/
    1834             :     (binaryfunc)0, /*nb_subtract*/
    1835             :     (binaryfunc)0, /*nb_multiply*/
    1836             :     /* nb_divide removed in Python 3 */
    1837             : #if PY_VERSION_HEX < 0x03000000
    1838             :     (binaryfunc)0, /*nb_divide*/
    1839             : #endif
    1840             :     (binaryfunc)0, /*nb_remainder*/
    1841             :     (binaryfunc)0, /*nb_divmod*/
    1842             :     (ternaryfunc)0,/*nb_power*/
    1843             :     (unaryfunc)0,  /*nb_negative*/
    1844             :     (unaryfunc)0,  /*nb_positive*/
    1845             :     (unaryfunc)0,  /*nb_absolute*/
    1846             :     (inquiry)0,    /*nb_nonzero*/
    1847             :     0,             /*nb_invert*/
    1848             :     0,             /*nb_lshift*/
    1849             :     0,             /*nb_rshift*/
    1850             :     0,             /*nb_and*/
    1851             :     0,             /*nb_xor*/
    1852             :     0,             /*nb_or*/
    1853             : #if PY_VERSION_HEX < 0x03000000
    1854             :     0,   /*nb_coerce*/
    1855             : #endif
    1856             :     (unaryfunc)SwigPyObject_long, /*nb_int*/
    1857             : #if PY_VERSION_HEX < 0x03000000
    1858             :     (unaryfunc)SwigPyObject_long, /*nb_long*/
    1859             : #else
    1860             :     0, /*nb_reserved*/
    1861             : #endif
    1862             :     (unaryfunc)0,                 /*nb_float*/
    1863             : #if PY_VERSION_HEX < 0x03000000
    1864             :     (unaryfunc)SwigPyObject_oct,  /*nb_oct*/
    1865             :     (unaryfunc)SwigPyObject_hex,  /*nb_hex*/
    1866             : #endif
    1867             : #if PY_VERSION_HEX >= 0x03000000 /* 3.0 */
    1868             :     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index, nb_inplace_divide removed */
    1869             : #elif PY_VERSION_HEX >= 0x02050000 /* 2.5.0 */
    1870             :     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */
    1871             : #elif PY_VERSION_HEX >= 0x02020000 /* 2.2.0 */
    1872             :     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
    1873             : #elif PY_VERSION_HEX >= 0x02000000 /* 2.0.0 */
    1874             :     0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
    1875             : #endif
    1876             :   };
    1877             : 
    1878             :   static PyTypeObject swigpyobject_type;
    1879             :   static int type_init = 0;
    1880           0 :   if (!type_init) {
    1881             :     const PyTypeObject tmp = {
    1882             :       /* PyObject header changed in Python 3 */
    1883             : #if PY_VERSION_HEX >= 0x03000000
    1884             :       PyVarObject_HEAD_INIT(NULL, 0)
    1885             : #else
    1886             :       PyObject_HEAD_INIT(NULL)
    1887             :       0,                                    /* ob_size */
    1888             : #endif
    1889             :       (char *)"SwigPyObject",               /* tp_name */
    1890             :       sizeof(SwigPyObject),                 /* tp_basicsize */
    1891             :       0,                                    /* tp_itemsize */
    1892             :       (destructor)SwigPyObject_dealloc,     /* tp_dealloc */
    1893             :       0,                                    /* tp_print */
    1894             : #if PY_VERSION_HEX < 0x02020000
    1895             :       (getattrfunc)SwigPyObject_getattr,    /* tp_getattr */
    1896             : #else
    1897             :       (getattrfunc)0,                       /* tp_getattr */
    1898             : #endif
    1899             :       (setattrfunc)0,                       /* tp_setattr */
    1900             : #if PY_VERSION_HEX >= 0x03000000
    1901             :     0, /* tp_reserved in 3.0.1, tp_compare in 3.0.0 but not used */
    1902             : #else
    1903             :       (cmpfunc)SwigPyObject_compare,        /* tp_compare */
    1904             : #endif
    1905             :       (reprfunc)SwigPyObject_repr,          /* tp_repr */
    1906             :       &SwigPyObject_as_number,              /* tp_as_number */
    1907             :       0,                                    /* tp_as_sequence */
    1908             :       0,                                    /* tp_as_mapping */
    1909             :       (hashfunc)0,                          /* tp_hash */
    1910             :       (ternaryfunc)0,                       /* tp_call */
    1911             :       0,                                    /* tp_str */
    1912             :       PyObject_GenericGetAttr,              /* tp_getattro */
    1913             :       0,                                    /* tp_setattro */
    1914             :       0,                                    /* tp_as_buffer */
    1915             :       Py_TPFLAGS_DEFAULT,                   /* tp_flags */
    1916             :       swigobject_doc,                       /* tp_doc */
    1917             :       0,                                    /* tp_traverse */
    1918             :       0,                                    /* tp_clear */
    1919             :       (richcmpfunc)SwigPyObject_richcompare,/* tp_richcompare */
    1920             :       0,                                    /* tp_weaklistoffset */
    1921             : #if PY_VERSION_HEX >= 0x02020000
    1922             :       0,                                    /* tp_iter */
    1923             :       0,                                    /* tp_iternext */
    1924             :       swigobject_methods,                   /* tp_methods */
    1925             :       0,                                    /* tp_members */
    1926             :       0,                                    /* tp_getset */
    1927             :       0,                                    /* tp_base */
    1928             :       0,                                    /* tp_dict */
    1929             :       0,                                    /* tp_descr_get */
    1930             :       0,                                    /* tp_descr_set */
    1931             :       0,                                    /* tp_dictoffset */
    1932             :       0,                                    /* tp_init */
    1933             :       0,                                    /* tp_alloc */
    1934             :       0,                                    /* tp_new */
    1935             :       0,                                    /* tp_free */
    1936             :       0,                                    /* tp_is_gc */
    1937             :       0,                                    /* tp_bases */
    1938             :       0,                                    /* tp_mro */
    1939             :       0,                                    /* tp_cache */
    1940             :       0,                                    /* tp_subclasses */
    1941             :       0,                                    /* tp_weaklist */
    1942             : #endif
    1943             : #if PY_VERSION_HEX >= 0x02030000
    1944             :       0,                                    /* tp_del */
    1945             : #endif
    1946             : #if PY_VERSION_HEX >= 0x02060000
    1947             :       0,                                    /* tp_version */
    1948             : #endif
    1949             : #ifdef COUNT_ALLOCS
    1950             :       0,0,0,0                               /* tp_alloc -> tp_next */
    1951             : #endif
    1952             :     };
    1953           0 :     swigpyobject_type = tmp;
    1954           0 :     type_init = 1;
    1955             : #if PY_VERSION_HEX < 0x02020000
    1956             :     swigpyobject_type.ob_type = &PyType_Type;
    1957             : #else
    1958           0 :     if (PyType_Ready(&swigpyobject_type) < 0)
    1959           0 :       return NULL;
    1960             : #endif
    1961             :   }
    1962           0 :   return &swigpyobject_type;
    1963             : }
    1964             : 
    1965             : SWIGRUNTIME PyObject *
    1966           0 : SwigPyObject_New(void *ptr, swig_type_info *ty, int own)
    1967             : {
    1968           0 :   SwigPyObject *sobj = PyObject_NEW(SwigPyObject, SwigPyObject_type());
    1969           0 :   if (sobj) {
    1970           0 :     sobj->ptr  = ptr;
    1971           0 :     sobj->ty   = ty;
    1972           0 :     sobj->own  = own;
    1973           0 :     sobj->next = 0;
    1974             :   }
    1975           0 :   return (PyObject *)sobj;
    1976             : }
    1977             : 
    1978             : /* -----------------------------------------------------------------------------
    1979             :  * Implements a simple Swig Packed type, and use it instead of string
    1980             :  * ----------------------------------------------------------------------------- */
    1981             : 
    1982             : typedef struct {
    1983             :   PyObject_HEAD
    1984             :   void *pack;
    1985             :   swig_type_info *ty;
    1986             :   size_t size;
    1987             : } SwigPyPacked;
    1988             : 
    1989             : SWIGRUNTIME int
    1990           0 : SwigPyPacked_print(SwigPyPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
    1991             : {
    1992             :   char result[SWIG_BUFFER_SIZE];
    1993           0 :   fputs("<Swig Packed ", fp); 
    1994           0 :   if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
    1995           0 :     fputs("at ", fp); 
    1996           0 :     fputs(result, fp); 
    1997             :   }
    1998           0 :   fputs(v->ty->name,fp); 
    1999           0 :   fputs(">", fp);
    2000           0 :   return 0; 
    2001             : }
    2002             :   
    2003             : SWIGRUNTIME PyObject *
    2004           0 : SwigPyPacked_repr(SwigPyPacked *v)
    2005             : {
    2006             :   char result[SWIG_BUFFER_SIZE];
    2007           0 :   if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
    2008           0 :     return SWIG_Python_str_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
    2009             :   } else {
    2010           0 :     return SWIG_Python_str_FromFormat("<Swig Packed %s>", v->ty->name);
    2011             :   }  
    2012             : }
    2013             : 
    2014             : SWIGRUNTIME PyObject *
    2015           0 : SwigPyPacked_str(SwigPyPacked *v)
    2016             : {
    2017             :   char result[SWIG_BUFFER_SIZE];
    2018           0 :   if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
    2019           0 :     return SWIG_Python_str_FromFormat("%s%s", result, v->ty->name);
    2020             :   } else {
    2021           0 :     return SWIG_Python_str_FromChar(v->ty->name);
    2022             :   }  
    2023             : }
    2024             : 
    2025             : SWIGRUNTIME int
    2026           0 : SwigPyPacked_compare(SwigPyPacked *v, SwigPyPacked *w)
    2027             : {
    2028           0 :   size_t i = v->size;
    2029           0 :   size_t j = w->size;
    2030           0 :   int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
    2031           0 :   return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
    2032             : }
    2033             : 
    2034             : SWIGRUNTIME PyTypeObject* SwigPyPacked_TypeOnce(void);
    2035             : 
    2036             : SWIGRUNTIME PyTypeObject*
    2037           0 : SwigPyPacked_type(void) {
    2038           0 :   static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyPacked_TypeOnce();
    2039           0 :   return type;
    2040             : }
    2041             : 
    2042             : SWIGRUNTIMEINLINE int
    2043           0 : SwigPyPacked_Check(PyObject *op) {
    2044           0 :   return ((op)->ob_type == SwigPyPacked_TypeOnce()) 
    2045           0 :     || (strcmp((op)->ob_type->tp_name,"SwigPyPacked") == 0);
    2046             : }
    2047             : 
    2048             : SWIGRUNTIME void
    2049           0 : SwigPyPacked_dealloc(PyObject *v)
    2050             : {
    2051           0 :   if (SwigPyPacked_Check(v)) {
    2052           0 :     SwigPyPacked *sobj = (SwigPyPacked *) v;
    2053           0 :     free(sobj->pack);
    2054             :   }
    2055           0 :   PyObject_DEL(v);
    2056           0 : }
    2057             : 
    2058             : SWIGRUNTIME PyTypeObject*
    2059           0 : SwigPyPacked_TypeOnce(void) {
    2060             :   static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
    2061             :   static PyTypeObject swigpypacked_type;
    2062             :   static int type_init = 0;
    2063           0 :   if (!type_init) {
    2064             :     const PyTypeObject tmp = {
    2065             :       /* PyObject header changed in Python 3 */
    2066             : #if PY_VERSION_HEX>=0x03000000
    2067             :       PyVarObject_HEAD_INIT(NULL, 0)
    2068             : #else
    2069             :       PyObject_HEAD_INIT(NULL)
    2070             :       0,                                    /* ob_size */
    2071             : #endif
    2072             :       (char *)"SwigPyPacked",               /* tp_name */
    2073             :       sizeof(SwigPyPacked),                 /* tp_basicsize */
    2074             :       0,                                    /* tp_itemsize */
    2075             :       (destructor)SwigPyPacked_dealloc,     /* tp_dealloc */
    2076             :       (printfunc)SwigPyPacked_print,        /* tp_print */
    2077             :       (getattrfunc)0,                       /* tp_getattr */
    2078             :       (setattrfunc)0,                       /* tp_setattr */
    2079             : #if PY_VERSION_HEX>=0x03000000
    2080             :       0, /* tp_reserved in 3.0.1 */
    2081             : #else
    2082             :       (cmpfunc)SwigPyPacked_compare,        /* tp_compare */
    2083             : #endif
    2084             :       (reprfunc)SwigPyPacked_repr,          /* tp_repr */
    2085             :       0,                                    /* tp_as_number */
    2086             :       0,                                    /* tp_as_sequence */
    2087             :       0,                                    /* tp_as_mapping */
    2088             :       (hashfunc)0,                          /* tp_hash */
    2089             :       (ternaryfunc)0,                       /* tp_call */
    2090             :       (reprfunc)SwigPyPacked_str,           /* tp_str */
    2091             :       PyObject_GenericGetAttr,              /* tp_getattro */
    2092             :       0,                                    /* tp_setattro */
    2093             :       0,                                    /* tp_as_buffer */
    2094             :       Py_TPFLAGS_DEFAULT,                   /* tp_flags */
    2095             :       swigpacked_doc,                       /* tp_doc */
    2096             :       0,                                    /* tp_traverse */
    2097             :       0,                                    /* tp_clear */
    2098             :       0,                                    /* tp_richcompare */
    2099             :       0,                                    /* tp_weaklistoffset */
    2100             : #if PY_VERSION_HEX >= 0x02020000
    2101             :       0,                                    /* tp_iter */
    2102             :       0,                                    /* tp_iternext */
    2103             :       0,                                    /* tp_methods */
    2104             :       0,                                    /* tp_members */
    2105             :       0,                                    /* tp_getset */
    2106             :       0,                                    /* tp_base */
    2107             :       0,                                    /* tp_dict */
    2108             :       0,                                    /* tp_descr_get */
    2109             :       0,                                    /* tp_descr_set */
    2110             :       0,                                    /* tp_dictoffset */
    2111             :       0,                                    /* tp_init */
    2112             :       0,                                    /* tp_alloc */
    2113             :       0,                                    /* tp_new */
    2114             :       0,                                    /* tp_free */
    2115             :       0,                                    /* tp_is_gc */
    2116             :       0,                                    /* tp_bases */
    2117             :       0,                                    /* tp_mro */
    2118             :       0,                                    /* tp_cache */
    2119             :       0,                                    /* tp_subclasses */
    2120             :       0,                                    /* tp_weaklist */
    2121             : #endif
    2122             : #if PY_VERSION_HEX >= 0x02030000
    2123             :       0,                                    /* tp_del */
    2124             : #endif
    2125             : #if PY_VERSION_HEX >= 0x02060000
    2126             :       0,                                    /* tp_version */
    2127             : #endif
    2128             : #ifdef COUNT_ALLOCS
    2129             :       0,0,0,0                               /* tp_alloc -> tp_next */
    2130             : #endif
    2131             :     };
    2132           0 :     swigpypacked_type = tmp;
    2133           0 :     type_init = 1;
    2134             : #if PY_VERSION_HEX < 0x02020000
    2135             :     swigpypacked_type.ob_type = &PyType_Type;
    2136             : #else
    2137           0 :     if (PyType_Ready(&swigpypacked_type) < 0)
    2138           0 :       return NULL;
    2139             : #endif
    2140             :   }
    2141           0 :   return &swigpypacked_type;
    2142             : }
    2143             : 
    2144             : SWIGRUNTIME PyObject *
    2145           0 : SwigPyPacked_New(void *ptr, size_t size, swig_type_info *ty)
    2146             : {
    2147           0 :   SwigPyPacked *sobj = PyObject_NEW(SwigPyPacked, SwigPyPacked_type());
    2148           0 :   if (sobj) {
    2149           0 :     void *pack = malloc(size);
    2150           0 :     if (pack) {
    2151           0 :       memcpy(pack, ptr, size);
    2152           0 :       sobj->pack = pack;
    2153           0 :       sobj->ty   = ty;
    2154           0 :       sobj->size = size;
    2155             :     } else {
    2156           0 :       PyObject_DEL((PyObject *) sobj);
    2157           0 :       sobj = 0;
    2158             :     }
    2159             :   }
    2160           0 :   return (PyObject *) sobj;
    2161             : }
    2162             : 
    2163             : SWIGRUNTIME swig_type_info *
    2164           0 : SwigPyPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
    2165             : {
    2166           0 :   if (SwigPyPacked_Check(obj)) {
    2167           0 :     SwigPyPacked *sobj = (SwigPyPacked *)obj;
    2168           0 :     if (sobj->size != size) return 0;
    2169           0 :     memcpy(ptr, sobj->pack, size);
    2170           0 :     return sobj->ty;
    2171             :   } else {
    2172           0 :     return 0;
    2173             :   }
    2174             : }
    2175             : 
    2176             : /* -----------------------------------------------------------------------------
    2177             :  * pointers/data manipulation
    2178             :  * ----------------------------------------------------------------------------- */
    2179             : 
    2180             : SWIGRUNTIMEINLINE PyObject *
    2181           1 : _SWIG_This(void)
    2182             : {
    2183           1 :     return SWIG_Python_str_FromChar("this");
    2184             : }
    2185             : 
    2186             : static PyObject *swig_this = NULL;
    2187             : 
    2188             : SWIGRUNTIME PyObject *
    2189           3 : SWIG_This(void)
    2190             : {
    2191           3 :   if (swig_this == NULL)
    2192           1 :     swig_this = _SWIG_This();
    2193           3 :   return swig_this;
    2194             : }
    2195             : 
    2196             : /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
    2197             : 
    2198             : /* TODO: I don't know how to implement the fast getset in Python 3 right now */
    2199             : #if PY_VERSION_HEX>=0x03000000
    2200             : #define SWIG_PYTHON_SLOW_GETSET_THIS 
    2201             : #endif
    2202             : 
    2203             : SWIGRUNTIME SwigPyObject *
    2204           0 : SWIG_Python_GetSwigThis(PyObject *pyobj) 
    2205             : {
    2206             :   PyObject *obj;
    2207             : 
    2208           0 :   if (SwigPyObject_Check(pyobj))
    2209           0 :     return (SwigPyObject *) pyobj;
    2210             : 
    2211             : #ifdef SWIGPYTHON_BUILTIN
    2212             :   (void)obj;
    2213             : # ifdef PyWeakref_CheckProxy
    2214             :   if (PyWeakref_CheckProxy(pyobj)) {
    2215             :     pyobj = PyWeakref_GET_OBJECT(pyobj);
    2216             :     if (pyobj && SwigPyObject_Check(pyobj))
    2217             :       return (SwigPyObject*) pyobj;
    2218             :   }
    2219             : # endif
    2220             :   return NULL;
    2221             : #else
    2222             : 
    2223           0 :   obj = 0;
    2224             : 
    2225             : #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
    2226           0 :   if (PyInstance_Check(pyobj)) {
    2227           0 :     obj = _PyInstance_Lookup(pyobj, SWIG_This());      
    2228             :   } else {
    2229           0 :     PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
    2230           0 :     if (dictptr != NULL) {
    2231           0 :       PyObject *dict = *dictptr;
    2232           0 :       obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
    2233             :     } else {
    2234             : #ifdef PyWeakref_CheckProxy
    2235           0 :       if (PyWeakref_CheckProxy(pyobj)) {
    2236           0 :         PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
    2237           0 :         return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
    2238             :       }
    2239             : #endif
    2240           0 :       obj = PyObject_GetAttr(pyobj,SWIG_This());
    2241           0 :       if (obj) {
    2242           0 :         Py_DECREF(obj);
    2243             :       } else {
    2244           0 :         if (PyErr_Occurred()) PyErr_Clear();
    2245           0 :         return 0;
    2246             :       }
    2247             :     }
    2248             :   }
    2249             : #else
    2250             :   obj = PyObject_GetAttr(pyobj,SWIG_This());
    2251             :   if (obj) {
    2252             :     Py_DECREF(obj);
    2253             :   } else {
    2254             :     if (PyErr_Occurred()) PyErr_Clear();
    2255             :     return 0;
    2256             :   }
    2257             : #endif
    2258           0 :   if (obj && !SwigPyObject_Check(obj)) {
    2259             :     /* a PyObject is called 'this', try to get the 'real this'
    2260             :        SwigPyObject from it */ 
    2261           0 :     return SWIG_Python_GetSwigThis(obj);
    2262             :   }
    2263           0 :   return (SwigPyObject *)obj;
    2264             : #endif
    2265             : }
    2266             : 
    2267             : /* Acquire a pointer value */
    2268             : 
    2269             : SWIGRUNTIME int
    2270           0 : SWIG_Python_AcquirePtr(PyObject *obj, int own) {
    2271           0 :   if (own == SWIG_POINTER_OWN) {
    2272           0 :     SwigPyObject *sobj = SWIG_Python_GetSwigThis(obj);
    2273           0 :     if (sobj) {
    2274           0 :       int oldown = sobj->own;
    2275           0 :       sobj->own = own;
    2276           0 :       return oldown;
    2277             :     }
    2278             :   }
    2279           0 :   return 0;
    2280             : }
    2281             : 
    2282             : /* Convert a pointer value */
    2283             : 
    2284             : SWIGRUNTIME int
    2285           0 : SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
    2286             :   int res;
    2287             :   SwigPyObject *sobj;
    2288           0 :   int implicit_conv = (flags & SWIG_POINTER_IMPLICIT_CONV) != 0;
    2289             : 
    2290           0 :   if (!obj)
    2291           0 :     return SWIG_ERROR;
    2292           0 :   if (obj == Py_None && !implicit_conv) {
    2293           0 :     if (ptr)
    2294           0 :       *ptr = 0;
    2295           0 :     return SWIG_OK;
    2296             :   }
    2297             : 
    2298           0 :   res = SWIG_ERROR;
    2299             : 
    2300           0 :   sobj = SWIG_Python_GetSwigThis(obj);
    2301           0 :   if (own)
    2302           0 :     *own = 0;
    2303           0 :   while (sobj) {
    2304           0 :     void *vptr = sobj->ptr;
    2305           0 :     if (ty) {
    2306           0 :       swig_type_info *to = sobj->ty;
    2307           0 :       if (to == ty) {
    2308             :         /* no type cast needed */
    2309           0 :         if (ptr) *ptr = vptr;
    2310           0 :         break;
    2311             :       } else {
    2312           0 :         swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
    2313           0 :         if (!tc) {
    2314           0 :           sobj = (SwigPyObject *)sobj->next;
    2315             :         } else {
    2316           0 :           if (ptr) {
    2317           0 :             int newmemory = 0;
    2318           0 :             *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
    2319           0 :             if (newmemory == SWIG_CAST_NEW_MEMORY) {
    2320           0 :               assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */
    2321           0 :               if (own)
    2322           0 :                 *own = *own | SWIG_CAST_NEW_MEMORY;
    2323             :             }
    2324             :           }
    2325           0 :           break;
    2326             :         }
    2327             :       }
    2328             :     } else {
    2329           0 :       if (ptr) *ptr = vptr;
    2330           0 :       break;
    2331             :     }
    2332             :   }
    2333           0 :   if (sobj) {
    2334           0 :     if (own)
    2335           0 :       *own = *own | sobj->own;
    2336           0 :     if (flags & SWIG_POINTER_DISOWN) {
    2337           0 :       sobj->own = 0;
    2338             :     }
    2339           0 :     res = SWIG_OK;
    2340             :   } else {
    2341           0 :     if (implicit_conv) {
    2342           0 :       SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0;
    2343           0 :       if (data && !data->implicitconv) {
    2344           0 :         PyObject *klass = data->klass;
    2345           0 :         if (klass) {
    2346             :           PyObject *impconv;
    2347           0 :           data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
    2348           0 :           impconv = SWIG_Python_CallFunctor(klass, obj);
    2349           0 :           data->implicitconv = 0;
    2350           0 :           if (PyErr_Occurred()) {
    2351           0 :             PyErr_Clear();
    2352           0 :             impconv = 0;
    2353             :           }
    2354           0 :           if (impconv) {
    2355           0 :             SwigPyObject *iobj = SWIG_Python_GetSwigThis(impconv);
    2356           0 :             if (iobj) {
    2357             :               void *vptr;
    2358           0 :               res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
    2359           0 :               if (SWIG_IsOK(res)) {
    2360           0 :                 if (ptr) {
    2361           0 :                   *ptr = vptr;
    2362             :                   /* transfer the ownership to 'ptr' */
    2363           0 :                   iobj->own = 0;
    2364           0 :                   res = SWIG_AddCast(res);
    2365           0 :                   res = SWIG_AddNewMask(res);
    2366             :                 } else {
    2367           0 :                   res = SWIG_AddCast(res);                  
    2368             :                 }
    2369             :               }
    2370             :             }
    2371           0 :             Py_DECREF(impconv);
    2372             :           }
    2373             :         }
    2374             :       }
    2375             :     }
    2376           0 :     if (!SWIG_IsOK(res) && obj == Py_None) {
    2377           0 :       if (ptr)
    2378           0 :         *ptr = 0;
    2379           0 :       if (PyErr_Occurred())
    2380           0 :         PyErr_Clear();
    2381           0 :       res = SWIG_OK;
    2382             :     }
    2383             :   }
    2384           0 :   return res;
    2385             : }
    2386             : 
    2387             : /* Convert a function ptr value */
    2388             : 
    2389             : SWIGRUNTIME int
    2390           0 : SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
    2391           0 :   if (!PyCFunction_Check(obj)) {
    2392           0 :     return SWIG_ConvertPtr(obj, ptr, ty, 0);
    2393             :   } else {
    2394           0 :     void *vptr = 0;
    2395             :     
    2396             :     /* here we get the method pointer for callbacks */
    2397           0 :     const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
    2398           0 :     const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
    2399           0 :     if (desc)
    2400           0 :       desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
    2401           0 :     if (!desc) 
    2402           0 :       return SWIG_ERROR;
    2403           0 :     if (ty) {
    2404           0 :       swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
    2405           0 :       if (tc) {
    2406           0 :         int newmemory = 0;
    2407           0 :         *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
    2408           0 :         assert(!newmemory); /* newmemory handling not yet implemented */
    2409             :       } else {
    2410           0 :         return SWIG_ERROR;
    2411             :       }
    2412             :     } else {
    2413           0 :       *ptr = vptr;
    2414             :     }
    2415           0 :     return SWIG_OK;
    2416             :   }
    2417             : }
    2418             : 
    2419             : /* Convert a packed value value */
    2420             : 
    2421             : SWIGRUNTIME int
    2422           0 : SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
    2423           0 :   swig_type_info *to = SwigPyPacked_UnpackData(obj, ptr, sz);
    2424           0 :   if (!to) return SWIG_ERROR;
    2425           0 :   if (ty) {
    2426           0 :     if (to != ty) {
    2427             :       /* check type cast? */
    2428           0 :       swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
    2429           0 :       if (!tc) return SWIG_ERROR;
    2430             :     }
    2431             :   }
    2432           0 :   return SWIG_OK;
    2433             : }  
    2434             : 
    2435             : /* -----------------------------------------------------------------------------
    2436             :  * Create a new pointer object
    2437             :  * ----------------------------------------------------------------------------- */
    2438             : 
    2439             : /*
    2440             :   Create a new instance object, without calling __init__, and set the
    2441             :   'this' attribute.
    2442             : */
    2443             : 
    2444             : SWIGRUNTIME PyObject* 
    2445           0 : SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this)
    2446             : {
    2447             : #if (PY_VERSION_HEX >= 0x02020000)
    2448           0 :   PyObject *inst = 0;
    2449           0 :   PyObject *newraw = data->newraw;
    2450           0 :   if (newraw) {
    2451           0 :     inst = PyObject_Call(newraw, data->newargs, NULL);
    2452           0 :     if (inst) {
    2453             : #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
    2454           0 :       PyObject **dictptr = _PyObject_GetDictPtr(inst);
    2455           0 :       if (dictptr != NULL) {
    2456           0 :         PyObject *dict = *dictptr;
    2457           0 :         if (dict == NULL) {
    2458           0 :           dict = PyDict_New();
    2459           0 :           *dictptr = dict;
    2460           0 :           PyDict_SetItem(dict, SWIG_This(), swig_this);
    2461             :         }
    2462             :       }
    2463             : #else
    2464             :       PyObject *key = SWIG_This();
    2465             :       PyObject_SetAttr(inst, key, swig_this);
    2466             : #endif
    2467             :     }
    2468             :   } else {
    2469             : #if PY_VERSION_HEX >= 0x03000000
    2470             :     inst = ((PyTypeObject*) data->newargs)->tp_new((PyTypeObject*) data->newargs, Py_None, Py_None);
    2471             :     if (inst) {
    2472             :       PyObject_SetAttr(inst, SWIG_This(), swig_this);
    2473             :       Py_TYPE(inst)->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG;
    2474             :     }
    2475             : #else
    2476           0 :     PyObject *dict = PyDict_New();
    2477           0 :     if (dict) {
    2478           0 :       PyDict_SetItem(dict, SWIG_This(), swig_this);
    2479           0 :       inst = PyInstance_NewRaw(data->newargs, dict);
    2480           0 :       Py_DECREF(dict);
    2481             :     }
    2482             : #endif
    2483             :   }
    2484           0 :   return inst;
    2485             : #else
    2486             : #if (PY_VERSION_HEX >= 0x02010000)
    2487             :   PyObject *inst = 0;
    2488             :   PyObject *dict = PyDict_New();
    2489             :   if (dict) {
    2490             :     PyDict_SetItem(dict, SWIG_This(), swig_this);
    2491             :     inst = PyInstance_NewRaw(data->newargs, dict);
    2492             :     Py_DECREF(dict);
    2493             :   }
    2494             :   return (PyObject *) inst;
    2495             : #else
    2496             :   PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
    2497             :   if (inst == NULL) {
    2498             :     return NULL;
    2499             :   }
    2500             :   inst->in_class = (PyClassObject *)data->newargs;
    2501             :   Py_INCREF(inst->in_class);
    2502             :   inst->in_dict = PyDict_New();
    2503             :   if (inst->in_dict == NULL) {
    2504             :     Py_DECREF(inst);
    2505             :     return NULL;
    2506             :   }
    2507             : #ifdef Py_TPFLAGS_HAVE_WEAKREFS
    2508             :   inst->in_weakreflist = NULL;
    2509             : #endif
    2510             : #ifdef Py_TPFLAGS_GC
    2511             :   PyObject_GC_Init(inst);
    2512             : #endif
    2513             :   PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
    2514             :   return (PyObject *) inst;
    2515             : #endif
    2516             : #endif
    2517             : }
    2518             : 
    2519             : SWIGRUNTIME void
    2520           0 : SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
    2521             : {
    2522             :  PyObject *dict;
    2523             : #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
    2524           0 :  PyObject **dictptr = _PyObject_GetDictPtr(inst);
    2525           0 :  if (dictptr != NULL) {
    2526           0 :    dict = *dictptr;
    2527           0 :    if (dict == NULL) {
    2528           0 :      dict = PyDict_New();
    2529           0 :      *dictptr = dict;
    2530             :    }
    2531           0 :    PyDict_SetItem(dict, SWIG_This(), swig_this);
    2532           0 :    return;
    2533             :  }
    2534             : #endif
    2535           0 :  dict = PyObject_GetAttrString(inst, (char*)"__dict__");
    2536           0 :  PyDict_SetItem(dict, SWIG_This(), swig_this);
    2537           0 :  Py_DECREF(dict);
    2538             : } 
    2539             : 
    2540             : 
    2541             : SWIGINTERN PyObject *
    2542           0 : SWIG_Python_InitShadowInstance(PyObject *args) {
    2543             :   PyObject *obj[2];
    2544           0 :   if (!SWIG_Python_UnpackTuple(args, "swiginit", 2, 2, obj)) {
    2545           0 :     return NULL;
    2546             :   } else {
    2547           0 :     SwigPyObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
    2548           0 :     if (sthis) {
    2549           0 :       SwigPyObject_append((PyObject*) sthis, obj[1]);
    2550             :     } else {
    2551           0 :       SWIG_Python_SetSwigThis(obj[0], obj[1]);
    2552             :     }
    2553           0 :     return SWIG_Py_Void();
    2554             :   }
    2555             : }
    2556             : 
    2557             : /* Create a new pointer object */
    2558             : 
    2559             : SWIGRUNTIME PyObject *
    2560           0 : SWIG_Python_NewPointerObj(PyObject *self, void *ptr, swig_type_info *type, int flags) {
    2561             :   SwigPyClientData *clientdata;
    2562             :   PyObject * robj;
    2563             :   int own;
    2564             : 
    2565           0 :   if (!ptr)
    2566           0 :     return SWIG_Py_Void();
    2567             : 
    2568           0 :   clientdata = type ? (SwigPyClientData *)(type->clientdata) : 0;
    2569           0 :   own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
    2570           0 :   if (clientdata && clientdata->pytype) {
    2571             :     SwigPyObject *newobj;
    2572           0 :     if (flags & SWIG_BUILTIN_TP_INIT) {
    2573           0 :       newobj = (SwigPyObject*) self;
    2574           0 :       if (newobj->ptr) {
    2575           0 :         PyObject *next_self = clientdata->pytype->tp_alloc(clientdata->pytype, 0);
    2576           0 :         while (newobj->next)
    2577           0 :           newobj = (SwigPyObject *) newobj->next;
    2578           0 :         newobj->next = next_self;
    2579           0 :         newobj = (SwigPyObject *)next_self;
    2580             : #ifdef SWIGPYTHON_BUILTIN
    2581             :         newobj->dict = 0;
    2582             : #endif
    2583             :       }
    2584             :     } else {
    2585           0 :       newobj = PyObject_New(SwigPyObject, clientdata->pytype);
    2586             : #ifdef SWIGPYTHON_BUILTIN
    2587             :       newobj->dict = 0;
    2588             : #endif
    2589             :     }
    2590           0 :     if (newobj) {
    2591           0 :       newobj->ptr = ptr;
    2592           0 :       newobj->ty = type;
    2593           0 :       newobj->own = own;
    2594           0 :       newobj->next = 0;
    2595           0 :       return (PyObject*) newobj;
    2596             :     }
    2597           0 :     return SWIG_Py_Void();
    2598             :   }
    2599             : 
    2600           0 :   assert(!(flags & SWIG_BUILTIN_TP_INIT));
    2601             : 
    2602           0 :   robj = SwigPyObject_New(ptr, type, own);
    2603           0 :   if (robj && clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
    2604           0 :     PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
    2605           0 :     Py_DECREF(robj);
    2606           0 :     robj = inst;
    2607             :   }
    2608           0 :   return robj;
    2609             : }
    2610             : 
    2611             : /* Create a new packed object */
    2612             : 
    2613             : SWIGRUNTIMEINLINE PyObject *
    2614           0 : SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
    2615           0 :   return ptr ? SwigPyPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
    2616             : }
    2617             : 
    2618             : /* -----------------------------------------------------------------------------*
    2619             :  *  Get type list 
    2620             :  * -----------------------------------------------------------------------------*/
    2621             : 
    2622             : #ifdef SWIG_LINK_RUNTIME
    2623             : void *SWIG_ReturnGlobalTypeList(void *);
    2624             : #endif
    2625             : 
    2626             : SWIGRUNTIME swig_module_info *
    2627           1 : SWIG_Python_GetModule(void *SWIGUNUSEDPARM(clientdata)) {
    2628             :   static void *type_pointer = (void *)0;
    2629             :   /* first check if module already created */
    2630           1 :   if (!type_pointer) {
    2631             : #ifdef SWIG_LINK_RUNTIME
    2632             :     type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
    2633             : #else
    2634             : # ifdef SWIGPY_USE_CAPSULE
    2635           1 :     type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0);
    2636             : # else
    2637             :     type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
    2638             :                                     (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
    2639             : # endif
    2640           1 :     if (PyErr_Occurred()) {
    2641           1 :       PyErr_Clear();
    2642           1 :       type_pointer = (void *)0;
    2643             :     }
    2644             : #endif
    2645             :   }
    2646           1 :   return (swig_module_info *) type_pointer;
    2647             : }
    2648             : 
    2649             : #if PY_MAJOR_VERSION < 2
    2650             : /* PyModule_AddObject function was introduced in Python 2.0.  The following function
    2651             :    is copied out of Python/modsupport.c in python version 2.3.4 */
    2652             : SWIGINTERN int
    2653             : PyModule_AddObject(PyObject *m, char *name, PyObject *o)
    2654             : {
    2655             :   PyObject *dict;
    2656             :   if (!PyModule_Check(m)) {
    2657             :     PyErr_SetString(PyExc_TypeError,
    2658             :                     "PyModule_AddObject() needs module as first arg");
    2659             :     return SWIG_ERROR;
    2660             :   }
    2661             :   if (!o) {
    2662             :     PyErr_SetString(PyExc_TypeError,
    2663             :                     "PyModule_AddObject() needs non-NULL value");
    2664             :     return SWIG_ERROR;
    2665             :   }
    2666             :   
    2667             :   dict = PyModule_GetDict(m);
    2668             :   if (dict == NULL) {
    2669             :     /* Internal error -- modules must have a dict! */
    2670             :     PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
    2671             :                  PyModule_GetName(m));
    2672             :     return SWIG_ERROR;
    2673             :   }
    2674             :   if (PyDict_SetItemString(dict, name, o))
    2675             :     return SWIG_ERROR;
    2676             :   Py_DECREF(o);
    2677             :   return SWIG_OK;
    2678             : }
    2679             : #endif
    2680             : 
    2681             : SWIGRUNTIME void
    2682             : #ifdef SWIGPY_USE_CAPSULE
    2683           1 : SWIG_Python_DestroyModule(PyObject *obj)
    2684             : #else
    2685             : SWIG_Python_DestroyModule(void *vptr)
    2686             : #endif
    2687             : {
    2688             : #ifdef SWIGPY_USE_CAPSULE
    2689           1 :   swig_module_info *swig_module = (swig_module_info *) PyCapsule_GetPointer(obj, SWIGPY_CAPSULE_NAME);
    2690             : #else
    2691             :   swig_module_info *swig_module = (swig_module_info *) vptr;
    2692             : #endif
    2693           1 :   swig_type_info **types = swig_module->types;
    2694             :   size_t i;
    2695          20 :   for (i =0; i < swig_module->size; ++i) {
    2696          19 :     swig_type_info *ty = types[i];
    2697          19 :     if (ty->owndata) {
    2698           5 :       SwigPyClientData *data = (SwigPyClientData *) ty->clientdata;
    2699           5 :       if (data) SwigPyClientData_Del(data);
    2700             :     }
    2701             :   }
    2702           1 :   Py_DECREF(SWIG_This());
    2703           1 :   swig_this = NULL;
    2704           1 : }
    2705             : 
    2706             : SWIGRUNTIME void
    2707           1 : SWIG_Python_SetModule(swig_module_info *swig_module) {
    2708             : #if PY_VERSION_HEX >= 0x03000000
    2709             :  /* Add a dummy module object into sys.modules */
    2710             :   PyObject *module = PyImport_AddModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION);
    2711             : #else
    2712             :   static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} }; /* Sentinel */
    2713           1 :   PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, swig_empty_runtime_method_table);
    2714             : #endif
    2715             : #ifdef SWIGPY_USE_CAPSULE
    2716           1 :   PyObject *pointer = PyCapsule_New((void *) swig_module, SWIGPY_CAPSULE_NAME, SWIG_Python_DestroyModule);
    2717           1 :   if (pointer && module) {
    2718           1 :     PyModule_AddObject(module, (char*)"type_pointer_capsule" SWIG_TYPE_TABLE_NAME, pointer);
    2719             :   } else {
    2720           0 :     Py_XDECREF(pointer);
    2721             :   }
    2722             : #else
    2723             :   PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
    2724             :   if (pointer && module) {
    2725             :     PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
    2726             :   } else {
    2727             :     Py_XDECREF(pointer);
    2728             :   }
    2729             : #endif
    2730           1 : }
    2731             : 
    2732             : /* The python cached type query */
    2733             : SWIGRUNTIME PyObject *
    2734           0 : SWIG_Python_TypeCache(void) {
    2735           0 :   static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
    2736           0 :   return cache;
    2737             : }
    2738             : 
    2739             : SWIGRUNTIME swig_type_info *
    2740           0 : SWIG_Python_TypeQuery(const char *type)
    2741             : {
    2742           0 :   PyObject *cache = SWIG_Python_TypeCache();
    2743           0 :   PyObject *key = SWIG_Python_str_FromChar(type); 
    2744           0 :   PyObject *obj = PyDict_GetItem(cache, key);
    2745             :   swig_type_info *descriptor;
    2746           0 :   if (obj) {
    2747             : #ifdef SWIGPY_USE_CAPSULE
    2748           0 :     descriptor = (swig_type_info *) PyCapsule_GetPointer(obj, NULL);
    2749             : #else
    2750             :     descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
    2751             : #endif
    2752             :   } else {
    2753           0 :     swig_module_info *swig_module = SWIG_GetModule(0);
    2754           0 :     descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
    2755           0 :     if (descriptor) {
    2756             : #ifdef SWIGPY_USE_CAPSULE
    2757           0 :       obj = PyCapsule_New((void*) descriptor, NULL, NULL);
    2758             : #else
    2759             :       obj = PyCObject_FromVoidPtr(descriptor, NULL);
    2760             : #endif
    2761           0 :       PyDict_SetItem(cache, key, obj);
    2762           0 :       Py_DECREF(obj);
    2763             :     }
    2764             :   }
    2765           0 :   Py_DECREF(key);
    2766           0 :   return descriptor;
    2767             : }
    2768             : 
    2769             : /* 
    2770             :    For backward compatibility only
    2771             : */
    2772             : #define SWIG_POINTER_EXCEPTION  0
    2773             : #define SWIG_arg_fail(arg)      SWIG_Python_ArgFail(arg)
    2774             : #define SWIG_MustGetPtr(p, type, argnum, flags)  SWIG_Python_MustGetPtr(p, type, argnum, flags)
    2775             : 
    2776             : SWIGRUNTIME int
    2777           0 : SWIG_Python_AddErrMesg(const char* mesg, int infront)
    2778             : {  
    2779           0 :   if (PyErr_Occurred()) {
    2780           0 :     PyObject *type = 0;
    2781           0 :     PyObject *value = 0;
    2782           0 :     PyObject *traceback = 0;
    2783           0 :     PyErr_Fetch(&type, &value, &traceback);
    2784           0 :     if (value) {
    2785             :       char *tmp;
    2786           0 :       PyObject *old_str = PyObject_Str(value);
    2787           0 :       Py_XINCREF(type);
    2788           0 :       PyErr_Clear();
    2789           0 :       if (infront) {
    2790           0 :         PyErr_Format(type, "%s %s", mesg, tmp = SWIG_Python_str_AsChar(old_str));
    2791             :       } else {
    2792           0 :         PyErr_Format(type, "%s %s", tmp = SWIG_Python_str_AsChar(old_str), mesg);
    2793             :       }
    2794             :       SWIG_Python_str_DelForPy3(tmp);
    2795           0 :       Py_DECREF(old_str);
    2796             :     }
    2797           0 :     return 1;
    2798             :   } else {
    2799           0 :     return 0;
    2800             :   }
    2801             : }
    2802             :   
    2803             : SWIGRUNTIME int
    2804           0 : SWIG_Python_ArgFail(int argnum)
    2805             : {
    2806           0 :   if (PyErr_Occurred()) {
    2807             :     /* add information about failing argument */
    2808             :     char mesg[256];
    2809           0 :     PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
    2810           0 :     return SWIG_Python_AddErrMesg(mesg, 1);
    2811             :   } else {
    2812           0 :     return 0;
    2813             :   }
    2814             : }
    2815             : 
    2816             : SWIGRUNTIMEINLINE const char *
    2817             : SwigPyObject_GetDesc(PyObject *self)
    2818             : {
    2819             :   SwigPyObject *v = (SwigPyObject *)self;
    2820             :   swig_type_info *ty = v ? v->ty : 0;
    2821             :   return ty ? ty->str : "";
    2822             : }
    2823             : 
    2824             : SWIGRUNTIME void
    2825           0 : SWIG_Python_TypeError(const char *type, PyObject *obj)
    2826             : {
    2827           0 :   if (type) {
    2828             : #if defined(SWIG_COBJECT_TYPES)
    2829             :     if (obj && SwigPyObject_Check(obj)) {
    2830             :       const char *otype = (const char *) SwigPyObject_GetDesc(obj);
    2831             :       if (otype) {
    2832             :         PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'SwigPyObject(%s)' is received",
    2833             :                      type, otype);
    2834             :         return;
    2835             :       }
    2836             :     } else 
    2837             : #endif      
    2838             :     {
    2839           0 :       const char *otype = (obj ? obj->ob_type->tp_name : 0); 
    2840           0 :       if (otype) {
    2841           0 :         PyObject *str = PyObject_Str(obj);
    2842           0 :         const char *cstr = str ? SWIG_Python_str_AsChar(str) : 0;
    2843           0 :         if (cstr) {
    2844           0 :           PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
    2845             :                        type, otype, cstr);
    2846             :           SWIG_Python_str_DelForPy3(cstr);
    2847             :         } else {
    2848           0 :           PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
    2849             :                        type, otype);
    2850             :         }
    2851           0 :         Py_XDECREF(str);
    2852           0 :         return;
    2853             :       }
    2854             :     }   
    2855           0 :     PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
    2856             :   } else {
    2857           0 :     PyErr_Format(PyExc_TypeError, "unexpected type is received");
    2858             :   }
    2859             : }
    2860             : 
    2861             : 
    2862             : /* Convert a pointer value, signal an exception on a type mismatch */
    2863             : SWIGRUNTIME void *
    2864           0 : SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int SWIGUNUSEDPARM(argnum), int flags) {
    2865             :   void *result;
    2866           0 :   if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
    2867           0 :     PyErr_Clear();
    2868             : #if SWIG_POINTER_EXCEPTION
    2869             :     if (flags) {
    2870             :       SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
    2871             :       SWIG_Python_ArgFail(argnum);
    2872             :     }
    2873             : #endif
    2874             :   }
    2875           0 :   return result;
    2876             : }
    2877             : 
    2878             : #ifdef SWIGPYTHON_BUILTIN
    2879             : SWIGRUNTIME int
    2880             : SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) {
    2881             :   PyTypeObject *tp = obj->ob_type;
    2882             :   PyObject *descr;
    2883             :   PyObject *encoded_name;
    2884             :   descrsetfunc f;
    2885             :   int res = -1;
    2886             : 
    2887             : # ifdef Py_USING_UNICODE
    2888             :   if (PyString_Check(name)) {
    2889             :     name = PyUnicode_Decode(PyString_AsString(name), PyString_Size(name), NULL, NULL);
    2890             :     if (!name)
    2891             :       return -1;
    2892             :   } else if (!PyUnicode_Check(name))
    2893             : # else
    2894             :   if (!PyString_Check(name))
    2895             : # endif
    2896             :   {
    2897             :     PyErr_Format(PyExc_TypeError, "attribute name must be string, not '%.200s'", name->ob_type->tp_name);
    2898             :     return -1;
    2899             :   } else {
    2900             :     Py_INCREF(name);
    2901             :   }
    2902             : 
    2903             :   if (!tp->tp_dict) {
    2904             :     if (PyType_Ready(tp) < 0)
    2905             :       goto done;
    2906             :   }
    2907             : 
    2908             :   descr = _PyType_Lookup(tp, name);
    2909             :   f = NULL;
    2910             :   if (descr != NULL)
    2911             :     f = descr->ob_type->tp_descr_set;
    2912             :   if (!f) {
    2913             :     if (PyString_Check(name)) {
    2914             :       encoded_name = name;
    2915             :       Py_INCREF(name);
    2916             :     } else {
    2917             :       encoded_name = PyUnicode_AsUTF8String(name);
    2918             :     }
    2919             :     PyErr_Format(PyExc_AttributeError, "'%.100s' object has no attribute '%.200s'", tp->tp_name, PyString_AsString(encoded_name));
    2920             :     Py_DECREF(encoded_name);
    2921             :   } else {
    2922             :     res = f(descr, obj, value);
    2923             :   }
    2924             :   
    2925             :   done:
    2926             :   Py_DECREF(name);
    2927             :   return res;
    2928             : }
    2929             : #endif
    2930             : 
    2931             : 
    2932             : #ifdef __cplusplus
    2933             : }
    2934             : #endif
    2935             : 
    2936             : 
    2937             : 
    2938             : #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) 
    2939             : 
    2940             : #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else 
    2941             : 
    2942             : 
    2943             : 
    2944             : /* -------- TYPES TABLE (BEGIN) -------- */
    2945             : 
    2946             : #define SWIGTYPE_p_buffer swig_types[0]
    2947             : #define SWIGTYPE_p_char swig_types[1]
    2948             : #define SWIGTYPE_p_f_int_p_struct_zclient_uint16_t__int swig_types[2]
    2949             : #define SWIGTYPE_p_fifo swig_types[3]
    2950             : #define SWIGTYPE_p_p_in6_addr swig_types[4]
    2951             : #define SWIGTYPE_p_p_in_addr swig_types[5]
    2952             : #define SWIGTYPE_p_stream swig_types[6]
    2953             : #define SWIGTYPE_p_thread swig_types[7]
    2954             : #define SWIGTYPE_p_u_char swig_types[8]
    2955             : #define SWIGTYPE_p_u_int16_t swig_types[9]
    2956             : #define SWIGTYPE_p_u_int32_t swig_types[10]
    2957             : #define SWIGTYPE_p_u_int8_t swig_types[11]
    2958             : #define SWIGTYPE_p_uint16_t swig_types[12]
    2959             : #define SWIGTYPE_p_uint8_t swig_types[13]
    2960             : #define SWIGTYPE_p_unsigned_int swig_types[14]
    2961             : #define SWIGTYPE_p_zapi_ipv4 swig_types[15]
    2962             : #define SWIGTYPE_p_zapi_ipv6 swig_types[16]
    2963             : #define SWIGTYPE_p_zclient swig_types[17]
    2964             : #define SWIGTYPE_p_zserv_header swig_types[18]
    2965             : static swig_type_info *swig_types[20];
    2966             : static swig_module_info swig_module = {swig_types, 19, 0, 0, 0, 0};
    2967             : #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
    2968             : #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
    2969             : 
    2970             : /* -------- TYPES TABLE (END) -------- */
    2971             : 
    2972             : #if (PY_VERSION_HEX <= 0x02000000)
    2973             : # if !defined(SWIG_PYTHON_CLASSIC)
    2974             : #  error "This python version requires swig to be run with the '-classic' option"
    2975             : # endif
    2976             : #endif
    2977             : 
    2978             : /*-----------------------------------------------
    2979             :               @(target):= _header_constants.so
    2980             :   ------------------------------------------------*/
    2981             : #if PY_VERSION_HEX >= 0x03000000
    2982             : #  define SWIG_init    PyInit__header_constants
    2983             : 
    2984             : #else
    2985             : #  define SWIG_init    init_header_constants
    2986             : 
    2987             : #endif
    2988             : #define SWIG_name    "_header_constants"
    2989             : 
    2990             : #define SWIGVERSION 0x030007 
    2991             : #define SWIG_VERSION SWIGVERSION
    2992             : 
    2993             : 
    2994             : #define SWIG_as_voidptr(a) (void *)((const void *)(a)) 
    2995             : #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a)) 
    2996             : 
    2997             : 
    2998             : #ifdef __ASSERT_FUNCTION
    2999             : #undef __ASSERT_FUNCTION
    3000             : #endif
    3001             : 
    3002             : #ifdef HAVE_INET_PTON
    3003             : #undef HAVE_INET_PTON
    3004             : #endif
    3005             : 
    3006             : /* zebra.h includes route_types.h and config.h
    3007             :  * so we don't need them up here. */
    3008             : #include "zebra.h"
    3009             : #include "zclient.h"
    3010             : 
    3011             : 
    3012             : SWIGINTERN swig_type_info*
    3013           0 : SWIG_pchar_descriptor(void)
    3014             : {
    3015             :   static int init = 0;
    3016             :   static swig_type_info* info = 0;
    3017           0 :   if (!init) {
    3018           0 :     info = SWIG_TypeQuery("_p_char");
    3019           0 :     init = 1;
    3020             :   }
    3021           0 :   return info;
    3022             : }
    3023             : 
    3024             : 
    3025             : SWIGINTERNINLINE PyObject *
    3026          62 : SWIG_FromCharPtrAndSize(const char* carray, size_t size)
    3027             : {
    3028          62 :   if (carray) {
    3029          62 :     if (size > INT_MAX) {
    3030           0 :       swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
    3031           0 :       return pchar_descriptor ? 
    3032           0 :         SWIG_InternalNewPointerObj((char *)(carray), pchar_descriptor, 0) : SWIG_Py_Void();
    3033             :     } else {
    3034             : #if PY_VERSION_HEX >= 0x03000000
    3035             : #if PY_VERSION_HEX >= 0x03010000
    3036             :       return PyUnicode_DecodeUTF8(carray, (int)(size), "surrogateescape");
    3037             : #else
    3038             :       return PyUnicode_FromStringAndSize(carray, (int)(size));
    3039             : #endif
    3040             : #else
    3041          62 :       return PyString_FromStringAndSize(carray, (int)(size));
    3042             : #endif
    3043             :     }
    3044             :   } else {
    3045           0 :     return SWIG_Py_Void();
    3046             :   }
    3047             : }
    3048             : 
    3049             : 
    3050             : SWIGINTERNINLINE PyObject * 
    3051          62 : SWIG_FromCharPtr(const char *cptr)
    3052             : { 
    3053          62 :   return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
    3054             : }
    3055             : 
    3056             : 
    3057             : SWIGINTERNINLINE PyObject*
    3058         224 :   SWIG_From_int  (int value)
    3059             : {
    3060         224 :   return PyInt_FromLong((long) value);
    3061             : }
    3062             : 
    3063             : 
    3064             : SWIGINTERNINLINE PyObject*
    3065           3 :   SWIG_From_unsigned_SS_int  (unsigned int value)
    3066             : {
    3067           3 :   return PyInt_FromSize_t((size_t) value);
    3068             : }
    3069             : 
    3070             : 
    3071             : #include <limits.h>
    3072             : #if !defined(SWIG_NO_LLONG_MAX)
    3073             : # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
    3074             : #   define LLONG_MAX __LONG_LONG_MAX__
    3075             : #   define LLONG_MIN (-LLONG_MAX - 1LL)
    3076             : #   define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
    3077             : # endif
    3078             : #endif
    3079             : 
    3080             : 
    3081             : SWIGINTERN int
    3082           0 : SWIG_AsVal_double (PyObject *obj, double *val)
    3083             : {
    3084           0 :   int res = SWIG_TypeError;
    3085           0 :   if (PyFloat_Check(obj)) {
    3086           0 :     if (val) *val = PyFloat_AsDouble(obj);
    3087           0 :     return SWIG_OK;
    3088           0 :   } else if (PyInt_Check(obj)) {
    3089           0 :     if (val) *val = PyInt_AsLong(obj);
    3090           0 :     return SWIG_OK;
    3091           0 :   } else if (PyLong_Check(obj)) {
    3092           0 :     double v = PyLong_AsDouble(obj);
    3093           0 :     if (!PyErr_Occurred()) {
    3094           0 :       if (val) *val = v;
    3095           0 :       return SWIG_OK;
    3096             :     } else {
    3097           0 :       PyErr_Clear();
    3098             :     }
    3099             :   }
    3100             : #ifdef SWIG_PYTHON_CAST_MODE
    3101             :   {
    3102             :     int dispatch = 0;
    3103             :     double d = PyFloat_AsDouble(obj);
    3104             :     if (!PyErr_Occurred()) {
    3105             :       if (val) *val = d;
    3106             :       return SWIG_AddCast(SWIG_OK);
    3107             :     } else {
    3108             :       PyErr_Clear();
    3109             :     }
    3110             :     if (!dispatch) {
    3111             :       long v = PyLong_AsLong(obj);
    3112             :       if (!PyErr_Occurred()) {
    3113             :         if (val) *val = v;
    3114             :         return SWIG_AddCast(SWIG_AddCast(SWIG_OK));
    3115             :       } else {
    3116             :         PyErr_Clear();
    3117             :       }
    3118             :     }
    3119             :   }
    3120             : #endif
    3121           0 :   return res;
    3122             : }
    3123             : 
    3124             : 
    3125             : #include <float.h>
    3126             : 
    3127             : 
    3128             : #include <math.h>
    3129             : 
    3130             : 
    3131             : SWIGINTERNINLINE int
    3132             : SWIG_CanCastAsInteger(double *d, double min, double max) {
    3133             :   double x = *d;
    3134             :   if ((min <= x && x <= max)) {
    3135             :    double fx = floor(x);
    3136             :    double cx = ceil(x);
    3137             :    double rd =  ((x - fx) < 0.5) ? fx : cx; /* simple rint */
    3138             :    if ((errno == EDOM) || (errno == ERANGE)) {
    3139             :      errno = 0;
    3140             :    } else {
    3141             :      double summ, reps, diff;
    3142             :      if (rd < x) {
    3143             :        diff = x - rd;
    3144             :      } else if (rd > x) {
    3145             :        diff = rd - x;
    3146             :      } else {
    3147             :        return 1;
    3148             :      }
    3149             :      summ = rd + x;
    3150             :      reps = diff/summ;
    3151             :      if (reps < 8*DBL_EPSILON) {
    3152             :        *d = rd;
    3153             :        return 1;
    3154             :      }
    3155             :    }
    3156             :   }
    3157             :   return 0;
    3158             : }
    3159             : 
    3160             : 
    3161             : SWIGINTERN int
    3162           0 : SWIG_AsVal_long (PyObject *obj, long* val)
    3163             : {
    3164           0 :   if (PyInt_Check(obj)) {
    3165           0 :     if (val) *val = PyInt_AsLong(obj);
    3166           0 :     return SWIG_OK;
    3167           0 :   } else if (PyLong_Check(obj)) {
    3168           0 :     long v = PyLong_AsLong(obj);
    3169           0 :     if (!PyErr_Occurred()) {
    3170           0 :       if (val) *val = v;
    3171           0 :       return SWIG_OK;
    3172             :     } else {
    3173           0 :       PyErr_Clear();
    3174             :     }
    3175             :   }
    3176             : #ifdef SWIG_PYTHON_CAST_MODE
    3177             :   {
    3178             :     int dispatch = 0;
    3179             :     long v = PyInt_AsLong(obj);
    3180             :     if (!PyErr_Occurred()) {
    3181             :       if (val) *val = v;
    3182             :       return SWIG_AddCast(SWIG_OK);
    3183             :     } else {
    3184             :       PyErr_Clear();
    3185             :     }
    3186             :     if (!dispatch) {
    3187             :       double d;
    3188             :       int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
    3189             :       if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) {
    3190             :         if (val) *val = (long)(d);
    3191             :         return res;
    3192             :       }
    3193             :     }
    3194             :   }
    3195             : #endif
    3196           0 :   return SWIG_TypeError;
    3197             : }
    3198             : 
    3199             : 
    3200             : SWIGINTERN int
    3201           0 : SWIG_AsVal_int (PyObject * obj, int *val)
    3202             : {
    3203             :   long v;
    3204           0 :   int res = SWIG_AsVal_long (obj, &v);
    3205           0 :   if (SWIG_IsOK(res)) {
    3206           0 :     if ((v < INT_MIN || v > INT_MAX)) {
    3207           0 :       return SWIG_OverflowError;
    3208             :     } else {
    3209           0 :       if (val) *val = (int)(v);
    3210             :     }
    3211             :   }  
    3212           0 :   return res;
    3213             : }
    3214             : 
    3215             : #ifdef __cplusplus
    3216             : extern "C" {
    3217             : #endif
    3218           1 : SWIGINTERN PyObject *BABEL_VTYSH_PATH_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3219             :   PyObject *module;
    3220             :   PyObject *d;
    3221           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3222           1 :   d = PyModule_GetDict(module);
    3223           1 :   if (!d) return NULL;
    3224           1 :   SWIG_Python_SetConstant(d, "BABEL_VTYSH_PATH",SWIG_FromCharPtr("/var/run/quagga/babeld.vty"));
    3225           1 :   return SWIG_Py_Void();
    3226             : }
    3227             : 
    3228             : 
    3229           1 : SWIGINTERN PyObject *BGP_VTYSH_PATH_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3230             :   PyObject *module;
    3231             :   PyObject *d;
    3232           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3233           1 :   d = PyModule_GetDict(module);
    3234           1 :   if (!d) return NULL;
    3235           1 :   SWIG_Python_SetConstant(d, "BGP_VTYSH_PATH",SWIG_FromCharPtr("/var/run/quagga/bgpd.vty"));
    3236           1 :   return SWIG_Py_Void();
    3237             : }
    3238             : 
    3239             : 
    3240           1 : SWIGINTERN PyObject *CONFIGFILE_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3241             :   PyObject *module;
    3242             :   PyObject *d;
    3243           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3244           1 :   d = PyModule_GetDict(module);
    3245           1 :   if (!d) return NULL;
    3246           1 :   SWIG_Python_SetConstant(d, "CONFIGFILE_MASK",SWIG_From_int((int)(0600)));
    3247           1 :   return SWIG_Py_Void();
    3248             : }
    3249             : 
    3250             : 
    3251           1 : SWIGINTERN PyObject *CONSUMED_TIME_CHECK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3252             :   PyObject *module;
    3253             :   PyObject *d;
    3254           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3255           1 :   d = PyModule_GetDict(module);
    3256           1 :   if (!d) return NULL;
    3257           1 :   SWIG_Python_SetConstant(d, "CONSUMED_TIME_CHECK",SWIG_From_int((int)(5000000)));
    3258           1 :   return SWIG_Py_Void();
    3259             : }
    3260             : 
    3261             : 
    3262           1 : SWIGINTERN PyObject *DAEMON_VTY_DIR_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3263             :   PyObject *module;
    3264             :   PyObject *d;
    3265           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3266           1 :   d = PyModule_GetDict(module);
    3267           1 :   if (!d) return NULL;
    3268           1 :   SWIG_Python_SetConstant(d, "DAEMON_VTY_DIR",SWIG_FromCharPtr("/var/run/quagga"));
    3269           1 :   return SWIG_Py_Void();
    3270             : }
    3271             : 
    3272             : 
    3273           1 : SWIGINTERN PyObject *DISABLE_BGP_ANNOUNCE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3274             :   PyObject *module;
    3275             :   PyObject *d;
    3276           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3277           1 :   d = PyModule_GetDict(module);
    3278           1 :   if (!d) return NULL;
    3279           1 :   SWIG_Python_SetConstant(d, "DISABLE_BGP_ANNOUNCE",SWIG_From_int((int)(0)));
    3280           1 :   return SWIG_Py_Void();
    3281             : }
    3282             : 
    3283             : 
    3284           1 : SWIGINTERN PyObject *GIT_VERSION_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3285             :   PyObject *module;
    3286             :   PyObject *d;
    3287           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3288           1 :   d = PyModule_GetDict(module);
    3289           1 :   if (!d) return NULL;
    3290           1 :   SWIG_Python_SetConstant(d, "GIT_VERSION",SWIG_From_int((int)(1)));
    3291           1 :   return SWIG_Py_Void();
    3292             : }
    3293             : 
    3294             : 
    3295           1 : SWIGINTERN PyObject *HAVE_ALARM_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3296             :   PyObject *module;
    3297             :   PyObject *d;
    3298           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3299           1 :   d = PyModule_GetDict(module);
    3300           1 :   if (!d) return NULL;
    3301           1 :   SWIG_Python_SetConstant(d, "HAVE_ALARM",SWIG_From_int((int)(1)));
    3302           1 :   return SWIG_Py_Void();
    3303             : }
    3304             : 
    3305             : 
    3306           1 : SWIGINTERN PyObject *HAVE_ARPA_INET_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3307             :   PyObject *module;
    3308             :   PyObject *d;
    3309           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3310           1 :   d = PyModule_GetDict(module);
    3311           1 :   if (!d) return NULL;
    3312           1 :   SWIG_Python_SetConstant(d, "HAVE_ARPA_INET_H",SWIG_From_int((int)(1)));
    3313           1 :   return SWIG_Py_Void();
    3314             : }
    3315             : 
    3316             : 
    3317           1 : SWIGINTERN PyObject *HAVE_ASM_TYPES_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3318             :   PyObject *module;
    3319             :   PyObject *d;
    3320           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3321           1 :   d = PyModule_GetDict(module);
    3322           1 :   if (!d) return NULL;
    3323           1 :   SWIG_Python_SetConstant(d, "HAVE_ASM_TYPES_H",SWIG_From_int((int)(1)));
    3324           1 :   return SWIG_Py_Void();
    3325             : }
    3326             : 
    3327             : 
    3328           1 : SWIGINTERN PyObject *HAVE_CHOWN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3329             :   PyObject *module;
    3330             :   PyObject *d;
    3331           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3332           1 :   d = PyModule_GetDict(module);
    3333           1 :   if (!d) return NULL;
    3334           1 :   SWIG_Python_SetConstant(d, "HAVE_CHOWN",SWIG_From_int((int)(1)));
    3335           1 :   return SWIG_Py_Void();
    3336             : }
    3337             : 
    3338             : 
    3339           1 : SWIGINTERN PyObject *HAVE_DAEMON_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3340             :   PyObject *module;
    3341             :   PyObject *d;
    3342           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3343           1 :   d = PyModule_GetDict(module);
    3344           1 :   if (!d) return NULL;
    3345           1 :   SWIG_Python_SetConstant(d, "HAVE_DAEMON",SWIG_From_int((int)(1)));
    3346           1 :   return SWIG_Py_Void();
    3347             : }
    3348             : 
    3349             : 
    3350           1 : SWIGINTERN PyObject *HAVE_DECL_TCP_MD5SIG_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3351             :   PyObject *module;
    3352             :   PyObject *d;
    3353           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3354           1 :   d = PyModule_GetDict(module);
    3355           1 :   if (!d) return NULL;
    3356           1 :   SWIG_Python_SetConstant(d, "HAVE_DECL_TCP_MD5SIG",SWIG_From_int((int)(1)));
    3357           1 :   return SWIG_Py_Void();
    3358             : }
    3359             : 
    3360             : 
    3361           1 : SWIGINTERN PyObject *HAVE_DLFCN_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3362             :   PyObject *module;
    3363             :   PyObject *d;
    3364           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3365           1 :   d = PyModule_GetDict(module);
    3366           1 :   if (!d) return NULL;
    3367           1 :   SWIG_Python_SetConstant(d, "HAVE_DLFCN_H",SWIG_From_int((int)(1)));
    3368           1 :   return SWIG_Py_Void();
    3369             : }
    3370             : 
    3371             : 
    3372           1 : SWIGINTERN PyObject *HAVE_DUP2_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3373             :   PyObject *module;
    3374             :   PyObject *d;
    3375           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3376           1 :   d = PyModule_GetDict(module);
    3377           1 :   if (!d) return NULL;
    3378           1 :   SWIG_Python_SetConstant(d, "HAVE_DUP2",SWIG_From_int((int)(1)));
    3379           1 :   return SWIG_Py_Void();
    3380             : }
    3381             : 
    3382             : 
    3383           1 : SWIGINTERN PyObject *HAVE_FCNTL_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3384             :   PyObject *module;
    3385             :   PyObject *d;
    3386           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3387           1 :   d = PyModule_GetDict(module);
    3388           1 :   if (!d) return NULL;
    3389           1 :   SWIG_Python_SetConstant(d, "HAVE_FCNTL",SWIG_From_int((int)(1)));
    3390           1 :   return SWIG_Py_Void();
    3391             : }
    3392             : 
    3393             : 
    3394           1 : SWIGINTERN PyObject *HAVE_FCNTL_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3395             :   PyObject *module;
    3396             :   PyObject *d;
    3397           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3398           1 :   d = PyModule_GetDict(module);
    3399           1 :   if (!d) return NULL;
    3400           1 :   SWIG_Python_SetConstant(d, "HAVE_FCNTL_H",SWIG_From_int((int)(1)));
    3401           1 :   return SWIG_Py_Void();
    3402             : }
    3403             : 
    3404             : 
    3405           1 : SWIGINTERN PyObject *HAVE_FNMATCH_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3406             :   PyObject *module;
    3407             :   PyObject *d;
    3408           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3409           1 :   d = PyModule_GetDict(module);
    3410           1 :   if (!d) return NULL;
    3411           1 :   SWIG_Python_SetConstant(d, "HAVE_FNMATCH",SWIG_From_int((int)(1)));
    3412           1 :   return SWIG_Py_Void();
    3413             : }
    3414             : 
    3415             : 
    3416           1 : SWIGINTERN PyObject *HAVE_FORK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3417             :   PyObject *module;
    3418             :   PyObject *d;
    3419           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3420           1 :   d = PyModule_GetDict(module);
    3421           1 :   if (!d) return NULL;
    3422           1 :   SWIG_Python_SetConstant(d, "HAVE_FORK",SWIG_From_int((int)(1)));
    3423           1 :   return SWIG_Py_Void();
    3424             : }
    3425             : 
    3426             : 
    3427           1 : SWIGINTERN PyObject *HAVE_FTRUNCATE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3428             :   PyObject *module;
    3429             :   PyObject *d;
    3430           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3431           1 :   d = PyModule_GetDict(module);
    3432           1 :   if (!d) return NULL;
    3433           1 :   SWIG_Python_SetConstant(d, "HAVE_FTRUNCATE",SWIG_From_int((int)(1)));
    3434           1 :   return SWIG_Py_Void();
    3435             : }
    3436             : 
    3437             : 
    3438           1 : SWIGINTERN PyObject *HAVE_GETADDRINFO_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3439             :   PyObject *module;
    3440             :   PyObject *d;
    3441           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3442           1 :   d = PyModule_GetDict(module);
    3443           1 :   if (!d) return NULL;
    3444           1 :   SWIG_Python_SetConstant(d, "HAVE_GETADDRINFO",SWIG_From_int((int)(1)));
    3445           1 :   return SWIG_Py_Void();
    3446             : }
    3447             : 
    3448             : 
    3449           1 : SWIGINTERN PyObject *HAVE_GETCWD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3450             :   PyObject *module;
    3451             :   PyObject *d;
    3452           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3453           1 :   d = PyModule_GetDict(module);
    3454           1 :   if (!d) return NULL;
    3455           1 :   SWIG_Python_SetConstant(d, "HAVE_GETCWD",SWIG_From_int((int)(1)));
    3456           1 :   return SWIG_Py_Void();
    3457             : }
    3458             : 
    3459             : 
    3460           1 : SWIGINTERN PyObject *HAVE_GETHOSTBYNAME_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3461             :   PyObject *module;
    3462             :   PyObject *d;
    3463           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3464           1 :   d = PyModule_GetDict(module);
    3465           1 :   if (!d) return NULL;
    3466           1 :   SWIG_Python_SetConstant(d, "HAVE_GETHOSTBYNAME",SWIG_From_int((int)(1)));
    3467           1 :   return SWIG_Py_Void();
    3468             : }
    3469             : 
    3470             : 
    3471           1 : SWIGINTERN PyObject *HAVE_GETIFADDRS_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3472             :   PyObject *module;
    3473             :   PyObject *d;
    3474           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3475           1 :   d = PyModule_GetDict(module);
    3476           1 :   if (!d) return NULL;
    3477           1 :   SWIG_Python_SetConstant(d, "HAVE_GETIFADDRS",SWIG_From_int((int)(1)));
    3478           1 :   return SWIG_Py_Void();
    3479             : }
    3480             : 
    3481             : 
    3482           1 : SWIGINTERN PyObject *HAVE_GETPAGESIZE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3483             :   PyObject *module;
    3484             :   PyObject *d;
    3485           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3486           1 :   d = PyModule_GetDict(module);
    3487           1 :   if (!d) return NULL;
    3488           1 :   SWIG_Python_SetConstant(d, "HAVE_GETPAGESIZE",SWIG_From_int((int)(1)));
    3489           1 :   return SWIG_Py_Void();
    3490             : }
    3491             : 
    3492             : 
    3493           1 : SWIGINTERN PyObject *HAVE_GETTIMEOFDAY_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3494             :   PyObject *module;
    3495             :   PyObject *d;
    3496           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3497           1 :   d = PyModule_GetDict(module);
    3498           1 :   if (!d) return NULL;
    3499           1 :   SWIG_Python_SetConstant(d, "HAVE_GETTIMEOFDAY",SWIG_From_int((int)(1)));
    3500           1 :   return SWIG_Py_Void();
    3501             : }
    3502             : 
    3503             : 
    3504           1 : SWIGINTERN PyObject *HAVE_IF_INDEXTONAME_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3505             :   PyObject *module;
    3506             :   PyObject *d;
    3507           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3508           1 :   d = PyModule_GetDict(module);
    3509           1 :   if (!d) return NULL;
    3510           1 :   SWIG_Python_SetConstant(d, "HAVE_IF_INDEXTONAME",SWIG_From_int((int)(1)));
    3511           1 :   return SWIG_Py_Void();
    3512             : }
    3513             : 
    3514             : 
    3515           1 : SWIGINTERN PyObject *HAVE_IF_NAMETOINDEX_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3516             :   PyObject *module;
    3517             :   PyObject *d;
    3518           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3519           1 :   d = PyModule_GetDict(module);
    3520           1 :   if (!d) return NULL;
    3521           1 :   SWIG_Python_SetConstant(d, "HAVE_IF_NAMETOINDEX",SWIG_From_int((int)(1)));
    3522           1 :   return SWIG_Py_Void();
    3523             : }
    3524             : 
    3525             : 
    3526           1 : SWIGINTERN PyObject *HAVE_INET_ATON_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3527             :   PyObject *module;
    3528             :   PyObject *d;
    3529           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3530           1 :   d = PyModule_GetDict(module);
    3531           1 :   if (!d) return NULL;
    3532           1 :   SWIG_Python_SetConstant(d, "HAVE_INET_ATON",SWIG_From_int((int)(1)));
    3533           1 :   return SWIG_Py_Void();
    3534             : }
    3535             : 
    3536             : 
    3537           1 : SWIGINTERN PyObject *HAVE_INET_NTOA_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3538             :   PyObject *module;
    3539             :   PyObject *d;
    3540           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3541           1 :   d = PyModule_GetDict(module);
    3542           1 :   if (!d) return NULL;
    3543           1 :   SWIG_Python_SetConstant(d, "HAVE_INET_NTOA",SWIG_From_int((int)(1)));
    3544           1 :   return SWIG_Py_Void();
    3545             : }
    3546             : 
    3547             : 
    3548           1 : SWIGINTERN PyObject *HAVE_INTTYPES_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3549             :   PyObject *module;
    3550             :   PyObject *d;
    3551           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3552           1 :   d = PyModule_GetDict(module);
    3553           1 :   if (!d) return NULL;
    3554           1 :   SWIG_Python_SetConstant(d, "HAVE_INTTYPES_H",SWIG_From_int((int)(1)));
    3555           1 :   return SWIG_Py_Void();
    3556             : }
    3557             : 
    3558             : 
    3559           1 : SWIGINTERN PyObject *HAVE_IPV6_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3560             :   PyObject *module;
    3561             :   PyObject *d;
    3562           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3563           1 :   d = PyModule_GetDict(module);
    3564           1 :   if (!d) return NULL;
    3565           1 :   SWIG_Python_SetConstant(d, "HAVE_IPV6",SWIG_From_int((int)(1)));
    3566           1 :   return SWIG_Py_Void();
    3567             : }
    3568             : 
    3569             : 
    3570           1 : SWIGINTERN PyObject *HAVE_LIBCRYPT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3571             :   PyObject *module;
    3572             :   PyObject *d;
    3573           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3574           1 :   d = PyModule_GetDict(module);
    3575           1 :   if (!d) return NULL;
    3576           1 :   SWIG_Python_SetConstant(d, "HAVE_LIBCRYPT",SWIG_From_int((int)(1)));
    3577           1 :   return SWIG_Py_Void();
    3578             : }
    3579             : 
    3580             : 
    3581           1 : SWIGINTERN PyObject *HAVE_LIMITS_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3582             :   PyObject *module;
    3583             :   PyObject *d;
    3584           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3585           1 :   d = PyModule_GetDict(module);
    3586           1 :   if (!d) return NULL;
    3587           1 :   SWIG_Python_SetConstant(d, "HAVE_LIMITS_H",SWIG_From_int((int)(1)));
    3588           1 :   return SWIG_Py_Void();
    3589             : }
    3590             : 
    3591             : 
    3592           1 : SWIGINTERN PyObject *HAVE_LINUX_VERSION_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3593             :   PyObject *module;
    3594             :   PyObject *d;
    3595           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3596           1 :   d = PyModule_GetDict(module);
    3597           1 :   if (!d) return NULL;
    3598           1 :   SWIG_Python_SetConstant(d, "HAVE_LINUX_VERSION_H",SWIG_From_int((int)(1)));
    3599           1 :   return SWIG_Py_Void();
    3600             : }
    3601             : 
    3602             : 
    3603           1 : SWIGINTERN PyObject *HAVE_MEMCHR_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3604             :   PyObject *module;
    3605             :   PyObject *d;
    3606           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3607           1 :   d = PyModule_GetDict(module);
    3608           1 :   if (!d) return NULL;
    3609           1 :   SWIG_Python_SetConstant(d, "HAVE_MEMCHR",SWIG_From_int((int)(1)));
    3610           1 :   return SWIG_Py_Void();
    3611             : }
    3612             : 
    3613             : 
    3614           1 : SWIGINTERN PyObject *HAVE_MEMMOVE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3615             :   PyObject *module;
    3616             :   PyObject *d;
    3617           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3618           1 :   d = PyModule_GetDict(module);
    3619           1 :   if (!d) return NULL;
    3620           1 :   SWIG_Python_SetConstant(d, "HAVE_MEMMOVE",SWIG_From_int((int)(1)));
    3621           1 :   return SWIG_Py_Void();
    3622             : }
    3623             : 
    3624             : 
    3625           1 : SWIGINTERN PyObject *HAVE_MEMORY_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3626             :   PyObject *module;
    3627             :   PyObject *d;
    3628           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3629           1 :   d = PyModule_GetDict(module);
    3630           1 :   if (!d) return NULL;
    3631           1 :   SWIG_Python_SetConstant(d, "HAVE_MEMORY_H",SWIG_From_int((int)(1)));
    3632           1 :   return SWIG_Py_Void();
    3633             : }
    3634             : 
    3635             : 
    3636           1 : SWIGINTERN PyObject *HAVE_MEMSET_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3637             :   PyObject *module;
    3638             :   PyObject *d;
    3639           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3640           1 :   d = PyModule_GetDict(module);
    3641           1 :   if (!d) return NULL;
    3642           1 :   SWIG_Python_SetConstant(d, "HAVE_MEMSET",SWIG_From_int((int)(1)));
    3643           1 :   return SWIG_Py_Void();
    3644             : }
    3645             : 
    3646             : 
    3647           1 : SWIGINTERN PyObject *HAVE_NETDB_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3648             :   PyObject *module;
    3649             :   PyObject *d;
    3650           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3651           1 :   d = PyModule_GetDict(module);
    3652           1 :   if (!d) return NULL;
    3653           1 :   SWIG_Python_SetConstant(d, "HAVE_NETDB_H",SWIG_From_int((int)(1)));
    3654           1 :   return SWIG_Py_Void();
    3655             : }
    3656             : 
    3657             : 
    3658           1 : SWIGINTERN PyObject *HAVE_NETINET_ICMP6_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3659             :   PyObject *module;
    3660             :   PyObject *d;
    3661           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3662           1 :   d = PyModule_GetDict(module);
    3663           1 :   if (!d) return NULL;
    3664           1 :   SWIG_Python_SetConstant(d, "HAVE_NETINET_ICMP6_H",SWIG_From_int((int)(1)));
    3665           1 :   return SWIG_Py_Void();
    3666             : }
    3667             : 
    3668             : 
    3669           1 : SWIGINTERN PyObject *HAVE_NETINET_IN_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3670             :   PyObject *module;
    3671             :   PyObject *d;
    3672           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3673           1 :   d = PyModule_GetDict(module);
    3674           1 :   if (!d) return NULL;
    3675           1 :   SWIG_Python_SetConstant(d, "HAVE_NETINET_IN_H",SWIG_From_int((int)(1)));
    3676           1 :   return SWIG_Py_Void();
    3677             : }
    3678             : 
    3679             : 
    3680           1 : SWIGINTERN PyObject *HAVE_NETINET_IN_SYSTM_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3681             :   PyObject *module;
    3682             :   PyObject *d;
    3683           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3684           1 :   d = PyModule_GetDict(module);
    3685           1 :   if (!d) return NULL;
    3686           1 :   SWIG_Python_SetConstant(d, "HAVE_NETINET_IN_SYSTM_H",SWIG_From_int((int)(1)));
    3687           1 :   return SWIG_Py_Void();
    3688             : }
    3689             : 
    3690             : 
    3691           1 : SWIGINTERN PyObject *HAVE_NETINET_IP_ICMP_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3692             :   PyObject *module;
    3693             :   PyObject *d;
    3694           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3695           1 :   d = PyModule_GetDict(module);
    3696           1 :   if (!d) return NULL;
    3697           1 :   SWIG_Python_SetConstant(d, "HAVE_NETINET_IP_ICMP_H",SWIG_From_int((int)(1)));
    3698           1 :   return SWIG_Py_Void();
    3699             : }
    3700             : 
    3701             : 
    3702           1 : SWIGINTERN PyObject *HAVE_NET_IF_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3703             :   PyObject *module;
    3704             :   PyObject *d;
    3705           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3706           1 :   d = PyModule_GetDict(module);
    3707           1 :   if (!d) return NULL;
    3708           1 :   SWIG_Python_SetConstant(d, "HAVE_NET_IF_H",SWIG_From_int((int)(1)));
    3709           1 :   return SWIG_Py_Void();
    3710             : }
    3711             : 
    3712             : 
    3713           1 : SWIGINTERN PyObject *HAVE_NET_ROUTE_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3714             :   PyObject *module;
    3715             :   PyObject *d;
    3716           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3717           1 :   d = PyModule_GetDict(module);
    3718           1 :   if (!d) return NULL;
    3719           1 :   SWIG_Python_SetConstant(d, "HAVE_NET_ROUTE_H",SWIG_From_int((int)(1)));
    3720           1 :   return SWIG_Py_Void();
    3721             : }
    3722             : 
    3723             : 
    3724           1 : SWIGINTERN PyObject *HAVE_POW_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3725             :   PyObject *module;
    3726             :   PyObject *d;
    3727           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3728           1 :   d = PyModule_GetDict(module);
    3729           1 :   if (!d) return NULL;
    3730           1 :   SWIG_Python_SetConstant(d, "HAVE_POW",SWIG_From_int((int)(1)));
    3731           1 :   return SWIG_Py_Void();
    3732             : }
    3733             : 
    3734             : 
    3735           1 : SWIGINTERN PyObject *HAVE_RFC3678_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3736             :   PyObject *module;
    3737             :   PyObject *d;
    3738           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3739           1 :   d = PyModule_GetDict(module);
    3740           1 :   if (!d) return NULL;
    3741           1 :   SWIG_Python_SetConstant(d, "HAVE_RFC3678",SWIG_From_int((int)(1)));
    3742           1 :   return SWIG_Py_Void();
    3743             : }
    3744             : 
    3745             : 
    3746           1 : SWIGINTERN PyObject *HAVE_SELECT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3747             :   PyObject *module;
    3748             :   PyObject *d;
    3749           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3750           1 :   d = PyModule_GetDict(module);
    3751           1 :   if (!d) return NULL;
    3752           1 :   SWIG_Python_SetConstant(d, "HAVE_SELECT",SWIG_From_int((int)(1)));
    3753           1 :   return SWIG_Py_Void();
    3754             : }
    3755             : 
    3756             : 
    3757           1 : SWIGINTERN PyObject *HAVE_SIGNAL_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3758             :   PyObject *module;
    3759             :   PyObject *d;
    3760           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3761           1 :   d = PyModule_GetDict(module);
    3762           1 :   if (!d) return NULL;
    3763           1 :   SWIG_Python_SetConstant(d, "HAVE_SIGNAL_H",SWIG_From_int((int)(1)));
    3764           1 :   return SWIG_Py_Void();
    3765             : }
    3766             : 
    3767             : 
    3768           1 : SWIGINTERN PyObject *HAVE_SNPRINTF_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3769             :   PyObject *module;
    3770             :   PyObject *d;
    3771           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3772           1 :   d = PyModule_GetDict(module);
    3773           1 :   if (!d) return NULL;
    3774           1 :   SWIG_Python_SetConstant(d, "HAVE_SNPRINTF",SWIG_From_int((int)(1)));
    3775           1 :   return SWIG_Py_Void();
    3776             : }
    3777             : 
    3778             : 
    3779           1 : SWIGINTERN PyObject *HAVE_SOCKET_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3780             :   PyObject *module;
    3781             :   PyObject *d;
    3782           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3783           1 :   d = PyModule_GetDict(module);
    3784           1 :   if (!d) return NULL;
    3785           1 :   SWIG_Python_SetConstant(d, "HAVE_SOCKET",SWIG_From_int((int)(1)));
    3786           1 :   return SWIG_Py_Void();
    3787             : }
    3788             : 
    3789             : 
    3790           1 : SWIGINTERN PyObject *HAVE_SOCKLEN_T_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3791             :   PyObject *module;
    3792             :   PyObject *d;
    3793           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3794           1 :   d = PyModule_GetDict(module);
    3795           1 :   if (!d) return NULL;
    3796           1 :   SWIG_Python_SetConstant(d, "HAVE_SOCKLEN_T",SWIG_From_int((int)(1)));
    3797           1 :   return SWIG_Py_Void();
    3798             : }
    3799             : 
    3800             : 
    3801           1 : SWIGINTERN PyObject *HAVE_STDDEF_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3802             :   PyObject *module;
    3803             :   PyObject *d;
    3804           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3805           1 :   d = PyModule_GetDict(module);
    3806           1 :   if (!d) return NULL;
    3807           1 :   SWIG_Python_SetConstant(d, "HAVE_STDDEF_H",SWIG_From_int((int)(1)));
    3808           1 :   return SWIG_Py_Void();
    3809             : }
    3810             : 
    3811             : 
    3812           1 : SWIGINTERN PyObject *HAVE_STDINT_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3813             :   PyObject *module;
    3814             :   PyObject *d;
    3815           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3816           1 :   d = PyModule_GetDict(module);
    3817           1 :   if (!d) return NULL;
    3818           1 :   SWIG_Python_SetConstant(d, "HAVE_STDINT_H",SWIG_From_int((int)(1)));
    3819           1 :   return SWIG_Py_Void();
    3820             : }
    3821             : 
    3822             : 
    3823           1 : SWIGINTERN PyObject *HAVE_STDLIB_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3824             :   PyObject *module;
    3825             :   PyObject *d;
    3826           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3827           1 :   d = PyModule_GetDict(module);
    3828           1 :   if (!d) return NULL;
    3829           1 :   SWIG_Python_SetConstant(d, "HAVE_STDLIB_H",SWIG_From_int((int)(1)));
    3830           1 :   return SWIG_Py_Void();
    3831             : }
    3832             : 
    3833             : 
    3834           1 : SWIGINTERN PyObject *HAVE_STRCASECMP_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3835             :   PyObject *module;
    3836             :   PyObject *d;
    3837           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3838           1 :   d = PyModule_GetDict(module);
    3839           1 :   if (!d) return NULL;
    3840           1 :   SWIG_Python_SetConstant(d, "HAVE_STRCASECMP",SWIG_From_int((int)(1)));
    3841           1 :   return SWIG_Py_Void();
    3842             : }
    3843             : 
    3844             : 
    3845           1 : SWIGINTERN PyObject *HAVE_STRCHR_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3846             :   PyObject *module;
    3847             :   PyObject *d;
    3848           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3849           1 :   d = PyModule_GetDict(module);
    3850           1 :   if (!d) return NULL;
    3851           1 :   SWIG_Python_SetConstant(d, "HAVE_STRCHR",SWIG_From_int((int)(1)));
    3852           1 :   return SWIG_Py_Void();
    3853             : }
    3854             : 
    3855             : 
    3856           1 : SWIGINTERN PyObject *HAVE_STRCSPN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3857             :   PyObject *module;
    3858             :   PyObject *d;
    3859           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3860           1 :   d = PyModule_GetDict(module);
    3861           1 :   if (!d) return NULL;
    3862           1 :   SWIG_Python_SetConstant(d, "HAVE_STRCSPN",SWIG_From_int((int)(1)));
    3863           1 :   return SWIG_Py_Void();
    3864             : }
    3865             : 
    3866             : 
    3867           1 : SWIGINTERN PyObject *HAVE_STRDUP_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3868             :   PyObject *module;
    3869             :   PyObject *d;
    3870           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3871           1 :   d = PyModule_GetDict(module);
    3872           1 :   if (!d) return NULL;
    3873           1 :   SWIG_Python_SetConstant(d, "HAVE_STRDUP",SWIG_From_int((int)(1)));
    3874           1 :   return SWIG_Py_Void();
    3875             : }
    3876             : 
    3877             : 
    3878           1 : SWIGINTERN PyObject *HAVE_STRERROR_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3879             :   PyObject *module;
    3880             :   PyObject *d;
    3881           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3882           1 :   d = PyModule_GetDict(module);
    3883           1 :   if (!d) return NULL;
    3884           1 :   SWIG_Python_SetConstant(d, "HAVE_STRERROR",SWIG_From_int((int)(1)));
    3885           1 :   return SWIG_Py_Void();
    3886             : }
    3887             : 
    3888             : 
    3889           1 : SWIGINTERN PyObject *HAVE_STRFTIME_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3890             :   PyObject *module;
    3891             :   PyObject *d;
    3892           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3893           1 :   d = PyModule_GetDict(module);
    3894           1 :   if (!d) return NULL;
    3895           1 :   SWIG_Python_SetConstant(d, "HAVE_STRFTIME",SWIG_From_int((int)(1)));
    3896           1 :   return SWIG_Py_Void();
    3897             : }
    3898             : 
    3899             : 
    3900           1 : SWIGINTERN PyObject *HAVE_STRINGS_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3901             :   PyObject *module;
    3902             :   PyObject *d;
    3903           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3904           1 :   d = PyModule_GetDict(module);
    3905           1 :   if (!d) return NULL;
    3906           1 :   SWIG_Python_SetConstant(d, "HAVE_STRINGS_H",SWIG_From_int((int)(1)));
    3907           1 :   return SWIG_Py_Void();
    3908             : }
    3909             : 
    3910             : 
    3911           1 : SWIGINTERN PyObject *HAVE_STRING_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3912             :   PyObject *module;
    3913             :   PyObject *d;
    3914           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3915           1 :   d = PyModule_GetDict(module);
    3916           1 :   if (!d) return NULL;
    3917           1 :   SWIG_Python_SetConstant(d, "HAVE_STRING_H",SWIG_From_int((int)(1)));
    3918           1 :   return SWIG_Py_Void();
    3919             : }
    3920             : 
    3921             : 
    3922           1 : SWIGINTERN PyObject *HAVE_STRNCASECMP_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3923             :   PyObject *module;
    3924             :   PyObject *d;
    3925           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3926           1 :   d = PyModule_GetDict(module);
    3927           1 :   if (!d) return NULL;
    3928           1 :   SWIG_Python_SetConstant(d, "HAVE_STRNCASECMP",SWIG_From_int((int)(1)));
    3929           1 :   return SWIG_Py_Void();
    3930             : }
    3931             : 
    3932             : 
    3933           1 : SWIGINTERN PyObject *HAVE_STRNDUP_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3934             :   PyObject *module;
    3935             :   PyObject *d;
    3936           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3937           1 :   d = PyModule_GetDict(module);
    3938           1 :   if (!d) return NULL;
    3939           1 :   SWIG_Python_SetConstant(d, "HAVE_STRNDUP",SWIG_From_int((int)(1)));
    3940           1 :   return SWIG_Py_Void();
    3941             : }
    3942             : 
    3943             : 
    3944           1 : SWIGINTERN PyObject *HAVE_STRNLEN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3945             :   PyObject *module;
    3946             :   PyObject *d;
    3947           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3948           1 :   d = PyModule_GetDict(module);
    3949           1 :   if (!d) return NULL;
    3950           1 :   SWIG_Python_SetConstant(d, "HAVE_STRNLEN",SWIG_From_int((int)(1)));
    3951           1 :   return SWIG_Py_Void();
    3952             : }
    3953             : 
    3954             : 
    3955           1 : SWIGINTERN PyObject *HAVE_STROPTS_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3956             :   PyObject *module;
    3957             :   PyObject *d;
    3958           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3959           1 :   d = PyModule_GetDict(module);
    3960           1 :   if (!d) return NULL;
    3961           1 :   SWIG_Python_SetConstant(d, "HAVE_STROPTS_H",SWIG_From_int((int)(1)));
    3962           1 :   return SWIG_Py_Void();
    3963             : }
    3964             : 
    3965             : 
    3966           1 : SWIGINTERN PyObject *HAVE_STRRCHR_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3967             :   PyObject *module;
    3968             :   PyObject *d;
    3969           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3970           1 :   d = PyModule_GetDict(module);
    3971           1 :   if (!d) return NULL;
    3972           1 :   SWIG_Python_SetConstant(d, "HAVE_STRRCHR",SWIG_From_int((int)(1)));
    3973           1 :   return SWIG_Py_Void();
    3974             : }
    3975             : 
    3976             : 
    3977           1 : SWIGINTERN PyObject *HAVE_STRSPN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3978             :   PyObject *module;
    3979             :   PyObject *d;
    3980           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3981           1 :   d = PyModule_GetDict(module);
    3982           1 :   if (!d) return NULL;
    3983           1 :   SWIG_Python_SetConstant(d, "HAVE_STRSPN",SWIG_From_int((int)(1)));
    3984           1 :   return SWIG_Py_Void();
    3985             : }
    3986             : 
    3987             : 
    3988           1 : SWIGINTERN PyObject *HAVE_STRSTR_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    3989             :   PyObject *module;
    3990             :   PyObject *d;
    3991           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    3992           1 :   d = PyModule_GetDict(module);
    3993           1 :   if (!d) return NULL;
    3994           1 :   SWIG_Python_SetConstant(d, "HAVE_STRSTR",SWIG_From_int((int)(1)));
    3995           1 :   return SWIG_Py_Void();
    3996             : }
    3997             : 
    3998             : 
    3999           1 : SWIGINTERN PyObject *HAVE_STRTOL_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4000             :   PyObject *module;
    4001             :   PyObject *d;
    4002           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4003           1 :   d = PyModule_GetDict(module);
    4004           1 :   if (!d) return NULL;
    4005           1 :   SWIG_Python_SetConstant(d, "HAVE_STRTOL",SWIG_From_int((int)(1)));
    4006           1 :   return SWIG_Py_Void();
    4007             : }
    4008             : 
    4009             : 
    4010           1 : SWIGINTERN PyObject *HAVE_STRTOUL_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4011             :   PyObject *module;
    4012             :   PyObject *d;
    4013           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4014           1 :   d = PyModule_GetDict(module);
    4015           1 :   if (!d) return NULL;
    4016           1 :   SWIG_Python_SetConstant(d, "HAVE_STRTOUL",SWIG_From_int((int)(1)));
    4017           1 :   return SWIG_Py_Void();
    4018             : }
    4019             : 
    4020             : 
    4021           1 : SWIGINTERN PyObject *HAVE_STRUCT_ICMPHDR_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4022             :   PyObject *module;
    4023             :   PyObject *d;
    4024           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4025           1 :   d = PyModule_GetDict(module);
    4026           1 :   if (!d) return NULL;
    4027           1 :   SWIG_Python_SetConstant(d, "HAVE_STRUCT_ICMPHDR",SWIG_From_int((int)(1)));
    4028           1 :   return SWIG_Py_Void();
    4029             : }
    4030             : 
    4031             : 
    4032           1 : SWIGINTERN PyObject *HAVE_STRUCT_IN_PKTINFO_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4033             :   PyObject *module;
    4034             :   PyObject *d;
    4035           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4036           1 :   d = PyModule_GetDict(module);
    4037           1 :   if (!d) return NULL;
    4038           1 :   SWIG_Python_SetConstant(d, "HAVE_STRUCT_IN_PKTINFO",SWIG_From_int((int)(1)));
    4039           1 :   return SWIG_Py_Void();
    4040             : }
    4041             : 
    4042             : 
    4043           1 : SWIGINTERN PyObject *HAVE_STRUCT_IP_MREQN_IMR_IFINDEX_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4044             :   PyObject *module;
    4045             :   PyObject *d;
    4046           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4047           1 :   d = PyModule_GetDict(module);
    4048           1 :   if (!d) return NULL;
    4049           1 :   SWIG_Python_SetConstant(d, "HAVE_STRUCT_IP_MREQN_IMR_IFINDEX",SWIG_From_int((int)(1)));
    4050           1 :   return SWIG_Py_Void();
    4051             : }
    4052             : 
    4053             : 
    4054           1 : SWIGINTERN PyObject *HAVE_STRUCT_ND_OPT_ADV_INTERVAL_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4055             :   PyObject *module;
    4056             :   PyObject *d;
    4057           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4058           1 :   d = PyModule_GetDict(module);
    4059           1 :   if (!d) return NULL;
    4060           1 :   SWIG_Python_SetConstant(d, "HAVE_STRUCT_ND_OPT_ADV_INTERVAL",SWIG_From_int((int)(1)));
    4061           1 :   return SWIG_Py_Void();
    4062             : }
    4063             : 
    4064             : 
    4065           1 : SWIGINTERN PyObject *HAVE_STRUCT_SOCKADDR_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4066             :   PyObject *module;
    4067             :   PyObject *d;
    4068           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4069           1 :   d = PyModule_GetDict(module);
    4070           1 :   if (!d) return NULL;
    4071           1 :   SWIG_Python_SetConstant(d, "HAVE_STRUCT_SOCKADDR",SWIG_From_int((int)(1)));
    4072           1 :   return SWIG_Py_Void();
    4073             : }
    4074             : 
    4075             : 
    4076           1 : SWIGINTERN PyObject *HAVE_STRUCT_SOCKADDR_IN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4077             :   PyObject *module;
    4078             :   PyObject *d;
    4079           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4080           1 :   d = PyModule_GetDict(module);
    4081           1 :   if (!d) return NULL;
    4082           1 :   SWIG_Python_SetConstant(d, "HAVE_STRUCT_SOCKADDR_IN",SWIG_From_int((int)(1)));
    4083           1 :   return SWIG_Py_Void();
    4084             : }
    4085             : 
    4086             : 
    4087           1 : SWIGINTERN PyObject *HAVE_STRUCT_SOCKADDR_IN6_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4088             :   PyObject *module;
    4089             :   PyObject *d;
    4090           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4091           1 :   d = PyModule_GetDict(module);
    4092           1 :   if (!d) return NULL;
    4093           1 :   SWIG_Python_SetConstant(d, "HAVE_STRUCT_SOCKADDR_IN6",SWIG_From_int((int)(1)));
    4094           1 :   return SWIG_Py_Void();
    4095             : }
    4096             : 
    4097             : 
    4098           1 : SWIGINTERN PyObject *HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4099             :   PyObject *module;
    4100             :   PyObject *d;
    4101           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4102           1 :   d = PyModule_GetDict(module);
    4103           1 :   if (!d) return NULL;
    4104           1 :   SWIG_Python_SetConstant(d, "HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID",SWIG_From_int((int)(1)));
    4105           1 :   return SWIG_Py_Void();
    4106             : }
    4107             : 
    4108             : 
    4109           1 : SWIGINTERN PyObject *HAVE_STRUCT_SOCKADDR_UN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4110             :   PyObject *module;
    4111             :   PyObject *d;
    4112           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4113           1 :   d = PyModule_GetDict(module);
    4114           1 :   if (!d) return NULL;
    4115           1 :   SWIG_Python_SetConstant(d, "HAVE_STRUCT_SOCKADDR_UN",SWIG_From_int((int)(1)));
    4116           1 :   return SWIG_Py_Void();
    4117             : }
    4118             : 
    4119             : 
    4120           1 : SWIGINTERN PyObject *HAVE_SYSLOG_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4121             :   PyObject *module;
    4122             :   PyObject *d;
    4123           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4124           1 :   d = PyModule_GetDict(module);
    4125           1 :   if (!d) return NULL;
    4126           1 :   SWIG_Python_SetConstant(d, "HAVE_SYSLOG_H",SWIG_From_int((int)(1)));
    4127           1 :   return SWIG_Py_Void();
    4128             : }
    4129             : 
    4130             : 
    4131           1 : SWIGINTERN PyObject *HAVE_SYS_IOCTL_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4132             :   PyObject *module;
    4133             :   PyObject *d;
    4134           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4135           1 :   d = PyModule_GetDict(module);
    4136           1 :   if (!d) return NULL;
    4137           1 :   SWIG_Python_SetConstant(d, "HAVE_SYS_IOCTL_H",SWIG_From_int((int)(1)));
    4138           1 :   return SWIG_Py_Void();
    4139             : }
    4140             : 
    4141             : 
    4142           1 : SWIGINTERN PyObject *HAVE_SYS_PARAM_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4143             :   PyObject *module;
    4144             :   PyObject *d;
    4145           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4146           1 :   d = PyModule_GetDict(module);
    4147           1 :   if (!d) return NULL;
    4148           1 :   SWIG_Python_SetConstant(d, "HAVE_SYS_PARAM_H",SWIG_From_int((int)(1)));
    4149           1 :   return SWIG_Py_Void();
    4150             : }
    4151             : 
    4152             : 
    4153           1 : SWIGINTERN PyObject *HAVE_SYS_SELECT_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4154             :   PyObject *module;
    4155             :   PyObject *d;
    4156           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4157           1 :   d = PyModule_GetDict(module);
    4158           1 :   if (!d) return NULL;
    4159           1 :   SWIG_Python_SetConstant(d, "HAVE_SYS_SELECT_H",SWIG_From_int((int)(1)));
    4160           1 :   return SWIG_Py_Void();
    4161             : }
    4162             : 
    4163             : 
    4164           1 : SWIGINTERN PyObject *HAVE_SYS_SOCKET_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4165             :   PyObject *module;
    4166             :   PyObject *d;
    4167           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4168           1 :   d = PyModule_GetDict(module);
    4169           1 :   if (!d) return NULL;
    4170           1 :   SWIG_Python_SetConstant(d, "HAVE_SYS_SOCKET_H",SWIG_From_int((int)(1)));
    4171           1 :   return SWIG_Py_Void();
    4172             : }
    4173             : 
    4174             : 
    4175           1 : SWIGINTERN PyObject *HAVE_SYS_STAT_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4176             :   PyObject *module;
    4177             :   PyObject *d;
    4178           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4179           1 :   d = PyModule_GetDict(module);
    4180           1 :   if (!d) return NULL;
    4181           1 :   SWIG_Python_SetConstant(d, "HAVE_SYS_STAT_H",SWIG_From_int((int)(1)));
    4182           1 :   return SWIG_Py_Void();
    4183             : }
    4184             : 
    4185             : 
    4186           1 : SWIGINTERN PyObject *HAVE_SYS_SYSCTL_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4187             :   PyObject *module;
    4188             :   PyObject *d;
    4189           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4190           1 :   d = PyModule_GetDict(module);
    4191           1 :   if (!d) return NULL;
    4192           1 :   SWIG_Python_SetConstant(d, "HAVE_SYS_SYSCTL_H",SWIG_From_int((int)(1)));
    4193           1 :   return SWIG_Py_Void();
    4194             : }
    4195             : 
    4196             : 
    4197           1 : SWIGINTERN PyObject *HAVE_SYS_TIMES_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4198             :   PyObject *module;
    4199             :   PyObject *d;
    4200           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4201           1 :   d = PyModule_GetDict(module);
    4202           1 :   if (!d) return NULL;
    4203           1 :   SWIG_Python_SetConstant(d, "HAVE_SYS_TIMES_H",SWIG_From_int((int)(1)));
    4204           1 :   return SWIG_Py_Void();
    4205             : }
    4206             : 
    4207             : 
    4208           1 : SWIGINTERN PyObject *HAVE_SYS_TIME_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4209             :   PyObject *module;
    4210             :   PyObject *d;
    4211           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4212           1 :   d = PyModule_GetDict(module);
    4213           1 :   if (!d) return NULL;
    4214           1 :   SWIG_Python_SetConstant(d, "HAVE_SYS_TIME_H",SWIG_From_int((int)(1)));
    4215           1 :   return SWIG_Py_Void();
    4216             : }
    4217             : 
    4218             : 
    4219           1 : SWIGINTERN PyObject *HAVE_SYS_TYPES_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4220             :   PyObject *module;
    4221             :   PyObject *d;
    4222           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4223           1 :   d = PyModule_GetDict(module);
    4224           1 :   if (!d) return NULL;
    4225           1 :   SWIG_Python_SetConstant(d, "HAVE_SYS_TYPES_H",SWIG_From_int((int)(1)));
    4226           1 :   return SWIG_Py_Void();
    4227             : }
    4228             : 
    4229             : 
    4230           1 : SWIGINTERN PyObject *HAVE_SYS_UN_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4231             :   PyObject *module;
    4232             :   PyObject *d;
    4233           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4234           1 :   d = PyModule_GetDict(module);
    4235           1 :   if (!d) return NULL;
    4236           1 :   SWIG_Python_SetConstant(d, "HAVE_SYS_UN_H",SWIG_From_int((int)(1)));
    4237           1 :   return SWIG_Py_Void();
    4238             : }
    4239             : 
    4240             : 
    4241           1 : SWIGINTERN PyObject *HAVE_SYS_WAIT_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4242             :   PyObject *module;
    4243             :   PyObject *d;
    4244           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4245           1 :   d = PyModule_GetDict(module);
    4246           1 :   if (!d) return NULL;
    4247           1 :   SWIG_Python_SetConstant(d, "HAVE_SYS_WAIT_H",SWIG_From_int((int)(1)));
    4248           1 :   return SWIG_Py_Void();
    4249             : }
    4250             : 
    4251             : 
    4252           1 : SWIGINTERN PyObject *HAVE_SYS_WEAK_ALIAS_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4253             :   PyObject *module;
    4254             :   PyObject *d;
    4255           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4256           1 :   d = PyModule_GetDict(module);
    4257           1 :   if (!d) return NULL;
    4258           1 :   SWIG_Python_SetConstant(d, "HAVE_SYS_WEAK_ALIAS",SWIG_From_int((int)(1)));
    4259           1 :   return SWIG_Py_Void();
    4260             : }
    4261             : 
    4262             : 
    4263           1 : SWIGINTERN PyObject *HAVE_SYS_WEAK_ALIAS_ATTRIBUTE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4264             :   PyObject *module;
    4265             :   PyObject *d;
    4266           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4267           1 :   d = PyModule_GetDict(module);
    4268           1 :   if (!d) return NULL;
    4269           1 :   SWIG_Python_SetConstant(d, "HAVE_SYS_WEAK_ALIAS_ATTRIBUTE",SWIG_From_int((int)(1)));
    4270           1 :   return SWIG_Py_Void();
    4271             : }
    4272             : 
    4273             : 
    4274           1 : SWIGINTERN PyObject *HAVE_SYS_WEAK_ALIAS_CROSSFILE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4275             :   PyObject *module;
    4276             :   PyObject *d;
    4277           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4278           1 :   d = PyModule_GetDict(module);
    4279           1 :   if (!d) return NULL;
    4280           1 :   SWIG_Python_SetConstant(d, "HAVE_SYS_WEAK_ALIAS_CROSSFILE",SWIG_From_int((int)(1)));
    4281           1 :   return SWIG_Py_Void();
    4282             : }
    4283             : 
    4284             : 
    4285           1 : SWIGINTERN PyObject *HAVE_SYS_WEAK_ALIAS_PRAGMA_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4286             :   PyObject *module;
    4287             :   PyObject *d;
    4288           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4289           1 :   d = PyModule_GetDict(module);
    4290           1 :   if (!d) return NULL;
    4291           1 :   SWIG_Python_SetConstant(d, "HAVE_SYS_WEAK_ALIAS_PRAGMA",SWIG_From_int((int)(1)));
    4292           1 :   return SWIG_Py_Void();
    4293             : }
    4294             : 
    4295             : 
    4296           1 : SWIGINTERN PyObject *HAVE_TIME_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4297             :   PyObject *module;
    4298             :   PyObject *d;
    4299           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4300           1 :   d = PyModule_GetDict(module);
    4301           1 :   if (!d) return NULL;
    4302           1 :   SWIG_Python_SetConstant(d, "HAVE_TIME_H",SWIG_From_int((int)(1)));
    4303           1 :   return SWIG_Py_Void();
    4304             : }
    4305             : 
    4306             : 
    4307           1 : SWIGINTERN PyObject *HAVE_UCONTEXT_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4308             :   PyObject *module;
    4309             :   PyObject *d;
    4310           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4311           1 :   d = PyModule_GetDict(module);
    4312           1 :   if (!d) return NULL;
    4313           1 :   SWIG_Python_SetConstant(d, "HAVE_UCONTEXT_H",SWIG_From_int((int)(1)));
    4314           1 :   return SWIG_Py_Void();
    4315             : }
    4316             : 
    4317             : 
    4318           1 : SWIGINTERN PyObject *HAVE_UNAME_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4319             :   PyObject *module;
    4320             :   PyObject *d;
    4321           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4322           1 :   d = PyModule_GetDict(module);
    4323           1 :   if (!d) return NULL;
    4324           1 :   SWIG_Python_SetConstant(d, "HAVE_UNAME",SWIG_From_int((int)(1)));
    4325           1 :   return SWIG_Py_Void();
    4326             : }
    4327             : 
    4328             : 
    4329           1 : SWIGINTERN PyObject *HAVE_UNISTD_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4330             :   PyObject *module;
    4331             :   PyObject *d;
    4332           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4333           1 :   d = PyModule_GetDict(module);
    4334           1 :   if (!d) return NULL;
    4335           1 :   SWIG_Python_SetConstant(d, "HAVE_UNISTD_H",SWIG_From_int((int)(1)));
    4336           1 :   return SWIG_Py_Void();
    4337             : }
    4338             : 
    4339             : 
    4340           1 : SWIGINTERN PyObject *HAVE_VFORK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4341             :   PyObject *module;
    4342             :   PyObject *d;
    4343           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4344           1 :   d = PyModule_GetDict(module);
    4345           1 :   if (!d) return NULL;
    4346           1 :   SWIG_Python_SetConstant(d, "HAVE_VFORK",SWIG_From_int((int)(1)));
    4347           1 :   return SWIG_Py_Void();
    4348             : }
    4349             : 
    4350             : 
    4351           1 : SWIGINTERN PyObject *HAVE_VPRINTF_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4352             :   PyObject *module;
    4353             :   PyObject *d;
    4354           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4355           1 :   d = PyModule_GetDict(module);
    4356           1 :   if (!d) return NULL;
    4357           1 :   SWIG_Python_SetConstant(d, "HAVE_VPRINTF",SWIG_From_int((int)(1)));
    4358           1 :   return SWIG_Py_Void();
    4359             : }
    4360             : 
    4361             : 
    4362           1 : SWIGINTERN PyObject *HAVE_VSNPRINTF_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4363             :   PyObject *module;
    4364             :   PyObject *d;
    4365           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4366           1 :   d = PyModule_GetDict(module);
    4367           1 :   if (!d) return NULL;
    4368           1 :   SWIG_Python_SetConstant(d, "HAVE_VSNPRINTF",SWIG_From_int((int)(1)));
    4369           1 :   return SWIG_Py_Void();
    4370             : }
    4371             : 
    4372             : 
    4373           1 : SWIGINTERN PyObject *HAVE_WCHAR_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4374             :   PyObject *module;
    4375             :   PyObject *d;
    4376           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4377           1 :   d = PyModule_GetDict(module);
    4378           1 :   if (!d) return NULL;
    4379           1 :   SWIG_Python_SetConstant(d, "HAVE_WCHAR_H",SWIG_From_int((int)(1)));
    4380           1 :   return SWIG_Py_Void();
    4381             : }
    4382             : 
    4383             : 
    4384           1 : SWIGINTERN PyObject *HAVE_WCTYPE_H_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4385             :   PyObject *module;
    4386             :   PyObject *d;
    4387           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4388           1 :   d = PyModule_GetDict(module);
    4389           1 :   if (!d) return NULL;
    4390           1 :   SWIG_Python_SetConstant(d, "HAVE_WCTYPE_H",SWIG_From_int((int)(1)));
    4391           1 :   return SWIG_Py_Void();
    4392             : }
    4393             : 
    4394             : 
    4395           1 : SWIGINTERN PyObject *HAVE_WORKING_FORK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4396             :   PyObject *module;
    4397             :   PyObject *d;
    4398           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4399           1 :   d = PyModule_GetDict(module);
    4400           1 :   if (!d) return NULL;
    4401           1 :   SWIG_Python_SetConstant(d, "HAVE_WORKING_FORK",SWIG_From_int((int)(1)));
    4402           1 :   return SWIG_Py_Void();
    4403             : }
    4404             : 
    4405             : 
    4406           1 : SWIGINTERN PyObject *HAVE_WORKING_VFORK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4407             :   PyObject *module;
    4408             :   PyObject *d;
    4409           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4410           1 :   d = PyModule_GetDict(module);
    4411           1 :   if (!d) return NULL;
    4412           1 :   SWIG_Python_SetConstant(d, "HAVE_WORKING_VFORK",SWIG_From_int((int)(1)));
    4413           1 :   return SWIG_Py_Void();
    4414             : }
    4415             : 
    4416             : 
    4417           1 : SWIGINTERN PyObject *ISIS_METHOD_BPF_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4418             :   PyObject *module;
    4419             :   PyObject *d;
    4420           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4421           1 :   d = PyModule_GetDict(module);
    4422           1 :   if (!d) return NULL;
    4423           1 :   SWIG_Python_SetConstant(d, "ISIS_METHOD_BPF",SWIG_From_int((int)(3)));
    4424           1 :   return SWIG_Py_Void();
    4425             : }
    4426             : 
    4427             : 
    4428           1 : SWIGINTERN PyObject *ISIS_METHOD_DLPI_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4429             :   PyObject *module;
    4430             :   PyObject *d;
    4431           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4432           1 :   d = PyModule_GetDict(module);
    4433           1 :   if (!d) return NULL;
    4434           1 :   SWIG_Python_SetConstant(d, "ISIS_METHOD_DLPI",SWIG_From_int((int)(2)));
    4435           1 :   return SWIG_Py_Void();
    4436             : }
    4437             : 
    4438             : 
    4439           1 : SWIGINTERN PyObject *ISIS_METHOD_PFPACKET_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4440             :   PyObject *module;
    4441             :   PyObject *d;
    4442           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4443           1 :   d = PyModule_GetDict(module);
    4444           1 :   if (!d) return NULL;
    4445           1 :   SWIG_Python_SetConstant(d, "ISIS_METHOD_PFPACKET",SWIG_From_int((int)(1)));
    4446           1 :   return SWIG_Py_Void();
    4447             : }
    4448             : 
    4449             : 
    4450           1 : SWIGINTERN PyObject *ISIS_VTYSH_PATH_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4451             :   PyObject *module;
    4452             :   PyObject *d;
    4453           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4454           1 :   d = PyModule_GetDict(module);
    4455           1 :   if (!d) return NULL;
    4456           1 :   SWIG_Python_SetConstant(d, "ISIS_VTYSH_PATH",SWIG_FromCharPtr("/var/run/quagga/isisd.vty"));
    4457           1 :   return SWIG_Py_Void();
    4458             : }
    4459             : 
    4460             : 
    4461           1 : SWIGINTERN PyObject *LINUX_IPV6_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4462             :   PyObject *module;
    4463             :   PyObject *d;
    4464           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4465           1 :   d = PyModule_GetDict(module);
    4466           1 :   if (!d) return NULL;
    4467           1 :   SWIG_Python_SetConstant(d, "LINUX_IPV6",SWIG_From_int((int)(1)));
    4468           1 :   return SWIG_Py_Void();
    4469             : }
    4470             : 
    4471             : 
    4472           1 : SWIGINTERN PyObject *LOGFILE_MASK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4473             :   PyObject *module;
    4474             :   PyObject *d;
    4475           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4476           1 :   d = PyModule_GetDict(module);
    4477           1 :   if (!d) return NULL;
    4478           1 :   SWIG_Python_SetConstant(d, "LOGFILE_MASK",SWIG_From_int((int)(0600)));
    4479           1 :   return SWIG_Py_Void();
    4480             : }
    4481             : 
    4482             : 
    4483           1 : SWIGINTERN PyObject *LSTAT_FOLLOWS_SLASHED_SYMLINK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4484             :   PyObject *module;
    4485             :   PyObject *d;
    4486           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4487           1 :   d = PyModule_GetDict(module);
    4488           1 :   if (!d) return NULL;
    4489           1 :   SWIG_Python_SetConstant(d, "LSTAT_FOLLOWS_SLASHED_SYMLINK",SWIG_From_int((int)(1)));
    4490           1 :   return SWIG_Py_Void();
    4491             : }
    4492             : 
    4493             : 
    4494           1 : SWIGINTERN PyObject *LT_OBJDIR_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4495             :   PyObject *module;
    4496             :   PyObject *d;
    4497           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4498           1 :   d = PyModule_GetDict(module);
    4499           1 :   if (!d) return NULL;
    4500           1 :   SWIG_Python_SetConstant(d, "LT_OBJDIR",SWIG_FromCharPtr(".libs/"));
    4501           1 :   return SWIG_Py_Void();
    4502             : }
    4503             : 
    4504             : 
    4505           1 : SWIGINTERN PyObject *OSPF6_VTYSH_PATH_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4506             :   PyObject *module;
    4507             :   PyObject *d;
    4508           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4509           1 :   d = PyModule_GetDict(module);
    4510           1 :   if (!d) return NULL;
    4511           1 :   SWIG_Python_SetConstant(d, "OSPF6_VTYSH_PATH",SWIG_FromCharPtr("/var/run/quagga/ospf6d.vty"));
    4512           1 :   return SWIG_Py_Void();
    4513             : }
    4514             : 
    4515             : 
    4516           1 : SWIGINTERN PyObject *OSPF_VTYSH_PATH_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4517             :   PyObject *module;
    4518             :   PyObject *d;
    4519           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4520           1 :   d = PyModule_GetDict(module);
    4521           1 :   if (!d) return NULL;
    4522           1 :   SWIG_Python_SetConstant(d, "OSPF_VTYSH_PATH",SWIG_FromCharPtr("/var/run/quagga/ospfd.vty"));
    4523           1 :   return SWIG_Py_Void();
    4524             : }
    4525             : 
    4526             : 
    4527           1 : SWIGINTERN PyObject *PACKAGE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4528             :   PyObject *module;
    4529             :   PyObject *d;
    4530           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4531           1 :   d = PyModule_GetDict(module);
    4532           1 :   if (!d) return NULL;
    4533           1 :   SWIG_Python_SetConstant(d, "PACKAGE",SWIG_FromCharPtr("quagga"));
    4534           1 :   return SWIG_Py_Void();
    4535             : }
    4536             : 
    4537             : 
    4538           1 : SWIGINTERN PyObject *PACKAGE_BUGREPORT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4539             :   PyObject *module;
    4540             :   PyObject *d;
    4541           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4542           1 :   d = PyModule_GetDict(module);
    4543           1 :   if (!d) return NULL;
    4544           1 :   SWIG_Python_SetConstant(d, "PACKAGE_BUGREPORT",SWIG_FromCharPtr("https://bugzilla.quagga.net"));
    4545           1 :   return SWIG_Py_Void();
    4546             : }
    4547             : 
    4548             : 
    4549           1 : SWIGINTERN PyObject *PACKAGE_NAME_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4550             :   PyObject *module;
    4551             :   PyObject *d;
    4552           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4553           1 :   d = PyModule_GetDict(module);
    4554           1 :   if (!d) return NULL;
    4555           1 :   SWIG_Python_SetConstant(d, "PACKAGE_NAME",SWIG_FromCharPtr("Quagga"));
    4556           1 :   return SWIG_Py_Void();
    4557             : }
    4558             : 
    4559             : 
    4560           1 : SWIGINTERN PyObject *PACKAGE_STRING_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4561             :   PyObject *module;
    4562             :   PyObject *d;
    4563           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4564           1 :   d = PyModule_GetDict(module);
    4565           1 :   if (!d) return NULL;
    4566           1 :   SWIG_Python_SetConstant(d, "PACKAGE_STRING",SWIG_FromCharPtr("Quagga 0.99.22"));
    4567           1 :   return SWIG_Py_Void();
    4568             : }
    4569             : 
    4570             : 
    4571           1 : SWIGINTERN PyObject *PACKAGE_TARNAME_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4572             :   PyObject *module;
    4573             :   PyObject *d;
    4574           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4575           1 :   d = PyModule_GetDict(module);
    4576           1 :   if (!d) return NULL;
    4577           1 :   SWIG_Python_SetConstant(d, "PACKAGE_TARNAME",SWIG_FromCharPtr("quagga"));
    4578           1 :   return SWIG_Py_Void();
    4579             : }
    4580             : 
    4581             : 
    4582           1 : SWIGINTERN PyObject *PACKAGE_URL_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4583             :   PyObject *module;
    4584             :   PyObject *d;
    4585           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4586           1 :   d = PyModule_GetDict(module);
    4587           1 :   if (!d) return NULL;
    4588           1 :   SWIG_Python_SetConstant(d, "PACKAGE_URL",SWIG_FromCharPtr(""));
    4589           1 :   return SWIG_Py_Void();
    4590             : }
    4591             : 
    4592             : 
    4593           1 : SWIGINTERN PyObject *PACKAGE_VERSION_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4594             :   PyObject *module;
    4595             :   PyObject *d;
    4596           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4597           1 :   d = PyModule_GetDict(module);
    4598           1 :   if (!d) return NULL;
    4599           1 :   SWIG_Python_SetConstant(d, "PACKAGE_VERSION",SWIG_FromCharPtr("0.99.22"));
    4600           1 :   return SWIG_Py_Void();
    4601             : }
    4602             : 
    4603             : 
    4604           1 : SWIGINTERN PyObject *PATH_BABELD_PID_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4605             :   PyObject *module;
    4606             :   PyObject *d;
    4607           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4608           1 :   d = PyModule_GetDict(module);
    4609           1 :   if (!d) return NULL;
    4610           1 :   SWIG_Python_SetConstant(d, "PATH_BABELD_PID",SWIG_FromCharPtr("/var/run/quagga/babeld.pid"));
    4611           1 :   return SWIG_Py_Void();
    4612             : }
    4613             : 
    4614             : 
    4615           1 : SWIGINTERN PyObject *PATH_BGPD_PID_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4616             :   PyObject *module;
    4617             :   PyObject *d;
    4618           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4619           1 :   d = PyModule_GetDict(module);
    4620           1 :   if (!d) return NULL;
    4621           1 :   SWIG_Python_SetConstant(d, "PATH_BGPD_PID",SWIG_FromCharPtr("/var/run/quagga/bgpd.pid"));
    4622           1 :   return SWIG_Py_Void();
    4623             : }
    4624             : 
    4625             : 
    4626           1 : SWIGINTERN PyObject *PATH_ISISD_PID_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4627             :   PyObject *module;
    4628             :   PyObject *d;
    4629           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4630           1 :   d = PyModule_GetDict(module);
    4631           1 :   if (!d) return NULL;
    4632           1 :   SWIG_Python_SetConstant(d, "PATH_ISISD_PID",SWIG_FromCharPtr("/var/run/quagga/isisd.pid"));
    4633           1 :   return SWIG_Py_Void();
    4634             : }
    4635             : 
    4636             : 
    4637           1 : SWIGINTERN PyObject *PATH_OSPF6D_PID_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4638             :   PyObject *module;
    4639             :   PyObject *d;
    4640           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4641           1 :   d = PyModule_GetDict(module);
    4642           1 :   if (!d) return NULL;
    4643           1 :   SWIG_Python_SetConstant(d, "PATH_OSPF6D_PID",SWIG_FromCharPtr("/var/run/quagga/ospf6d.pid"));
    4644           1 :   return SWIG_Py_Void();
    4645             : }
    4646             : 
    4647             : 
    4648           1 : SWIGINTERN PyObject *PATH_OSPFD_PID_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4649             :   PyObject *module;
    4650             :   PyObject *d;
    4651           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4652           1 :   d = PyModule_GetDict(module);
    4653           1 :   if (!d) return NULL;
    4654           1 :   SWIG_Python_SetConstant(d, "PATH_OSPFD_PID",SWIG_FromCharPtr("/var/run/quagga/ospfd.pid"));
    4655           1 :   return SWIG_Py_Void();
    4656             : }
    4657             : 
    4658             : 
    4659           1 : SWIGINTERN PyObject *PATH_RIPD_PID_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4660             :   PyObject *module;
    4661             :   PyObject *d;
    4662           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4663           1 :   d = PyModule_GetDict(module);
    4664           1 :   if (!d) return NULL;
    4665           1 :   SWIG_Python_SetConstant(d, "PATH_RIPD_PID",SWIG_FromCharPtr("/var/run/quagga/ripd.pid"));
    4666           1 :   return SWIG_Py_Void();
    4667             : }
    4668             : 
    4669             : 
    4670           1 : SWIGINTERN PyObject *PATH_RIPNGD_PID_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4671             :   PyObject *module;
    4672             :   PyObject *d;
    4673           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4674           1 :   d = PyModule_GetDict(module);
    4675           1 :   if (!d) return NULL;
    4676           1 :   SWIG_Python_SetConstant(d, "PATH_RIPNGD_PID",SWIG_FromCharPtr("/var/run/quagga/ripngd.pid"));
    4677           1 :   return SWIG_Py_Void();
    4678             : }
    4679             : 
    4680             : 
    4681           1 : SWIGINTERN PyObject *PATH_WATCHQUAGGA_PID_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4682             :   PyObject *module;
    4683             :   PyObject *d;
    4684           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4685           1 :   d = PyModule_GetDict(module);
    4686           1 :   if (!d) return NULL;
    4687           1 :   SWIG_Python_SetConstant(d, "PATH_WATCHQUAGGA_PID",SWIG_FromCharPtr("/var/run/quagga/watchquagga.pid"));
    4688           1 :   return SWIG_Py_Void();
    4689             : }
    4690             : 
    4691             : 
    4692           1 : SWIGINTERN PyObject *PATH_ZEBRA_PID_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4693             :   PyObject *module;
    4694             :   PyObject *d;
    4695           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4696           1 :   d = PyModule_GetDict(module);
    4697           1 :   if (!d) return NULL;
    4698           1 :   SWIG_Python_SetConstant(d, "PATH_ZEBRA_PID",SWIG_FromCharPtr("/var/run/quagga/zebra.pid"));
    4699           1 :   return SWIG_Py_Void();
    4700             : }
    4701             : 
    4702             : 
    4703           1 : SWIGINTERN PyObject *QUAGGA_GROUP_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4704             :   PyObject *module;
    4705             :   PyObject *d;
    4706           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4707           1 :   d = PyModule_GetDict(module);
    4708           1 :   if (!d) return NULL;
    4709           1 :   SWIG_Python_SetConstant(d, "QUAGGA_GROUP",SWIG_FromCharPtr("quagga"));
    4710           1 :   return SWIG_Py_Void();
    4711             : }
    4712             : 
    4713             : 
    4714           1 : SWIGINTERN PyObject *QUAGGA_NO_DEPRECATED_INTERFACES_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4715             :   PyObject *module;
    4716             :   PyObject *d;
    4717           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4718           1 :   d = PyModule_GetDict(module);
    4719           1 :   if (!d) return NULL;
    4720           1 :   SWIG_Python_SetConstant(d, "QUAGGA_NO_DEPRECATED_INTERFACES",SWIG_From_int((int)(1)));
    4721           1 :   return SWIG_Py_Void();
    4722             : }
    4723             : 
    4724             : 
    4725           1 : SWIGINTERN PyObject *QUAGGA_USER_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4726             :   PyObject *module;
    4727             :   PyObject *d;
    4728           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4729           1 :   d = PyModule_GetDict(module);
    4730           1 :   if (!d) return NULL;
    4731           1 :   SWIG_Python_SetConstant(d, "QUAGGA_USER",SWIG_FromCharPtr("quagga"));
    4732           1 :   return SWIG_Py_Void();
    4733             : }
    4734             : 
    4735             : 
    4736           1 : SWIGINTERN PyObject *RIPNG_VTYSH_PATH_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4737             :   PyObject *module;
    4738             :   PyObject *d;
    4739           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4740           1 :   d = PyModule_GetDict(module);
    4741           1 :   if (!d) return NULL;
    4742           1 :   SWIG_Python_SetConstant(d, "RIPNG_VTYSH_PATH",SWIG_FromCharPtr("/var/run/quagga/ripngd.vty"));
    4743           1 :   return SWIG_Py_Void();
    4744             : }
    4745             : 
    4746             : 
    4747           1 : SWIGINTERN PyObject *RIP_VTYSH_PATH_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4748             :   PyObject *module;
    4749             :   PyObject *d;
    4750           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4751           1 :   d = PyModule_GetDict(module);
    4752           1 :   if (!d) return NULL;
    4753           1 :   SWIG_Python_SetConstant(d, "RIP_VTYSH_PATH",SWIG_FromCharPtr("/var/run/quagga/ripd.vty"));
    4754           1 :   return SWIG_Py_Void();
    4755             : }
    4756             : 
    4757             : 
    4758           1 : SWIGINTERN PyObject *STDC_HEADERS_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4759             :   PyObject *module;
    4760             :   PyObject *d;
    4761           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4762           1 :   d = PyModule_GetDict(module);
    4763           1 :   if (!d) return NULL;
    4764           1 :   SWIG_Python_SetConstant(d, "STDC_HEADERS",SWIG_From_int((int)(1)));
    4765           1 :   return SWIG_Py_Void();
    4766             : }
    4767             : 
    4768             : 
    4769           1 : SWIGINTERN PyObject *TIME_WITH_SYS_TIME_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4770             :   PyObject *module;
    4771             :   PyObject *d;
    4772           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4773           1 :   d = PyModule_GetDict(module);
    4774           1 :   if (!d) return NULL;
    4775           1 :   SWIG_Python_SetConstant(d, "TIME_WITH_SYS_TIME",SWIG_From_int((int)(1)));
    4776           1 :   return SWIG_Py_Void();
    4777             : }
    4778             : 
    4779             : 
    4780           1 : SWIGINTERN PyObject *_ALL_SOURCE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4781             :   PyObject *module;
    4782             :   PyObject *d;
    4783           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4784           1 :   d = PyModule_GetDict(module);
    4785           1 :   if (!d) return NULL;
    4786           1 :   SWIG_Python_SetConstant(d, "_ALL_SOURCE",SWIG_From_int((int)(1)));
    4787           1 :   return SWIG_Py_Void();
    4788             : }
    4789             : 
    4790             : 
    4791           1 : SWIGINTERN PyObject *_GNU_SOURCE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4792             :   PyObject *module;
    4793             :   PyObject *d;
    4794           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4795           1 :   d = PyModule_GetDict(module);
    4796           1 :   if (!d) return NULL;
    4797           1 :   SWIG_Python_SetConstant(d, "_GNU_SOURCE",SWIG_From_int((int)(1)));
    4798           1 :   return SWIG_Py_Void();
    4799             : }
    4800             : 
    4801             : 
    4802           1 : SWIGINTERN PyObject *_POSIX_PTHREAD_SEMANTICS_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4803             :   PyObject *module;
    4804             :   PyObject *d;
    4805           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4806           1 :   d = PyModule_GetDict(module);
    4807           1 :   if (!d) return NULL;
    4808           1 :   SWIG_Python_SetConstant(d, "_POSIX_PTHREAD_SEMANTICS",SWIG_From_int((int)(1)));
    4809           1 :   return SWIG_Py_Void();
    4810             : }
    4811             : 
    4812             : 
    4813           1 : SWIGINTERN PyObject *_TANDEM_SOURCE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4814             :   PyObject *module;
    4815             :   PyObject *d;
    4816           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4817           1 :   d = PyModule_GetDict(module);
    4818           1 :   if (!d) return NULL;
    4819           1 :   SWIG_Python_SetConstant(d, "_TANDEM_SOURCE",SWIG_From_int((int)(1)));
    4820           1 :   return SWIG_Py_Void();
    4821             : }
    4822             : 
    4823             : 
    4824           1 : SWIGINTERN PyObject *__EXTENSIONS___swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4825             :   PyObject *module;
    4826             :   PyObject *d;
    4827           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4828           1 :   d = PyModule_GetDict(module);
    4829           1 :   if (!d) return NULL;
    4830           1 :   SWIG_Python_SetConstant(d, "__EXTENSIONS__",SWIG_From_int((int)(1)));
    4831           1 :   return SWIG_Py_Void();
    4832             : }
    4833             : 
    4834             : 
    4835           1 : SWIGINTERN PyObject *VERSION_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4836             :   PyObject *module;
    4837             :   PyObject *d;
    4838           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4839           1 :   d = PyModule_GetDict(module);
    4840           1 :   if (!d) return NULL;
    4841           1 :   SWIG_Python_SetConstant(d, "VERSION",SWIG_FromCharPtr("0.99.22"));
    4842           1 :   return SWIG_Py_Void();
    4843             : }
    4844             : 
    4845             : 
    4846           1 : SWIGINTERN PyObject *ZEBRA_SERV_PATH_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4847             :   PyObject *module;
    4848             :   PyObject *d;
    4849           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4850           1 :   d = PyModule_GetDict(module);
    4851           1 :   if (!d) return NULL;
    4852           1 :   SWIG_Python_SetConstant(d, "ZEBRA_SERV_PATH",SWIG_FromCharPtr("/var/run/quagga/zserv.api"));
    4853           1 :   return SWIG_Py_Void();
    4854             : }
    4855             : 
    4856             : 
    4857           1 : SWIGINTERN PyObject *ZEBRA_VTYSH_PATH_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4858             :   PyObject *module;
    4859             :   PyObject *d;
    4860           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4861           1 :   d = PyModule_GetDict(module);
    4862           1 :   if (!d) return NULL;
    4863           1 :   SWIG_Python_SetConstant(d, "ZEBRA_VTYSH_PATH",SWIG_FromCharPtr("/var/run/quagga/zebra.vty"));
    4864           1 :   return SWIG_Py_Void();
    4865             : }
    4866             : 
    4867             : 
    4868           1 : SWIGINTERN PyObject *_DARWIN_USE_64_BIT_INODE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4869             :   PyObject *module;
    4870             :   PyObject *d;
    4871           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4872           1 :   d = PyModule_GetDict(module);
    4873           1 :   if (!d) return NULL;
    4874           1 :   SWIG_Python_SetConstant(d, "_DARWIN_USE_64_BIT_INODE",SWIG_From_int((int)(1)));
    4875           1 :   return SWIG_Py_Void();
    4876             : }
    4877             : 
    4878             : 
    4879           1 : SWIGINTERN PyObject *ZEBRA_ROUTE_SYSTEM_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4880             :   PyObject *module;
    4881             :   PyObject *d;
    4882           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4883           1 :   d = PyModule_GetDict(module);
    4884           1 :   if (!d) return NULL;
    4885           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ROUTE_SYSTEM",SWIG_From_int((int)(0)));
    4886           1 :   return SWIG_Py_Void();
    4887             : }
    4888             : 
    4889             : 
    4890           1 : SWIGINTERN PyObject *ZEBRA_ROUTE_KERNEL_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4891             :   PyObject *module;
    4892             :   PyObject *d;
    4893           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4894           1 :   d = PyModule_GetDict(module);
    4895           1 :   if (!d) return NULL;
    4896           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ROUTE_KERNEL",SWIG_From_int((int)(1)));
    4897           1 :   return SWIG_Py_Void();
    4898             : }
    4899             : 
    4900             : 
    4901           1 : SWIGINTERN PyObject *ZEBRA_ROUTE_CONNECT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4902             :   PyObject *module;
    4903             :   PyObject *d;
    4904           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4905           1 :   d = PyModule_GetDict(module);
    4906           1 :   if (!d) return NULL;
    4907           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ROUTE_CONNECT",SWIG_From_int((int)(2)));
    4908           1 :   return SWIG_Py_Void();
    4909             : }
    4910             : 
    4911             : 
    4912           1 : SWIGINTERN PyObject *ZEBRA_ROUTE_STATIC_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4913             :   PyObject *module;
    4914             :   PyObject *d;
    4915           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4916           1 :   d = PyModule_GetDict(module);
    4917           1 :   if (!d) return NULL;
    4918           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ROUTE_STATIC",SWIG_From_int((int)(3)));
    4919           1 :   return SWIG_Py_Void();
    4920             : }
    4921             : 
    4922             : 
    4923           1 : SWIGINTERN PyObject *ZEBRA_ROUTE_RIP_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4924             :   PyObject *module;
    4925             :   PyObject *d;
    4926           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4927           1 :   d = PyModule_GetDict(module);
    4928           1 :   if (!d) return NULL;
    4929           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ROUTE_RIP",SWIG_From_int((int)(4)));
    4930           1 :   return SWIG_Py_Void();
    4931             : }
    4932             : 
    4933             : 
    4934           1 : SWIGINTERN PyObject *ZEBRA_ROUTE_RIPNG_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4935             :   PyObject *module;
    4936             :   PyObject *d;
    4937           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4938           1 :   d = PyModule_GetDict(module);
    4939           1 :   if (!d) return NULL;
    4940           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ROUTE_RIPNG",SWIG_From_int((int)(5)));
    4941           1 :   return SWIG_Py_Void();
    4942             : }
    4943             : 
    4944             : 
    4945           1 : SWIGINTERN PyObject *ZEBRA_ROUTE_OSPF_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4946             :   PyObject *module;
    4947             :   PyObject *d;
    4948           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4949           1 :   d = PyModule_GetDict(module);
    4950           1 :   if (!d) return NULL;
    4951           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ROUTE_OSPF",SWIG_From_int((int)(6)));
    4952           1 :   return SWIG_Py_Void();
    4953             : }
    4954             : 
    4955             : 
    4956           1 : SWIGINTERN PyObject *ZEBRA_ROUTE_OSPF6_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4957             :   PyObject *module;
    4958             :   PyObject *d;
    4959           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4960           1 :   d = PyModule_GetDict(module);
    4961           1 :   if (!d) return NULL;
    4962           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ROUTE_OSPF6",SWIG_From_int((int)(7)));
    4963           1 :   return SWIG_Py_Void();
    4964             : }
    4965             : 
    4966             : 
    4967           1 : SWIGINTERN PyObject *ZEBRA_ROUTE_ISIS_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4968             :   PyObject *module;
    4969             :   PyObject *d;
    4970           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4971           1 :   d = PyModule_GetDict(module);
    4972           1 :   if (!d) return NULL;
    4973           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ROUTE_ISIS",SWIG_From_int((int)(8)));
    4974           1 :   return SWIG_Py_Void();
    4975             : }
    4976             : 
    4977             : 
    4978           1 : SWIGINTERN PyObject *ZEBRA_ROUTE_BGP_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4979             :   PyObject *module;
    4980             :   PyObject *d;
    4981           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4982           1 :   d = PyModule_GetDict(module);
    4983           1 :   if (!d) return NULL;
    4984           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ROUTE_BGP",SWIG_From_int((int)(9)));
    4985           1 :   return SWIG_Py_Void();
    4986             : }
    4987             : 
    4988             : 
    4989           1 : SWIGINTERN PyObject *ZEBRA_ROUTE_HSLS_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    4990             :   PyObject *module;
    4991             :   PyObject *d;
    4992           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    4993           1 :   d = PyModule_GetDict(module);
    4994           1 :   if (!d) return NULL;
    4995           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ROUTE_HSLS",SWIG_From_int((int)(10)));
    4996           1 :   return SWIG_Py_Void();
    4997             : }
    4998             : 
    4999             : 
    5000           1 : SWIGINTERN PyObject *ZEBRA_ROUTE_OLSR_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5001             :   PyObject *module;
    5002             :   PyObject *d;
    5003           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5004           1 :   d = PyModule_GetDict(module);
    5005           1 :   if (!d) return NULL;
    5006           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ROUTE_OLSR",SWIG_From_int((int)(11)));
    5007           1 :   return SWIG_Py_Void();
    5008             : }
    5009             : 
    5010             : 
    5011           1 : SWIGINTERN PyObject *ZEBRA_ROUTE_BABEL_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5012             :   PyObject *module;
    5013             :   PyObject *d;
    5014           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5015           1 :   d = PyModule_GetDict(module);
    5016           1 :   if (!d) return NULL;
    5017           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ROUTE_BABEL",SWIG_From_int((int)(12)));
    5018           1 :   return SWIG_Py_Void();
    5019             : }
    5020             : 
    5021             : 
    5022           1 : SWIGINTERN PyObject *ZEBRA_ROUTE_MAX_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5023             :   PyObject *module;
    5024             :   PyObject *d;
    5025           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5026           1 :   d = PyModule_GetDict(module);
    5027           1 :   if (!d) return NULL;
    5028           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ROUTE_MAX",SWIG_From_int((int)(13)));
    5029           1 :   return SWIG_Py_Void();
    5030             : }
    5031             : 
    5032             : 
    5033           1 : SWIGINTERN PyObject *QUAGGA_REDIST_STR_BABELD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5034             :   PyObject *module;
    5035             :   PyObject *d;
    5036           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5037           1 :   d = PyModule_GetDict(module);
    5038           1 :   if (!d) return NULL;
    5039           1 :   SWIG_Python_SetConstant(d, "QUAGGA_REDIST_STR_BABELD",SWIG_FromCharPtr("(kernel|connected|static|rip|ripng|ospf|ospf6|isis|bgp)"));
    5040           1 :   return SWIG_Py_Void();
    5041             : }
    5042             : 
    5043             : 
    5044           1 : SWIGINTERN PyObject *QUAGGA_REDIST_HELP_STR_BABELD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5045             :   PyObject *module;
    5046             :   PyObject *d;
    5047           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5048           1 :   d = PyModule_GetDict(module);
    5049           1 :   if (!d) return NULL;
    5050           1 :   SWIG_Python_SetConstant(d, "QUAGGA_REDIST_HELP_STR_BABELD",SWIG_FromCharPtr("Kernel routes (not installed via the zebra RIB)\nConnected routes (directly attached subnet or host)\nStatically configured routes\nRouting Information Protocol (RIP)\nRouting Information Protocol next-generation (IPv6) (RIPng)\nOpen Shortest Path First (OSPFv2)\nOpen Shortest Path First (IPv6) (OSPFv3)\nIntermediate System to Intermediate System (IS-IS)\nBorder Gateway Protocol (BGP)\n"));
    5051           1 :   return SWIG_Py_Void();
    5052             : }
    5053             : 
    5054             : 
    5055           1 : SWIGINTERN PyObject *QUAGGA_IP_REDIST_STR_BABELD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5056             :   PyObject *module;
    5057             :   PyObject *d;
    5058           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5059           1 :   d = PyModule_GetDict(module);
    5060           1 :   if (!d) return NULL;
    5061           1 :   SWIG_Python_SetConstant(d, "QUAGGA_IP_REDIST_STR_BABELD",SWIG_FromCharPtr("(kernel|connected|static|rip|ospf|isis|bgp)"));
    5062           1 :   return SWIG_Py_Void();
    5063             : }
    5064             : 
    5065             : 
    5066           1 : SWIGINTERN PyObject *QUAGGA_IP_REDIST_HELP_STR_BABELD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5067             :   PyObject *module;
    5068             :   PyObject *d;
    5069           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5070           1 :   d = PyModule_GetDict(module);
    5071           1 :   if (!d) return NULL;
    5072           1 :   SWIG_Python_SetConstant(d, "QUAGGA_IP_REDIST_HELP_STR_BABELD",SWIG_FromCharPtr("Kernel routes (not installed via the zebra RIB)\nConnected routes (directly attached subnet or host)\nStatically configured routes\nRouting Information Protocol (RIP)\nOpen Shortest Path First (OSPFv2)\nIntermediate System to Intermediate System (IS-IS)\nBorder Gateway Protocol (BGP)\n"));
    5073           1 :   return SWIG_Py_Void();
    5074             : }
    5075             : 
    5076             : 
    5077           1 : SWIGINTERN PyObject *QUAGGA_IP6_REDIST_STR_BABELD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5078             :   PyObject *module;
    5079             :   PyObject *d;
    5080           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5081           1 :   d = PyModule_GetDict(module);
    5082           1 :   if (!d) return NULL;
    5083           1 :   SWIG_Python_SetConstant(d, "QUAGGA_IP6_REDIST_STR_BABELD",SWIG_FromCharPtr("(kernel|connected|static|ripng|ospf6|isis|bgp)"));
    5084           1 :   return SWIG_Py_Void();
    5085             : }
    5086             : 
    5087             : 
    5088           1 : SWIGINTERN PyObject *QUAGGA_IP6_REDIST_HELP_STR_BABELD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5089             :   PyObject *module;
    5090             :   PyObject *d;
    5091           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5092           1 :   d = PyModule_GetDict(module);
    5093           1 :   if (!d) return NULL;
    5094           1 :   SWIG_Python_SetConstant(d, "QUAGGA_IP6_REDIST_HELP_STR_BABELD",SWIG_FromCharPtr("Kernel routes (not installed via the zebra RIB)\nConnected routes (directly attached subnet or host)\nStatically configured routes\nRouting Information Protocol next-generation (IPv6) (RIPng)\nOpen Shortest Path First (IPv6) (OSPFv3)\nIntermediate System to Intermediate System (IS-IS)\nBorder Gateway Protocol (BGP)\n"));
    5095           1 :   return SWIG_Py_Void();
    5096             : }
    5097             : 
    5098             : 
    5099           1 : SWIGINTERN PyObject *QUAGGA_REDIST_STR_BGPD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5100             :   PyObject *module;
    5101             :   PyObject *d;
    5102           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5103           1 :   d = PyModule_GetDict(module);
    5104           1 :   if (!d) return NULL;
    5105           1 :   SWIG_Python_SetConstant(d, "QUAGGA_REDIST_STR_BGPD",SWIG_FromCharPtr("(kernel|connected|static|rip|ripng|ospf|ospf6|isis|babel)"));
    5106           1 :   return SWIG_Py_Void();
    5107             : }
    5108             : 
    5109             : 
    5110           1 : SWIGINTERN PyObject *QUAGGA_REDIST_HELP_STR_BGPD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5111             :   PyObject *module;
    5112             :   PyObject *d;
    5113           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5114           1 :   d = PyModule_GetDict(module);
    5115           1 :   if (!d) return NULL;
    5116           1 :   SWIG_Python_SetConstant(d, "QUAGGA_REDIST_HELP_STR_BGPD",SWIG_FromCharPtr("Kernel routes (not installed via the zebra RIB)\nConnected routes (directly attached subnet or host)\nStatically configured routes\nRouting Information Protocol (RIP)\nRouting Information Protocol next-generation (IPv6) (RIPng)\nOpen Shortest Path First (OSPFv2)\nOpen Shortest Path First (IPv6) (OSPFv3)\nIntermediate System to Intermediate System (IS-IS)\nBabel routing protocol (Babel)\n"));
    5117           1 :   return SWIG_Py_Void();
    5118             : }
    5119             : 
    5120             : 
    5121           1 : SWIGINTERN PyObject *QUAGGA_IP_REDIST_STR_BGPD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5122             :   PyObject *module;
    5123             :   PyObject *d;
    5124           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5125           1 :   d = PyModule_GetDict(module);
    5126           1 :   if (!d) return NULL;
    5127           1 :   SWIG_Python_SetConstant(d, "QUAGGA_IP_REDIST_STR_BGPD",SWIG_FromCharPtr("(kernel|connected|static|rip|ospf|isis|babel)"));
    5128           1 :   return SWIG_Py_Void();
    5129             : }
    5130             : 
    5131             : 
    5132           1 : SWIGINTERN PyObject *QUAGGA_IP_REDIST_HELP_STR_BGPD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5133             :   PyObject *module;
    5134             :   PyObject *d;
    5135           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5136           1 :   d = PyModule_GetDict(module);
    5137           1 :   if (!d) return NULL;
    5138           1 :   SWIG_Python_SetConstant(d, "QUAGGA_IP_REDIST_HELP_STR_BGPD",SWIG_FromCharPtr("Kernel routes (not installed via the zebra RIB)\nConnected routes (directly attached subnet or host)\nStatically configured routes\nRouting Information Protocol (RIP)\nOpen Shortest Path First (OSPFv2)\nIntermediate System to Intermediate System (IS-IS)\nBabel routing protocol (Babel)\n"));
    5139           1 :   return SWIG_Py_Void();
    5140             : }
    5141             : 
    5142             : 
    5143           1 : SWIGINTERN PyObject *QUAGGA_IP6_REDIST_STR_BGPD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5144             :   PyObject *module;
    5145             :   PyObject *d;
    5146           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5147           1 :   d = PyModule_GetDict(module);
    5148           1 :   if (!d) return NULL;
    5149           1 :   SWIG_Python_SetConstant(d, "QUAGGA_IP6_REDIST_STR_BGPD",SWIG_FromCharPtr("(kernel|connected|static|ripng|ospf6|isis|babel)"));
    5150           1 :   return SWIG_Py_Void();
    5151             : }
    5152             : 
    5153             : 
    5154           1 : SWIGINTERN PyObject *QUAGGA_IP6_REDIST_HELP_STR_BGPD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5155             :   PyObject *module;
    5156             :   PyObject *d;
    5157           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5158           1 :   d = PyModule_GetDict(module);
    5159           1 :   if (!d) return NULL;
    5160           1 :   SWIG_Python_SetConstant(d, "QUAGGA_IP6_REDIST_HELP_STR_BGPD",SWIG_FromCharPtr("Kernel routes (not installed via the zebra RIB)\nConnected routes (directly attached subnet or host)\nStatically configured routes\nRouting Information Protocol next-generation (IPv6) (RIPng)\nOpen Shortest Path First (IPv6) (OSPFv3)\nIntermediate System to Intermediate System (IS-IS)\nBabel routing protocol (Babel)\n"));
    5161           1 :   return SWIG_Py_Void();
    5162             : }
    5163             : 
    5164             : 
    5165           1 : SWIGINTERN PyObject *QUAGGA_REDIST_STR_ISISD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5166             :   PyObject *module;
    5167             :   PyObject *d;
    5168           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5169           1 :   d = PyModule_GetDict(module);
    5170           1 :   if (!d) return NULL;
    5171           1 :   SWIG_Python_SetConstant(d, "QUAGGA_REDIST_STR_ISISD",SWIG_FromCharPtr("(kernel|connected|static|rip|ripng|ospf|ospf6|bgp|babel)"));
    5172           1 :   return SWIG_Py_Void();
    5173             : }
    5174             : 
    5175             : 
    5176           1 : SWIGINTERN PyObject *QUAGGA_REDIST_HELP_STR_ISISD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5177             :   PyObject *module;
    5178             :   PyObject *d;
    5179           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5180           1 :   d = PyModule_GetDict(module);
    5181           1 :   if (!d) return NULL;
    5182           1 :   SWIG_Python_SetConstant(d, "QUAGGA_REDIST_HELP_STR_ISISD",SWIG_FromCharPtr("Kernel routes (not installed via the zebra RIB)\nConnected routes (directly attached subnet or host)\nStatically configured routes\nRouting Information Protocol (RIP)\nRouting Information Protocol next-generation (IPv6) (RIPng)\nOpen Shortest Path First (OSPFv2)\nOpen Shortest Path First (IPv6) (OSPFv3)\nBorder Gateway Protocol (BGP)\nBabel routing protocol (Babel)\n"));
    5183           1 :   return SWIG_Py_Void();
    5184             : }
    5185             : 
    5186             : 
    5187           1 : SWIGINTERN PyObject *QUAGGA_IP_REDIST_STR_ISISD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5188             :   PyObject *module;
    5189             :   PyObject *d;
    5190           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5191           1 :   d = PyModule_GetDict(module);
    5192           1 :   if (!d) return NULL;
    5193           1 :   SWIG_Python_SetConstant(d, "QUAGGA_IP_REDIST_STR_ISISD",SWIG_FromCharPtr("(kernel|connected|static|rip|ospf|bgp|babel)"));
    5194           1 :   return SWIG_Py_Void();
    5195             : }
    5196             : 
    5197             : 
    5198           1 : SWIGINTERN PyObject *QUAGGA_IP_REDIST_HELP_STR_ISISD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5199             :   PyObject *module;
    5200             :   PyObject *d;
    5201           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5202           1 :   d = PyModule_GetDict(module);
    5203           1 :   if (!d) return NULL;
    5204           1 :   SWIG_Python_SetConstant(d, "QUAGGA_IP_REDIST_HELP_STR_ISISD",SWIG_FromCharPtr("Kernel routes (not installed via the zebra RIB)\nConnected routes (directly attached subnet or host)\nStatically configured routes\nRouting Information Protocol (RIP)\nOpen Shortest Path First (OSPFv2)\nBorder Gateway Protocol (BGP)\nBabel routing protocol (Babel)\n"));
    5205           1 :   return SWIG_Py_Void();
    5206             : }
    5207             : 
    5208             : 
    5209           1 : SWIGINTERN PyObject *QUAGGA_IP6_REDIST_STR_ISISD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5210             :   PyObject *module;
    5211             :   PyObject *d;
    5212           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5213           1 :   d = PyModule_GetDict(module);
    5214           1 :   if (!d) return NULL;
    5215           1 :   SWIG_Python_SetConstant(d, "QUAGGA_IP6_REDIST_STR_ISISD",SWIG_FromCharPtr("(kernel|connected|static|ripng|ospf6|bgp|babel)"));
    5216           1 :   return SWIG_Py_Void();
    5217             : }
    5218             : 
    5219             : 
    5220           1 : SWIGINTERN PyObject *QUAGGA_IP6_REDIST_HELP_STR_ISISD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5221             :   PyObject *module;
    5222             :   PyObject *d;
    5223           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5224           1 :   d = PyModule_GetDict(module);
    5225           1 :   if (!d) return NULL;
    5226           1 :   SWIG_Python_SetConstant(d, "QUAGGA_IP6_REDIST_HELP_STR_ISISD",SWIG_FromCharPtr("Kernel routes (not installed via the zebra RIB)\nConnected routes (directly attached subnet or host)\nStatically configured routes\nRouting Information Protocol next-generation (IPv6) (RIPng)\nOpen Shortest Path First (IPv6) (OSPFv3)\nBorder Gateway Protocol (BGP)\nBabel routing protocol (Babel)\n"));
    5227           1 :   return SWIG_Py_Void();
    5228             : }
    5229             : 
    5230             : 
    5231           1 : SWIGINTERN PyObject *QUAGGA_REDIST_STR_OSPF6D_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5232             :   PyObject *module;
    5233             :   PyObject *d;
    5234           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5235           1 :   d = PyModule_GetDict(module);
    5236           1 :   if (!d) return NULL;
    5237           1 :   SWIG_Python_SetConstant(d, "QUAGGA_REDIST_STR_OSPF6D",SWIG_FromCharPtr("(kernel|connected|static|ripng|isis|bgp|babel)"));
    5238           1 :   return SWIG_Py_Void();
    5239             : }
    5240             : 
    5241             : 
    5242           1 : SWIGINTERN PyObject *QUAGGA_REDIST_HELP_STR_OSPF6D_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5243             :   PyObject *module;
    5244             :   PyObject *d;
    5245           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5246           1 :   d = PyModule_GetDict(module);
    5247           1 :   if (!d) return NULL;
    5248           1 :   SWIG_Python_SetConstant(d, "QUAGGA_REDIST_HELP_STR_OSPF6D",SWIG_FromCharPtr("Kernel routes (not installed via the zebra RIB)\nConnected routes (directly attached subnet or host)\nStatically configured routes\nRouting Information Protocol next-generation (IPv6) (RIPng)\nIntermediate System to Intermediate System (IS-IS)\nBorder Gateway Protocol (BGP)\nBabel routing protocol (Babel)\n"));
    5249           1 :   return SWIG_Py_Void();
    5250             : }
    5251             : 
    5252             : 
    5253           1 : SWIGINTERN PyObject *QUAGGA_REDIST_STR_OSPFD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5254             :   PyObject *module;
    5255             :   PyObject *d;
    5256           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5257           1 :   d = PyModule_GetDict(module);
    5258           1 :   if (!d) return NULL;
    5259           1 :   SWIG_Python_SetConstant(d, "QUAGGA_REDIST_STR_OSPFD",SWIG_FromCharPtr("(kernel|connected|static|rip|isis|bgp|babel)"));
    5260           1 :   return SWIG_Py_Void();
    5261             : }
    5262             : 
    5263             : 
    5264           1 : SWIGINTERN PyObject *QUAGGA_REDIST_HELP_STR_OSPFD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5265             :   PyObject *module;
    5266             :   PyObject *d;
    5267           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5268           1 :   d = PyModule_GetDict(module);
    5269           1 :   if (!d) return NULL;
    5270           1 :   SWIG_Python_SetConstant(d, "QUAGGA_REDIST_HELP_STR_OSPFD",SWIG_FromCharPtr("Kernel routes (not installed via the zebra RIB)\nConnected routes (directly attached subnet or host)\nStatically configured routes\nRouting Information Protocol (RIP)\nIntermediate System to Intermediate System (IS-IS)\nBorder Gateway Protocol (BGP)\nBabel routing protocol (Babel)\n"));
    5271           1 :   return SWIG_Py_Void();
    5272             : }
    5273             : 
    5274             : 
    5275           1 : SWIGINTERN PyObject *QUAGGA_REDIST_STR_RIPD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5276             :   PyObject *module;
    5277             :   PyObject *d;
    5278           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5279           1 :   d = PyModule_GetDict(module);
    5280           1 :   if (!d) return NULL;
    5281           1 :   SWIG_Python_SetConstant(d, "QUAGGA_REDIST_STR_RIPD",SWIG_FromCharPtr("(kernel|connected|static|ospf|isis|bgp|babel)"));
    5282           1 :   return SWIG_Py_Void();
    5283             : }
    5284             : 
    5285             : 
    5286           1 : SWIGINTERN PyObject *QUAGGA_REDIST_HELP_STR_RIPD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5287             :   PyObject *module;
    5288             :   PyObject *d;
    5289           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5290           1 :   d = PyModule_GetDict(module);
    5291           1 :   if (!d) return NULL;
    5292           1 :   SWIG_Python_SetConstant(d, "QUAGGA_REDIST_HELP_STR_RIPD",SWIG_FromCharPtr("Kernel routes (not installed via the zebra RIB)\nConnected routes (directly attached subnet or host)\nStatically configured routes\nOpen Shortest Path First (OSPFv2)\nIntermediate System to Intermediate System (IS-IS)\nBorder Gateway Protocol (BGP)\nBabel routing protocol (Babel)\n"));
    5293           1 :   return SWIG_Py_Void();
    5294             : }
    5295             : 
    5296             : 
    5297           1 : SWIGINTERN PyObject *QUAGGA_REDIST_STR_RIPNGD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5298             :   PyObject *module;
    5299             :   PyObject *d;
    5300           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5301           1 :   d = PyModule_GetDict(module);
    5302           1 :   if (!d) return NULL;
    5303           1 :   SWIG_Python_SetConstant(d, "QUAGGA_REDIST_STR_RIPNGD",SWIG_FromCharPtr("(kernel|connected|static|ospf6|isis|bgp|babel)"));
    5304           1 :   return SWIG_Py_Void();
    5305             : }
    5306             : 
    5307             : 
    5308           1 : SWIGINTERN PyObject *QUAGGA_REDIST_HELP_STR_RIPNGD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5309             :   PyObject *module;
    5310             :   PyObject *d;
    5311           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5312           1 :   d = PyModule_GetDict(module);
    5313           1 :   if (!d) return NULL;
    5314           1 :   SWIG_Python_SetConstant(d, "QUAGGA_REDIST_HELP_STR_RIPNGD",SWIG_FromCharPtr("Kernel routes (not installed via the zebra RIB)\nConnected routes (directly attached subnet or host)\nStatically configured routes\nOpen Shortest Path First (IPv6) (OSPFv3)\nIntermediate System to Intermediate System (IS-IS)\nBorder Gateway Protocol (BGP)\nBabel routing protocol (Babel)\n"));
    5315           1 :   return SWIG_Py_Void();
    5316             : }
    5317             : 
    5318             : 
    5319           1 : SWIGINTERN PyObject *QUAGGA_REDIST_STR_ZEBRA_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5320             :   PyObject *module;
    5321             :   PyObject *d;
    5322           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5323           1 :   d = PyModule_GetDict(module);
    5324           1 :   if (!d) return NULL;
    5325           1 :   SWIG_Python_SetConstant(d, "QUAGGA_REDIST_STR_ZEBRA",SWIG_FromCharPtr("(kernel|connected|static|rip|ripng|ospf|ospf6|isis|bgp|babel)"));
    5326           1 :   return SWIG_Py_Void();
    5327             : }
    5328             : 
    5329             : 
    5330           1 : SWIGINTERN PyObject *QUAGGA_REDIST_HELP_STR_ZEBRA_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5331             :   PyObject *module;
    5332             :   PyObject *d;
    5333           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5334           1 :   d = PyModule_GetDict(module);
    5335           1 :   if (!d) return NULL;
    5336           1 :   SWIG_Python_SetConstant(d, "QUAGGA_REDIST_HELP_STR_ZEBRA",SWIG_FromCharPtr("Kernel routes (not installed via the zebra RIB)\nConnected routes (directly attached subnet or host)\nStatically configured routes\nRouting Information Protocol (RIP)\nRouting Information Protocol next-generation (IPv6) (RIPng)\nOpen Shortest Path First (OSPFv2)\nOpen Shortest Path First (IPv6) (OSPFv3)\nIntermediate System to Intermediate System (IS-IS)\nBorder Gateway Protocol (BGP)\nBabel routing protocol (Babel)\n"));
    5337           1 :   return SWIG_Py_Void();
    5338             : }
    5339             : 
    5340             : 
    5341           1 : SWIGINTERN PyObject *QUAGGA_IP_REDIST_STR_ZEBRA_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5342             :   PyObject *module;
    5343             :   PyObject *d;
    5344           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5345           1 :   d = PyModule_GetDict(module);
    5346           1 :   if (!d) return NULL;
    5347           1 :   SWIG_Python_SetConstant(d, "QUAGGA_IP_REDIST_STR_ZEBRA",SWIG_FromCharPtr("(kernel|connected|static|rip|ospf|isis|bgp|babel)"));
    5348           1 :   return SWIG_Py_Void();
    5349             : }
    5350             : 
    5351             : 
    5352           1 : SWIGINTERN PyObject *QUAGGA_IP_REDIST_HELP_STR_ZEBRA_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5353             :   PyObject *module;
    5354             :   PyObject *d;
    5355           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5356           1 :   d = PyModule_GetDict(module);
    5357           1 :   if (!d) return NULL;
    5358           1 :   SWIG_Python_SetConstant(d, "QUAGGA_IP_REDIST_HELP_STR_ZEBRA",SWIG_FromCharPtr("Kernel routes (not installed via the zebra RIB)\nConnected routes (directly attached subnet or host)\nStatically configured routes\nRouting Information Protocol (RIP)\nOpen Shortest Path First (OSPFv2)\nIntermediate System to Intermediate System (IS-IS)\nBorder Gateway Protocol (BGP)\nBabel routing protocol (Babel)\n"));
    5359           1 :   return SWIG_Py_Void();
    5360             : }
    5361             : 
    5362             : 
    5363           1 : SWIGINTERN PyObject *QUAGGA_IP6_REDIST_STR_ZEBRA_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5364             :   PyObject *module;
    5365             :   PyObject *d;
    5366           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5367           1 :   d = PyModule_GetDict(module);
    5368           1 :   if (!d) return NULL;
    5369           1 :   SWIG_Python_SetConstant(d, "QUAGGA_IP6_REDIST_STR_ZEBRA",SWIG_FromCharPtr("(kernel|connected|static|ripng|ospf6|isis|bgp|babel)"));
    5370           1 :   return SWIG_Py_Void();
    5371             : }
    5372             : 
    5373             : 
    5374           1 : SWIGINTERN PyObject *QUAGGA_IP6_REDIST_HELP_STR_ZEBRA_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5375             :   PyObject *module;
    5376             :   PyObject *d;
    5377           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5378           1 :   d = PyModule_GetDict(module);
    5379           1 :   if (!d) return NULL;
    5380           1 :   SWIG_Python_SetConstant(d, "QUAGGA_IP6_REDIST_HELP_STR_ZEBRA",SWIG_FromCharPtr("Kernel routes (not installed via the zebra RIB)\nConnected routes (directly attached subnet or host)\nStatically configured routes\nRouting Information Protocol next-generation (IPv6) (RIPng)\nOpen Shortest Path First (IPv6) (OSPFv3)\nIntermediate System to Intermediate System (IS-IS)\nBorder Gateway Protocol (BGP)\nBabel routing protocol (Babel)\n"));
    5381           1 :   return SWIG_Py_Void();
    5382             : }
    5383             : 
    5384             : 
    5385           1 : SWIGINTERN PyObject *INT8_MAX_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5386             :   PyObject *module;
    5387             :   PyObject *d;
    5388           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5389           1 :   d = PyModule_GetDict(module);
    5390           1 :   if (!d) return NULL;
    5391           1 :   SWIG_Python_SetConstant(d, "INT8_MAX",SWIG_From_int((int)((127))));
    5392           1 :   return SWIG_Py_Void();
    5393             : }
    5394             : 
    5395             : 
    5396           1 : SWIGINTERN PyObject *INT16_MAX_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5397             :   PyObject *module;
    5398             :   PyObject *d;
    5399           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5400           1 :   d = PyModule_GetDict(module);
    5401           1 :   if (!d) return NULL;
    5402           1 :   SWIG_Python_SetConstant(d, "INT16_MAX",SWIG_From_int((int)((32767))));
    5403           1 :   return SWIG_Py_Void();
    5404             : }
    5405             : 
    5406             : 
    5407           1 : SWIGINTERN PyObject *INT32_MAX_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5408             :   PyObject *module;
    5409             :   PyObject *d;
    5410           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5411           1 :   d = PyModule_GetDict(module);
    5412           1 :   if (!d) return NULL;
    5413           1 :   SWIG_Python_SetConstant(d, "INT32_MAX",SWIG_From_int((int)((2147483647))));
    5414           1 :   return SWIG_Py_Void();
    5415             : }
    5416             : 
    5417             : 
    5418           1 : SWIGINTERN PyObject *UINT8_MAX_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5419             :   PyObject *module;
    5420             :   PyObject *d;
    5421           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5422           1 :   d = PyModule_GetDict(module);
    5423           1 :   if (!d) return NULL;
    5424           1 :   SWIG_Python_SetConstant(d, "UINT8_MAX",SWIG_From_unsigned_SS_int((unsigned int)((255U))));
    5425           1 :   return SWIG_Py_Void();
    5426             : }
    5427             : 
    5428             : 
    5429           1 : SWIGINTERN PyObject *UINT16_MAX_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5430             :   PyObject *module;
    5431             :   PyObject *d;
    5432           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5433           1 :   d = PyModule_GetDict(module);
    5434           1 :   if (!d) return NULL;
    5435           1 :   SWIG_Python_SetConstant(d, "UINT16_MAX",SWIG_From_unsigned_SS_int((unsigned int)((65535U))));
    5436           1 :   return SWIG_Py_Void();
    5437             : }
    5438             : 
    5439             : 
    5440           1 : SWIGINTERN PyObject *UINT32_MAX_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5441             :   PyObject *module;
    5442             :   PyObject *d;
    5443           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5444           1 :   d = PyModule_GetDict(module);
    5445           1 :   if (!d) return NULL;
    5446           1 :   SWIG_Python_SetConstant(d, "UINT32_MAX",SWIG_From_unsigned_SS_int((unsigned int)((4294967295U))));
    5447           1 :   return SWIG_Py_Void();
    5448             : }
    5449             : 
    5450             : 
    5451           1 : SWIGINTERN PyObject *BIG_ENDIAN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5452             :   PyObject *module;
    5453             :   PyObject *d;
    5454           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5455           1 :   d = PyModule_GetDict(module);
    5456           1 :   if (!d) return NULL;
    5457           1 :   SWIG_Python_SetConstant(d, "BIG_ENDIAN",SWIG_From_int((int)(4321)));
    5458           1 :   return SWIG_Py_Void();
    5459             : }
    5460             : 
    5461             : 
    5462           1 : SWIGINTERN PyObject *LITTLE_ENDIAN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5463             :   PyObject *module;
    5464             :   PyObject *d;
    5465           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5466           1 :   d = PyModule_GetDict(module);
    5467           1 :   if (!d) return NULL;
    5468           1 :   SWIG_Python_SetConstant(d, "LITTLE_ENDIAN",SWIG_From_int((int)(1234)));
    5469           1 :   return SWIG_Py_Void();
    5470             : }
    5471             : 
    5472             : 
    5473           1 : SWIGINTERN PyObject *PDP_ENDIAN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5474             :   PyObject *module;
    5475             :   PyObject *d;
    5476           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5477           1 :   d = PyModule_GetDict(module);
    5478           1 :   if (!d) return NULL;
    5479           1 :   SWIG_Python_SetConstant(d, "PDP_ENDIAN",SWIG_From_int((int)(3412)));
    5480           1 :   return SWIG_Py_Void();
    5481             : }
    5482             : 
    5483             : 
    5484           1 : SWIGINTERN PyObject *BYTE_ORDER_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5485             :   PyObject *module;
    5486             :   PyObject *d;
    5487           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5488           1 :   d = PyModule_GetDict(module);
    5489           1 :   if (!d) return NULL;
    5490           1 :   SWIG_Python_SetConstant(d, "BYTE_ORDER",SWIG_From_int((int)(1234)));
    5491           1 :   return SWIG_Py_Void();
    5492             : }
    5493             : 
    5494             : 
    5495           1 : SWIGINTERN PyObject *ZEBRA_PORT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5496             :   PyObject *module;
    5497             :   PyObject *d;
    5498           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5499           1 :   d = PyModule_GetDict(module);
    5500           1 :   if (!d) return NULL;
    5501           1 :   SWIG_Python_SetConstant(d, "ZEBRA_PORT",SWIG_From_int((int)(2600)));
    5502           1 :   return SWIG_Py_Void();
    5503             : }
    5504             : 
    5505             : 
    5506           1 : SWIGINTERN PyObject *ZEBRA_INTERFACE_ADD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5507             :   PyObject *module;
    5508             :   PyObject *d;
    5509           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5510           1 :   d = PyModule_GetDict(module);
    5511           1 :   if (!d) return NULL;
    5512           1 :   SWIG_Python_SetConstant(d, "ZEBRA_INTERFACE_ADD",SWIG_From_int((int)(1)));
    5513           1 :   return SWIG_Py_Void();
    5514             : }
    5515             : 
    5516             : 
    5517           1 : SWIGINTERN PyObject *ZEBRA_INTERFACE_DELETE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5518             :   PyObject *module;
    5519             :   PyObject *d;
    5520           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5521           1 :   d = PyModule_GetDict(module);
    5522           1 :   if (!d) return NULL;
    5523           1 :   SWIG_Python_SetConstant(d, "ZEBRA_INTERFACE_DELETE",SWIG_From_int((int)(2)));
    5524           1 :   return SWIG_Py_Void();
    5525             : }
    5526             : 
    5527             : 
    5528           1 : SWIGINTERN PyObject *ZEBRA_INTERFACE_ADDRESS_ADD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5529             :   PyObject *module;
    5530             :   PyObject *d;
    5531           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5532           1 :   d = PyModule_GetDict(module);
    5533           1 :   if (!d) return NULL;
    5534           1 :   SWIG_Python_SetConstant(d, "ZEBRA_INTERFACE_ADDRESS_ADD",SWIG_From_int((int)(3)));
    5535           1 :   return SWIG_Py_Void();
    5536             : }
    5537             : 
    5538             : 
    5539           1 : SWIGINTERN PyObject *ZEBRA_INTERFACE_ADDRESS_DELETE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5540             :   PyObject *module;
    5541             :   PyObject *d;
    5542           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5543           1 :   d = PyModule_GetDict(module);
    5544           1 :   if (!d) return NULL;
    5545           1 :   SWIG_Python_SetConstant(d, "ZEBRA_INTERFACE_ADDRESS_DELETE",SWIG_From_int((int)(4)));
    5546           1 :   return SWIG_Py_Void();
    5547             : }
    5548             : 
    5549             : 
    5550           1 : SWIGINTERN PyObject *ZEBRA_INTERFACE_UP_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5551             :   PyObject *module;
    5552             :   PyObject *d;
    5553           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5554           1 :   d = PyModule_GetDict(module);
    5555           1 :   if (!d) return NULL;
    5556           1 :   SWIG_Python_SetConstant(d, "ZEBRA_INTERFACE_UP",SWIG_From_int((int)(5)));
    5557           1 :   return SWIG_Py_Void();
    5558             : }
    5559             : 
    5560             : 
    5561           1 : SWIGINTERN PyObject *ZEBRA_INTERFACE_DOWN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5562             :   PyObject *module;
    5563             :   PyObject *d;
    5564           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5565           1 :   d = PyModule_GetDict(module);
    5566           1 :   if (!d) return NULL;
    5567           1 :   SWIG_Python_SetConstant(d, "ZEBRA_INTERFACE_DOWN",SWIG_From_int((int)(6)));
    5568           1 :   return SWIG_Py_Void();
    5569             : }
    5570             : 
    5571             : 
    5572           1 : SWIGINTERN PyObject *ZEBRA_IPV4_ROUTE_ADD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5573             :   PyObject *module;
    5574             :   PyObject *d;
    5575           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5576           1 :   d = PyModule_GetDict(module);
    5577           1 :   if (!d) return NULL;
    5578           1 :   SWIG_Python_SetConstant(d, "ZEBRA_IPV4_ROUTE_ADD",SWIG_From_int((int)(7)));
    5579           1 :   return SWIG_Py_Void();
    5580             : }
    5581             : 
    5582             : 
    5583           1 : SWIGINTERN PyObject *ZEBRA_IPV4_ROUTE_DELETE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5584             :   PyObject *module;
    5585             :   PyObject *d;
    5586           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5587           1 :   d = PyModule_GetDict(module);
    5588           1 :   if (!d) return NULL;
    5589           1 :   SWIG_Python_SetConstant(d, "ZEBRA_IPV4_ROUTE_DELETE",SWIG_From_int((int)(8)));
    5590           1 :   return SWIG_Py_Void();
    5591             : }
    5592             : 
    5593             : 
    5594           1 : SWIGINTERN PyObject *ZEBRA_IPV6_ROUTE_ADD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5595             :   PyObject *module;
    5596             :   PyObject *d;
    5597           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5598           1 :   d = PyModule_GetDict(module);
    5599           1 :   if (!d) return NULL;
    5600           1 :   SWIG_Python_SetConstant(d, "ZEBRA_IPV6_ROUTE_ADD",SWIG_From_int((int)(9)));
    5601           1 :   return SWIG_Py_Void();
    5602             : }
    5603             : 
    5604             : 
    5605           1 : SWIGINTERN PyObject *ZEBRA_IPV6_ROUTE_DELETE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5606             :   PyObject *module;
    5607             :   PyObject *d;
    5608           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5609           1 :   d = PyModule_GetDict(module);
    5610           1 :   if (!d) return NULL;
    5611           1 :   SWIG_Python_SetConstant(d, "ZEBRA_IPV6_ROUTE_DELETE",SWIG_From_int((int)(10)));
    5612           1 :   return SWIG_Py_Void();
    5613             : }
    5614             : 
    5615             : 
    5616           1 : SWIGINTERN PyObject *ZEBRA_REDISTRIBUTE_ADD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5617             :   PyObject *module;
    5618             :   PyObject *d;
    5619           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5620           1 :   d = PyModule_GetDict(module);
    5621           1 :   if (!d) return NULL;
    5622           1 :   SWIG_Python_SetConstant(d, "ZEBRA_REDISTRIBUTE_ADD",SWIG_From_int((int)(11)));
    5623           1 :   return SWIG_Py_Void();
    5624             : }
    5625             : 
    5626             : 
    5627           1 : SWIGINTERN PyObject *ZEBRA_REDISTRIBUTE_DELETE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5628             :   PyObject *module;
    5629             :   PyObject *d;
    5630           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5631           1 :   d = PyModule_GetDict(module);
    5632           1 :   if (!d) return NULL;
    5633           1 :   SWIG_Python_SetConstant(d, "ZEBRA_REDISTRIBUTE_DELETE",SWIG_From_int((int)(12)));
    5634           1 :   return SWIG_Py_Void();
    5635             : }
    5636             : 
    5637             : 
    5638           1 : SWIGINTERN PyObject *ZEBRA_REDISTRIBUTE_DEFAULT_ADD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5639             :   PyObject *module;
    5640             :   PyObject *d;
    5641           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5642           1 :   d = PyModule_GetDict(module);
    5643           1 :   if (!d) return NULL;
    5644           1 :   SWIG_Python_SetConstant(d, "ZEBRA_REDISTRIBUTE_DEFAULT_ADD",SWIG_From_int((int)(13)));
    5645           1 :   return SWIG_Py_Void();
    5646             : }
    5647             : 
    5648             : 
    5649           1 : SWIGINTERN PyObject *ZEBRA_REDISTRIBUTE_DEFAULT_DELETE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5650             :   PyObject *module;
    5651             :   PyObject *d;
    5652           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5653           1 :   d = PyModule_GetDict(module);
    5654           1 :   if (!d) return NULL;
    5655           1 :   SWIG_Python_SetConstant(d, "ZEBRA_REDISTRIBUTE_DEFAULT_DELETE",SWIG_From_int((int)(14)));
    5656           1 :   return SWIG_Py_Void();
    5657             : }
    5658             : 
    5659             : 
    5660           1 : SWIGINTERN PyObject *ZEBRA_IPV4_NEXTHOP_LOOKUP_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5661             :   PyObject *module;
    5662             :   PyObject *d;
    5663           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5664           1 :   d = PyModule_GetDict(module);
    5665           1 :   if (!d) return NULL;
    5666           1 :   SWIG_Python_SetConstant(d, "ZEBRA_IPV4_NEXTHOP_LOOKUP",SWIG_From_int((int)(15)));
    5667           1 :   return SWIG_Py_Void();
    5668             : }
    5669             : 
    5670             : 
    5671           1 : SWIGINTERN PyObject *ZEBRA_IPV6_NEXTHOP_LOOKUP_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5672             :   PyObject *module;
    5673             :   PyObject *d;
    5674           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5675           1 :   d = PyModule_GetDict(module);
    5676           1 :   if (!d) return NULL;
    5677           1 :   SWIG_Python_SetConstant(d, "ZEBRA_IPV6_NEXTHOP_LOOKUP",SWIG_From_int((int)(16)));
    5678           1 :   return SWIG_Py_Void();
    5679             : }
    5680             : 
    5681             : 
    5682           1 : SWIGINTERN PyObject *ZEBRA_IPV4_IMPORT_LOOKUP_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5683             :   PyObject *module;
    5684             :   PyObject *d;
    5685           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5686           1 :   d = PyModule_GetDict(module);
    5687           1 :   if (!d) return NULL;
    5688           1 :   SWIG_Python_SetConstant(d, "ZEBRA_IPV4_IMPORT_LOOKUP",SWIG_From_int((int)(17)));
    5689           1 :   return SWIG_Py_Void();
    5690             : }
    5691             : 
    5692             : 
    5693           1 : SWIGINTERN PyObject *ZEBRA_IPV6_IMPORT_LOOKUP_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5694             :   PyObject *module;
    5695             :   PyObject *d;
    5696           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5697           1 :   d = PyModule_GetDict(module);
    5698           1 :   if (!d) return NULL;
    5699           1 :   SWIG_Python_SetConstant(d, "ZEBRA_IPV6_IMPORT_LOOKUP",SWIG_From_int((int)(18)));
    5700           1 :   return SWIG_Py_Void();
    5701             : }
    5702             : 
    5703             : 
    5704           1 : SWIGINTERN PyObject *ZEBRA_INTERFACE_RENAME_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5705             :   PyObject *module;
    5706             :   PyObject *d;
    5707           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5708           1 :   d = PyModule_GetDict(module);
    5709           1 :   if (!d) return NULL;
    5710           1 :   SWIG_Python_SetConstant(d, "ZEBRA_INTERFACE_RENAME",SWIG_From_int((int)(19)));
    5711           1 :   return SWIG_Py_Void();
    5712             : }
    5713             : 
    5714             : 
    5715           1 : SWIGINTERN PyObject *ZEBRA_ROUTER_ID_ADD_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5716             :   PyObject *module;
    5717             :   PyObject *d;
    5718           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5719           1 :   d = PyModule_GetDict(module);
    5720           1 :   if (!d) return NULL;
    5721           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ROUTER_ID_ADD",SWIG_From_int((int)(20)));
    5722           1 :   return SWIG_Py_Void();
    5723             : }
    5724             : 
    5725             : 
    5726           1 : SWIGINTERN PyObject *ZEBRA_ROUTER_ID_DELETE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5727             :   PyObject *module;
    5728             :   PyObject *d;
    5729           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5730           1 :   d = PyModule_GetDict(module);
    5731           1 :   if (!d) return NULL;
    5732           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ROUTER_ID_DELETE",SWIG_From_int((int)(21)));
    5733           1 :   return SWIG_Py_Void();
    5734             : }
    5735             : 
    5736             : 
    5737           1 : SWIGINTERN PyObject *ZEBRA_ROUTER_ID_UPDATE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5738             :   PyObject *module;
    5739             :   PyObject *d;
    5740           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5741           1 :   d = PyModule_GetDict(module);
    5742           1 :   if (!d) return NULL;
    5743           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ROUTER_ID_UPDATE",SWIG_From_int((int)(22)));
    5744           1 :   return SWIG_Py_Void();
    5745             : }
    5746             : 
    5747             : 
    5748           1 : SWIGINTERN PyObject *ZEBRA_HELLO_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5749             :   PyObject *module;
    5750             :   PyObject *d;
    5751           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5752           1 :   d = PyModule_GetDict(module);
    5753           1 :   if (!d) return NULL;
    5754           1 :   SWIG_Python_SetConstant(d, "ZEBRA_HELLO",SWIG_From_int((int)(23)));
    5755           1 :   return SWIG_Py_Void();
    5756             : }
    5757             : 
    5758             : 
    5759           1 : SWIGINTERN PyObject *ZEBRA_MESSAGE_MAX_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5760             :   PyObject *module;
    5761             :   PyObject *d;
    5762           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5763           1 :   d = PyModule_GetDict(module);
    5764           1 :   if (!d) return NULL;
    5765           1 :   SWIG_Python_SetConstant(d, "ZEBRA_MESSAGE_MAX",SWIG_From_int((int)(24)));
    5766           1 :   return SWIG_Py_Void();
    5767             : }
    5768             : 
    5769             : 
    5770           1 : SWIGINTERN PyObject *ZEBRA_HEADER_MARKER_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5771             :   PyObject *module;
    5772             :   PyObject *d;
    5773           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5774           1 :   d = PyModule_GetDict(module);
    5775           1 :   if (!d) return NULL;
    5776           1 :   SWIG_Python_SetConstant(d, "ZEBRA_HEADER_MARKER",SWIG_From_int((int)(255)));
    5777           1 :   return SWIG_Py_Void();
    5778             : }
    5779             : 
    5780             : 
    5781           1 : SWIGINTERN PyObject *ZEBRA_FAMILY_IPV4_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5782             :   PyObject *module;
    5783             :   PyObject *d;
    5784           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5785           1 :   d = PyModule_GetDict(module);
    5786           1 :   if (!d) return NULL;
    5787           1 :   SWIG_Python_SetConstant(d, "ZEBRA_FAMILY_IPV4",SWIG_From_int((int)(1)));
    5788           1 :   return SWIG_Py_Void();
    5789             : }
    5790             : 
    5791             : 
    5792           1 : SWIGINTERN PyObject *ZEBRA_FAMILY_IPV6_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5793             :   PyObject *module;
    5794             :   PyObject *d;
    5795           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5796           1 :   d = PyModule_GetDict(module);
    5797           1 :   if (!d) return NULL;
    5798           1 :   SWIG_Python_SetConstant(d, "ZEBRA_FAMILY_IPV6",SWIG_From_int((int)(2)));
    5799           1 :   return SWIG_Py_Void();
    5800             : }
    5801             : 
    5802             : 
    5803           1 : SWIGINTERN PyObject *ZEBRA_FAMILY_MAX_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5804             :   PyObject *module;
    5805             :   PyObject *d;
    5806           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5807           1 :   d = PyModule_GetDict(module);
    5808           1 :   if (!d) return NULL;
    5809           1 :   SWIG_Python_SetConstant(d, "ZEBRA_FAMILY_MAX",SWIG_From_int((int)(3)));
    5810           1 :   return SWIG_Py_Void();
    5811             : }
    5812             : 
    5813             : 
    5814           1 : SWIGINTERN PyObject *ZEBRA_ERR_NOERROR_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5815             :   PyObject *module;
    5816             :   PyObject *d;
    5817           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5818           1 :   d = PyModule_GetDict(module);
    5819           1 :   if (!d) return NULL;
    5820           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ERR_NOERROR",SWIG_From_int((int)(0)));
    5821           1 :   return SWIG_Py_Void();
    5822             : }
    5823             : 
    5824             : 
    5825           1 : SWIGINTERN PyObject *ZEBRA_ERR_RTEXIST_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5826             :   PyObject *module;
    5827             :   PyObject *d;
    5828           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5829           1 :   d = PyModule_GetDict(module);
    5830           1 :   if (!d) return NULL;
    5831           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ERR_RTEXIST",SWIG_From_int((int)(-1)));
    5832           1 :   return SWIG_Py_Void();
    5833             : }
    5834             : 
    5835             : 
    5836           1 : SWIGINTERN PyObject *ZEBRA_ERR_RTUNREACH_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5837             :   PyObject *module;
    5838             :   PyObject *d;
    5839           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5840           1 :   d = PyModule_GetDict(module);
    5841           1 :   if (!d) return NULL;
    5842           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ERR_RTUNREACH",SWIG_From_int((int)(-2)));
    5843           1 :   return SWIG_Py_Void();
    5844             : }
    5845             : 
    5846             : 
    5847           1 : SWIGINTERN PyObject *ZEBRA_ERR_EPERM_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5848             :   PyObject *module;
    5849             :   PyObject *d;
    5850           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5851           1 :   d = PyModule_GetDict(module);
    5852           1 :   if (!d) return NULL;
    5853           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ERR_EPERM",SWIG_From_int((int)(-3)));
    5854           1 :   return SWIG_Py_Void();
    5855             : }
    5856             : 
    5857             : 
    5858           1 : SWIGINTERN PyObject *ZEBRA_ERR_RTNOEXIST_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5859             :   PyObject *module;
    5860             :   PyObject *d;
    5861           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5862           1 :   d = PyModule_GetDict(module);
    5863           1 :   if (!d) return NULL;
    5864           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ERR_RTNOEXIST",SWIG_From_int((int)(-4)));
    5865           1 :   return SWIG_Py_Void();
    5866             : }
    5867             : 
    5868             : 
    5869           1 : SWIGINTERN PyObject *ZEBRA_ERR_KERNEL_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5870             :   PyObject *module;
    5871             :   PyObject *d;
    5872           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5873           1 :   d = PyModule_GetDict(module);
    5874           1 :   if (!d) return NULL;
    5875           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ERR_KERNEL",SWIG_From_int((int)(-5)));
    5876           1 :   return SWIG_Py_Void();
    5877             : }
    5878             : 
    5879             : 
    5880           1 : SWIGINTERN PyObject *ZEBRA_FLAG_INTERNAL_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5881             :   PyObject *module;
    5882             :   PyObject *d;
    5883           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5884           1 :   d = PyModule_GetDict(module);
    5885           1 :   if (!d) return NULL;
    5886           1 :   SWIG_Python_SetConstant(d, "ZEBRA_FLAG_INTERNAL",SWIG_From_int((int)(0x01)));
    5887           1 :   return SWIG_Py_Void();
    5888             : }
    5889             : 
    5890             : 
    5891           1 : SWIGINTERN PyObject *ZEBRA_FLAG_SELFROUTE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5892             :   PyObject *module;
    5893             :   PyObject *d;
    5894           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5895           1 :   d = PyModule_GetDict(module);
    5896           1 :   if (!d) return NULL;
    5897           1 :   SWIG_Python_SetConstant(d, "ZEBRA_FLAG_SELFROUTE",SWIG_From_int((int)(0x02)));
    5898           1 :   return SWIG_Py_Void();
    5899             : }
    5900             : 
    5901             : 
    5902           1 : SWIGINTERN PyObject *ZEBRA_FLAG_BLACKHOLE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5903             :   PyObject *module;
    5904             :   PyObject *d;
    5905           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5906           1 :   d = PyModule_GetDict(module);
    5907           1 :   if (!d) return NULL;
    5908           1 :   SWIG_Python_SetConstant(d, "ZEBRA_FLAG_BLACKHOLE",SWIG_From_int((int)(0x04)));
    5909           1 :   return SWIG_Py_Void();
    5910             : }
    5911             : 
    5912             : 
    5913           1 : SWIGINTERN PyObject *ZEBRA_FLAG_IBGP_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5914             :   PyObject *module;
    5915             :   PyObject *d;
    5916           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5917           1 :   d = PyModule_GetDict(module);
    5918           1 :   if (!d) return NULL;
    5919           1 :   SWIG_Python_SetConstant(d, "ZEBRA_FLAG_IBGP",SWIG_From_int((int)(0x08)));
    5920           1 :   return SWIG_Py_Void();
    5921             : }
    5922             : 
    5923             : 
    5924           1 : SWIGINTERN PyObject *ZEBRA_FLAG_SELECTED_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5925             :   PyObject *module;
    5926             :   PyObject *d;
    5927           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5928           1 :   d = PyModule_GetDict(module);
    5929           1 :   if (!d) return NULL;
    5930           1 :   SWIG_Python_SetConstant(d, "ZEBRA_FLAG_SELECTED",SWIG_From_int((int)(0x10)));
    5931           1 :   return SWIG_Py_Void();
    5932             : }
    5933             : 
    5934             : 
    5935           1 : SWIGINTERN PyObject *ZEBRA_FLAG_CHANGED_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5936             :   PyObject *module;
    5937             :   PyObject *d;
    5938           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5939           1 :   d = PyModule_GetDict(module);
    5940           1 :   if (!d) return NULL;
    5941           1 :   SWIG_Python_SetConstant(d, "ZEBRA_FLAG_CHANGED",SWIG_From_int((int)(0x20)));
    5942           1 :   return SWIG_Py_Void();
    5943             : }
    5944             : 
    5945             : 
    5946           1 : SWIGINTERN PyObject *ZEBRA_FLAG_STATIC_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5947             :   PyObject *module;
    5948             :   PyObject *d;
    5949           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5950           1 :   d = PyModule_GetDict(module);
    5951           1 :   if (!d) return NULL;
    5952           1 :   SWIG_Python_SetConstant(d, "ZEBRA_FLAG_STATIC",SWIG_From_int((int)(0x40)));
    5953           1 :   return SWIG_Py_Void();
    5954             : }
    5955             : 
    5956             : 
    5957           1 : SWIGINTERN PyObject *ZEBRA_FLAG_REJECT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5958             :   PyObject *module;
    5959             :   PyObject *d;
    5960           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5961           1 :   d = PyModule_GetDict(module);
    5962           1 :   if (!d) return NULL;
    5963           1 :   SWIG_Python_SetConstant(d, "ZEBRA_FLAG_REJECT",SWIG_From_int((int)(0x80)));
    5964           1 :   return SWIG_Py_Void();
    5965             : }
    5966             : 
    5967             : 
    5968           1 : SWIGINTERN PyObject *ZEBRA_NEXTHOP_IFINDEX_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5969             :   PyObject *module;
    5970             :   PyObject *d;
    5971           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5972           1 :   d = PyModule_GetDict(module);
    5973           1 :   if (!d) return NULL;
    5974           1 :   SWIG_Python_SetConstant(d, "ZEBRA_NEXTHOP_IFINDEX",SWIG_From_int((int)(1)));
    5975           1 :   return SWIG_Py_Void();
    5976             : }
    5977             : 
    5978             : 
    5979           1 : SWIGINTERN PyObject *ZEBRA_NEXTHOP_IFNAME_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5980             :   PyObject *module;
    5981             :   PyObject *d;
    5982           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5983           1 :   d = PyModule_GetDict(module);
    5984           1 :   if (!d) return NULL;
    5985           1 :   SWIG_Python_SetConstant(d, "ZEBRA_NEXTHOP_IFNAME",SWIG_From_int((int)(2)));
    5986           1 :   return SWIG_Py_Void();
    5987             : }
    5988             : 
    5989             : 
    5990           1 : SWIGINTERN PyObject *ZEBRA_NEXTHOP_IPV4_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    5991             :   PyObject *module;
    5992             :   PyObject *d;
    5993           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    5994           1 :   d = PyModule_GetDict(module);
    5995           1 :   if (!d) return NULL;
    5996           1 :   SWIG_Python_SetConstant(d, "ZEBRA_NEXTHOP_IPV4",SWIG_From_int((int)(3)));
    5997           1 :   return SWIG_Py_Void();
    5998             : }
    5999             : 
    6000             : 
    6001           1 : SWIGINTERN PyObject *ZEBRA_NEXTHOP_IPV4_IFINDEX_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6002             :   PyObject *module;
    6003             :   PyObject *d;
    6004           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6005           1 :   d = PyModule_GetDict(module);
    6006           1 :   if (!d) return NULL;
    6007           1 :   SWIG_Python_SetConstant(d, "ZEBRA_NEXTHOP_IPV4_IFINDEX",SWIG_From_int((int)(4)));
    6008           1 :   return SWIG_Py_Void();
    6009             : }
    6010             : 
    6011             : 
    6012           1 : SWIGINTERN PyObject *ZEBRA_NEXTHOP_IPV4_IFNAME_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6013             :   PyObject *module;
    6014             :   PyObject *d;
    6015           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6016           1 :   d = PyModule_GetDict(module);
    6017           1 :   if (!d) return NULL;
    6018           1 :   SWIG_Python_SetConstant(d, "ZEBRA_NEXTHOP_IPV4_IFNAME",SWIG_From_int((int)(5)));
    6019           1 :   return SWIG_Py_Void();
    6020             : }
    6021             : 
    6022             : 
    6023           1 : SWIGINTERN PyObject *ZEBRA_NEXTHOP_IPV6_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6024             :   PyObject *module;
    6025             :   PyObject *d;
    6026           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6027           1 :   d = PyModule_GetDict(module);
    6028           1 :   if (!d) return NULL;
    6029           1 :   SWIG_Python_SetConstant(d, "ZEBRA_NEXTHOP_IPV6",SWIG_From_int((int)(6)));
    6030           1 :   return SWIG_Py_Void();
    6031             : }
    6032             : 
    6033             : 
    6034           1 : SWIGINTERN PyObject *ZEBRA_NEXTHOP_IPV6_IFINDEX_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6035             :   PyObject *module;
    6036             :   PyObject *d;
    6037           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6038           1 :   d = PyModule_GetDict(module);
    6039           1 :   if (!d) return NULL;
    6040           1 :   SWIG_Python_SetConstant(d, "ZEBRA_NEXTHOP_IPV6_IFINDEX",SWIG_From_int((int)(7)));
    6041           1 :   return SWIG_Py_Void();
    6042             : }
    6043             : 
    6044             : 
    6045           1 : SWIGINTERN PyObject *ZEBRA_NEXTHOP_IPV6_IFNAME_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6046             :   PyObject *module;
    6047             :   PyObject *d;
    6048           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6049           1 :   d = PyModule_GetDict(module);
    6050           1 :   if (!d) return NULL;
    6051           1 :   SWIG_Python_SetConstant(d, "ZEBRA_NEXTHOP_IPV6_IFNAME",SWIG_From_int((int)(8)));
    6052           1 :   return SWIG_Py_Void();
    6053             : }
    6054             : 
    6055             : 
    6056           1 : SWIGINTERN PyObject *ZEBRA_NEXTHOP_BLACKHOLE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6057             :   PyObject *module;
    6058             :   PyObject *d;
    6059           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6060           1 :   d = PyModule_GetDict(module);
    6061           1 :   if (!d) return NULL;
    6062           1 :   SWIG_Python_SetConstant(d, "ZEBRA_NEXTHOP_BLACKHOLE",SWIG_From_int((int)(9)));
    6063           1 :   return SWIG_Py_Void();
    6064             : }
    6065             : 
    6066             : 
    6067           1 : SWIGINTERN PyObject *INADDR_LOOPBACK_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6068             :   PyObject *module;
    6069             :   PyObject *d;
    6070           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6071           1 :   d = PyModule_GetDict(module);
    6072           1 :   if (!d) return NULL;
    6073           1 :   SWIG_Python_SetConstant(d, "INADDR_LOOPBACK",SWIG_From_int((int)(0x7f000001)));
    6074           1 :   return SWIG_Py_Void();
    6075             : }
    6076             : 
    6077             : 
    6078           1 : SWIGINTERN PyObject *AFI_IP_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6079             :   PyObject *module;
    6080             :   PyObject *d;
    6081           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6082           1 :   d = PyModule_GetDict(module);
    6083           1 :   if (!d) return NULL;
    6084           1 :   SWIG_Python_SetConstant(d, "AFI_IP",SWIG_From_int((int)(1)));
    6085           1 :   return SWIG_Py_Void();
    6086             : }
    6087             : 
    6088             : 
    6089           1 : SWIGINTERN PyObject *AFI_IP6_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6090             :   PyObject *module;
    6091             :   PyObject *d;
    6092           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6093           1 :   d = PyModule_GetDict(module);
    6094           1 :   if (!d) return NULL;
    6095           1 :   SWIG_Python_SetConstant(d, "AFI_IP6",SWIG_From_int((int)(2)));
    6096           1 :   return SWIG_Py_Void();
    6097             : }
    6098             : 
    6099             : 
    6100           1 : SWIGINTERN PyObject *AFI_MAX_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6101             :   PyObject *module;
    6102             :   PyObject *d;
    6103           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6104           1 :   d = PyModule_GetDict(module);
    6105           1 :   if (!d) return NULL;
    6106           1 :   SWIG_Python_SetConstant(d, "AFI_MAX",SWIG_From_int((int)(3)));
    6107           1 :   return SWIG_Py_Void();
    6108             : }
    6109             : 
    6110             : 
    6111           1 : SWIGINTERN PyObject *SAFI_UNICAST_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6112             :   PyObject *module;
    6113             :   PyObject *d;
    6114           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6115           1 :   d = PyModule_GetDict(module);
    6116           1 :   if (!d) return NULL;
    6117           1 :   SWIG_Python_SetConstant(d, "SAFI_UNICAST",SWIG_From_int((int)(1)));
    6118           1 :   return SWIG_Py_Void();
    6119             : }
    6120             : 
    6121             : 
    6122           1 : SWIGINTERN PyObject *SAFI_MULTICAST_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6123             :   PyObject *module;
    6124             :   PyObject *d;
    6125           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6126           1 :   d = PyModule_GetDict(module);
    6127           1 :   if (!d) return NULL;
    6128           1 :   SWIG_Python_SetConstant(d, "SAFI_MULTICAST",SWIG_From_int((int)(2)));
    6129           1 :   return SWIG_Py_Void();
    6130             : }
    6131             : 
    6132             : 
    6133           1 : SWIGINTERN PyObject *SAFI_RESERVED_3_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6134             :   PyObject *module;
    6135             :   PyObject *d;
    6136           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6137           1 :   d = PyModule_GetDict(module);
    6138           1 :   if (!d) return NULL;
    6139           1 :   SWIG_Python_SetConstant(d, "SAFI_RESERVED_3",SWIG_From_int((int)(3)));
    6140           1 :   return SWIG_Py_Void();
    6141             : }
    6142             : 
    6143             : 
    6144           1 : SWIGINTERN PyObject *SAFI_MPLS_VPN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6145             :   PyObject *module;
    6146             :   PyObject *d;
    6147           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6148           1 :   d = PyModule_GetDict(module);
    6149           1 :   if (!d) return NULL;
    6150           1 :   SWIG_Python_SetConstant(d, "SAFI_MPLS_VPN",SWIG_From_int((int)(4)));
    6151           1 :   return SWIG_Py_Void();
    6152             : }
    6153             : 
    6154             : 
    6155           1 : SWIGINTERN PyObject *SAFI_MAX_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6156             :   PyObject *module;
    6157             :   PyObject *d;
    6158           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6159           1 :   d = PyModule_GetDict(module);
    6160           1 :   if (!d) return NULL;
    6161           1 :   SWIG_Python_SetConstant(d, "SAFI_MAX",SWIG_From_int((int)(5)));
    6162           1 :   return SWIG_Py_Void();
    6163             : }
    6164             : 
    6165             : 
    6166           1 : SWIGINTERN PyObject *FILTER_IN_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6167             :   PyObject *module;
    6168             :   PyObject *d;
    6169           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6170           1 :   d = PyModule_GetDict(module);
    6171           1 :   if (!d) return NULL;
    6172           1 :   SWIG_Python_SetConstant(d, "FILTER_IN",SWIG_From_int((int)(0)));
    6173           1 :   return SWIG_Py_Void();
    6174             : }
    6175             : 
    6176             : 
    6177           1 : SWIGINTERN PyObject *FILTER_OUT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6178             :   PyObject *module;
    6179             :   PyObject *d;
    6180           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6181           1 :   d = PyModule_GetDict(module);
    6182           1 :   if (!d) return NULL;
    6183           1 :   SWIG_Python_SetConstant(d, "FILTER_OUT",SWIG_From_int((int)(1)));
    6184           1 :   return SWIG_Py_Void();
    6185             : }
    6186             : 
    6187             : 
    6188           1 : SWIGINTERN PyObject *FILTER_MAX_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6189             :   PyObject *module;
    6190             :   PyObject *d;
    6191           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6192           1 :   d = PyModule_GetDict(module);
    6193           1 :   if (!d) return NULL;
    6194           1 :   SWIG_Python_SetConstant(d, "FILTER_MAX",SWIG_From_int((int)(2)));
    6195           1 :   return SWIG_Py_Void();
    6196             : }
    6197             : 
    6198             : 
    6199           1 : SWIGINTERN PyObject *ZEBRA_KERNEL_DISTANCE_DEFAULT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6200             :   PyObject *module;
    6201             :   PyObject *d;
    6202           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6203           1 :   d = PyModule_GetDict(module);
    6204           1 :   if (!d) return NULL;
    6205           1 :   SWIG_Python_SetConstant(d, "ZEBRA_KERNEL_DISTANCE_DEFAULT",SWIG_From_int((int)(0)));
    6206           1 :   return SWIG_Py_Void();
    6207             : }
    6208             : 
    6209             : 
    6210           1 : SWIGINTERN PyObject *ZEBRA_CONNECT_DISTANCE_DEFAULT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6211             :   PyObject *module;
    6212             :   PyObject *d;
    6213           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6214           1 :   d = PyModule_GetDict(module);
    6215           1 :   if (!d) return NULL;
    6216           1 :   SWIG_Python_SetConstant(d, "ZEBRA_CONNECT_DISTANCE_DEFAULT",SWIG_From_int((int)(0)));
    6217           1 :   return SWIG_Py_Void();
    6218             : }
    6219             : 
    6220             : 
    6221           1 : SWIGINTERN PyObject *ZEBRA_STATIC_DISTANCE_DEFAULT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6222             :   PyObject *module;
    6223             :   PyObject *d;
    6224           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6225           1 :   d = PyModule_GetDict(module);
    6226           1 :   if (!d) return NULL;
    6227           1 :   SWIG_Python_SetConstant(d, "ZEBRA_STATIC_DISTANCE_DEFAULT",SWIG_From_int((int)(1)));
    6228           1 :   return SWIG_Py_Void();
    6229             : }
    6230             : 
    6231             : 
    6232           1 : SWIGINTERN PyObject *ZEBRA_RIP_DISTANCE_DEFAULT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6233             :   PyObject *module;
    6234             :   PyObject *d;
    6235           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6236           1 :   d = PyModule_GetDict(module);
    6237           1 :   if (!d) return NULL;
    6238           1 :   SWIG_Python_SetConstant(d, "ZEBRA_RIP_DISTANCE_DEFAULT",SWIG_From_int((int)(120)));
    6239           1 :   return SWIG_Py_Void();
    6240             : }
    6241             : 
    6242             : 
    6243           1 : SWIGINTERN PyObject *ZEBRA_RIPNG_DISTANCE_DEFAULT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6244             :   PyObject *module;
    6245             :   PyObject *d;
    6246           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6247           1 :   d = PyModule_GetDict(module);
    6248           1 :   if (!d) return NULL;
    6249           1 :   SWIG_Python_SetConstant(d, "ZEBRA_RIPNG_DISTANCE_DEFAULT",SWIG_From_int((int)(120)));
    6250           1 :   return SWIG_Py_Void();
    6251             : }
    6252             : 
    6253             : 
    6254           1 : SWIGINTERN PyObject *ZEBRA_OSPF_DISTANCE_DEFAULT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6255             :   PyObject *module;
    6256             :   PyObject *d;
    6257           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6258           1 :   d = PyModule_GetDict(module);
    6259           1 :   if (!d) return NULL;
    6260           1 :   SWIG_Python_SetConstant(d, "ZEBRA_OSPF_DISTANCE_DEFAULT",SWIG_From_int((int)(110)));
    6261           1 :   return SWIG_Py_Void();
    6262             : }
    6263             : 
    6264             : 
    6265           1 : SWIGINTERN PyObject *ZEBRA_OSPF6_DISTANCE_DEFAULT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6266             :   PyObject *module;
    6267             :   PyObject *d;
    6268           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6269           1 :   d = PyModule_GetDict(module);
    6270           1 :   if (!d) return NULL;
    6271           1 :   SWIG_Python_SetConstant(d, "ZEBRA_OSPF6_DISTANCE_DEFAULT",SWIG_From_int((int)(110)));
    6272           1 :   return SWIG_Py_Void();
    6273             : }
    6274             : 
    6275             : 
    6276           1 : SWIGINTERN PyObject *ZEBRA_ISIS_DISTANCE_DEFAULT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6277             :   PyObject *module;
    6278             :   PyObject *d;
    6279           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6280           1 :   d = PyModule_GetDict(module);
    6281           1 :   if (!d) return NULL;
    6282           1 :   SWIG_Python_SetConstant(d, "ZEBRA_ISIS_DISTANCE_DEFAULT",SWIG_From_int((int)(115)));
    6283           1 :   return SWIG_Py_Void();
    6284             : }
    6285             : 
    6286             : 
    6287           1 : SWIGINTERN PyObject *ZEBRA_IBGP_DISTANCE_DEFAULT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6288             :   PyObject *module;
    6289             :   PyObject *d;
    6290           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6291           1 :   d = PyModule_GetDict(module);
    6292           1 :   if (!d) return NULL;
    6293           1 :   SWIG_Python_SetConstant(d, "ZEBRA_IBGP_DISTANCE_DEFAULT",SWIG_From_int((int)(200)));
    6294           1 :   return SWIG_Py_Void();
    6295             : }
    6296             : 
    6297             : 
    6298           1 : SWIGINTERN PyObject *ZEBRA_EBGP_DISTANCE_DEFAULT_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6299             :   PyObject *module;
    6300             :   PyObject *d;
    6301           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6302           1 :   d = PyModule_GetDict(module);
    6303           1 :   if (!d) return NULL;
    6304           1 :   SWIG_Python_SetConstant(d, "ZEBRA_EBGP_DISTANCE_DEFAULT",SWIG_From_int((int)(20)));
    6305           1 :   return SWIG_Py_Void();
    6306             : }
    6307             : 
    6308             : 
    6309           0 : SWIGINTERN PyObject *_wrap_fifo_next_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6310           0 :   PyObject *resultobj = 0;
    6311           0 :   struct fifo *arg1 = (struct fifo *) 0 ;
    6312           0 :   struct fifo *arg2 = (struct fifo *) 0 ;
    6313           0 :   void *argp1 = 0 ;
    6314           0 :   int res1 = 0 ;
    6315           0 :   void *argp2 = 0 ;
    6316           0 :   int res2 = 0 ;
    6317           0 :   PyObject * obj0 = 0 ;
    6318           0 :   PyObject * obj1 = 0 ;
    6319             :   
    6320           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:fifo_next_set",&obj0,&obj1)) SWIG_fail;
    6321           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_fifo, 0 |  0 );
    6322           0 :   if (!SWIG_IsOK(res1)) {
    6323           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fifo_next_set" "', argument " "1"" of type '" "struct fifo *""'"); 
    6324             :   }
    6325           0 :   arg1 = (struct fifo *)(argp1);
    6326           0 :   res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_fifo, SWIG_POINTER_DISOWN |  0 );
    6327           0 :   if (!SWIG_IsOK(res2)) {
    6328           0 :     SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fifo_next_set" "', argument " "2"" of type '" "struct fifo *""'"); 
    6329             :   }
    6330           0 :   arg2 = (struct fifo *)(argp2);
    6331           0 :   if (arg1) (arg1)->next = arg2;
    6332           0 :   resultobj = SWIG_Py_Void();
    6333           0 :   return resultobj;
    6334             : fail:
    6335           0 :   return NULL;
    6336             : }
    6337             : 
    6338             : 
    6339           0 : SWIGINTERN PyObject *_wrap_fifo_next_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6340           0 :   PyObject *resultobj = 0;
    6341           0 :   struct fifo *arg1 = (struct fifo *) 0 ;
    6342           0 :   void *argp1 = 0 ;
    6343           0 :   int res1 = 0 ;
    6344           0 :   PyObject * obj0 = 0 ;
    6345           0 :   struct fifo *result = 0 ;
    6346             :   
    6347           0 :   if (!PyArg_ParseTuple(args,(char *)"O:fifo_next_get",&obj0)) SWIG_fail;
    6348           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_fifo, 0 |  0 );
    6349           0 :   if (!SWIG_IsOK(res1)) {
    6350           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fifo_next_get" "', argument " "1"" of type '" "struct fifo *""'"); 
    6351             :   }
    6352           0 :   arg1 = (struct fifo *)(argp1);
    6353           0 :   result = (struct fifo *) ((arg1)->next);
    6354           0 :   resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fifo, 0 |  0 );
    6355           0 :   return resultobj;
    6356             : fail:
    6357           0 :   return NULL;
    6358             : }
    6359             : 
    6360             : 
    6361           0 : SWIGINTERN PyObject *_wrap_fifo_prev_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6362           0 :   PyObject *resultobj = 0;
    6363           0 :   struct fifo *arg1 = (struct fifo *) 0 ;
    6364           0 :   struct fifo *arg2 = (struct fifo *) 0 ;
    6365           0 :   void *argp1 = 0 ;
    6366           0 :   int res1 = 0 ;
    6367           0 :   void *argp2 = 0 ;
    6368           0 :   int res2 = 0 ;
    6369           0 :   PyObject * obj0 = 0 ;
    6370           0 :   PyObject * obj1 = 0 ;
    6371             :   
    6372           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:fifo_prev_set",&obj0,&obj1)) SWIG_fail;
    6373           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_fifo, 0 |  0 );
    6374           0 :   if (!SWIG_IsOK(res1)) {
    6375           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fifo_prev_set" "', argument " "1"" of type '" "struct fifo *""'"); 
    6376             :   }
    6377           0 :   arg1 = (struct fifo *)(argp1);
    6378           0 :   res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_fifo, SWIG_POINTER_DISOWN |  0 );
    6379           0 :   if (!SWIG_IsOK(res2)) {
    6380           0 :     SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fifo_prev_set" "', argument " "2"" of type '" "struct fifo *""'"); 
    6381             :   }
    6382           0 :   arg2 = (struct fifo *)(argp2);
    6383           0 :   if (arg1) (arg1)->prev = arg2;
    6384           0 :   resultobj = SWIG_Py_Void();
    6385           0 :   return resultobj;
    6386             : fail:
    6387           0 :   return NULL;
    6388             : }
    6389             : 
    6390             : 
    6391           0 : SWIGINTERN PyObject *_wrap_fifo_prev_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6392           0 :   PyObject *resultobj = 0;
    6393           0 :   struct fifo *arg1 = (struct fifo *) 0 ;
    6394           0 :   void *argp1 = 0 ;
    6395           0 :   int res1 = 0 ;
    6396           0 :   PyObject * obj0 = 0 ;
    6397           0 :   struct fifo *result = 0 ;
    6398             :   
    6399           0 :   if (!PyArg_ParseTuple(args,(char *)"O:fifo_prev_get",&obj0)) SWIG_fail;
    6400           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_fifo, 0 |  0 );
    6401           0 :   if (!SWIG_IsOK(res1)) {
    6402           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fifo_prev_get" "', argument " "1"" of type '" "struct fifo *""'"); 
    6403             :   }
    6404           0 :   arg1 = (struct fifo *)(argp1);
    6405           0 :   result = (struct fifo *) ((arg1)->prev);
    6406           0 :   resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fifo, 0 |  0 );
    6407           0 :   return resultobj;
    6408             : fail:
    6409           0 :   return NULL;
    6410             : }
    6411             : 
    6412             : 
    6413           0 : SWIGINTERN PyObject *_wrap_new_fifo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6414           0 :   PyObject *resultobj = 0;
    6415           0 :   struct fifo *result = 0 ;
    6416             :   
    6417           0 :   if (!PyArg_ParseTuple(args,(char *)":new_fifo")) SWIG_fail;
    6418           0 :   result = (struct fifo *)calloc(1, sizeof(struct fifo));
    6419           0 :   resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fifo, SWIG_POINTER_NEW |  0 );
    6420           0 :   return resultobj;
    6421             : fail:
    6422           0 :   return NULL;
    6423             : }
    6424             : 
    6425             : 
    6426           0 : SWIGINTERN PyObject *_wrap_delete_fifo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6427           0 :   PyObject *resultobj = 0;
    6428           0 :   struct fifo *arg1 = (struct fifo *) 0 ;
    6429           0 :   void *argp1 = 0 ;
    6430           0 :   int res1 = 0 ;
    6431           0 :   PyObject * obj0 = 0 ;
    6432             :   
    6433           0 :   if (!PyArg_ParseTuple(args,(char *)"O:delete_fifo",&obj0)) SWIG_fail;
    6434           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_fifo, SWIG_POINTER_DISOWN |  0 );
    6435           0 :   if (!SWIG_IsOK(res1)) {
    6436           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_fifo" "', argument " "1"" of type '" "struct fifo *""'"); 
    6437             :   }
    6438           0 :   arg1 = (struct fifo *)(argp1);
    6439           0 :   free((char *) arg1);
    6440           0 :   resultobj = SWIG_Py_Void();
    6441           0 :   return resultobj;
    6442             : fail:
    6443           0 :   return NULL;
    6444             : }
    6445             : 
    6446             : 
    6447           1 : SWIGINTERN PyObject *fifo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6448             :   PyObject *obj;
    6449           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
    6450           1 :   SWIG_TypeNewClientData(SWIGTYPE_p_fifo, SWIG_NewClientData(obj));
    6451           1 :   return SWIG_Py_Void();
    6452             : }
    6453             : 
    6454           1 : SWIGINTERN PyObject *ZEBRA_MAX_PACKET_SIZ_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6455             :   PyObject *module;
    6456             :   PyObject *d;
    6457           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6458           1 :   d = PyModule_GetDict(module);
    6459           1 :   if (!d) return NULL;
    6460           1 :   SWIG_Python_SetConstant(d, "ZEBRA_MAX_PACKET_SIZ",SWIG_From_int((int)(4096)));
    6461           1 :   return SWIG_Py_Void();
    6462             : }
    6463             : 
    6464             : 
    6465           1 : SWIGINTERN PyObject *ZEBRA_HEADER_SIZE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6466             :   PyObject *module;
    6467             :   PyObject *d;
    6468           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    6469           1 :   d = PyModule_GetDict(module);
    6470           1 :   if (!d) return NULL;
    6471           1 :   SWIG_Python_SetConstant(d, "ZEBRA_HEADER_SIZE",SWIG_From_int((int)(6)));
    6472           1 :   return SWIG_Py_Void();
    6473             : }
    6474             : 
    6475             : 
    6476           0 : SWIGINTERN PyObject *_wrap_zclient_sock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6477           0 :   PyObject *resultobj = 0;
    6478           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    6479             :   int arg2 ;
    6480           0 :   void *argp1 = 0 ;
    6481           0 :   int res1 = 0 ;
    6482             :   int val2 ;
    6483           0 :   int ecode2 = 0 ;
    6484           0 :   PyObject * obj0 = 0 ;
    6485           0 :   PyObject * obj1 = 0 ;
    6486             :   
    6487           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zclient_sock_set",&obj0,&obj1)) SWIG_fail;
    6488           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    6489           0 :   if (!SWIG_IsOK(res1)) {
    6490           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_sock_set" "', argument " "1"" of type '" "struct zclient *""'"); 
    6491             :   }
    6492           0 :   arg1 = (struct zclient *)(argp1);
    6493           0 :   ecode2 = SWIG_AsVal_int(obj1, &val2);
    6494           0 :   if (!SWIG_IsOK(ecode2)) {
    6495           0 :     SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "zclient_sock_set" "', argument " "2"" of type '" "int""'");
    6496             :   } 
    6497           0 :   arg2 = (int)(val2);
    6498           0 :   if (arg1) (arg1)->sock = arg2;
    6499           0 :   resultobj = SWIG_Py_Void();
    6500           0 :   return resultobj;
    6501             : fail:
    6502           0 :   return NULL;
    6503             : }
    6504             : 
    6505             : 
    6506           0 : SWIGINTERN PyObject *_wrap_zclient_sock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6507           0 :   PyObject *resultobj = 0;
    6508           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    6509           0 :   void *argp1 = 0 ;
    6510           0 :   int res1 = 0 ;
    6511           0 :   PyObject * obj0 = 0 ;
    6512             :   int result;
    6513             :   
    6514           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zclient_sock_get",&obj0)) SWIG_fail;
    6515           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    6516           0 :   if (!SWIG_IsOK(res1)) {
    6517           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_sock_get" "', argument " "1"" of type '" "struct zclient *""'"); 
    6518             :   }
    6519           0 :   arg1 = (struct zclient *)(argp1);
    6520           0 :   result = (int) ((arg1)->sock);
    6521           0 :   resultobj = SWIG_From_int((int)(result));
    6522           0 :   return resultobj;
    6523             : fail:
    6524           0 :   return NULL;
    6525             : }
    6526             : 
    6527             : 
    6528           0 : SWIGINTERN PyObject *_wrap_zclient_enable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6529           0 :   PyObject *resultobj = 0;
    6530           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    6531             :   int arg2 ;
    6532           0 :   void *argp1 = 0 ;
    6533           0 :   int res1 = 0 ;
    6534             :   int val2 ;
    6535           0 :   int ecode2 = 0 ;
    6536           0 :   PyObject * obj0 = 0 ;
    6537           0 :   PyObject * obj1 = 0 ;
    6538             :   
    6539           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zclient_enable_set",&obj0,&obj1)) SWIG_fail;
    6540           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    6541           0 :   if (!SWIG_IsOK(res1)) {
    6542           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_enable_set" "', argument " "1"" of type '" "struct zclient *""'"); 
    6543             :   }
    6544           0 :   arg1 = (struct zclient *)(argp1);
    6545           0 :   ecode2 = SWIG_AsVal_int(obj1, &val2);
    6546           0 :   if (!SWIG_IsOK(ecode2)) {
    6547           0 :     SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "zclient_enable_set" "', argument " "2"" of type '" "int""'");
    6548             :   } 
    6549           0 :   arg2 = (int)(val2);
    6550           0 :   if (arg1) (arg1)->enable = arg2;
    6551           0 :   resultobj = SWIG_Py_Void();
    6552           0 :   return resultobj;
    6553             : fail:
    6554           0 :   return NULL;
    6555             : }
    6556             : 
    6557             : 
    6558           0 : SWIGINTERN PyObject *_wrap_zclient_enable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6559           0 :   PyObject *resultobj = 0;
    6560           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    6561           0 :   void *argp1 = 0 ;
    6562           0 :   int res1 = 0 ;
    6563           0 :   PyObject * obj0 = 0 ;
    6564             :   int result;
    6565             :   
    6566           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zclient_enable_get",&obj0)) SWIG_fail;
    6567           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    6568           0 :   if (!SWIG_IsOK(res1)) {
    6569           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_enable_get" "', argument " "1"" of type '" "struct zclient *""'"); 
    6570             :   }
    6571           0 :   arg1 = (struct zclient *)(argp1);
    6572           0 :   result = (int) ((arg1)->enable);
    6573           0 :   resultobj = SWIG_From_int((int)(result));
    6574           0 :   return resultobj;
    6575             : fail:
    6576           0 :   return NULL;
    6577             : }
    6578             : 
    6579             : 
    6580           0 : SWIGINTERN PyObject *_wrap_zclient_fail_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6581           0 :   PyObject *resultobj = 0;
    6582           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    6583             :   int arg2 ;
    6584           0 :   void *argp1 = 0 ;
    6585           0 :   int res1 = 0 ;
    6586             :   int val2 ;
    6587           0 :   int ecode2 = 0 ;
    6588           0 :   PyObject * obj0 = 0 ;
    6589           0 :   PyObject * obj1 = 0 ;
    6590             :   
    6591           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zclient_fail_set",&obj0,&obj1)) SWIG_fail;
    6592           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    6593           0 :   if (!SWIG_IsOK(res1)) {
    6594           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_fail_set" "', argument " "1"" of type '" "struct zclient *""'"); 
    6595             :   }
    6596           0 :   arg1 = (struct zclient *)(argp1);
    6597           0 :   ecode2 = SWIG_AsVal_int(obj1, &val2);
    6598           0 :   if (!SWIG_IsOK(ecode2)) {
    6599           0 :     SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "zclient_fail_set" "', argument " "2"" of type '" "int""'");
    6600             :   } 
    6601           0 :   arg2 = (int)(val2);
    6602           0 :   if (arg1) (arg1)->fail = arg2;
    6603           0 :   resultobj = SWIG_Py_Void();
    6604           0 :   return resultobj;
    6605             : fail:
    6606           0 :   return NULL;
    6607             : }
    6608             : 
    6609             : 
    6610           0 : SWIGINTERN PyObject *_wrap_zclient_fail_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6611           0 :   PyObject *resultobj = 0;
    6612           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    6613           0 :   void *argp1 = 0 ;
    6614           0 :   int res1 = 0 ;
    6615           0 :   PyObject * obj0 = 0 ;
    6616             :   int result;
    6617             :   
    6618           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zclient_fail_get",&obj0)) SWIG_fail;
    6619           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    6620           0 :   if (!SWIG_IsOK(res1)) {
    6621           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_fail_get" "', argument " "1"" of type '" "struct zclient *""'"); 
    6622             :   }
    6623           0 :   arg1 = (struct zclient *)(argp1);
    6624           0 :   result = (int) ((arg1)->fail);
    6625           0 :   resultobj = SWIG_From_int((int)(result));
    6626           0 :   return resultobj;
    6627             : fail:
    6628           0 :   return NULL;
    6629             : }
    6630             : 
    6631             : 
    6632           0 : SWIGINTERN PyObject *_wrap_zclient_ibuf_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6633           0 :   PyObject *resultobj = 0;
    6634           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    6635           0 :   struct stream *arg2 = (struct stream *) 0 ;
    6636           0 :   void *argp1 = 0 ;
    6637           0 :   int res1 = 0 ;
    6638           0 :   void *argp2 = 0 ;
    6639           0 :   int res2 = 0 ;
    6640           0 :   PyObject * obj0 = 0 ;
    6641           0 :   PyObject * obj1 = 0 ;
    6642             :   
    6643           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zclient_ibuf_set",&obj0,&obj1)) SWIG_fail;
    6644           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    6645           0 :   if (!SWIG_IsOK(res1)) {
    6646           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_ibuf_set" "', argument " "1"" of type '" "struct zclient *""'"); 
    6647             :   }
    6648           0 :   arg1 = (struct zclient *)(argp1);
    6649           0 :   res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_stream, SWIG_POINTER_DISOWN |  0 );
    6650           0 :   if (!SWIG_IsOK(res2)) {
    6651           0 :     SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zclient_ibuf_set" "', argument " "2"" of type '" "struct stream *""'"); 
    6652             :   }
    6653           0 :   arg2 = (struct stream *)(argp2);
    6654           0 :   if (arg1) (arg1)->ibuf = arg2;
    6655           0 :   resultobj = SWIG_Py_Void();
    6656           0 :   return resultobj;
    6657             : fail:
    6658           0 :   return NULL;
    6659             : }
    6660             : 
    6661             : 
    6662           0 : SWIGINTERN PyObject *_wrap_zclient_ibuf_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6663           0 :   PyObject *resultobj = 0;
    6664           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    6665           0 :   void *argp1 = 0 ;
    6666           0 :   int res1 = 0 ;
    6667           0 :   PyObject * obj0 = 0 ;
    6668           0 :   struct stream *result = 0 ;
    6669             :   
    6670           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zclient_ibuf_get",&obj0)) SWIG_fail;
    6671           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    6672           0 :   if (!SWIG_IsOK(res1)) {
    6673           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_ibuf_get" "', argument " "1"" of type '" "struct zclient *""'"); 
    6674             :   }
    6675           0 :   arg1 = (struct zclient *)(argp1);
    6676           0 :   result = (struct stream *) ((arg1)->ibuf);
    6677           0 :   resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_stream, 0 |  0 );
    6678           0 :   return resultobj;
    6679             : fail:
    6680           0 :   return NULL;
    6681             : }
    6682             : 
    6683             : 
    6684           0 : SWIGINTERN PyObject *_wrap_zclient_obuf_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6685           0 :   PyObject *resultobj = 0;
    6686           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    6687           0 :   struct stream *arg2 = (struct stream *) 0 ;
    6688           0 :   void *argp1 = 0 ;
    6689           0 :   int res1 = 0 ;
    6690           0 :   void *argp2 = 0 ;
    6691           0 :   int res2 = 0 ;
    6692           0 :   PyObject * obj0 = 0 ;
    6693           0 :   PyObject * obj1 = 0 ;
    6694             :   
    6695           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zclient_obuf_set",&obj0,&obj1)) SWIG_fail;
    6696           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    6697           0 :   if (!SWIG_IsOK(res1)) {
    6698           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_obuf_set" "', argument " "1"" of type '" "struct zclient *""'"); 
    6699             :   }
    6700           0 :   arg1 = (struct zclient *)(argp1);
    6701           0 :   res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_stream, SWIG_POINTER_DISOWN |  0 );
    6702           0 :   if (!SWIG_IsOK(res2)) {
    6703           0 :     SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zclient_obuf_set" "', argument " "2"" of type '" "struct stream *""'"); 
    6704             :   }
    6705           0 :   arg2 = (struct stream *)(argp2);
    6706           0 :   if (arg1) (arg1)->obuf = arg2;
    6707           0 :   resultobj = SWIG_Py_Void();
    6708           0 :   return resultobj;
    6709             : fail:
    6710           0 :   return NULL;
    6711             : }
    6712             : 
    6713             : 
    6714           0 : SWIGINTERN PyObject *_wrap_zclient_obuf_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6715           0 :   PyObject *resultobj = 0;
    6716           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    6717           0 :   void *argp1 = 0 ;
    6718           0 :   int res1 = 0 ;
    6719           0 :   PyObject * obj0 = 0 ;
    6720           0 :   struct stream *result = 0 ;
    6721             :   
    6722           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zclient_obuf_get",&obj0)) SWIG_fail;
    6723           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    6724           0 :   if (!SWIG_IsOK(res1)) {
    6725           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_obuf_get" "', argument " "1"" of type '" "struct zclient *""'"); 
    6726             :   }
    6727           0 :   arg1 = (struct zclient *)(argp1);
    6728           0 :   result = (struct stream *) ((arg1)->obuf);
    6729           0 :   resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_stream, 0 |  0 );
    6730           0 :   return resultobj;
    6731             : fail:
    6732           0 :   return NULL;
    6733             : }
    6734             : 
    6735             : 
    6736           0 : SWIGINTERN PyObject *_wrap_zclient_wb_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6737           0 :   PyObject *resultobj = 0;
    6738           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    6739           0 :   struct buffer *arg2 = (struct buffer *) 0 ;
    6740           0 :   void *argp1 = 0 ;
    6741           0 :   int res1 = 0 ;
    6742           0 :   void *argp2 = 0 ;
    6743           0 :   int res2 = 0 ;
    6744           0 :   PyObject * obj0 = 0 ;
    6745           0 :   PyObject * obj1 = 0 ;
    6746             :   
    6747           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zclient_wb_set",&obj0,&obj1)) SWIG_fail;
    6748           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    6749           0 :   if (!SWIG_IsOK(res1)) {
    6750           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_wb_set" "', argument " "1"" of type '" "struct zclient *""'"); 
    6751             :   }
    6752           0 :   arg1 = (struct zclient *)(argp1);
    6753           0 :   res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_buffer, SWIG_POINTER_DISOWN |  0 );
    6754           0 :   if (!SWIG_IsOK(res2)) {
    6755           0 :     SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zclient_wb_set" "', argument " "2"" of type '" "struct buffer *""'"); 
    6756             :   }
    6757           0 :   arg2 = (struct buffer *)(argp2);
    6758           0 :   if (arg1) (arg1)->wb = arg2;
    6759           0 :   resultobj = SWIG_Py_Void();
    6760           0 :   return resultobj;
    6761             : fail:
    6762           0 :   return NULL;
    6763             : }
    6764             : 
    6765             : 
    6766           0 : SWIGINTERN PyObject *_wrap_zclient_wb_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6767           0 :   PyObject *resultobj = 0;
    6768           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    6769           0 :   void *argp1 = 0 ;
    6770           0 :   int res1 = 0 ;
    6771           0 :   PyObject * obj0 = 0 ;
    6772           0 :   struct buffer *result = 0 ;
    6773             :   
    6774           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zclient_wb_get",&obj0)) SWIG_fail;
    6775           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    6776           0 :   if (!SWIG_IsOK(res1)) {
    6777           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_wb_get" "', argument " "1"" of type '" "struct zclient *""'"); 
    6778             :   }
    6779           0 :   arg1 = (struct zclient *)(argp1);
    6780           0 :   result = (struct buffer *) ((arg1)->wb);
    6781           0 :   resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_buffer, 0 |  0 );
    6782           0 :   return resultobj;
    6783             : fail:
    6784           0 :   return NULL;
    6785             : }
    6786             : 
    6787             : 
    6788           0 : SWIGINTERN PyObject *_wrap_zclient_t_read_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6789           0 :   PyObject *resultobj = 0;
    6790           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    6791           0 :   struct thread *arg2 = (struct thread *) 0 ;
    6792           0 :   void *argp1 = 0 ;
    6793           0 :   int res1 = 0 ;
    6794           0 :   void *argp2 = 0 ;
    6795           0 :   int res2 = 0 ;
    6796           0 :   PyObject * obj0 = 0 ;
    6797           0 :   PyObject * obj1 = 0 ;
    6798             :   
    6799           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zclient_t_read_set",&obj0,&obj1)) SWIG_fail;
    6800           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    6801           0 :   if (!SWIG_IsOK(res1)) {
    6802           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_t_read_set" "', argument " "1"" of type '" "struct zclient *""'"); 
    6803             :   }
    6804           0 :   arg1 = (struct zclient *)(argp1);
    6805           0 :   res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_thread, SWIG_POINTER_DISOWN |  0 );
    6806           0 :   if (!SWIG_IsOK(res2)) {
    6807           0 :     SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zclient_t_read_set" "', argument " "2"" of type '" "struct thread *""'"); 
    6808             :   }
    6809           0 :   arg2 = (struct thread *)(argp2);
    6810           0 :   if (arg1) (arg1)->t_read = arg2;
    6811           0 :   resultobj = SWIG_Py_Void();
    6812           0 :   return resultobj;
    6813             : fail:
    6814           0 :   return NULL;
    6815             : }
    6816             : 
    6817             : 
    6818           0 : SWIGINTERN PyObject *_wrap_zclient_t_read_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6819           0 :   PyObject *resultobj = 0;
    6820           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    6821           0 :   void *argp1 = 0 ;
    6822           0 :   int res1 = 0 ;
    6823           0 :   PyObject * obj0 = 0 ;
    6824           0 :   struct thread *result = 0 ;
    6825             :   
    6826           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zclient_t_read_get",&obj0)) SWIG_fail;
    6827           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    6828           0 :   if (!SWIG_IsOK(res1)) {
    6829           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_t_read_get" "', argument " "1"" of type '" "struct zclient *""'"); 
    6830             :   }
    6831           0 :   arg1 = (struct zclient *)(argp1);
    6832           0 :   result = (struct thread *) ((arg1)->t_read);
    6833           0 :   resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_thread, 0 |  0 );
    6834           0 :   return resultobj;
    6835             : fail:
    6836           0 :   return NULL;
    6837             : }
    6838             : 
    6839             : 
    6840           0 : SWIGINTERN PyObject *_wrap_zclient_t_connect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6841           0 :   PyObject *resultobj = 0;
    6842           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    6843           0 :   struct thread *arg2 = (struct thread *) 0 ;
    6844           0 :   void *argp1 = 0 ;
    6845           0 :   int res1 = 0 ;
    6846           0 :   void *argp2 = 0 ;
    6847           0 :   int res2 = 0 ;
    6848           0 :   PyObject * obj0 = 0 ;
    6849           0 :   PyObject * obj1 = 0 ;
    6850             :   
    6851           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zclient_t_connect_set",&obj0,&obj1)) SWIG_fail;
    6852           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    6853           0 :   if (!SWIG_IsOK(res1)) {
    6854           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_t_connect_set" "', argument " "1"" of type '" "struct zclient *""'"); 
    6855             :   }
    6856           0 :   arg1 = (struct zclient *)(argp1);
    6857           0 :   res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_thread, SWIG_POINTER_DISOWN |  0 );
    6858           0 :   if (!SWIG_IsOK(res2)) {
    6859           0 :     SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zclient_t_connect_set" "', argument " "2"" of type '" "struct thread *""'"); 
    6860             :   }
    6861           0 :   arg2 = (struct thread *)(argp2);
    6862           0 :   if (arg1) (arg1)->t_connect = arg2;
    6863           0 :   resultobj = SWIG_Py_Void();
    6864           0 :   return resultobj;
    6865             : fail:
    6866           0 :   return NULL;
    6867             : }
    6868             : 
    6869             : 
    6870           0 : SWIGINTERN PyObject *_wrap_zclient_t_connect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6871           0 :   PyObject *resultobj = 0;
    6872           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    6873           0 :   void *argp1 = 0 ;
    6874           0 :   int res1 = 0 ;
    6875           0 :   PyObject * obj0 = 0 ;
    6876           0 :   struct thread *result = 0 ;
    6877             :   
    6878           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zclient_t_connect_get",&obj0)) SWIG_fail;
    6879           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    6880           0 :   if (!SWIG_IsOK(res1)) {
    6881           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_t_connect_get" "', argument " "1"" of type '" "struct zclient *""'"); 
    6882             :   }
    6883           0 :   arg1 = (struct zclient *)(argp1);
    6884           0 :   result = (struct thread *) ((arg1)->t_connect);
    6885           0 :   resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_thread, 0 |  0 );
    6886           0 :   return resultobj;
    6887             : fail:
    6888           0 :   return NULL;
    6889             : }
    6890             : 
    6891             : 
    6892           0 : SWIGINTERN PyObject *_wrap_zclient_t_write_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6893           0 :   PyObject *resultobj = 0;
    6894           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    6895           0 :   struct thread *arg2 = (struct thread *) 0 ;
    6896           0 :   void *argp1 = 0 ;
    6897           0 :   int res1 = 0 ;
    6898           0 :   void *argp2 = 0 ;
    6899           0 :   int res2 = 0 ;
    6900           0 :   PyObject * obj0 = 0 ;
    6901           0 :   PyObject * obj1 = 0 ;
    6902             :   
    6903           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zclient_t_write_set",&obj0,&obj1)) SWIG_fail;
    6904           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    6905           0 :   if (!SWIG_IsOK(res1)) {
    6906           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_t_write_set" "', argument " "1"" of type '" "struct zclient *""'"); 
    6907             :   }
    6908           0 :   arg1 = (struct zclient *)(argp1);
    6909           0 :   res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_thread, SWIG_POINTER_DISOWN |  0 );
    6910           0 :   if (!SWIG_IsOK(res2)) {
    6911           0 :     SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zclient_t_write_set" "', argument " "2"" of type '" "struct thread *""'"); 
    6912             :   }
    6913           0 :   arg2 = (struct thread *)(argp2);
    6914           0 :   if (arg1) (arg1)->t_write = arg2;
    6915           0 :   resultobj = SWIG_Py_Void();
    6916           0 :   return resultobj;
    6917             : fail:
    6918           0 :   return NULL;
    6919             : }
    6920             : 
    6921             : 
    6922           0 : SWIGINTERN PyObject *_wrap_zclient_t_write_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6923           0 :   PyObject *resultobj = 0;
    6924           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    6925           0 :   void *argp1 = 0 ;
    6926           0 :   int res1 = 0 ;
    6927           0 :   PyObject * obj0 = 0 ;
    6928           0 :   struct thread *result = 0 ;
    6929             :   
    6930           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zclient_t_write_get",&obj0)) SWIG_fail;
    6931           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    6932           0 :   if (!SWIG_IsOK(res1)) {
    6933           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_t_write_get" "', argument " "1"" of type '" "struct zclient *""'"); 
    6934             :   }
    6935           0 :   arg1 = (struct zclient *)(argp1);
    6936           0 :   result = (struct thread *) ((arg1)->t_write);
    6937           0 :   resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_thread, 0 |  0 );
    6938           0 :   return resultobj;
    6939             : fail:
    6940           0 :   return NULL;
    6941             : }
    6942             : 
    6943             : 
    6944           0 : SWIGINTERN PyObject *_wrap_zclient_redist_default_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6945           0 :   PyObject *resultobj = 0;
    6946           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    6947             :   u_char arg2 ;
    6948           0 :   void *argp1 = 0 ;
    6949           0 :   int res1 = 0 ;
    6950             :   void *argp2 ;
    6951           0 :   int res2 = 0 ;
    6952           0 :   PyObject * obj0 = 0 ;
    6953           0 :   PyObject * obj1 = 0 ;
    6954             :   
    6955           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zclient_redist_default_set",&obj0,&obj1)) SWIG_fail;
    6956           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    6957           0 :   if (!SWIG_IsOK(res1)) {
    6958           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_redist_default_set" "', argument " "1"" of type '" "struct zclient *""'"); 
    6959             :   }
    6960           0 :   arg1 = (struct zclient *)(argp1);
    6961             :   {
    6962           0 :     res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_u_char,  0 );
    6963           0 :     if (!SWIG_IsOK(res2)) {
    6964           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zclient_redist_default_set" "', argument " "2"" of type '" "u_char""'"); 
    6965             :     }  
    6966           0 :     if (!argp2) {
    6967           0 :       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "zclient_redist_default_set" "', argument " "2"" of type '" "u_char""'");
    6968             :     } else {
    6969           0 :       arg2 = *((u_char *)(argp2));
    6970             :     }
    6971             :   }
    6972           0 :   if (arg1) (arg1)->redist_default = arg2;
    6973           0 :   resultobj = SWIG_Py_Void();
    6974           0 :   return resultobj;
    6975             : fail:
    6976           0 :   return NULL;
    6977             : }
    6978             : 
    6979             : 
    6980           0 : SWIGINTERN PyObject *_wrap_zclient_redist_default_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    6981           0 :   PyObject *resultobj = 0;
    6982           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    6983           0 :   void *argp1 = 0 ;
    6984           0 :   int res1 = 0 ;
    6985           0 :   PyObject * obj0 = 0 ;
    6986             :   u_char result;
    6987             :   
    6988           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zclient_redist_default_get",&obj0)) SWIG_fail;
    6989           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    6990           0 :   if (!SWIG_IsOK(res1)) {
    6991           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_redist_default_get" "', argument " "1"" of type '" "struct zclient *""'"); 
    6992             :   }
    6993           0 :   arg1 = (struct zclient *)(argp1);
    6994           0 :   result =  ((arg1)->redist_default);
    6995           0 :   resultobj = SWIG_NewPointerObj((u_char *)memcpy((u_char *)malloc(sizeof(u_char)),&result,sizeof(u_char)), SWIGTYPE_p_u_char, SWIG_POINTER_OWN |  0 );
    6996           0 :   return resultobj;
    6997             : fail:
    6998           0 :   return NULL;
    6999             : }
    7000             : 
    7001             : 
    7002           0 : SWIGINTERN PyObject *_wrap_zclient_redist_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7003           0 :   PyObject *resultobj = 0;
    7004           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7005             :   u_char *arg2 ;
    7006           0 :   void *argp1 = 0 ;
    7007           0 :   int res1 = 0 ;
    7008           0 :   void *argp2 = 0 ;
    7009           0 :   int res2 = 0 ;
    7010           0 :   PyObject * obj0 = 0 ;
    7011           0 :   PyObject * obj1 = 0 ;
    7012             :   
    7013           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zclient_redist_set",&obj0,&obj1)) SWIG_fail;
    7014           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7015           0 :   if (!SWIG_IsOK(res1)) {
    7016           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_redist_set" "', argument " "1"" of type '" "struct zclient *""'"); 
    7017             :   }
    7018           0 :   arg1 = (struct zclient *)(argp1);
    7019           0 :   res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_u_char, 0 |  0 );
    7020           0 :   if (!SWIG_IsOK(res2)) {
    7021           0 :     SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zclient_redist_set" "', argument " "2"" of type '" "u_char [13]""'"); 
    7022             :   } 
    7023           0 :   arg2 = (u_char *)(argp2);
    7024             :   {
    7025           0 :     if (arg2) {
    7026           0 :       size_t ii = 0;
    7027           0 :       for (; ii < (size_t)13; ++ii) *(u_char *)&arg1->redist[ii] = *((u_char *)arg2 + ii);
    7028             :     } else {
    7029           0 :       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""redist""' of type '""u_char [13]""'");
    7030             :     }
    7031             :   }
    7032           0 :   resultobj = SWIG_Py_Void();
    7033           0 :   return resultobj;
    7034             : fail:
    7035           0 :   return NULL;
    7036             : }
    7037             : 
    7038             : 
    7039           0 : SWIGINTERN PyObject *_wrap_zclient_redist_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7040           0 :   PyObject *resultobj = 0;
    7041           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7042           0 :   void *argp1 = 0 ;
    7043           0 :   int res1 = 0 ;
    7044           0 :   PyObject * obj0 = 0 ;
    7045           0 :   u_char *result = 0 ;
    7046             :   
    7047           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zclient_redist_get",&obj0)) SWIG_fail;
    7048           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7049           0 :   if (!SWIG_IsOK(res1)) {
    7050           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_redist_get" "', argument " "1"" of type '" "struct zclient *""'"); 
    7051             :   }
    7052           0 :   arg1 = (struct zclient *)(argp1);
    7053           0 :   result = (u_char *)(u_char *) ((arg1)->redist);
    7054           0 :   resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_u_char, 0 |  0 );
    7055           0 :   return resultobj;
    7056             : fail:
    7057           0 :   return NULL;
    7058             : }
    7059             : 
    7060             : 
    7061           0 : SWIGINTERN PyObject *_wrap_zclient_default_information_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7062           0 :   PyObject *resultobj = 0;
    7063           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7064             :   u_char arg2 ;
    7065           0 :   void *argp1 = 0 ;
    7066           0 :   int res1 = 0 ;
    7067             :   void *argp2 ;
    7068           0 :   int res2 = 0 ;
    7069           0 :   PyObject * obj0 = 0 ;
    7070           0 :   PyObject * obj1 = 0 ;
    7071             :   
    7072           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zclient_default_information_set",&obj0,&obj1)) SWIG_fail;
    7073           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7074           0 :   if (!SWIG_IsOK(res1)) {
    7075           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_default_information_set" "', argument " "1"" of type '" "struct zclient *""'"); 
    7076             :   }
    7077           0 :   arg1 = (struct zclient *)(argp1);
    7078             :   {
    7079           0 :     res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_u_char,  0 );
    7080           0 :     if (!SWIG_IsOK(res2)) {
    7081           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zclient_default_information_set" "', argument " "2"" of type '" "u_char""'"); 
    7082             :     }  
    7083           0 :     if (!argp2) {
    7084           0 :       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "zclient_default_information_set" "', argument " "2"" of type '" "u_char""'");
    7085             :     } else {
    7086           0 :       arg2 = *((u_char *)(argp2));
    7087             :     }
    7088             :   }
    7089           0 :   if (arg1) (arg1)->default_information = arg2;
    7090           0 :   resultobj = SWIG_Py_Void();
    7091           0 :   return resultobj;
    7092             : fail:
    7093           0 :   return NULL;
    7094             : }
    7095             : 
    7096             : 
    7097           0 : SWIGINTERN PyObject *_wrap_zclient_default_information_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7098           0 :   PyObject *resultobj = 0;
    7099           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7100           0 :   void *argp1 = 0 ;
    7101           0 :   int res1 = 0 ;
    7102           0 :   PyObject * obj0 = 0 ;
    7103             :   u_char result;
    7104             :   
    7105           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zclient_default_information_get",&obj0)) SWIG_fail;
    7106           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7107           0 :   if (!SWIG_IsOK(res1)) {
    7108           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_default_information_get" "', argument " "1"" of type '" "struct zclient *""'"); 
    7109             :   }
    7110           0 :   arg1 = (struct zclient *)(argp1);
    7111           0 :   result =  ((arg1)->default_information);
    7112           0 :   resultobj = SWIG_NewPointerObj((u_char *)memcpy((u_char *)malloc(sizeof(u_char)),&result,sizeof(u_char)), SWIGTYPE_p_u_char, SWIG_POINTER_OWN |  0 );
    7113           0 :   return resultobj;
    7114             : fail:
    7115           0 :   return NULL;
    7116             : }
    7117             : 
    7118             : 
    7119           0 : SWIGINTERN PyObject *_wrap_zclient_router_id_update_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7120           0 :   PyObject *resultobj = 0;
    7121           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7122           0 :   int (*arg2)(int,struct zclient *,uint16_t) = (int (*)(int,struct zclient *,uint16_t)) 0 ;
    7123           0 :   void *argp1 = 0 ;
    7124           0 :   int res1 = 0 ;
    7125           0 :   PyObject * obj0 = 0 ;
    7126           0 :   PyObject * obj1 = 0 ;
    7127             :   
    7128           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zclient_router_id_update_set",&obj0,&obj1)) SWIG_fail;
    7129           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7130           0 :   if (!SWIG_IsOK(res1)) {
    7131           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_router_id_update_set" "', argument " "1"" of type '" "struct zclient *""'"); 
    7132             :   }
    7133           0 :   arg1 = (struct zclient *)(argp1);
    7134             :   {
    7135           0 :     int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_int_p_struct_zclient_uint16_t__int);
    7136           0 :     if (!SWIG_IsOK(res)) {
    7137           0 :       SWIG_exception_fail(SWIG_ArgError(res), "in method '" "zclient_router_id_update_set" "', argument " "2"" of type '" "int (*)(int,struct zclient *,uint16_t)""'"); 
    7138             :     }
    7139             :   }
    7140           0 :   if (arg1) (arg1)->router_id_update = arg2;
    7141           0 :   resultobj = SWIG_Py_Void();
    7142           0 :   return resultobj;
    7143             : fail:
    7144           0 :   return NULL;
    7145             : }
    7146             : 
    7147             : 
    7148           0 : SWIGINTERN PyObject *_wrap_zclient_router_id_update_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7149           0 :   PyObject *resultobj = 0;
    7150           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7151           0 :   void *argp1 = 0 ;
    7152           0 :   int res1 = 0 ;
    7153           0 :   PyObject * obj0 = 0 ;
    7154           0 :   int (*result)(int,struct zclient *,uint16_t) = 0 ;
    7155             :   
    7156           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zclient_router_id_update_get",&obj0)) SWIG_fail;
    7157           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7158           0 :   if (!SWIG_IsOK(res1)) {
    7159           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_router_id_update_get" "', argument " "1"" of type '" "struct zclient *""'"); 
    7160             :   }
    7161           0 :   arg1 = (struct zclient *)(argp1);
    7162           0 :   result = (int (*)(int,struct zclient *,uint16_t)) ((arg1)->router_id_update);
    7163           0 :   resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_int_p_struct_zclient_uint16_t__int);
    7164           0 :   return resultobj;
    7165             : fail:
    7166           0 :   return NULL;
    7167             : }
    7168             : 
    7169             : 
    7170           0 : SWIGINTERN PyObject *_wrap_zclient_interface_add_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7171           0 :   PyObject *resultobj = 0;
    7172           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7173           0 :   int (*arg2)(int,struct zclient *,uint16_t) = (int (*)(int,struct zclient *,uint16_t)) 0 ;
    7174           0 :   void *argp1 = 0 ;
    7175           0 :   int res1 = 0 ;
    7176           0 :   PyObject * obj0 = 0 ;
    7177           0 :   PyObject * obj1 = 0 ;
    7178             :   
    7179           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zclient_interface_add_set",&obj0,&obj1)) SWIG_fail;
    7180           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7181           0 :   if (!SWIG_IsOK(res1)) {
    7182           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_interface_add_set" "', argument " "1"" of type '" "struct zclient *""'"); 
    7183             :   }
    7184           0 :   arg1 = (struct zclient *)(argp1);
    7185             :   {
    7186           0 :     int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_int_p_struct_zclient_uint16_t__int);
    7187           0 :     if (!SWIG_IsOK(res)) {
    7188           0 :       SWIG_exception_fail(SWIG_ArgError(res), "in method '" "zclient_interface_add_set" "', argument " "2"" of type '" "int (*)(int,struct zclient *,uint16_t)""'"); 
    7189             :     }
    7190             :   }
    7191           0 :   if (arg1) (arg1)->interface_add = arg2;
    7192           0 :   resultobj = SWIG_Py_Void();
    7193           0 :   return resultobj;
    7194             : fail:
    7195           0 :   return NULL;
    7196             : }
    7197             : 
    7198             : 
    7199           0 : SWIGINTERN PyObject *_wrap_zclient_interface_add_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7200           0 :   PyObject *resultobj = 0;
    7201           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7202           0 :   void *argp1 = 0 ;
    7203           0 :   int res1 = 0 ;
    7204           0 :   PyObject * obj0 = 0 ;
    7205           0 :   int (*result)(int,struct zclient *,uint16_t) = 0 ;
    7206             :   
    7207           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zclient_interface_add_get",&obj0)) SWIG_fail;
    7208           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7209           0 :   if (!SWIG_IsOK(res1)) {
    7210           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_interface_add_get" "', argument " "1"" of type '" "struct zclient *""'"); 
    7211             :   }
    7212           0 :   arg1 = (struct zclient *)(argp1);
    7213           0 :   result = (int (*)(int,struct zclient *,uint16_t)) ((arg1)->interface_add);
    7214           0 :   resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_int_p_struct_zclient_uint16_t__int);
    7215           0 :   return resultobj;
    7216             : fail:
    7217           0 :   return NULL;
    7218             : }
    7219             : 
    7220             : 
    7221           0 : SWIGINTERN PyObject *_wrap_zclient_interface_delete_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7222           0 :   PyObject *resultobj = 0;
    7223           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7224           0 :   int (*arg2)(int,struct zclient *,uint16_t) = (int (*)(int,struct zclient *,uint16_t)) 0 ;
    7225           0 :   void *argp1 = 0 ;
    7226           0 :   int res1 = 0 ;
    7227           0 :   PyObject * obj0 = 0 ;
    7228           0 :   PyObject * obj1 = 0 ;
    7229             :   
    7230           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zclient_interface_delete_set",&obj0,&obj1)) SWIG_fail;
    7231           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7232           0 :   if (!SWIG_IsOK(res1)) {
    7233           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_interface_delete_set" "', argument " "1"" of type '" "struct zclient *""'"); 
    7234             :   }
    7235           0 :   arg1 = (struct zclient *)(argp1);
    7236             :   {
    7237           0 :     int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_int_p_struct_zclient_uint16_t__int);
    7238           0 :     if (!SWIG_IsOK(res)) {
    7239           0 :       SWIG_exception_fail(SWIG_ArgError(res), "in method '" "zclient_interface_delete_set" "', argument " "2"" of type '" "int (*)(int,struct zclient *,uint16_t)""'"); 
    7240             :     }
    7241             :   }
    7242           0 :   if (arg1) (arg1)->interface_delete = arg2;
    7243           0 :   resultobj = SWIG_Py_Void();
    7244           0 :   return resultobj;
    7245             : fail:
    7246           0 :   return NULL;
    7247             : }
    7248             : 
    7249             : 
    7250           0 : SWIGINTERN PyObject *_wrap_zclient_interface_delete_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7251           0 :   PyObject *resultobj = 0;
    7252           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7253           0 :   void *argp1 = 0 ;
    7254           0 :   int res1 = 0 ;
    7255           0 :   PyObject * obj0 = 0 ;
    7256           0 :   int (*result)(int,struct zclient *,uint16_t) = 0 ;
    7257             :   
    7258           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zclient_interface_delete_get",&obj0)) SWIG_fail;
    7259           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7260           0 :   if (!SWIG_IsOK(res1)) {
    7261           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_interface_delete_get" "', argument " "1"" of type '" "struct zclient *""'"); 
    7262             :   }
    7263           0 :   arg1 = (struct zclient *)(argp1);
    7264           0 :   result = (int (*)(int,struct zclient *,uint16_t)) ((arg1)->interface_delete);
    7265           0 :   resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_int_p_struct_zclient_uint16_t__int);
    7266           0 :   return resultobj;
    7267             : fail:
    7268           0 :   return NULL;
    7269             : }
    7270             : 
    7271             : 
    7272           0 : SWIGINTERN PyObject *_wrap_zclient_interface_up_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7273           0 :   PyObject *resultobj = 0;
    7274           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7275           0 :   int (*arg2)(int,struct zclient *,uint16_t) = (int (*)(int,struct zclient *,uint16_t)) 0 ;
    7276           0 :   void *argp1 = 0 ;
    7277           0 :   int res1 = 0 ;
    7278           0 :   PyObject * obj0 = 0 ;
    7279           0 :   PyObject * obj1 = 0 ;
    7280             :   
    7281           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zclient_interface_up_set",&obj0,&obj1)) SWIG_fail;
    7282           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7283           0 :   if (!SWIG_IsOK(res1)) {
    7284           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_interface_up_set" "', argument " "1"" of type '" "struct zclient *""'"); 
    7285             :   }
    7286           0 :   arg1 = (struct zclient *)(argp1);
    7287             :   {
    7288           0 :     int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_int_p_struct_zclient_uint16_t__int);
    7289           0 :     if (!SWIG_IsOK(res)) {
    7290           0 :       SWIG_exception_fail(SWIG_ArgError(res), "in method '" "zclient_interface_up_set" "', argument " "2"" of type '" "int (*)(int,struct zclient *,uint16_t)""'"); 
    7291             :     }
    7292             :   }
    7293           0 :   if (arg1) (arg1)->interface_up = arg2;
    7294           0 :   resultobj = SWIG_Py_Void();
    7295           0 :   return resultobj;
    7296             : fail:
    7297           0 :   return NULL;
    7298             : }
    7299             : 
    7300             : 
    7301           0 : SWIGINTERN PyObject *_wrap_zclient_interface_up_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7302           0 :   PyObject *resultobj = 0;
    7303           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7304           0 :   void *argp1 = 0 ;
    7305           0 :   int res1 = 0 ;
    7306           0 :   PyObject * obj0 = 0 ;
    7307           0 :   int (*result)(int,struct zclient *,uint16_t) = 0 ;
    7308             :   
    7309           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zclient_interface_up_get",&obj0)) SWIG_fail;
    7310           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7311           0 :   if (!SWIG_IsOK(res1)) {
    7312           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_interface_up_get" "', argument " "1"" of type '" "struct zclient *""'"); 
    7313             :   }
    7314           0 :   arg1 = (struct zclient *)(argp1);
    7315           0 :   result = (int (*)(int,struct zclient *,uint16_t)) ((arg1)->interface_up);
    7316           0 :   resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_int_p_struct_zclient_uint16_t__int);
    7317           0 :   return resultobj;
    7318             : fail:
    7319           0 :   return NULL;
    7320             : }
    7321             : 
    7322             : 
    7323           0 : SWIGINTERN PyObject *_wrap_zclient_interface_down_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7324           0 :   PyObject *resultobj = 0;
    7325           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7326           0 :   int (*arg2)(int,struct zclient *,uint16_t) = (int (*)(int,struct zclient *,uint16_t)) 0 ;
    7327           0 :   void *argp1 = 0 ;
    7328           0 :   int res1 = 0 ;
    7329           0 :   PyObject * obj0 = 0 ;
    7330           0 :   PyObject * obj1 = 0 ;
    7331             :   
    7332           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zclient_interface_down_set",&obj0,&obj1)) SWIG_fail;
    7333           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7334           0 :   if (!SWIG_IsOK(res1)) {
    7335           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_interface_down_set" "', argument " "1"" of type '" "struct zclient *""'"); 
    7336             :   }
    7337           0 :   arg1 = (struct zclient *)(argp1);
    7338             :   {
    7339           0 :     int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_int_p_struct_zclient_uint16_t__int);
    7340           0 :     if (!SWIG_IsOK(res)) {
    7341           0 :       SWIG_exception_fail(SWIG_ArgError(res), "in method '" "zclient_interface_down_set" "', argument " "2"" of type '" "int (*)(int,struct zclient *,uint16_t)""'"); 
    7342             :     }
    7343             :   }
    7344           0 :   if (arg1) (arg1)->interface_down = arg2;
    7345           0 :   resultobj = SWIG_Py_Void();
    7346           0 :   return resultobj;
    7347             : fail:
    7348           0 :   return NULL;
    7349             : }
    7350             : 
    7351             : 
    7352           0 : SWIGINTERN PyObject *_wrap_zclient_interface_down_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7353           0 :   PyObject *resultobj = 0;
    7354           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7355           0 :   void *argp1 = 0 ;
    7356           0 :   int res1 = 0 ;
    7357           0 :   PyObject * obj0 = 0 ;
    7358           0 :   int (*result)(int,struct zclient *,uint16_t) = 0 ;
    7359             :   
    7360           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zclient_interface_down_get",&obj0)) SWIG_fail;
    7361           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7362           0 :   if (!SWIG_IsOK(res1)) {
    7363           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_interface_down_get" "', argument " "1"" of type '" "struct zclient *""'"); 
    7364             :   }
    7365           0 :   arg1 = (struct zclient *)(argp1);
    7366           0 :   result = (int (*)(int,struct zclient *,uint16_t)) ((arg1)->interface_down);
    7367           0 :   resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_int_p_struct_zclient_uint16_t__int);
    7368           0 :   return resultobj;
    7369             : fail:
    7370           0 :   return NULL;
    7371             : }
    7372             : 
    7373             : 
    7374           0 : SWIGINTERN PyObject *_wrap_zclient_interface_address_add_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7375           0 :   PyObject *resultobj = 0;
    7376           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7377           0 :   int (*arg2)(int,struct zclient *,uint16_t) = (int (*)(int,struct zclient *,uint16_t)) 0 ;
    7378           0 :   void *argp1 = 0 ;
    7379           0 :   int res1 = 0 ;
    7380           0 :   PyObject * obj0 = 0 ;
    7381           0 :   PyObject * obj1 = 0 ;
    7382             :   
    7383           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zclient_interface_address_add_set",&obj0,&obj1)) SWIG_fail;
    7384           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7385           0 :   if (!SWIG_IsOK(res1)) {
    7386           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_interface_address_add_set" "', argument " "1"" of type '" "struct zclient *""'"); 
    7387             :   }
    7388           0 :   arg1 = (struct zclient *)(argp1);
    7389             :   {
    7390           0 :     int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_int_p_struct_zclient_uint16_t__int);
    7391           0 :     if (!SWIG_IsOK(res)) {
    7392           0 :       SWIG_exception_fail(SWIG_ArgError(res), "in method '" "zclient_interface_address_add_set" "', argument " "2"" of type '" "int (*)(int,struct zclient *,uint16_t)""'"); 
    7393             :     }
    7394             :   }
    7395           0 :   if (arg1) (arg1)->interface_address_add = arg2;
    7396           0 :   resultobj = SWIG_Py_Void();
    7397           0 :   return resultobj;
    7398             : fail:
    7399           0 :   return NULL;
    7400             : }
    7401             : 
    7402             : 
    7403           0 : SWIGINTERN PyObject *_wrap_zclient_interface_address_add_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7404           0 :   PyObject *resultobj = 0;
    7405           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7406           0 :   void *argp1 = 0 ;
    7407           0 :   int res1 = 0 ;
    7408           0 :   PyObject * obj0 = 0 ;
    7409           0 :   int (*result)(int,struct zclient *,uint16_t) = 0 ;
    7410             :   
    7411           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zclient_interface_address_add_get",&obj0)) SWIG_fail;
    7412           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7413           0 :   if (!SWIG_IsOK(res1)) {
    7414           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_interface_address_add_get" "', argument " "1"" of type '" "struct zclient *""'"); 
    7415             :   }
    7416           0 :   arg1 = (struct zclient *)(argp1);
    7417           0 :   result = (int (*)(int,struct zclient *,uint16_t)) ((arg1)->interface_address_add);
    7418           0 :   resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_int_p_struct_zclient_uint16_t__int);
    7419           0 :   return resultobj;
    7420             : fail:
    7421           0 :   return NULL;
    7422             : }
    7423             : 
    7424             : 
    7425           0 : SWIGINTERN PyObject *_wrap_zclient_interface_address_delete_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7426           0 :   PyObject *resultobj = 0;
    7427           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7428           0 :   int (*arg2)(int,struct zclient *,uint16_t) = (int (*)(int,struct zclient *,uint16_t)) 0 ;
    7429           0 :   void *argp1 = 0 ;
    7430           0 :   int res1 = 0 ;
    7431           0 :   PyObject * obj0 = 0 ;
    7432           0 :   PyObject * obj1 = 0 ;
    7433             :   
    7434           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zclient_interface_address_delete_set",&obj0,&obj1)) SWIG_fail;
    7435           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7436           0 :   if (!SWIG_IsOK(res1)) {
    7437           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_interface_address_delete_set" "', argument " "1"" of type '" "struct zclient *""'"); 
    7438             :   }
    7439           0 :   arg1 = (struct zclient *)(argp1);
    7440             :   {
    7441           0 :     int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_int_p_struct_zclient_uint16_t__int);
    7442           0 :     if (!SWIG_IsOK(res)) {
    7443           0 :       SWIG_exception_fail(SWIG_ArgError(res), "in method '" "zclient_interface_address_delete_set" "', argument " "2"" of type '" "int (*)(int,struct zclient *,uint16_t)""'"); 
    7444             :     }
    7445             :   }
    7446           0 :   if (arg1) (arg1)->interface_address_delete = arg2;
    7447           0 :   resultobj = SWIG_Py_Void();
    7448           0 :   return resultobj;
    7449             : fail:
    7450           0 :   return NULL;
    7451             : }
    7452             : 
    7453             : 
    7454           0 : SWIGINTERN PyObject *_wrap_zclient_interface_address_delete_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7455           0 :   PyObject *resultobj = 0;
    7456           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7457           0 :   void *argp1 = 0 ;
    7458           0 :   int res1 = 0 ;
    7459           0 :   PyObject * obj0 = 0 ;
    7460           0 :   int (*result)(int,struct zclient *,uint16_t) = 0 ;
    7461             :   
    7462           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zclient_interface_address_delete_get",&obj0)) SWIG_fail;
    7463           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7464           0 :   if (!SWIG_IsOK(res1)) {
    7465           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_interface_address_delete_get" "', argument " "1"" of type '" "struct zclient *""'"); 
    7466             :   }
    7467           0 :   arg1 = (struct zclient *)(argp1);
    7468           0 :   result = (int (*)(int,struct zclient *,uint16_t)) ((arg1)->interface_address_delete);
    7469           0 :   resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_int_p_struct_zclient_uint16_t__int);
    7470           0 :   return resultobj;
    7471             : fail:
    7472           0 :   return NULL;
    7473             : }
    7474             : 
    7475             : 
    7476           0 : SWIGINTERN PyObject *_wrap_zclient_ipv4_route_add_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7477           0 :   PyObject *resultobj = 0;
    7478           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7479           0 :   int (*arg2)(int,struct zclient *,uint16_t) = (int (*)(int,struct zclient *,uint16_t)) 0 ;
    7480           0 :   void *argp1 = 0 ;
    7481           0 :   int res1 = 0 ;
    7482           0 :   PyObject * obj0 = 0 ;
    7483           0 :   PyObject * obj1 = 0 ;
    7484             :   
    7485           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zclient_ipv4_route_add_set",&obj0,&obj1)) SWIG_fail;
    7486           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7487           0 :   if (!SWIG_IsOK(res1)) {
    7488           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_ipv4_route_add_set" "', argument " "1"" of type '" "struct zclient *""'"); 
    7489             :   }
    7490           0 :   arg1 = (struct zclient *)(argp1);
    7491             :   {
    7492           0 :     int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_int_p_struct_zclient_uint16_t__int);
    7493           0 :     if (!SWIG_IsOK(res)) {
    7494           0 :       SWIG_exception_fail(SWIG_ArgError(res), "in method '" "zclient_ipv4_route_add_set" "', argument " "2"" of type '" "int (*)(int,struct zclient *,uint16_t)""'"); 
    7495             :     }
    7496             :   }
    7497           0 :   if (arg1) (arg1)->ipv4_route_add = arg2;
    7498           0 :   resultobj = SWIG_Py_Void();
    7499           0 :   return resultobj;
    7500             : fail:
    7501           0 :   return NULL;
    7502             : }
    7503             : 
    7504             : 
    7505           0 : SWIGINTERN PyObject *_wrap_zclient_ipv4_route_add_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7506           0 :   PyObject *resultobj = 0;
    7507           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7508           0 :   void *argp1 = 0 ;
    7509           0 :   int res1 = 0 ;
    7510           0 :   PyObject * obj0 = 0 ;
    7511           0 :   int (*result)(int,struct zclient *,uint16_t) = 0 ;
    7512             :   
    7513           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zclient_ipv4_route_add_get",&obj0)) SWIG_fail;
    7514           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7515           0 :   if (!SWIG_IsOK(res1)) {
    7516           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_ipv4_route_add_get" "', argument " "1"" of type '" "struct zclient *""'"); 
    7517             :   }
    7518           0 :   arg1 = (struct zclient *)(argp1);
    7519           0 :   result = (int (*)(int,struct zclient *,uint16_t)) ((arg1)->ipv4_route_add);
    7520           0 :   resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_int_p_struct_zclient_uint16_t__int);
    7521           0 :   return resultobj;
    7522             : fail:
    7523           0 :   return NULL;
    7524             : }
    7525             : 
    7526             : 
    7527           0 : SWIGINTERN PyObject *_wrap_zclient_ipv4_route_delete_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7528           0 :   PyObject *resultobj = 0;
    7529           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7530           0 :   int (*arg2)(int,struct zclient *,uint16_t) = (int (*)(int,struct zclient *,uint16_t)) 0 ;
    7531           0 :   void *argp1 = 0 ;
    7532           0 :   int res1 = 0 ;
    7533           0 :   PyObject * obj0 = 0 ;
    7534           0 :   PyObject * obj1 = 0 ;
    7535             :   
    7536           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zclient_ipv4_route_delete_set",&obj0,&obj1)) SWIG_fail;
    7537           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7538           0 :   if (!SWIG_IsOK(res1)) {
    7539           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_ipv4_route_delete_set" "', argument " "1"" of type '" "struct zclient *""'"); 
    7540             :   }
    7541           0 :   arg1 = (struct zclient *)(argp1);
    7542             :   {
    7543           0 :     int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_int_p_struct_zclient_uint16_t__int);
    7544           0 :     if (!SWIG_IsOK(res)) {
    7545           0 :       SWIG_exception_fail(SWIG_ArgError(res), "in method '" "zclient_ipv4_route_delete_set" "', argument " "2"" of type '" "int (*)(int,struct zclient *,uint16_t)""'"); 
    7546             :     }
    7547             :   }
    7548           0 :   if (arg1) (arg1)->ipv4_route_delete = arg2;
    7549           0 :   resultobj = SWIG_Py_Void();
    7550           0 :   return resultobj;
    7551             : fail:
    7552           0 :   return NULL;
    7553             : }
    7554             : 
    7555             : 
    7556           0 : SWIGINTERN PyObject *_wrap_zclient_ipv4_route_delete_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7557           0 :   PyObject *resultobj = 0;
    7558           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7559           0 :   void *argp1 = 0 ;
    7560           0 :   int res1 = 0 ;
    7561           0 :   PyObject * obj0 = 0 ;
    7562           0 :   int (*result)(int,struct zclient *,uint16_t) = 0 ;
    7563             :   
    7564           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zclient_ipv4_route_delete_get",&obj0)) SWIG_fail;
    7565           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7566           0 :   if (!SWIG_IsOK(res1)) {
    7567           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_ipv4_route_delete_get" "', argument " "1"" of type '" "struct zclient *""'"); 
    7568             :   }
    7569           0 :   arg1 = (struct zclient *)(argp1);
    7570           0 :   result = (int (*)(int,struct zclient *,uint16_t)) ((arg1)->ipv4_route_delete);
    7571           0 :   resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_int_p_struct_zclient_uint16_t__int);
    7572           0 :   return resultobj;
    7573             : fail:
    7574           0 :   return NULL;
    7575             : }
    7576             : 
    7577             : 
    7578           0 : SWIGINTERN PyObject *_wrap_zclient_ipv6_route_add_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7579           0 :   PyObject *resultobj = 0;
    7580           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7581           0 :   int (*arg2)(int,struct zclient *,uint16_t) = (int (*)(int,struct zclient *,uint16_t)) 0 ;
    7582           0 :   void *argp1 = 0 ;
    7583           0 :   int res1 = 0 ;
    7584           0 :   PyObject * obj0 = 0 ;
    7585           0 :   PyObject * obj1 = 0 ;
    7586             :   
    7587           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zclient_ipv6_route_add_set",&obj0,&obj1)) SWIG_fail;
    7588           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7589           0 :   if (!SWIG_IsOK(res1)) {
    7590           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_ipv6_route_add_set" "', argument " "1"" of type '" "struct zclient *""'"); 
    7591             :   }
    7592           0 :   arg1 = (struct zclient *)(argp1);
    7593             :   {
    7594           0 :     int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_int_p_struct_zclient_uint16_t__int);
    7595           0 :     if (!SWIG_IsOK(res)) {
    7596           0 :       SWIG_exception_fail(SWIG_ArgError(res), "in method '" "zclient_ipv6_route_add_set" "', argument " "2"" of type '" "int (*)(int,struct zclient *,uint16_t)""'"); 
    7597             :     }
    7598             :   }
    7599           0 :   if (arg1) (arg1)->ipv6_route_add = arg2;
    7600           0 :   resultobj = SWIG_Py_Void();
    7601           0 :   return resultobj;
    7602             : fail:
    7603           0 :   return NULL;
    7604             : }
    7605             : 
    7606             : 
    7607           0 : SWIGINTERN PyObject *_wrap_zclient_ipv6_route_add_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7608           0 :   PyObject *resultobj = 0;
    7609           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7610           0 :   void *argp1 = 0 ;
    7611           0 :   int res1 = 0 ;
    7612           0 :   PyObject * obj0 = 0 ;
    7613           0 :   int (*result)(int,struct zclient *,uint16_t) = 0 ;
    7614             :   
    7615           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zclient_ipv6_route_add_get",&obj0)) SWIG_fail;
    7616           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7617           0 :   if (!SWIG_IsOK(res1)) {
    7618           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_ipv6_route_add_get" "', argument " "1"" of type '" "struct zclient *""'"); 
    7619             :   }
    7620           0 :   arg1 = (struct zclient *)(argp1);
    7621           0 :   result = (int (*)(int,struct zclient *,uint16_t)) ((arg1)->ipv6_route_add);
    7622           0 :   resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_int_p_struct_zclient_uint16_t__int);
    7623           0 :   return resultobj;
    7624             : fail:
    7625           0 :   return NULL;
    7626             : }
    7627             : 
    7628             : 
    7629           0 : SWIGINTERN PyObject *_wrap_zclient_ipv6_route_delete_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7630           0 :   PyObject *resultobj = 0;
    7631           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7632           0 :   int (*arg2)(int,struct zclient *,uint16_t) = (int (*)(int,struct zclient *,uint16_t)) 0 ;
    7633           0 :   void *argp1 = 0 ;
    7634           0 :   int res1 = 0 ;
    7635           0 :   PyObject * obj0 = 0 ;
    7636           0 :   PyObject * obj1 = 0 ;
    7637             :   
    7638           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zclient_ipv6_route_delete_set",&obj0,&obj1)) SWIG_fail;
    7639           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7640           0 :   if (!SWIG_IsOK(res1)) {
    7641           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_ipv6_route_delete_set" "', argument " "1"" of type '" "struct zclient *""'"); 
    7642             :   }
    7643           0 :   arg1 = (struct zclient *)(argp1);
    7644             :   {
    7645           0 :     int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_int_p_struct_zclient_uint16_t__int);
    7646           0 :     if (!SWIG_IsOK(res)) {
    7647           0 :       SWIG_exception_fail(SWIG_ArgError(res), "in method '" "zclient_ipv6_route_delete_set" "', argument " "2"" of type '" "int (*)(int,struct zclient *,uint16_t)""'"); 
    7648             :     }
    7649             :   }
    7650           0 :   if (arg1) (arg1)->ipv6_route_delete = arg2;
    7651           0 :   resultobj = SWIG_Py_Void();
    7652           0 :   return resultobj;
    7653             : fail:
    7654           0 :   return NULL;
    7655             : }
    7656             : 
    7657             : 
    7658           0 : SWIGINTERN PyObject *_wrap_zclient_ipv6_route_delete_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7659           0 :   PyObject *resultobj = 0;
    7660           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7661           0 :   void *argp1 = 0 ;
    7662           0 :   int res1 = 0 ;
    7663           0 :   PyObject * obj0 = 0 ;
    7664           0 :   int (*result)(int,struct zclient *,uint16_t) = 0 ;
    7665             :   
    7666           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zclient_ipv6_route_delete_get",&obj0)) SWIG_fail;
    7667           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, 0 |  0 );
    7668           0 :   if (!SWIG_IsOK(res1)) {
    7669           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zclient_ipv6_route_delete_get" "', argument " "1"" of type '" "struct zclient *""'"); 
    7670             :   }
    7671           0 :   arg1 = (struct zclient *)(argp1);
    7672           0 :   result = (int (*)(int,struct zclient *,uint16_t)) ((arg1)->ipv6_route_delete);
    7673           0 :   resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_int_p_struct_zclient_uint16_t__int);
    7674           0 :   return resultobj;
    7675             : fail:
    7676           0 :   return NULL;
    7677             : }
    7678             : 
    7679             : 
    7680           0 : SWIGINTERN PyObject *_wrap_new_zclient(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7681           0 :   PyObject *resultobj = 0;
    7682           0 :   struct zclient *result = 0 ;
    7683             :   
    7684           0 :   if (!PyArg_ParseTuple(args,(char *)":new_zclient")) SWIG_fail;
    7685           0 :   result = (struct zclient *)calloc(1, sizeof(struct zclient));
    7686           0 :   resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_zclient, SWIG_POINTER_NEW |  0 );
    7687           0 :   return resultobj;
    7688             : fail:
    7689           0 :   return NULL;
    7690             : }
    7691             : 
    7692             : 
    7693           0 : SWIGINTERN PyObject *_wrap_delete_zclient(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7694           0 :   PyObject *resultobj = 0;
    7695           0 :   struct zclient *arg1 = (struct zclient *) 0 ;
    7696           0 :   void *argp1 = 0 ;
    7697           0 :   int res1 = 0 ;
    7698           0 :   PyObject * obj0 = 0 ;
    7699             :   
    7700           0 :   if (!PyArg_ParseTuple(args,(char *)"O:delete_zclient",&obj0)) SWIG_fail;
    7701           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zclient, SWIG_POINTER_DISOWN |  0 );
    7702           0 :   if (!SWIG_IsOK(res1)) {
    7703           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_zclient" "', argument " "1"" of type '" "struct zclient *""'"); 
    7704             :   }
    7705           0 :   arg1 = (struct zclient *)(argp1);
    7706           0 :   free((char *) arg1);
    7707           0 :   resultobj = SWIG_Py_Void();
    7708           0 :   return resultobj;
    7709             : fail:
    7710           0 :   return NULL;
    7711             : }
    7712             : 
    7713             : 
    7714           1 : SWIGINTERN PyObject *zclient_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7715             :   PyObject *obj;
    7716           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
    7717           1 :   SWIG_TypeNewClientData(SWIGTYPE_p_zclient, SWIG_NewClientData(obj));
    7718           1 :   return SWIG_Py_Void();
    7719             : }
    7720             : 
    7721           1 : SWIGINTERN PyObject *ZAPI_MESSAGE_NEXTHOP_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7722             :   PyObject *module;
    7723             :   PyObject *d;
    7724           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    7725           1 :   d = PyModule_GetDict(module);
    7726           1 :   if (!d) return NULL;
    7727           1 :   SWIG_Python_SetConstant(d, "ZAPI_MESSAGE_NEXTHOP",SWIG_From_int((int)(0x01)));
    7728           1 :   return SWIG_Py_Void();
    7729             : }
    7730             : 
    7731             : 
    7732           1 : SWIGINTERN PyObject *ZAPI_MESSAGE_IFINDEX_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7733             :   PyObject *module;
    7734             :   PyObject *d;
    7735           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    7736           1 :   d = PyModule_GetDict(module);
    7737           1 :   if (!d) return NULL;
    7738           1 :   SWIG_Python_SetConstant(d, "ZAPI_MESSAGE_IFINDEX",SWIG_From_int((int)(0x02)));
    7739           1 :   return SWIG_Py_Void();
    7740             : }
    7741             : 
    7742             : 
    7743           1 : SWIGINTERN PyObject *ZAPI_MESSAGE_DISTANCE_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7744             :   PyObject *module;
    7745             :   PyObject *d;
    7746           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    7747           1 :   d = PyModule_GetDict(module);
    7748           1 :   if (!d) return NULL;
    7749           1 :   SWIG_Python_SetConstant(d, "ZAPI_MESSAGE_DISTANCE",SWIG_From_int((int)(0x04)));
    7750           1 :   return SWIG_Py_Void();
    7751             : }
    7752             : 
    7753             : 
    7754           1 : SWIGINTERN PyObject *ZAPI_MESSAGE_METRIC_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7755             :   PyObject *module;
    7756             :   PyObject *d;
    7757           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    7758           1 :   d = PyModule_GetDict(module);
    7759           1 :   if (!d) return NULL;
    7760           1 :   SWIG_Python_SetConstant(d, "ZAPI_MESSAGE_METRIC",SWIG_From_int((int)(0x08)));
    7761           1 :   return SWIG_Py_Void();
    7762             : }
    7763             : 
    7764             : 
    7765           1 : SWIGINTERN PyObject *ZAPI_MESSAGE_SRCPFX_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7766             :   PyObject *module;
    7767             :   PyObject *d;
    7768           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    7769           1 :   d = PyModule_GetDict(module);
    7770           1 :   if (!d) return NULL;
    7771           1 :   SWIG_Python_SetConstant(d, "ZAPI_MESSAGE_SRCPFX",SWIG_From_int((int)(0x10)));
    7772           1 :   return SWIG_Py_Void();
    7773             : }
    7774             : 
    7775             : 
    7776           0 : SWIGINTERN PyObject *_wrap_zserv_header_length_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7777           0 :   PyObject *resultobj = 0;
    7778           0 :   struct zserv_header *arg1 = (struct zserv_header *) 0 ;
    7779             :   uint16_t arg2 ;
    7780           0 :   void *argp1 = 0 ;
    7781           0 :   int res1 = 0 ;
    7782             :   void *argp2 ;
    7783           0 :   int res2 = 0 ;
    7784           0 :   PyObject * obj0 = 0 ;
    7785           0 :   PyObject * obj1 = 0 ;
    7786             :   
    7787           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zserv_header_length_set",&obj0,&obj1)) SWIG_fail;
    7788           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zserv_header, 0 |  0 );
    7789           0 :   if (!SWIG_IsOK(res1)) {
    7790           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zserv_header_length_set" "', argument " "1"" of type '" "struct zserv_header *""'"); 
    7791             :   }
    7792           0 :   arg1 = (struct zserv_header *)(argp1);
    7793             :   {
    7794           0 :     res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint16_t,  0 );
    7795           0 :     if (!SWIG_IsOK(res2)) {
    7796           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zserv_header_length_set" "', argument " "2"" of type '" "uint16_t""'"); 
    7797             :     }  
    7798           0 :     if (!argp2) {
    7799           0 :       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "zserv_header_length_set" "', argument " "2"" of type '" "uint16_t""'");
    7800             :     } else {
    7801           0 :       arg2 = *((uint16_t *)(argp2));
    7802             :     }
    7803             :   }
    7804           0 :   if (arg1) (arg1)->length = arg2;
    7805           0 :   resultobj = SWIG_Py_Void();
    7806           0 :   return resultobj;
    7807             : fail:
    7808           0 :   return NULL;
    7809             : }
    7810             : 
    7811             : 
    7812           0 : SWIGINTERN PyObject *_wrap_zserv_header_length_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7813           0 :   PyObject *resultobj = 0;
    7814           0 :   struct zserv_header *arg1 = (struct zserv_header *) 0 ;
    7815           0 :   void *argp1 = 0 ;
    7816           0 :   int res1 = 0 ;
    7817           0 :   PyObject * obj0 = 0 ;
    7818             :   uint16_t result;
    7819             :   
    7820           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zserv_header_length_get",&obj0)) SWIG_fail;
    7821           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zserv_header, 0 |  0 );
    7822           0 :   if (!SWIG_IsOK(res1)) {
    7823           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zserv_header_length_get" "', argument " "1"" of type '" "struct zserv_header *""'"); 
    7824             :   }
    7825           0 :   arg1 = (struct zserv_header *)(argp1);
    7826           0 :   result =  ((arg1)->length);
    7827           0 :   resultobj = SWIG_NewPointerObj((uint16_t *)memcpy((uint16_t *)malloc(sizeof(uint16_t)),&result,sizeof(uint16_t)), SWIGTYPE_p_uint16_t, SWIG_POINTER_OWN |  0 );
    7828           0 :   return resultobj;
    7829             : fail:
    7830           0 :   return NULL;
    7831             : }
    7832             : 
    7833             : 
    7834           0 : SWIGINTERN PyObject *_wrap_zserv_header_marker_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7835           0 :   PyObject *resultobj = 0;
    7836           0 :   struct zserv_header *arg1 = (struct zserv_header *) 0 ;
    7837             :   uint8_t arg2 ;
    7838           0 :   void *argp1 = 0 ;
    7839           0 :   int res1 = 0 ;
    7840             :   void *argp2 ;
    7841           0 :   int res2 = 0 ;
    7842           0 :   PyObject * obj0 = 0 ;
    7843           0 :   PyObject * obj1 = 0 ;
    7844             :   
    7845           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zserv_header_marker_set",&obj0,&obj1)) SWIG_fail;
    7846           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zserv_header, 0 |  0 );
    7847           0 :   if (!SWIG_IsOK(res1)) {
    7848           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zserv_header_marker_set" "', argument " "1"" of type '" "struct zserv_header *""'"); 
    7849             :   }
    7850           0 :   arg1 = (struct zserv_header *)(argp1);
    7851             :   {
    7852           0 :     res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint8_t,  0 );
    7853           0 :     if (!SWIG_IsOK(res2)) {
    7854           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zserv_header_marker_set" "', argument " "2"" of type '" "uint8_t""'"); 
    7855             :     }  
    7856           0 :     if (!argp2) {
    7857           0 :       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "zserv_header_marker_set" "', argument " "2"" of type '" "uint8_t""'");
    7858             :     } else {
    7859           0 :       arg2 = *((uint8_t *)(argp2));
    7860             :     }
    7861             :   }
    7862           0 :   if (arg1) (arg1)->marker = arg2;
    7863           0 :   resultobj = SWIG_Py_Void();
    7864           0 :   return resultobj;
    7865             : fail:
    7866           0 :   return NULL;
    7867             : }
    7868             : 
    7869             : 
    7870           0 : SWIGINTERN PyObject *_wrap_zserv_header_marker_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7871           0 :   PyObject *resultobj = 0;
    7872           0 :   struct zserv_header *arg1 = (struct zserv_header *) 0 ;
    7873           0 :   void *argp1 = 0 ;
    7874           0 :   int res1 = 0 ;
    7875           0 :   PyObject * obj0 = 0 ;
    7876             :   uint8_t result;
    7877             :   
    7878           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zserv_header_marker_get",&obj0)) SWIG_fail;
    7879           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zserv_header, 0 |  0 );
    7880           0 :   if (!SWIG_IsOK(res1)) {
    7881           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zserv_header_marker_get" "', argument " "1"" of type '" "struct zserv_header *""'"); 
    7882             :   }
    7883           0 :   arg1 = (struct zserv_header *)(argp1);
    7884           0 :   result =  ((arg1)->marker);
    7885           0 :   resultobj = SWIG_NewPointerObj((uint8_t *)memcpy((uint8_t *)malloc(sizeof(uint8_t)),&result,sizeof(uint8_t)), SWIGTYPE_p_uint8_t, SWIG_POINTER_OWN |  0 );
    7886           0 :   return resultobj;
    7887             : fail:
    7888           0 :   return NULL;
    7889             : }
    7890             : 
    7891             : 
    7892           0 : SWIGINTERN PyObject *_wrap_zserv_header_version_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7893           0 :   PyObject *resultobj = 0;
    7894           0 :   struct zserv_header *arg1 = (struct zserv_header *) 0 ;
    7895             :   uint8_t arg2 ;
    7896           0 :   void *argp1 = 0 ;
    7897           0 :   int res1 = 0 ;
    7898             :   void *argp2 ;
    7899           0 :   int res2 = 0 ;
    7900           0 :   PyObject * obj0 = 0 ;
    7901           0 :   PyObject * obj1 = 0 ;
    7902             :   
    7903           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zserv_header_version_set",&obj0,&obj1)) SWIG_fail;
    7904           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zserv_header, 0 |  0 );
    7905           0 :   if (!SWIG_IsOK(res1)) {
    7906           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zserv_header_version_set" "', argument " "1"" of type '" "struct zserv_header *""'"); 
    7907             :   }
    7908           0 :   arg1 = (struct zserv_header *)(argp1);
    7909             :   {
    7910           0 :     res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint8_t,  0 );
    7911           0 :     if (!SWIG_IsOK(res2)) {
    7912           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zserv_header_version_set" "', argument " "2"" of type '" "uint8_t""'"); 
    7913             :     }  
    7914           0 :     if (!argp2) {
    7915           0 :       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "zserv_header_version_set" "', argument " "2"" of type '" "uint8_t""'");
    7916             :     } else {
    7917           0 :       arg2 = *((uint8_t *)(argp2));
    7918             :     }
    7919             :   }
    7920           0 :   if (arg1) (arg1)->version = arg2;
    7921           0 :   resultobj = SWIG_Py_Void();
    7922           0 :   return resultobj;
    7923             : fail:
    7924           0 :   return NULL;
    7925             : }
    7926             : 
    7927             : 
    7928           0 : SWIGINTERN PyObject *_wrap_zserv_header_version_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7929           0 :   PyObject *resultobj = 0;
    7930           0 :   struct zserv_header *arg1 = (struct zserv_header *) 0 ;
    7931           0 :   void *argp1 = 0 ;
    7932           0 :   int res1 = 0 ;
    7933           0 :   PyObject * obj0 = 0 ;
    7934             :   uint8_t result;
    7935             :   
    7936           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zserv_header_version_get",&obj0)) SWIG_fail;
    7937           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zserv_header, 0 |  0 );
    7938           0 :   if (!SWIG_IsOK(res1)) {
    7939           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zserv_header_version_get" "', argument " "1"" of type '" "struct zserv_header *""'"); 
    7940             :   }
    7941           0 :   arg1 = (struct zserv_header *)(argp1);
    7942           0 :   result =  ((arg1)->version);
    7943           0 :   resultobj = SWIG_NewPointerObj((uint8_t *)memcpy((uint8_t *)malloc(sizeof(uint8_t)),&result,sizeof(uint8_t)), SWIGTYPE_p_uint8_t, SWIG_POINTER_OWN |  0 );
    7944           0 :   return resultobj;
    7945             : fail:
    7946           0 :   return NULL;
    7947             : }
    7948             : 
    7949             : 
    7950           1 : SWIGINTERN PyObject *ZSERV_VERSION_swigconstant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7951             :   PyObject *module;
    7952             :   PyObject *d;
    7953           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigconstant", &module)) return NULL;
    7954           1 :   d = PyModule_GetDict(module);
    7955           1 :   if (!d) return NULL;
    7956           1 :   SWIG_Python_SetConstant(d, "ZSERV_VERSION",SWIG_From_int((int)(2)));
    7957           1 :   return SWIG_Py_Void();
    7958             : }
    7959             : 
    7960             : 
    7961           0 : SWIGINTERN PyObject *_wrap_zserv_header_command_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7962           0 :   PyObject *resultobj = 0;
    7963           0 :   struct zserv_header *arg1 = (struct zserv_header *) 0 ;
    7964             :   uint16_t arg2 ;
    7965           0 :   void *argp1 = 0 ;
    7966           0 :   int res1 = 0 ;
    7967             :   void *argp2 ;
    7968           0 :   int res2 = 0 ;
    7969           0 :   PyObject * obj0 = 0 ;
    7970           0 :   PyObject * obj1 = 0 ;
    7971             :   
    7972           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zserv_header_command_set",&obj0,&obj1)) SWIG_fail;
    7973           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zserv_header, 0 |  0 );
    7974           0 :   if (!SWIG_IsOK(res1)) {
    7975           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zserv_header_command_set" "', argument " "1"" of type '" "struct zserv_header *""'"); 
    7976             :   }
    7977           0 :   arg1 = (struct zserv_header *)(argp1);
    7978             :   {
    7979           0 :     res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_uint16_t,  0 );
    7980           0 :     if (!SWIG_IsOK(res2)) {
    7981           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zserv_header_command_set" "', argument " "2"" of type '" "uint16_t""'"); 
    7982             :     }  
    7983           0 :     if (!argp2) {
    7984           0 :       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "zserv_header_command_set" "', argument " "2"" of type '" "uint16_t""'");
    7985             :     } else {
    7986           0 :       arg2 = *((uint16_t *)(argp2));
    7987             :     }
    7988             :   }
    7989           0 :   if (arg1) (arg1)->command = arg2;
    7990           0 :   resultobj = SWIG_Py_Void();
    7991           0 :   return resultobj;
    7992             : fail:
    7993           0 :   return NULL;
    7994             : }
    7995             : 
    7996             : 
    7997           0 : SWIGINTERN PyObject *_wrap_zserv_header_command_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    7998           0 :   PyObject *resultobj = 0;
    7999           0 :   struct zserv_header *arg1 = (struct zserv_header *) 0 ;
    8000           0 :   void *argp1 = 0 ;
    8001           0 :   int res1 = 0 ;
    8002           0 :   PyObject * obj0 = 0 ;
    8003             :   uint16_t result;
    8004             :   
    8005           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zserv_header_command_get",&obj0)) SWIG_fail;
    8006           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zserv_header, 0 |  0 );
    8007           0 :   if (!SWIG_IsOK(res1)) {
    8008           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zserv_header_command_get" "', argument " "1"" of type '" "struct zserv_header *""'"); 
    8009             :   }
    8010           0 :   arg1 = (struct zserv_header *)(argp1);
    8011           0 :   result =  ((arg1)->command);
    8012           0 :   resultobj = SWIG_NewPointerObj((uint16_t *)memcpy((uint16_t *)malloc(sizeof(uint16_t)),&result,sizeof(uint16_t)), SWIGTYPE_p_uint16_t, SWIG_POINTER_OWN |  0 );
    8013           0 :   return resultobj;
    8014             : fail:
    8015           0 :   return NULL;
    8016             : }
    8017             : 
    8018             : 
    8019           0 : SWIGINTERN PyObject *_wrap_new_zserv_header(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8020           0 :   PyObject *resultobj = 0;
    8021           0 :   struct zserv_header *result = 0 ;
    8022             :   
    8023           0 :   if (!PyArg_ParseTuple(args,(char *)":new_zserv_header")) SWIG_fail;
    8024           0 :   result = (struct zserv_header *)calloc(1, sizeof(struct zserv_header));
    8025           0 :   resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_zserv_header, SWIG_POINTER_NEW |  0 );
    8026           0 :   return resultobj;
    8027             : fail:
    8028           0 :   return NULL;
    8029             : }
    8030             : 
    8031             : 
    8032           0 : SWIGINTERN PyObject *_wrap_delete_zserv_header(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8033           0 :   PyObject *resultobj = 0;
    8034           0 :   struct zserv_header *arg1 = (struct zserv_header *) 0 ;
    8035           0 :   void *argp1 = 0 ;
    8036           0 :   int res1 = 0 ;
    8037           0 :   PyObject * obj0 = 0 ;
    8038             :   
    8039           0 :   if (!PyArg_ParseTuple(args,(char *)"O:delete_zserv_header",&obj0)) SWIG_fail;
    8040           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zserv_header, SWIG_POINTER_DISOWN |  0 );
    8041           0 :   if (!SWIG_IsOK(res1)) {
    8042           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_zserv_header" "', argument " "1"" of type '" "struct zserv_header *""'"); 
    8043             :   }
    8044           0 :   arg1 = (struct zserv_header *)(argp1);
    8045           0 :   free((char *) arg1);
    8046           0 :   resultobj = SWIG_Py_Void();
    8047           0 :   return resultobj;
    8048             : fail:
    8049           0 :   return NULL;
    8050             : }
    8051             : 
    8052             : 
    8053           1 : SWIGINTERN PyObject *zserv_header_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8054             :   PyObject *obj;
    8055           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
    8056           1 :   SWIG_TypeNewClientData(SWIGTYPE_p_zserv_header, SWIG_NewClientData(obj));
    8057           1 :   return SWIG_Py_Void();
    8058             : }
    8059             : 
    8060           0 : SWIGINTERN PyObject *_wrap_zapi_ipv4_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8061           0 :   PyObject *resultobj = 0;
    8062           0 :   struct zapi_ipv4 *arg1 = (struct zapi_ipv4 *) 0 ;
    8063             :   u_char arg2 ;
    8064           0 :   void *argp1 = 0 ;
    8065           0 :   int res1 = 0 ;
    8066             :   void *argp2 ;
    8067           0 :   int res2 = 0 ;
    8068           0 :   PyObject * obj0 = 0 ;
    8069           0 :   PyObject * obj1 = 0 ;
    8070             :   
    8071           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zapi_ipv4_type_set",&obj0,&obj1)) SWIG_fail;
    8072           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv4, 0 |  0 );
    8073           0 :   if (!SWIG_IsOK(res1)) {
    8074           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv4_type_set" "', argument " "1"" of type '" "struct zapi_ipv4 *""'"); 
    8075             :   }
    8076           0 :   arg1 = (struct zapi_ipv4 *)(argp1);
    8077             :   {
    8078           0 :     res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_u_char,  0 );
    8079           0 :     if (!SWIG_IsOK(res2)) {
    8080           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zapi_ipv4_type_set" "', argument " "2"" of type '" "u_char""'"); 
    8081             :     }  
    8082           0 :     if (!argp2) {
    8083           0 :       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "zapi_ipv4_type_set" "', argument " "2"" of type '" "u_char""'");
    8084             :     } else {
    8085           0 :       arg2 = *((u_char *)(argp2));
    8086             :     }
    8087             :   }
    8088           0 :   if (arg1) (arg1)->type = arg2;
    8089           0 :   resultobj = SWIG_Py_Void();
    8090           0 :   return resultobj;
    8091             : fail:
    8092           0 :   return NULL;
    8093             : }
    8094             : 
    8095             : 
    8096           0 : SWIGINTERN PyObject *_wrap_zapi_ipv4_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8097           0 :   PyObject *resultobj = 0;
    8098           0 :   struct zapi_ipv4 *arg1 = (struct zapi_ipv4 *) 0 ;
    8099           0 :   void *argp1 = 0 ;
    8100           0 :   int res1 = 0 ;
    8101           0 :   PyObject * obj0 = 0 ;
    8102             :   u_char result;
    8103             :   
    8104           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zapi_ipv4_type_get",&obj0)) SWIG_fail;
    8105           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv4, 0 |  0 );
    8106           0 :   if (!SWIG_IsOK(res1)) {
    8107           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv4_type_get" "', argument " "1"" of type '" "struct zapi_ipv4 *""'"); 
    8108             :   }
    8109           0 :   arg1 = (struct zapi_ipv4 *)(argp1);
    8110           0 :   result =  ((arg1)->type);
    8111           0 :   resultobj = SWIG_NewPointerObj((u_char *)memcpy((u_char *)malloc(sizeof(u_char)),&result,sizeof(u_char)), SWIGTYPE_p_u_char, SWIG_POINTER_OWN |  0 );
    8112           0 :   return resultobj;
    8113             : fail:
    8114           0 :   return NULL;
    8115             : }
    8116             : 
    8117             : 
    8118           0 : SWIGINTERN PyObject *_wrap_zapi_ipv4_flags_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8119           0 :   PyObject *resultobj = 0;
    8120           0 :   struct zapi_ipv4 *arg1 = (struct zapi_ipv4 *) 0 ;
    8121             :   u_char arg2 ;
    8122           0 :   void *argp1 = 0 ;
    8123           0 :   int res1 = 0 ;
    8124             :   void *argp2 ;
    8125           0 :   int res2 = 0 ;
    8126           0 :   PyObject * obj0 = 0 ;
    8127           0 :   PyObject * obj1 = 0 ;
    8128             :   
    8129           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zapi_ipv4_flags_set",&obj0,&obj1)) SWIG_fail;
    8130           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv4, 0 |  0 );
    8131           0 :   if (!SWIG_IsOK(res1)) {
    8132           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv4_flags_set" "', argument " "1"" of type '" "struct zapi_ipv4 *""'"); 
    8133             :   }
    8134           0 :   arg1 = (struct zapi_ipv4 *)(argp1);
    8135             :   {
    8136           0 :     res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_u_char,  0 );
    8137           0 :     if (!SWIG_IsOK(res2)) {
    8138           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zapi_ipv4_flags_set" "', argument " "2"" of type '" "u_char""'"); 
    8139             :     }  
    8140           0 :     if (!argp2) {
    8141           0 :       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "zapi_ipv4_flags_set" "', argument " "2"" of type '" "u_char""'");
    8142             :     } else {
    8143           0 :       arg2 = *((u_char *)(argp2));
    8144             :     }
    8145             :   }
    8146           0 :   if (arg1) (arg1)->flags = arg2;
    8147           0 :   resultobj = SWIG_Py_Void();
    8148           0 :   return resultobj;
    8149             : fail:
    8150           0 :   return NULL;
    8151             : }
    8152             : 
    8153             : 
    8154           0 : SWIGINTERN PyObject *_wrap_zapi_ipv4_flags_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8155           0 :   PyObject *resultobj = 0;
    8156           0 :   struct zapi_ipv4 *arg1 = (struct zapi_ipv4 *) 0 ;
    8157           0 :   void *argp1 = 0 ;
    8158           0 :   int res1 = 0 ;
    8159           0 :   PyObject * obj0 = 0 ;
    8160             :   u_char result;
    8161             :   
    8162           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zapi_ipv4_flags_get",&obj0)) SWIG_fail;
    8163           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv4, 0 |  0 );
    8164           0 :   if (!SWIG_IsOK(res1)) {
    8165           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv4_flags_get" "', argument " "1"" of type '" "struct zapi_ipv4 *""'"); 
    8166             :   }
    8167           0 :   arg1 = (struct zapi_ipv4 *)(argp1);
    8168           0 :   result =  ((arg1)->flags);
    8169           0 :   resultobj = SWIG_NewPointerObj((u_char *)memcpy((u_char *)malloc(sizeof(u_char)),&result,sizeof(u_char)), SWIGTYPE_p_u_char, SWIG_POINTER_OWN |  0 );
    8170           0 :   return resultobj;
    8171             : fail:
    8172           0 :   return NULL;
    8173             : }
    8174             : 
    8175             : 
    8176           0 : SWIGINTERN PyObject *_wrap_zapi_ipv4_message_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8177           0 :   PyObject *resultobj = 0;
    8178           0 :   struct zapi_ipv4 *arg1 = (struct zapi_ipv4 *) 0 ;
    8179             :   u_char arg2 ;
    8180           0 :   void *argp1 = 0 ;
    8181           0 :   int res1 = 0 ;
    8182             :   void *argp2 ;
    8183           0 :   int res2 = 0 ;
    8184           0 :   PyObject * obj0 = 0 ;
    8185           0 :   PyObject * obj1 = 0 ;
    8186             :   
    8187           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zapi_ipv4_message_set",&obj0,&obj1)) SWIG_fail;
    8188           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv4, 0 |  0 );
    8189           0 :   if (!SWIG_IsOK(res1)) {
    8190           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv4_message_set" "', argument " "1"" of type '" "struct zapi_ipv4 *""'"); 
    8191             :   }
    8192           0 :   arg1 = (struct zapi_ipv4 *)(argp1);
    8193             :   {
    8194           0 :     res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_u_char,  0 );
    8195           0 :     if (!SWIG_IsOK(res2)) {
    8196           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zapi_ipv4_message_set" "', argument " "2"" of type '" "u_char""'"); 
    8197             :     }  
    8198           0 :     if (!argp2) {
    8199           0 :       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "zapi_ipv4_message_set" "', argument " "2"" of type '" "u_char""'");
    8200             :     } else {
    8201           0 :       arg2 = *((u_char *)(argp2));
    8202             :     }
    8203             :   }
    8204           0 :   if (arg1) (arg1)->message = arg2;
    8205           0 :   resultobj = SWIG_Py_Void();
    8206           0 :   return resultobj;
    8207             : fail:
    8208           0 :   return NULL;
    8209             : }
    8210             : 
    8211             : 
    8212           0 : SWIGINTERN PyObject *_wrap_zapi_ipv4_message_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8213           0 :   PyObject *resultobj = 0;
    8214           0 :   struct zapi_ipv4 *arg1 = (struct zapi_ipv4 *) 0 ;
    8215           0 :   void *argp1 = 0 ;
    8216           0 :   int res1 = 0 ;
    8217           0 :   PyObject * obj0 = 0 ;
    8218             :   u_char result;
    8219             :   
    8220           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zapi_ipv4_message_get",&obj0)) SWIG_fail;
    8221           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv4, 0 |  0 );
    8222           0 :   if (!SWIG_IsOK(res1)) {
    8223           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv4_message_get" "', argument " "1"" of type '" "struct zapi_ipv4 *""'"); 
    8224             :   }
    8225           0 :   arg1 = (struct zapi_ipv4 *)(argp1);
    8226           0 :   result =  ((arg1)->message);
    8227           0 :   resultobj = SWIG_NewPointerObj((u_char *)memcpy((u_char *)malloc(sizeof(u_char)),&result,sizeof(u_char)), SWIGTYPE_p_u_char, SWIG_POINTER_OWN |  0 );
    8228           0 :   return resultobj;
    8229             : fail:
    8230           0 :   return NULL;
    8231             : }
    8232             : 
    8233             : 
    8234           0 : SWIGINTERN PyObject *_wrap_zapi_ipv4_safi_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8235           0 :   PyObject *resultobj = 0;
    8236           0 :   struct zapi_ipv4 *arg1 = (struct zapi_ipv4 *) 0 ;
    8237             :   safi_t arg2 ;
    8238           0 :   void *argp1 = 0 ;
    8239           0 :   int res1 = 0 ;
    8240             :   void *argp2 ;
    8241           0 :   int res2 = 0 ;
    8242           0 :   PyObject * obj0 = 0 ;
    8243           0 :   PyObject * obj1 = 0 ;
    8244             :   
    8245           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zapi_ipv4_safi_set",&obj0,&obj1)) SWIG_fail;
    8246           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv4, 0 |  0 );
    8247           0 :   if (!SWIG_IsOK(res1)) {
    8248           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv4_safi_set" "', argument " "1"" of type '" "struct zapi_ipv4 *""'"); 
    8249             :   }
    8250           0 :   arg1 = (struct zapi_ipv4 *)(argp1);
    8251             :   {
    8252           0 :     res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_u_int8_t,  0 );
    8253           0 :     if (!SWIG_IsOK(res2)) {
    8254           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zapi_ipv4_safi_set" "', argument " "2"" of type '" "safi_t""'"); 
    8255             :     }  
    8256           0 :     if (!argp2) {
    8257           0 :       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "zapi_ipv4_safi_set" "', argument " "2"" of type '" "safi_t""'");
    8258             :     } else {
    8259           0 :       arg2 = *((safi_t *)(argp2));
    8260             :     }
    8261             :   }
    8262           0 :   if (arg1) (arg1)->safi = arg2;
    8263           0 :   resultobj = SWIG_Py_Void();
    8264           0 :   return resultobj;
    8265             : fail:
    8266           0 :   return NULL;
    8267             : }
    8268             : 
    8269             : 
    8270           0 : SWIGINTERN PyObject *_wrap_zapi_ipv4_safi_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8271           0 :   PyObject *resultobj = 0;
    8272           0 :   struct zapi_ipv4 *arg1 = (struct zapi_ipv4 *) 0 ;
    8273           0 :   void *argp1 = 0 ;
    8274           0 :   int res1 = 0 ;
    8275           0 :   PyObject * obj0 = 0 ;
    8276             :   safi_t result;
    8277             :   
    8278           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zapi_ipv4_safi_get",&obj0)) SWIG_fail;
    8279           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv4, 0 |  0 );
    8280           0 :   if (!SWIG_IsOK(res1)) {
    8281           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv4_safi_get" "', argument " "1"" of type '" "struct zapi_ipv4 *""'"); 
    8282             :   }
    8283           0 :   arg1 = (struct zapi_ipv4 *)(argp1);
    8284           0 :   result =  ((arg1)->safi);
    8285           0 :   resultobj = SWIG_NewPointerObj((safi_t *)memcpy((safi_t *)malloc(sizeof(safi_t)),&result,sizeof(safi_t)), SWIGTYPE_p_u_int8_t, SWIG_POINTER_OWN |  0 );
    8286           0 :   return resultobj;
    8287             : fail:
    8288           0 :   return NULL;
    8289             : }
    8290             : 
    8291             : 
    8292           0 : SWIGINTERN PyObject *_wrap_zapi_ipv4_nexthop_num_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8293           0 :   PyObject *resultobj = 0;
    8294           0 :   struct zapi_ipv4 *arg1 = (struct zapi_ipv4 *) 0 ;
    8295             :   u_char arg2 ;
    8296           0 :   void *argp1 = 0 ;
    8297           0 :   int res1 = 0 ;
    8298             :   void *argp2 ;
    8299           0 :   int res2 = 0 ;
    8300           0 :   PyObject * obj0 = 0 ;
    8301           0 :   PyObject * obj1 = 0 ;
    8302             :   
    8303           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zapi_ipv4_nexthop_num_set",&obj0,&obj1)) SWIG_fail;
    8304           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv4, 0 |  0 );
    8305           0 :   if (!SWIG_IsOK(res1)) {
    8306           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv4_nexthop_num_set" "', argument " "1"" of type '" "struct zapi_ipv4 *""'"); 
    8307             :   }
    8308           0 :   arg1 = (struct zapi_ipv4 *)(argp1);
    8309             :   {
    8310           0 :     res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_u_char,  0 );
    8311           0 :     if (!SWIG_IsOK(res2)) {
    8312           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zapi_ipv4_nexthop_num_set" "', argument " "2"" of type '" "u_char""'"); 
    8313             :     }  
    8314           0 :     if (!argp2) {
    8315           0 :       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "zapi_ipv4_nexthop_num_set" "', argument " "2"" of type '" "u_char""'");
    8316             :     } else {
    8317           0 :       arg2 = *((u_char *)(argp2));
    8318             :     }
    8319             :   }
    8320           0 :   if (arg1) (arg1)->nexthop_num = arg2;
    8321           0 :   resultobj = SWIG_Py_Void();
    8322           0 :   return resultobj;
    8323             : fail:
    8324           0 :   return NULL;
    8325             : }
    8326             : 
    8327             : 
    8328           0 : SWIGINTERN PyObject *_wrap_zapi_ipv4_nexthop_num_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8329           0 :   PyObject *resultobj = 0;
    8330           0 :   struct zapi_ipv4 *arg1 = (struct zapi_ipv4 *) 0 ;
    8331           0 :   void *argp1 = 0 ;
    8332           0 :   int res1 = 0 ;
    8333           0 :   PyObject * obj0 = 0 ;
    8334             :   u_char result;
    8335             :   
    8336           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zapi_ipv4_nexthop_num_get",&obj0)) SWIG_fail;
    8337           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv4, 0 |  0 );
    8338           0 :   if (!SWIG_IsOK(res1)) {
    8339           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv4_nexthop_num_get" "', argument " "1"" of type '" "struct zapi_ipv4 *""'"); 
    8340             :   }
    8341           0 :   arg1 = (struct zapi_ipv4 *)(argp1);
    8342           0 :   result =  ((arg1)->nexthop_num);
    8343           0 :   resultobj = SWIG_NewPointerObj((u_char *)memcpy((u_char *)malloc(sizeof(u_char)),&result,sizeof(u_char)), SWIGTYPE_p_u_char, SWIG_POINTER_OWN |  0 );
    8344           0 :   return resultobj;
    8345             : fail:
    8346           0 :   return NULL;
    8347             : }
    8348             : 
    8349             : 
    8350           0 : SWIGINTERN PyObject *_wrap_zapi_ipv4_nexthop_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8351           0 :   PyObject *resultobj = 0;
    8352           0 :   struct zapi_ipv4 *arg1 = (struct zapi_ipv4 *) 0 ;
    8353           0 :   struct in_addr **arg2 = (struct in_addr **) 0 ;
    8354           0 :   void *argp1 = 0 ;
    8355           0 :   int res1 = 0 ;
    8356           0 :   void *argp2 = 0 ;
    8357           0 :   int res2 = 0 ;
    8358           0 :   PyObject * obj0 = 0 ;
    8359           0 :   PyObject * obj1 = 0 ;
    8360             :   
    8361           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zapi_ipv4_nexthop_set",&obj0,&obj1)) SWIG_fail;
    8362           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv4, 0 |  0 );
    8363           0 :   if (!SWIG_IsOK(res1)) {
    8364           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv4_nexthop_set" "', argument " "1"" of type '" "struct zapi_ipv4 *""'"); 
    8365             :   }
    8366           0 :   arg1 = (struct zapi_ipv4 *)(argp1);
    8367           0 :   res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_in_addr, 0 |  0 );
    8368           0 :   if (!SWIG_IsOK(res2)) {
    8369           0 :     SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zapi_ipv4_nexthop_set" "', argument " "2"" of type '" "struct in_addr **""'"); 
    8370             :   }
    8371           0 :   arg2 = (struct in_addr **)(argp2);
    8372           0 :   if (arg1) (arg1)->nexthop = arg2;
    8373           0 :   resultobj = SWIG_Py_Void();
    8374           0 :   return resultobj;
    8375             : fail:
    8376           0 :   return NULL;
    8377             : }
    8378             : 
    8379             : 
    8380           0 : SWIGINTERN PyObject *_wrap_zapi_ipv4_nexthop_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8381           0 :   PyObject *resultobj = 0;
    8382           0 :   struct zapi_ipv4 *arg1 = (struct zapi_ipv4 *) 0 ;
    8383           0 :   void *argp1 = 0 ;
    8384           0 :   int res1 = 0 ;
    8385           0 :   PyObject * obj0 = 0 ;
    8386           0 :   struct in_addr **result = 0 ;
    8387             :   
    8388           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zapi_ipv4_nexthop_get",&obj0)) SWIG_fail;
    8389           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv4, 0 |  0 );
    8390           0 :   if (!SWIG_IsOK(res1)) {
    8391           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv4_nexthop_get" "', argument " "1"" of type '" "struct zapi_ipv4 *""'"); 
    8392             :   }
    8393           0 :   arg1 = (struct zapi_ipv4 *)(argp1);
    8394           0 :   result = (struct in_addr **) ((arg1)->nexthop);
    8395           0 :   resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_in_addr, 0 |  0 );
    8396           0 :   return resultobj;
    8397             : fail:
    8398           0 :   return NULL;
    8399             : }
    8400             : 
    8401             : 
    8402           0 : SWIGINTERN PyObject *_wrap_zapi_ipv4_ifindex_num_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8403           0 :   PyObject *resultobj = 0;
    8404           0 :   struct zapi_ipv4 *arg1 = (struct zapi_ipv4 *) 0 ;
    8405             :   u_char arg2 ;
    8406           0 :   void *argp1 = 0 ;
    8407           0 :   int res1 = 0 ;
    8408             :   void *argp2 ;
    8409           0 :   int res2 = 0 ;
    8410           0 :   PyObject * obj0 = 0 ;
    8411           0 :   PyObject * obj1 = 0 ;
    8412             :   
    8413           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zapi_ipv4_ifindex_num_set",&obj0,&obj1)) SWIG_fail;
    8414           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv4, 0 |  0 );
    8415           0 :   if (!SWIG_IsOK(res1)) {
    8416           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv4_ifindex_num_set" "', argument " "1"" of type '" "struct zapi_ipv4 *""'"); 
    8417             :   }
    8418           0 :   arg1 = (struct zapi_ipv4 *)(argp1);
    8419             :   {
    8420           0 :     res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_u_char,  0 );
    8421           0 :     if (!SWIG_IsOK(res2)) {
    8422           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zapi_ipv4_ifindex_num_set" "', argument " "2"" of type '" "u_char""'"); 
    8423             :     }  
    8424           0 :     if (!argp2) {
    8425           0 :       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "zapi_ipv4_ifindex_num_set" "', argument " "2"" of type '" "u_char""'");
    8426             :     } else {
    8427           0 :       arg2 = *((u_char *)(argp2));
    8428             :     }
    8429             :   }
    8430           0 :   if (arg1) (arg1)->ifindex_num = arg2;
    8431           0 :   resultobj = SWIG_Py_Void();
    8432           0 :   return resultobj;
    8433             : fail:
    8434           0 :   return NULL;
    8435             : }
    8436             : 
    8437             : 
    8438           0 : SWIGINTERN PyObject *_wrap_zapi_ipv4_ifindex_num_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8439           0 :   PyObject *resultobj = 0;
    8440           0 :   struct zapi_ipv4 *arg1 = (struct zapi_ipv4 *) 0 ;
    8441           0 :   void *argp1 = 0 ;
    8442           0 :   int res1 = 0 ;
    8443           0 :   PyObject * obj0 = 0 ;
    8444             :   u_char result;
    8445             :   
    8446           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zapi_ipv4_ifindex_num_get",&obj0)) SWIG_fail;
    8447           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv4, 0 |  0 );
    8448           0 :   if (!SWIG_IsOK(res1)) {
    8449           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv4_ifindex_num_get" "', argument " "1"" of type '" "struct zapi_ipv4 *""'"); 
    8450             :   }
    8451           0 :   arg1 = (struct zapi_ipv4 *)(argp1);
    8452           0 :   result =  ((arg1)->ifindex_num);
    8453           0 :   resultobj = SWIG_NewPointerObj((u_char *)memcpy((u_char *)malloc(sizeof(u_char)),&result,sizeof(u_char)), SWIGTYPE_p_u_char, SWIG_POINTER_OWN |  0 );
    8454           0 :   return resultobj;
    8455             : fail:
    8456           0 :   return NULL;
    8457             : }
    8458             : 
    8459             : 
    8460           0 : SWIGINTERN PyObject *_wrap_zapi_ipv4_ifindex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8461           0 :   PyObject *resultobj = 0;
    8462           0 :   struct zapi_ipv4 *arg1 = (struct zapi_ipv4 *) 0 ;
    8463           0 :   unsigned int *arg2 = (unsigned int *) 0 ;
    8464           0 :   void *argp1 = 0 ;
    8465           0 :   int res1 = 0 ;
    8466           0 :   void *argp2 = 0 ;
    8467           0 :   int res2 = 0 ;
    8468           0 :   PyObject * obj0 = 0 ;
    8469           0 :   PyObject * obj1 = 0 ;
    8470             :   
    8471           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zapi_ipv4_ifindex_set",&obj0,&obj1)) SWIG_fail;
    8472           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv4, 0 |  0 );
    8473           0 :   if (!SWIG_IsOK(res1)) {
    8474           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv4_ifindex_set" "', argument " "1"" of type '" "struct zapi_ipv4 *""'"); 
    8475             :   }
    8476           0 :   arg1 = (struct zapi_ipv4 *)(argp1);
    8477           0 :   res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_int, SWIG_POINTER_DISOWN |  0 );
    8478           0 :   if (!SWIG_IsOK(res2)) {
    8479           0 :     SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zapi_ipv4_ifindex_set" "', argument " "2"" of type '" "unsigned int *""'"); 
    8480             :   }
    8481           0 :   arg2 = (unsigned int *)(argp2);
    8482           0 :   if (arg1) (arg1)->ifindex = arg2;
    8483           0 :   resultobj = SWIG_Py_Void();
    8484           0 :   return resultobj;
    8485             : fail:
    8486           0 :   return NULL;
    8487             : }
    8488             : 
    8489             : 
    8490           0 : SWIGINTERN PyObject *_wrap_zapi_ipv4_ifindex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8491           0 :   PyObject *resultobj = 0;
    8492           0 :   struct zapi_ipv4 *arg1 = (struct zapi_ipv4 *) 0 ;
    8493           0 :   void *argp1 = 0 ;
    8494           0 :   int res1 = 0 ;
    8495           0 :   PyObject * obj0 = 0 ;
    8496           0 :   unsigned int *result = 0 ;
    8497             :   
    8498           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zapi_ipv4_ifindex_get",&obj0)) SWIG_fail;
    8499           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv4, 0 |  0 );
    8500           0 :   if (!SWIG_IsOK(res1)) {
    8501           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv4_ifindex_get" "', argument " "1"" of type '" "struct zapi_ipv4 *""'"); 
    8502             :   }
    8503           0 :   arg1 = (struct zapi_ipv4 *)(argp1);
    8504           0 :   result = (unsigned int *) ((arg1)->ifindex);
    8505           0 :   resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_int, 0 |  0 );
    8506           0 :   return resultobj;
    8507             : fail:
    8508           0 :   return NULL;
    8509             : }
    8510             : 
    8511             : 
    8512           0 : SWIGINTERN PyObject *_wrap_zapi_ipv4_distance_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8513           0 :   PyObject *resultobj = 0;
    8514           0 :   struct zapi_ipv4 *arg1 = (struct zapi_ipv4 *) 0 ;
    8515             :   u_char arg2 ;
    8516           0 :   void *argp1 = 0 ;
    8517           0 :   int res1 = 0 ;
    8518             :   void *argp2 ;
    8519           0 :   int res2 = 0 ;
    8520           0 :   PyObject * obj0 = 0 ;
    8521           0 :   PyObject * obj1 = 0 ;
    8522             :   
    8523           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zapi_ipv4_distance_set",&obj0,&obj1)) SWIG_fail;
    8524           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv4, 0 |  0 );
    8525           0 :   if (!SWIG_IsOK(res1)) {
    8526           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv4_distance_set" "', argument " "1"" of type '" "struct zapi_ipv4 *""'"); 
    8527             :   }
    8528           0 :   arg1 = (struct zapi_ipv4 *)(argp1);
    8529             :   {
    8530           0 :     res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_u_char,  0 );
    8531           0 :     if (!SWIG_IsOK(res2)) {
    8532           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zapi_ipv4_distance_set" "', argument " "2"" of type '" "u_char""'"); 
    8533             :     }  
    8534           0 :     if (!argp2) {
    8535           0 :       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "zapi_ipv4_distance_set" "', argument " "2"" of type '" "u_char""'");
    8536             :     } else {
    8537           0 :       arg2 = *((u_char *)(argp2));
    8538             :     }
    8539             :   }
    8540           0 :   if (arg1) (arg1)->distance = arg2;
    8541           0 :   resultobj = SWIG_Py_Void();
    8542           0 :   return resultobj;
    8543             : fail:
    8544           0 :   return NULL;
    8545             : }
    8546             : 
    8547             : 
    8548           0 : SWIGINTERN PyObject *_wrap_zapi_ipv4_distance_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8549           0 :   PyObject *resultobj = 0;
    8550           0 :   struct zapi_ipv4 *arg1 = (struct zapi_ipv4 *) 0 ;
    8551           0 :   void *argp1 = 0 ;
    8552           0 :   int res1 = 0 ;
    8553           0 :   PyObject * obj0 = 0 ;
    8554             :   u_char result;
    8555             :   
    8556           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zapi_ipv4_distance_get",&obj0)) SWIG_fail;
    8557           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv4, 0 |  0 );
    8558           0 :   if (!SWIG_IsOK(res1)) {
    8559           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv4_distance_get" "', argument " "1"" of type '" "struct zapi_ipv4 *""'"); 
    8560             :   }
    8561           0 :   arg1 = (struct zapi_ipv4 *)(argp1);
    8562           0 :   result =  ((arg1)->distance);
    8563           0 :   resultobj = SWIG_NewPointerObj((u_char *)memcpy((u_char *)malloc(sizeof(u_char)),&result,sizeof(u_char)), SWIGTYPE_p_u_char, SWIG_POINTER_OWN |  0 );
    8564           0 :   return resultobj;
    8565             : fail:
    8566           0 :   return NULL;
    8567             : }
    8568             : 
    8569             : 
    8570           0 : SWIGINTERN PyObject *_wrap_zapi_ipv4_metric_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8571           0 :   PyObject *resultobj = 0;
    8572           0 :   struct zapi_ipv4 *arg1 = (struct zapi_ipv4 *) 0 ;
    8573             :   u_int32_t arg2 ;
    8574           0 :   void *argp1 = 0 ;
    8575           0 :   int res1 = 0 ;
    8576             :   void *argp2 ;
    8577           0 :   int res2 = 0 ;
    8578           0 :   PyObject * obj0 = 0 ;
    8579           0 :   PyObject * obj1 = 0 ;
    8580             :   
    8581           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zapi_ipv4_metric_set",&obj0,&obj1)) SWIG_fail;
    8582           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv4, 0 |  0 );
    8583           0 :   if (!SWIG_IsOK(res1)) {
    8584           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv4_metric_set" "', argument " "1"" of type '" "struct zapi_ipv4 *""'"); 
    8585             :   }
    8586           0 :   arg1 = (struct zapi_ipv4 *)(argp1);
    8587             :   {
    8588           0 :     res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_u_int32_t,  0 );
    8589           0 :     if (!SWIG_IsOK(res2)) {
    8590           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zapi_ipv4_metric_set" "', argument " "2"" of type '" "u_int32_t""'"); 
    8591             :     }  
    8592           0 :     if (!argp2) {
    8593           0 :       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "zapi_ipv4_metric_set" "', argument " "2"" of type '" "u_int32_t""'");
    8594             :     } else {
    8595           0 :       arg2 = *((u_int32_t *)(argp2));
    8596             :     }
    8597             :   }
    8598           0 :   if (arg1) (arg1)->metric = arg2;
    8599           0 :   resultobj = SWIG_Py_Void();
    8600           0 :   return resultobj;
    8601             : fail:
    8602           0 :   return NULL;
    8603             : }
    8604             : 
    8605             : 
    8606           0 : SWIGINTERN PyObject *_wrap_zapi_ipv4_metric_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8607           0 :   PyObject *resultobj = 0;
    8608           0 :   struct zapi_ipv4 *arg1 = (struct zapi_ipv4 *) 0 ;
    8609           0 :   void *argp1 = 0 ;
    8610           0 :   int res1 = 0 ;
    8611           0 :   PyObject * obj0 = 0 ;
    8612             :   u_int32_t result;
    8613             :   
    8614           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zapi_ipv4_metric_get",&obj0)) SWIG_fail;
    8615           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv4, 0 |  0 );
    8616           0 :   if (!SWIG_IsOK(res1)) {
    8617           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv4_metric_get" "', argument " "1"" of type '" "struct zapi_ipv4 *""'"); 
    8618             :   }
    8619           0 :   arg1 = (struct zapi_ipv4 *)(argp1);
    8620           0 :   result =  ((arg1)->metric);
    8621           0 :   resultobj = SWIG_NewPointerObj((u_int32_t *)memcpy((u_int32_t *)malloc(sizeof(u_int32_t)),&result,sizeof(u_int32_t)), SWIGTYPE_p_u_int32_t, SWIG_POINTER_OWN |  0 );
    8622           0 :   return resultobj;
    8623             : fail:
    8624           0 :   return NULL;
    8625             : }
    8626             : 
    8627             : 
    8628           0 : SWIGINTERN PyObject *_wrap_new_zapi_ipv4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8629           0 :   PyObject *resultobj = 0;
    8630           0 :   struct zapi_ipv4 *result = 0 ;
    8631             :   
    8632           0 :   if (!PyArg_ParseTuple(args,(char *)":new_zapi_ipv4")) SWIG_fail;
    8633           0 :   result = (struct zapi_ipv4 *)calloc(1, sizeof(struct zapi_ipv4));
    8634           0 :   resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_zapi_ipv4, SWIG_POINTER_NEW |  0 );
    8635           0 :   return resultobj;
    8636             : fail:
    8637           0 :   return NULL;
    8638             : }
    8639             : 
    8640             : 
    8641           0 : SWIGINTERN PyObject *_wrap_delete_zapi_ipv4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8642           0 :   PyObject *resultobj = 0;
    8643           0 :   struct zapi_ipv4 *arg1 = (struct zapi_ipv4 *) 0 ;
    8644           0 :   void *argp1 = 0 ;
    8645           0 :   int res1 = 0 ;
    8646           0 :   PyObject * obj0 = 0 ;
    8647             :   
    8648           0 :   if (!PyArg_ParseTuple(args,(char *)"O:delete_zapi_ipv4",&obj0)) SWIG_fail;
    8649           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv4, SWIG_POINTER_DISOWN |  0 );
    8650           0 :   if (!SWIG_IsOK(res1)) {
    8651           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_zapi_ipv4" "', argument " "1"" of type '" "struct zapi_ipv4 *""'"); 
    8652             :   }
    8653           0 :   arg1 = (struct zapi_ipv4 *)(argp1);
    8654           0 :   free((char *) arg1);
    8655           0 :   resultobj = SWIG_Py_Void();
    8656           0 :   return resultobj;
    8657             : fail:
    8658           0 :   return NULL;
    8659             : }
    8660             : 
    8661             : 
    8662           1 : SWIGINTERN PyObject *zapi_ipv4_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8663             :   PyObject *obj;
    8664           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
    8665           1 :   SWIG_TypeNewClientData(SWIGTYPE_p_zapi_ipv4, SWIG_NewClientData(obj));
    8666           1 :   return SWIG_Py_Void();
    8667             : }
    8668             : 
    8669           0 : SWIGINTERN PyObject *_wrap_zapi_ipv6_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8670           0 :   PyObject *resultobj = 0;
    8671           0 :   struct zapi_ipv6 *arg1 = (struct zapi_ipv6 *) 0 ;
    8672             :   u_char arg2 ;
    8673           0 :   void *argp1 = 0 ;
    8674           0 :   int res1 = 0 ;
    8675             :   void *argp2 ;
    8676           0 :   int res2 = 0 ;
    8677           0 :   PyObject * obj0 = 0 ;
    8678           0 :   PyObject * obj1 = 0 ;
    8679             :   
    8680           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zapi_ipv6_type_set",&obj0,&obj1)) SWIG_fail;
    8681           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv6, 0 |  0 );
    8682           0 :   if (!SWIG_IsOK(res1)) {
    8683           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv6_type_set" "', argument " "1"" of type '" "struct zapi_ipv6 *""'"); 
    8684             :   }
    8685           0 :   arg1 = (struct zapi_ipv6 *)(argp1);
    8686             :   {
    8687           0 :     res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_u_char,  0 );
    8688           0 :     if (!SWIG_IsOK(res2)) {
    8689           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zapi_ipv6_type_set" "', argument " "2"" of type '" "u_char""'"); 
    8690             :     }  
    8691           0 :     if (!argp2) {
    8692           0 :       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "zapi_ipv6_type_set" "', argument " "2"" of type '" "u_char""'");
    8693             :     } else {
    8694           0 :       arg2 = *((u_char *)(argp2));
    8695             :     }
    8696             :   }
    8697           0 :   if (arg1) (arg1)->type = arg2;
    8698           0 :   resultobj = SWIG_Py_Void();
    8699           0 :   return resultobj;
    8700             : fail:
    8701           0 :   return NULL;
    8702             : }
    8703             : 
    8704             : 
    8705           0 : SWIGINTERN PyObject *_wrap_zapi_ipv6_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8706           0 :   PyObject *resultobj = 0;
    8707           0 :   struct zapi_ipv6 *arg1 = (struct zapi_ipv6 *) 0 ;
    8708           0 :   void *argp1 = 0 ;
    8709           0 :   int res1 = 0 ;
    8710           0 :   PyObject * obj0 = 0 ;
    8711             :   u_char result;
    8712             :   
    8713           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zapi_ipv6_type_get",&obj0)) SWIG_fail;
    8714           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv6, 0 |  0 );
    8715           0 :   if (!SWIG_IsOK(res1)) {
    8716           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv6_type_get" "', argument " "1"" of type '" "struct zapi_ipv6 *""'"); 
    8717             :   }
    8718           0 :   arg1 = (struct zapi_ipv6 *)(argp1);
    8719           0 :   result =  ((arg1)->type);
    8720           0 :   resultobj = SWIG_NewPointerObj((u_char *)memcpy((u_char *)malloc(sizeof(u_char)),&result,sizeof(u_char)), SWIGTYPE_p_u_char, SWIG_POINTER_OWN |  0 );
    8721           0 :   return resultobj;
    8722             : fail:
    8723           0 :   return NULL;
    8724             : }
    8725             : 
    8726             : 
    8727           0 : SWIGINTERN PyObject *_wrap_zapi_ipv6_flags_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8728           0 :   PyObject *resultobj = 0;
    8729           0 :   struct zapi_ipv6 *arg1 = (struct zapi_ipv6 *) 0 ;
    8730             :   u_char arg2 ;
    8731           0 :   void *argp1 = 0 ;
    8732           0 :   int res1 = 0 ;
    8733             :   void *argp2 ;
    8734           0 :   int res2 = 0 ;
    8735           0 :   PyObject * obj0 = 0 ;
    8736           0 :   PyObject * obj1 = 0 ;
    8737             :   
    8738           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zapi_ipv6_flags_set",&obj0,&obj1)) SWIG_fail;
    8739           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv6, 0 |  0 );
    8740           0 :   if (!SWIG_IsOK(res1)) {
    8741           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv6_flags_set" "', argument " "1"" of type '" "struct zapi_ipv6 *""'"); 
    8742             :   }
    8743           0 :   arg1 = (struct zapi_ipv6 *)(argp1);
    8744             :   {
    8745           0 :     res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_u_char,  0 );
    8746           0 :     if (!SWIG_IsOK(res2)) {
    8747           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zapi_ipv6_flags_set" "', argument " "2"" of type '" "u_char""'"); 
    8748             :     }  
    8749           0 :     if (!argp2) {
    8750           0 :       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "zapi_ipv6_flags_set" "', argument " "2"" of type '" "u_char""'");
    8751             :     } else {
    8752           0 :       arg2 = *((u_char *)(argp2));
    8753             :     }
    8754             :   }
    8755           0 :   if (arg1) (arg1)->flags = arg2;
    8756           0 :   resultobj = SWIG_Py_Void();
    8757           0 :   return resultobj;
    8758             : fail:
    8759           0 :   return NULL;
    8760             : }
    8761             : 
    8762             : 
    8763           0 : SWIGINTERN PyObject *_wrap_zapi_ipv6_flags_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8764           0 :   PyObject *resultobj = 0;
    8765           0 :   struct zapi_ipv6 *arg1 = (struct zapi_ipv6 *) 0 ;
    8766           0 :   void *argp1 = 0 ;
    8767           0 :   int res1 = 0 ;
    8768           0 :   PyObject * obj0 = 0 ;
    8769             :   u_char result;
    8770             :   
    8771           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zapi_ipv6_flags_get",&obj0)) SWIG_fail;
    8772           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv6, 0 |  0 );
    8773           0 :   if (!SWIG_IsOK(res1)) {
    8774           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv6_flags_get" "', argument " "1"" of type '" "struct zapi_ipv6 *""'"); 
    8775             :   }
    8776           0 :   arg1 = (struct zapi_ipv6 *)(argp1);
    8777           0 :   result =  ((arg1)->flags);
    8778           0 :   resultobj = SWIG_NewPointerObj((u_char *)memcpy((u_char *)malloc(sizeof(u_char)),&result,sizeof(u_char)), SWIGTYPE_p_u_char, SWIG_POINTER_OWN |  0 );
    8779           0 :   return resultobj;
    8780             : fail:
    8781           0 :   return NULL;
    8782             : }
    8783             : 
    8784             : 
    8785           0 : SWIGINTERN PyObject *_wrap_zapi_ipv6_message_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8786           0 :   PyObject *resultobj = 0;
    8787           0 :   struct zapi_ipv6 *arg1 = (struct zapi_ipv6 *) 0 ;
    8788             :   u_char arg2 ;
    8789           0 :   void *argp1 = 0 ;
    8790           0 :   int res1 = 0 ;
    8791             :   void *argp2 ;
    8792           0 :   int res2 = 0 ;
    8793           0 :   PyObject * obj0 = 0 ;
    8794           0 :   PyObject * obj1 = 0 ;
    8795             :   
    8796           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zapi_ipv6_message_set",&obj0,&obj1)) SWIG_fail;
    8797           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv6, 0 |  0 );
    8798           0 :   if (!SWIG_IsOK(res1)) {
    8799           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv6_message_set" "', argument " "1"" of type '" "struct zapi_ipv6 *""'"); 
    8800             :   }
    8801           0 :   arg1 = (struct zapi_ipv6 *)(argp1);
    8802             :   {
    8803           0 :     res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_u_char,  0 );
    8804           0 :     if (!SWIG_IsOK(res2)) {
    8805           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zapi_ipv6_message_set" "', argument " "2"" of type '" "u_char""'"); 
    8806             :     }  
    8807           0 :     if (!argp2) {
    8808           0 :       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "zapi_ipv6_message_set" "', argument " "2"" of type '" "u_char""'");
    8809             :     } else {
    8810           0 :       arg2 = *((u_char *)(argp2));
    8811             :     }
    8812             :   }
    8813           0 :   if (arg1) (arg1)->message = arg2;
    8814           0 :   resultobj = SWIG_Py_Void();
    8815           0 :   return resultobj;
    8816             : fail:
    8817           0 :   return NULL;
    8818             : }
    8819             : 
    8820             : 
    8821           0 : SWIGINTERN PyObject *_wrap_zapi_ipv6_message_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8822           0 :   PyObject *resultobj = 0;
    8823           0 :   struct zapi_ipv6 *arg1 = (struct zapi_ipv6 *) 0 ;
    8824           0 :   void *argp1 = 0 ;
    8825           0 :   int res1 = 0 ;
    8826           0 :   PyObject * obj0 = 0 ;
    8827             :   u_char result;
    8828             :   
    8829           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zapi_ipv6_message_get",&obj0)) SWIG_fail;
    8830           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv6, 0 |  0 );
    8831           0 :   if (!SWIG_IsOK(res1)) {
    8832           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv6_message_get" "', argument " "1"" of type '" "struct zapi_ipv6 *""'"); 
    8833             :   }
    8834           0 :   arg1 = (struct zapi_ipv6 *)(argp1);
    8835           0 :   result =  ((arg1)->message);
    8836           0 :   resultobj = SWIG_NewPointerObj((u_char *)memcpy((u_char *)malloc(sizeof(u_char)),&result,sizeof(u_char)), SWIGTYPE_p_u_char, SWIG_POINTER_OWN |  0 );
    8837           0 :   return resultobj;
    8838             : fail:
    8839           0 :   return NULL;
    8840             : }
    8841             : 
    8842             : 
    8843           0 : SWIGINTERN PyObject *_wrap_zapi_ipv6_safi_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8844           0 :   PyObject *resultobj = 0;
    8845           0 :   struct zapi_ipv6 *arg1 = (struct zapi_ipv6 *) 0 ;
    8846             :   safi_t arg2 ;
    8847           0 :   void *argp1 = 0 ;
    8848           0 :   int res1 = 0 ;
    8849             :   void *argp2 ;
    8850           0 :   int res2 = 0 ;
    8851           0 :   PyObject * obj0 = 0 ;
    8852           0 :   PyObject * obj1 = 0 ;
    8853             :   
    8854           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zapi_ipv6_safi_set",&obj0,&obj1)) SWIG_fail;
    8855           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv6, 0 |  0 );
    8856           0 :   if (!SWIG_IsOK(res1)) {
    8857           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv6_safi_set" "', argument " "1"" of type '" "struct zapi_ipv6 *""'"); 
    8858             :   }
    8859           0 :   arg1 = (struct zapi_ipv6 *)(argp1);
    8860             :   {
    8861           0 :     res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_u_int8_t,  0 );
    8862           0 :     if (!SWIG_IsOK(res2)) {
    8863           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zapi_ipv6_safi_set" "', argument " "2"" of type '" "safi_t""'"); 
    8864             :     }  
    8865           0 :     if (!argp2) {
    8866           0 :       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "zapi_ipv6_safi_set" "', argument " "2"" of type '" "safi_t""'");
    8867             :     } else {
    8868           0 :       arg2 = *((safi_t *)(argp2));
    8869             :     }
    8870             :   }
    8871           0 :   if (arg1) (arg1)->safi = arg2;
    8872           0 :   resultobj = SWIG_Py_Void();
    8873           0 :   return resultobj;
    8874             : fail:
    8875           0 :   return NULL;
    8876             : }
    8877             : 
    8878             : 
    8879           0 : SWIGINTERN PyObject *_wrap_zapi_ipv6_safi_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8880           0 :   PyObject *resultobj = 0;
    8881           0 :   struct zapi_ipv6 *arg1 = (struct zapi_ipv6 *) 0 ;
    8882           0 :   void *argp1 = 0 ;
    8883           0 :   int res1 = 0 ;
    8884           0 :   PyObject * obj0 = 0 ;
    8885             :   safi_t result;
    8886             :   
    8887           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zapi_ipv6_safi_get",&obj0)) SWIG_fail;
    8888           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv6, 0 |  0 );
    8889           0 :   if (!SWIG_IsOK(res1)) {
    8890           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv6_safi_get" "', argument " "1"" of type '" "struct zapi_ipv6 *""'"); 
    8891             :   }
    8892           0 :   arg1 = (struct zapi_ipv6 *)(argp1);
    8893           0 :   result =  ((arg1)->safi);
    8894           0 :   resultobj = SWIG_NewPointerObj((safi_t *)memcpy((safi_t *)malloc(sizeof(safi_t)),&result,sizeof(safi_t)), SWIGTYPE_p_u_int8_t, SWIG_POINTER_OWN |  0 );
    8895           0 :   return resultobj;
    8896             : fail:
    8897           0 :   return NULL;
    8898             : }
    8899             : 
    8900             : 
    8901           0 : SWIGINTERN PyObject *_wrap_zapi_ipv6_nexthop_num_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8902           0 :   PyObject *resultobj = 0;
    8903           0 :   struct zapi_ipv6 *arg1 = (struct zapi_ipv6 *) 0 ;
    8904             :   u_char arg2 ;
    8905           0 :   void *argp1 = 0 ;
    8906           0 :   int res1 = 0 ;
    8907             :   void *argp2 ;
    8908           0 :   int res2 = 0 ;
    8909           0 :   PyObject * obj0 = 0 ;
    8910           0 :   PyObject * obj1 = 0 ;
    8911             :   
    8912           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zapi_ipv6_nexthop_num_set",&obj0,&obj1)) SWIG_fail;
    8913           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv6, 0 |  0 );
    8914           0 :   if (!SWIG_IsOK(res1)) {
    8915           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv6_nexthop_num_set" "', argument " "1"" of type '" "struct zapi_ipv6 *""'"); 
    8916             :   }
    8917           0 :   arg1 = (struct zapi_ipv6 *)(argp1);
    8918             :   {
    8919           0 :     res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_u_char,  0 );
    8920           0 :     if (!SWIG_IsOK(res2)) {
    8921           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zapi_ipv6_nexthop_num_set" "', argument " "2"" of type '" "u_char""'"); 
    8922             :     }  
    8923           0 :     if (!argp2) {
    8924           0 :       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "zapi_ipv6_nexthop_num_set" "', argument " "2"" of type '" "u_char""'");
    8925             :     } else {
    8926           0 :       arg2 = *((u_char *)(argp2));
    8927             :     }
    8928             :   }
    8929           0 :   if (arg1) (arg1)->nexthop_num = arg2;
    8930           0 :   resultobj = SWIG_Py_Void();
    8931           0 :   return resultobj;
    8932             : fail:
    8933           0 :   return NULL;
    8934             : }
    8935             : 
    8936             : 
    8937           0 : SWIGINTERN PyObject *_wrap_zapi_ipv6_nexthop_num_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8938           0 :   PyObject *resultobj = 0;
    8939           0 :   struct zapi_ipv6 *arg1 = (struct zapi_ipv6 *) 0 ;
    8940           0 :   void *argp1 = 0 ;
    8941           0 :   int res1 = 0 ;
    8942           0 :   PyObject * obj0 = 0 ;
    8943             :   u_char result;
    8944             :   
    8945           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zapi_ipv6_nexthop_num_get",&obj0)) SWIG_fail;
    8946           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv6, 0 |  0 );
    8947           0 :   if (!SWIG_IsOK(res1)) {
    8948           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv6_nexthop_num_get" "', argument " "1"" of type '" "struct zapi_ipv6 *""'"); 
    8949             :   }
    8950           0 :   arg1 = (struct zapi_ipv6 *)(argp1);
    8951           0 :   result =  ((arg1)->nexthop_num);
    8952           0 :   resultobj = SWIG_NewPointerObj((u_char *)memcpy((u_char *)malloc(sizeof(u_char)),&result,sizeof(u_char)), SWIGTYPE_p_u_char, SWIG_POINTER_OWN |  0 );
    8953           0 :   return resultobj;
    8954             : fail:
    8955           0 :   return NULL;
    8956             : }
    8957             : 
    8958             : 
    8959           0 : SWIGINTERN PyObject *_wrap_zapi_ipv6_nexthop_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8960           0 :   PyObject *resultobj = 0;
    8961           0 :   struct zapi_ipv6 *arg1 = (struct zapi_ipv6 *) 0 ;
    8962           0 :   struct in6_addr **arg2 = (struct in6_addr **) 0 ;
    8963           0 :   void *argp1 = 0 ;
    8964           0 :   int res1 = 0 ;
    8965           0 :   void *argp2 = 0 ;
    8966           0 :   int res2 = 0 ;
    8967           0 :   PyObject * obj0 = 0 ;
    8968           0 :   PyObject * obj1 = 0 ;
    8969             :   
    8970           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zapi_ipv6_nexthop_set",&obj0,&obj1)) SWIG_fail;
    8971           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv6, 0 |  0 );
    8972           0 :   if (!SWIG_IsOK(res1)) {
    8973           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv6_nexthop_set" "', argument " "1"" of type '" "struct zapi_ipv6 *""'"); 
    8974             :   }
    8975           0 :   arg1 = (struct zapi_ipv6 *)(argp1);
    8976           0 :   res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_in6_addr, 0 |  0 );
    8977           0 :   if (!SWIG_IsOK(res2)) {
    8978           0 :     SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zapi_ipv6_nexthop_set" "', argument " "2"" of type '" "struct in6_addr **""'"); 
    8979             :   }
    8980           0 :   arg2 = (struct in6_addr **)(argp2);
    8981           0 :   if (arg1) (arg1)->nexthop = arg2;
    8982           0 :   resultobj = SWIG_Py_Void();
    8983           0 :   return resultobj;
    8984             : fail:
    8985           0 :   return NULL;
    8986             : }
    8987             : 
    8988             : 
    8989           0 : SWIGINTERN PyObject *_wrap_zapi_ipv6_nexthop_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    8990           0 :   PyObject *resultobj = 0;
    8991           0 :   struct zapi_ipv6 *arg1 = (struct zapi_ipv6 *) 0 ;
    8992           0 :   void *argp1 = 0 ;
    8993           0 :   int res1 = 0 ;
    8994           0 :   PyObject * obj0 = 0 ;
    8995           0 :   struct in6_addr **result = 0 ;
    8996             :   
    8997           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zapi_ipv6_nexthop_get",&obj0)) SWIG_fail;
    8998           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv6, 0 |  0 );
    8999           0 :   if (!SWIG_IsOK(res1)) {
    9000           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv6_nexthop_get" "', argument " "1"" of type '" "struct zapi_ipv6 *""'"); 
    9001             :   }
    9002           0 :   arg1 = (struct zapi_ipv6 *)(argp1);
    9003           0 :   result = (struct in6_addr **) ((arg1)->nexthop);
    9004           0 :   resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_in6_addr, 0 |  0 );
    9005           0 :   return resultobj;
    9006             : fail:
    9007           0 :   return NULL;
    9008             : }
    9009             : 
    9010             : 
    9011           0 : SWIGINTERN PyObject *_wrap_zapi_ipv6_ifindex_num_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    9012           0 :   PyObject *resultobj = 0;
    9013           0 :   struct zapi_ipv6 *arg1 = (struct zapi_ipv6 *) 0 ;
    9014             :   u_char arg2 ;
    9015           0 :   void *argp1 = 0 ;
    9016           0 :   int res1 = 0 ;
    9017             :   void *argp2 ;
    9018           0 :   int res2 = 0 ;
    9019           0 :   PyObject * obj0 = 0 ;
    9020           0 :   PyObject * obj1 = 0 ;
    9021             :   
    9022           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zapi_ipv6_ifindex_num_set",&obj0,&obj1)) SWIG_fail;
    9023           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv6, 0 |  0 );
    9024           0 :   if (!SWIG_IsOK(res1)) {
    9025           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv6_ifindex_num_set" "', argument " "1"" of type '" "struct zapi_ipv6 *""'"); 
    9026             :   }
    9027           0 :   arg1 = (struct zapi_ipv6 *)(argp1);
    9028             :   {
    9029           0 :     res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_u_char,  0 );
    9030           0 :     if (!SWIG_IsOK(res2)) {
    9031           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zapi_ipv6_ifindex_num_set" "', argument " "2"" of type '" "u_char""'"); 
    9032             :     }  
    9033           0 :     if (!argp2) {
    9034           0 :       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "zapi_ipv6_ifindex_num_set" "', argument " "2"" of type '" "u_char""'");
    9035             :     } else {
    9036           0 :       arg2 = *((u_char *)(argp2));
    9037             :     }
    9038             :   }
    9039           0 :   if (arg1) (arg1)->ifindex_num = arg2;
    9040           0 :   resultobj = SWIG_Py_Void();
    9041           0 :   return resultobj;
    9042             : fail:
    9043           0 :   return NULL;
    9044             : }
    9045             : 
    9046             : 
    9047           0 : SWIGINTERN PyObject *_wrap_zapi_ipv6_ifindex_num_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    9048           0 :   PyObject *resultobj = 0;
    9049           0 :   struct zapi_ipv6 *arg1 = (struct zapi_ipv6 *) 0 ;
    9050           0 :   void *argp1 = 0 ;
    9051           0 :   int res1 = 0 ;
    9052           0 :   PyObject * obj0 = 0 ;
    9053             :   u_char result;
    9054             :   
    9055           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zapi_ipv6_ifindex_num_get",&obj0)) SWIG_fail;
    9056           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv6, 0 |  0 );
    9057           0 :   if (!SWIG_IsOK(res1)) {
    9058           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv6_ifindex_num_get" "', argument " "1"" of type '" "struct zapi_ipv6 *""'"); 
    9059             :   }
    9060           0 :   arg1 = (struct zapi_ipv6 *)(argp1);
    9061           0 :   result =  ((arg1)->ifindex_num);
    9062           0 :   resultobj = SWIG_NewPointerObj((u_char *)memcpy((u_char *)malloc(sizeof(u_char)),&result,sizeof(u_char)), SWIGTYPE_p_u_char, SWIG_POINTER_OWN |  0 );
    9063           0 :   return resultobj;
    9064             : fail:
    9065           0 :   return NULL;
    9066             : }
    9067             : 
    9068             : 
    9069           0 : SWIGINTERN PyObject *_wrap_zapi_ipv6_ifindex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    9070           0 :   PyObject *resultobj = 0;
    9071           0 :   struct zapi_ipv6 *arg1 = (struct zapi_ipv6 *) 0 ;
    9072           0 :   unsigned int *arg2 = (unsigned int *) 0 ;
    9073           0 :   void *argp1 = 0 ;
    9074           0 :   int res1 = 0 ;
    9075           0 :   void *argp2 = 0 ;
    9076           0 :   int res2 = 0 ;
    9077           0 :   PyObject * obj0 = 0 ;
    9078           0 :   PyObject * obj1 = 0 ;
    9079             :   
    9080           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zapi_ipv6_ifindex_set",&obj0,&obj1)) SWIG_fail;
    9081           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv6, 0 |  0 );
    9082           0 :   if (!SWIG_IsOK(res1)) {
    9083           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv6_ifindex_set" "', argument " "1"" of type '" "struct zapi_ipv6 *""'"); 
    9084             :   }
    9085           0 :   arg1 = (struct zapi_ipv6 *)(argp1);
    9086           0 :   res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_unsigned_int, SWIG_POINTER_DISOWN |  0 );
    9087           0 :   if (!SWIG_IsOK(res2)) {
    9088           0 :     SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zapi_ipv6_ifindex_set" "', argument " "2"" of type '" "unsigned int *""'"); 
    9089             :   }
    9090           0 :   arg2 = (unsigned int *)(argp2);
    9091           0 :   if (arg1) (arg1)->ifindex = arg2;
    9092           0 :   resultobj = SWIG_Py_Void();
    9093           0 :   return resultobj;
    9094             : fail:
    9095           0 :   return NULL;
    9096             : }
    9097             : 
    9098             : 
    9099           0 : SWIGINTERN PyObject *_wrap_zapi_ipv6_ifindex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    9100           0 :   PyObject *resultobj = 0;
    9101           0 :   struct zapi_ipv6 *arg1 = (struct zapi_ipv6 *) 0 ;
    9102           0 :   void *argp1 = 0 ;
    9103           0 :   int res1 = 0 ;
    9104           0 :   PyObject * obj0 = 0 ;
    9105           0 :   unsigned int *result = 0 ;
    9106             :   
    9107           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zapi_ipv6_ifindex_get",&obj0)) SWIG_fail;
    9108           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv6, 0 |  0 );
    9109           0 :   if (!SWIG_IsOK(res1)) {
    9110           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv6_ifindex_get" "', argument " "1"" of type '" "struct zapi_ipv6 *""'"); 
    9111             :   }
    9112           0 :   arg1 = (struct zapi_ipv6 *)(argp1);
    9113           0 :   result = (unsigned int *) ((arg1)->ifindex);
    9114           0 :   resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_int, 0 |  0 );
    9115           0 :   return resultobj;
    9116             : fail:
    9117           0 :   return NULL;
    9118             : }
    9119             : 
    9120             : 
    9121           0 : SWIGINTERN PyObject *_wrap_zapi_ipv6_distance_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    9122           0 :   PyObject *resultobj = 0;
    9123           0 :   struct zapi_ipv6 *arg1 = (struct zapi_ipv6 *) 0 ;
    9124             :   u_char arg2 ;
    9125           0 :   void *argp1 = 0 ;
    9126           0 :   int res1 = 0 ;
    9127             :   void *argp2 ;
    9128           0 :   int res2 = 0 ;
    9129           0 :   PyObject * obj0 = 0 ;
    9130           0 :   PyObject * obj1 = 0 ;
    9131             :   
    9132           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zapi_ipv6_distance_set",&obj0,&obj1)) SWIG_fail;
    9133           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv6, 0 |  0 );
    9134           0 :   if (!SWIG_IsOK(res1)) {
    9135           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv6_distance_set" "', argument " "1"" of type '" "struct zapi_ipv6 *""'"); 
    9136             :   }
    9137           0 :   arg1 = (struct zapi_ipv6 *)(argp1);
    9138             :   {
    9139           0 :     res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_u_char,  0 );
    9140           0 :     if (!SWIG_IsOK(res2)) {
    9141           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zapi_ipv6_distance_set" "', argument " "2"" of type '" "u_char""'"); 
    9142             :     }  
    9143           0 :     if (!argp2) {
    9144           0 :       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "zapi_ipv6_distance_set" "', argument " "2"" of type '" "u_char""'");
    9145             :     } else {
    9146           0 :       arg2 = *((u_char *)(argp2));
    9147             :     }
    9148             :   }
    9149           0 :   if (arg1) (arg1)->distance = arg2;
    9150           0 :   resultobj = SWIG_Py_Void();
    9151           0 :   return resultobj;
    9152             : fail:
    9153           0 :   return NULL;
    9154             : }
    9155             : 
    9156             : 
    9157           0 : SWIGINTERN PyObject *_wrap_zapi_ipv6_distance_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    9158           0 :   PyObject *resultobj = 0;
    9159           0 :   struct zapi_ipv6 *arg1 = (struct zapi_ipv6 *) 0 ;
    9160           0 :   void *argp1 = 0 ;
    9161           0 :   int res1 = 0 ;
    9162           0 :   PyObject * obj0 = 0 ;
    9163             :   u_char result;
    9164             :   
    9165           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zapi_ipv6_distance_get",&obj0)) SWIG_fail;
    9166           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv6, 0 |  0 );
    9167           0 :   if (!SWIG_IsOK(res1)) {
    9168           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv6_distance_get" "', argument " "1"" of type '" "struct zapi_ipv6 *""'"); 
    9169             :   }
    9170           0 :   arg1 = (struct zapi_ipv6 *)(argp1);
    9171           0 :   result =  ((arg1)->distance);
    9172           0 :   resultobj = SWIG_NewPointerObj((u_char *)memcpy((u_char *)malloc(sizeof(u_char)),&result,sizeof(u_char)), SWIGTYPE_p_u_char, SWIG_POINTER_OWN |  0 );
    9173           0 :   return resultobj;
    9174             : fail:
    9175           0 :   return NULL;
    9176             : }
    9177             : 
    9178             : 
    9179           0 : SWIGINTERN PyObject *_wrap_zapi_ipv6_metric_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    9180           0 :   PyObject *resultobj = 0;
    9181           0 :   struct zapi_ipv6 *arg1 = (struct zapi_ipv6 *) 0 ;
    9182             :   u_int32_t arg2 ;
    9183           0 :   void *argp1 = 0 ;
    9184           0 :   int res1 = 0 ;
    9185             :   void *argp2 ;
    9186           0 :   int res2 = 0 ;
    9187           0 :   PyObject * obj0 = 0 ;
    9188           0 :   PyObject * obj1 = 0 ;
    9189             :   
    9190           0 :   if (!PyArg_ParseTuple(args,(char *)"OO:zapi_ipv6_metric_set",&obj0,&obj1)) SWIG_fail;
    9191           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv6, 0 |  0 );
    9192           0 :   if (!SWIG_IsOK(res1)) {
    9193           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv6_metric_set" "', argument " "1"" of type '" "struct zapi_ipv6 *""'"); 
    9194             :   }
    9195           0 :   arg1 = (struct zapi_ipv6 *)(argp1);
    9196             :   {
    9197           0 :     res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_u_int32_t,  0 );
    9198           0 :     if (!SWIG_IsOK(res2)) {
    9199           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "zapi_ipv6_metric_set" "', argument " "2"" of type '" "u_int32_t""'"); 
    9200             :     }  
    9201           0 :     if (!argp2) {
    9202           0 :       SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "zapi_ipv6_metric_set" "', argument " "2"" of type '" "u_int32_t""'");
    9203             :     } else {
    9204           0 :       arg2 = *((u_int32_t *)(argp2));
    9205             :     }
    9206             :   }
    9207           0 :   if (arg1) (arg1)->metric = arg2;
    9208           0 :   resultobj = SWIG_Py_Void();
    9209           0 :   return resultobj;
    9210             : fail:
    9211           0 :   return NULL;
    9212             : }
    9213             : 
    9214             : 
    9215           0 : SWIGINTERN PyObject *_wrap_zapi_ipv6_metric_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    9216           0 :   PyObject *resultobj = 0;
    9217           0 :   struct zapi_ipv6 *arg1 = (struct zapi_ipv6 *) 0 ;
    9218           0 :   void *argp1 = 0 ;
    9219           0 :   int res1 = 0 ;
    9220           0 :   PyObject * obj0 = 0 ;
    9221             :   u_int32_t result;
    9222             :   
    9223           0 :   if (!PyArg_ParseTuple(args,(char *)"O:zapi_ipv6_metric_get",&obj0)) SWIG_fail;
    9224           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv6, 0 |  0 );
    9225           0 :   if (!SWIG_IsOK(res1)) {
    9226           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "zapi_ipv6_metric_get" "', argument " "1"" of type '" "struct zapi_ipv6 *""'"); 
    9227             :   }
    9228           0 :   arg1 = (struct zapi_ipv6 *)(argp1);
    9229           0 :   result =  ((arg1)->metric);
    9230           0 :   resultobj = SWIG_NewPointerObj((u_int32_t *)memcpy((u_int32_t *)malloc(sizeof(u_int32_t)),&result,sizeof(u_int32_t)), SWIGTYPE_p_u_int32_t, SWIG_POINTER_OWN |  0 );
    9231           0 :   return resultobj;
    9232             : fail:
    9233           0 :   return NULL;
    9234             : }
    9235             : 
    9236             : 
    9237           0 : SWIGINTERN PyObject *_wrap_new_zapi_ipv6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    9238           0 :   PyObject *resultobj = 0;
    9239           0 :   struct zapi_ipv6 *result = 0 ;
    9240             :   
    9241           0 :   if (!PyArg_ParseTuple(args,(char *)":new_zapi_ipv6")) SWIG_fail;
    9242           0 :   result = (struct zapi_ipv6 *)calloc(1, sizeof(struct zapi_ipv6));
    9243           0 :   resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_zapi_ipv6, SWIG_POINTER_NEW |  0 );
    9244           0 :   return resultobj;
    9245             : fail:
    9246           0 :   return NULL;
    9247             : }
    9248             : 
    9249             : 
    9250           0 : SWIGINTERN PyObject *_wrap_delete_zapi_ipv6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    9251           0 :   PyObject *resultobj = 0;
    9252           0 :   struct zapi_ipv6 *arg1 = (struct zapi_ipv6 *) 0 ;
    9253           0 :   void *argp1 = 0 ;
    9254           0 :   int res1 = 0 ;
    9255           0 :   PyObject * obj0 = 0 ;
    9256             :   
    9257           0 :   if (!PyArg_ParseTuple(args,(char *)"O:delete_zapi_ipv6",&obj0)) SWIG_fail;
    9258           0 :   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_zapi_ipv6, SWIG_POINTER_DISOWN |  0 );
    9259           0 :   if (!SWIG_IsOK(res1)) {
    9260           0 :     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_zapi_ipv6" "', argument " "1"" of type '" "struct zapi_ipv6 *""'"); 
    9261             :   }
    9262           0 :   arg1 = (struct zapi_ipv6 *)(argp1);
    9263           0 :   free((char *) arg1);
    9264           0 :   resultobj = SWIG_Py_Void();
    9265           0 :   return resultobj;
    9266             : fail:
    9267           0 :   return NULL;
    9268             : }
    9269             : 
    9270             : 
    9271           1 : SWIGINTERN PyObject *zapi_ipv6_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    9272             :   PyObject *obj;
    9273           1 :   if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
    9274           1 :   SWIG_TypeNewClientData(SWIGTYPE_p_zapi_ipv6, SWIG_NewClientData(obj));
    9275           1 :   return SWIG_Py_Void();
    9276             : }
    9277             : 
    9278             : static PyMethodDef SwigMethods[] = {
    9279             :          { (char *)"SWIG_PyInstanceMethod_New", (PyCFunction)SWIG_PyInstanceMethod_New, METH_O, NULL},
    9280             :          { (char *)"BABEL_VTYSH_PATH_swigconstant", BABEL_VTYSH_PATH_swigconstant, METH_VARARGS, NULL},
    9281             :          { (char *)"BGP_VTYSH_PATH_swigconstant", BGP_VTYSH_PATH_swigconstant, METH_VARARGS, NULL},
    9282             :          { (char *)"CONFIGFILE_MASK_swigconstant", CONFIGFILE_MASK_swigconstant, METH_VARARGS, NULL},
    9283             :          { (char *)"CONSUMED_TIME_CHECK_swigconstant", CONSUMED_TIME_CHECK_swigconstant, METH_VARARGS, NULL},
    9284             :          { (char *)"DAEMON_VTY_DIR_swigconstant", DAEMON_VTY_DIR_swigconstant, METH_VARARGS, NULL},
    9285             :          { (char *)"DISABLE_BGP_ANNOUNCE_swigconstant", DISABLE_BGP_ANNOUNCE_swigconstant, METH_VARARGS, NULL},
    9286             :          { (char *)"GIT_VERSION_swigconstant", GIT_VERSION_swigconstant, METH_VARARGS, NULL},
    9287             :          { (char *)"HAVE_ALARM_swigconstant", HAVE_ALARM_swigconstant, METH_VARARGS, NULL},
    9288             :          { (char *)"HAVE_ARPA_INET_H_swigconstant", HAVE_ARPA_INET_H_swigconstant, METH_VARARGS, NULL},
    9289             :          { (char *)"HAVE_ASM_TYPES_H_swigconstant", HAVE_ASM_TYPES_H_swigconstant, METH_VARARGS, NULL},
    9290             :          { (char *)"HAVE_CHOWN_swigconstant", HAVE_CHOWN_swigconstant, METH_VARARGS, NULL},
    9291             :          { (char *)"HAVE_DAEMON_swigconstant", HAVE_DAEMON_swigconstant, METH_VARARGS, NULL},
    9292             :          { (char *)"HAVE_DECL_TCP_MD5SIG_swigconstant", HAVE_DECL_TCP_MD5SIG_swigconstant, METH_VARARGS, NULL},
    9293             :          { (char *)"HAVE_DLFCN_H_swigconstant", HAVE_DLFCN_H_swigconstant, METH_VARARGS, NULL},
    9294             :          { (char *)"HAVE_DUP2_swigconstant", HAVE_DUP2_swigconstant, METH_VARARGS, NULL},
    9295             :          { (char *)"HAVE_FCNTL_swigconstant", HAVE_FCNTL_swigconstant, METH_VARARGS, NULL},
    9296             :          { (char *)"HAVE_FCNTL_H_swigconstant", HAVE_FCNTL_H_swigconstant, METH_VARARGS, NULL},
    9297             :          { (char *)"HAVE_FNMATCH_swigconstant", HAVE_FNMATCH_swigconstant, METH_VARARGS, NULL},
    9298             :          { (char *)"HAVE_FORK_swigconstant", HAVE_FORK_swigconstant, METH_VARARGS, NULL},
    9299             :          { (char *)"HAVE_FTRUNCATE_swigconstant", HAVE_FTRUNCATE_swigconstant, METH_VARARGS, NULL},
    9300             :          { (char *)"HAVE_GETADDRINFO_swigconstant", HAVE_GETADDRINFO_swigconstant, METH_VARARGS, NULL},
    9301             :          { (char *)"HAVE_GETCWD_swigconstant", HAVE_GETCWD_swigconstant, METH_VARARGS, NULL},
    9302             :          { (char *)"HAVE_GETHOSTBYNAME_swigconstant", HAVE_GETHOSTBYNAME_swigconstant, METH_VARARGS, NULL},
    9303             :          { (char *)"HAVE_GETIFADDRS_swigconstant", HAVE_GETIFADDRS_swigconstant, METH_VARARGS, NULL},
    9304             :          { (char *)"HAVE_GETPAGESIZE_swigconstant", HAVE_GETPAGESIZE_swigconstant, METH_VARARGS, NULL},
    9305             :          { (char *)"HAVE_GETTIMEOFDAY_swigconstant", HAVE_GETTIMEOFDAY_swigconstant, METH_VARARGS, NULL},
    9306             :          { (char *)"HAVE_IF_INDEXTONAME_swigconstant", HAVE_IF_INDEXTONAME_swigconstant, METH_VARARGS, NULL},
    9307             :          { (char *)"HAVE_IF_NAMETOINDEX_swigconstant", HAVE_IF_NAMETOINDEX_swigconstant, METH_VARARGS, NULL},
    9308             :          { (char *)"HAVE_INET_ATON_swigconstant", HAVE_INET_ATON_swigconstant, METH_VARARGS, NULL},
    9309             :          { (char *)"HAVE_INET_NTOA_swigconstant", HAVE_INET_NTOA_swigconstant, METH_VARARGS, NULL},
    9310             :          { (char *)"HAVE_INTTYPES_H_swigconstant", HAVE_INTTYPES_H_swigconstant, METH_VARARGS, NULL},
    9311             :          { (char *)"HAVE_IPV6_swigconstant", HAVE_IPV6_swigconstant, METH_VARARGS, NULL},
    9312             :          { (char *)"HAVE_LIBCRYPT_swigconstant", HAVE_LIBCRYPT_swigconstant, METH_VARARGS, NULL},
    9313             :          { (char *)"HAVE_LIMITS_H_swigconstant", HAVE_LIMITS_H_swigconstant, METH_VARARGS, NULL},
    9314             :          { (char *)"HAVE_LINUX_VERSION_H_swigconstant", HAVE_LINUX_VERSION_H_swigconstant, METH_VARARGS, NULL},
    9315             :          { (char *)"HAVE_MEMCHR_swigconstant", HAVE_MEMCHR_swigconstant, METH_VARARGS, NULL},
    9316             :          { (char *)"HAVE_MEMMOVE_swigconstant", HAVE_MEMMOVE_swigconstant, METH_VARARGS, NULL},
    9317             :          { (char *)"HAVE_MEMORY_H_swigconstant", HAVE_MEMORY_H_swigconstant, METH_VARARGS, NULL},
    9318             :          { (char *)"HAVE_MEMSET_swigconstant", HAVE_MEMSET_swigconstant, METH_VARARGS, NULL},
    9319             :          { (char *)"HAVE_NETDB_H_swigconstant", HAVE_NETDB_H_swigconstant, METH_VARARGS, NULL},
    9320             :          { (char *)"HAVE_NETINET_ICMP6_H_swigconstant", HAVE_NETINET_ICMP6_H_swigconstant, METH_VARARGS, NULL},
    9321             :          { (char *)"HAVE_NETINET_IN_H_swigconstant", HAVE_NETINET_IN_H_swigconstant, METH_VARARGS, NULL},
    9322             :          { (char *)"HAVE_NETINET_IN_SYSTM_H_swigconstant", HAVE_NETINET_IN_SYSTM_H_swigconstant, METH_VARARGS, NULL},
    9323             :          { (char *)"HAVE_NETINET_IP_ICMP_H_swigconstant", HAVE_NETINET_IP_ICMP_H_swigconstant, METH_VARARGS, NULL},
    9324             :          { (char *)"HAVE_NET_IF_H_swigconstant", HAVE_NET_IF_H_swigconstant, METH_VARARGS, NULL},
    9325             :          { (char *)"HAVE_NET_ROUTE_H_swigconstant", HAVE_NET_ROUTE_H_swigconstant, METH_VARARGS, NULL},
    9326             :          { (char *)"HAVE_POW_swigconstant", HAVE_POW_swigconstant, METH_VARARGS, NULL},
    9327             :          { (char *)"HAVE_RFC3678_swigconstant", HAVE_RFC3678_swigconstant, METH_VARARGS, NULL},
    9328             :          { (char *)"HAVE_SELECT_swigconstant", HAVE_SELECT_swigconstant, METH_VARARGS, NULL},
    9329             :          { (char *)"HAVE_SIGNAL_H_swigconstant", HAVE_SIGNAL_H_swigconstant, METH_VARARGS, NULL},
    9330             :          { (char *)"HAVE_SNPRINTF_swigconstant", HAVE_SNPRINTF_swigconstant, METH_VARARGS, NULL},
    9331             :          { (char *)"HAVE_SOCKET_swigconstant", HAVE_SOCKET_swigconstant, METH_VARARGS, NULL},
    9332             :          { (char *)"HAVE_SOCKLEN_T_swigconstant", HAVE_SOCKLEN_T_swigconstant, METH_VARARGS, NULL},
    9333             :          { (char *)"HAVE_STDDEF_H_swigconstant", HAVE_STDDEF_H_swigconstant, METH_VARARGS, NULL},
    9334             :          { (char *)"HAVE_STDINT_H_swigconstant", HAVE_STDINT_H_swigconstant, METH_VARARGS, NULL},
    9335             :          { (char *)"HAVE_STDLIB_H_swigconstant", HAVE_STDLIB_H_swigconstant, METH_VARARGS, NULL},
    9336             :          { (char *)"HAVE_STRCASECMP_swigconstant", HAVE_STRCASECMP_swigconstant, METH_VARARGS, NULL},
    9337             :          { (char *)"HAVE_STRCHR_swigconstant", HAVE_STRCHR_swigconstant, METH_VARARGS, NULL},
    9338             :          { (char *)"HAVE_STRCSPN_swigconstant", HAVE_STRCSPN_swigconstant, METH_VARARGS, NULL},
    9339             :          { (char *)"HAVE_STRDUP_swigconstant", HAVE_STRDUP_swigconstant, METH_VARARGS, NULL},
    9340             :          { (char *)"HAVE_STRERROR_swigconstant", HAVE_STRERROR_swigconstant, METH_VARARGS, NULL},
    9341             :          { (char *)"HAVE_STRFTIME_swigconstant", HAVE_STRFTIME_swigconstant, METH_VARARGS, NULL},
    9342             :          { (char *)"HAVE_STRINGS_H_swigconstant", HAVE_STRINGS_H_swigconstant, METH_VARARGS, NULL},
    9343             :          { (char *)"HAVE_STRING_H_swigconstant", HAVE_STRING_H_swigconstant, METH_VARARGS, NULL},
    9344             :          { (char *)"HAVE_STRNCASECMP_swigconstant", HAVE_STRNCASECMP_swigconstant, METH_VARARGS, NULL},
    9345             :          { (char *)"HAVE_STRNDUP_swigconstant", HAVE_STRNDUP_swigconstant, METH_VARARGS, NULL},
    9346             :          { (char *)"HAVE_STRNLEN_swigconstant", HAVE_STRNLEN_swigconstant, METH_VARARGS, NULL},
    9347             :          { (char *)"HAVE_STROPTS_H_swigconstant", HAVE_STROPTS_H_swigconstant, METH_VARARGS, NULL},
    9348             :          { (char *)"HAVE_STRRCHR_swigconstant", HAVE_STRRCHR_swigconstant, METH_VARARGS, NULL},
    9349             :          { (char *)"HAVE_STRSPN_swigconstant", HAVE_STRSPN_swigconstant, METH_VARARGS, NULL},
    9350             :          { (char *)"HAVE_STRSTR_swigconstant", HAVE_STRSTR_swigconstant, METH_VARARGS, NULL},
    9351             :          { (char *)"HAVE_STRTOL_swigconstant", HAVE_STRTOL_swigconstant, METH_VARARGS, NULL},
    9352             :          { (char *)"HAVE_STRTOUL_swigconstant", HAVE_STRTOUL_swigconstant, METH_VARARGS, NULL},
    9353             :          { (char *)"HAVE_STRUCT_ICMPHDR_swigconstant", HAVE_STRUCT_ICMPHDR_swigconstant, METH_VARARGS, NULL},
    9354             :          { (char *)"HAVE_STRUCT_IN_PKTINFO_swigconstant", HAVE_STRUCT_IN_PKTINFO_swigconstant, METH_VARARGS, NULL},
    9355             :          { (char *)"HAVE_STRUCT_IP_MREQN_IMR_IFINDEX_swigconstant", HAVE_STRUCT_IP_MREQN_IMR_IFINDEX_swigconstant, METH_VARARGS, NULL},
    9356             :          { (char *)"HAVE_STRUCT_ND_OPT_ADV_INTERVAL_swigconstant", HAVE_STRUCT_ND_OPT_ADV_INTERVAL_swigconstant, METH_VARARGS, NULL},
    9357             :          { (char *)"HAVE_STRUCT_SOCKADDR_swigconstant", HAVE_STRUCT_SOCKADDR_swigconstant, METH_VARARGS, NULL},
    9358             :          { (char *)"HAVE_STRUCT_SOCKADDR_IN_swigconstant", HAVE_STRUCT_SOCKADDR_IN_swigconstant, METH_VARARGS, NULL},
    9359             :          { (char *)"HAVE_STRUCT_SOCKADDR_IN6_swigconstant", HAVE_STRUCT_SOCKADDR_IN6_swigconstant, METH_VARARGS, NULL},
    9360             :          { (char *)"HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID_swigconstant", HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID_swigconstant, METH_VARARGS, NULL},
    9361             :          { (char *)"HAVE_STRUCT_SOCKADDR_UN_swigconstant", HAVE_STRUCT_SOCKADDR_UN_swigconstant, METH_VARARGS, NULL},
    9362             :          { (char *)"HAVE_SYSLOG_H_swigconstant", HAVE_SYSLOG_H_swigconstant, METH_VARARGS, NULL},
    9363             :          { (char *)"HAVE_SYS_IOCTL_H_swigconstant", HAVE_SYS_IOCTL_H_swigconstant, METH_VARARGS, NULL},
    9364             :          { (char *)"HAVE_SYS_PARAM_H_swigconstant", HAVE_SYS_PARAM_H_swigconstant, METH_VARARGS, NULL},
    9365             :          { (char *)"HAVE_SYS_SELECT_H_swigconstant", HAVE_SYS_SELECT_H_swigconstant, METH_VARARGS, NULL},
    9366             :          { (char *)"HAVE_SYS_SOCKET_H_swigconstant", HAVE_SYS_SOCKET_H_swigconstant, METH_VARARGS, NULL},
    9367             :          { (char *)"HAVE_SYS_STAT_H_swigconstant", HAVE_SYS_STAT_H_swigconstant, METH_VARARGS, NULL},
    9368             :          { (char *)"HAVE_SYS_SYSCTL_H_swigconstant", HAVE_SYS_SYSCTL_H_swigconstant, METH_VARARGS, NULL},
    9369             :          { (char *)"HAVE_SYS_TIMES_H_swigconstant", HAVE_SYS_TIMES_H_swigconstant, METH_VARARGS, NULL},
    9370             :          { (char *)"HAVE_SYS_TIME_H_swigconstant", HAVE_SYS_TIME_H_swigconstant, METH_VARARGS, NULL},
    9371             :          { (char *)"HAVE_SYS_TYPES_H_swigconstant", HAVE_SYS_TYPES_H_swigconstant, METH_VARARGS, NULL},
    9372             :          { (char *)"HAVE_SYS_UN_H_swigconstant", HAVE_SYS_UN_H_swigconstant, METH_VARARGS, NULL},
    9373             :          { (char *)"HAVE_SYS_WAIT_H_swigconstant", HAVE_SYS_WAIT_H_swigconstant, METH_VARARGS, NULL},
    9374             :          { (char *)"HAVE_SYS_WEAK_ALIAS_swigconstant", HAVE_SYS_WEAK_ALIAS_swigconstant, METH_VARARGS, NULL},
    9375             :          { (char *)"HAVE_SYS_WEAK_ALIAS_ATTRIBUTE_swigconstant", HAVE_SYS_WEAK_ALIAS_ATTRIBUTE_swigconstant, METH_VARARGS, NULL},
    9376             :          { (char *)"HAVE_SYS_WEAK_ALIAS_CROSSFILE_swigconstant", HAVE_SYS_WEAK_ALIAS_CROSSFILE_swigconstant, METH_VARARGS, NULL},
    9377             :          { (char *)"HAVE_SYS_WEAK_ALIAS_PRAGMA_swigconstant", HAVE_SYS_WEAK_ALIAS_PRAGMA_swigconstant, METH_VARARGS, NULL},
    9378             :          { (char *)"HAVE_TIME_H_swigconstant", HAVE_TIME_H_swigconstant, METH_VARARGS, NULL},
    9379             :          { (char *)"HAVE_UCONTEXT_H_swigconstant", HAVE_UCONTEXT_H_swigconstant, METH_VARARGS, NULL},
    9380             :          { (char *)"HAVE_UNAME_swigconstant", HAVE_UNAME_swigconstant, METH_VARARGS, NULL},
    9381             :          { (char *)"HAVE_UNISTD_H_swigconstant", HAVE_UNISTD_H_swigconstant, METH_VARARGS, NULL},
    9382             :          { (char *)"HAVE_VFORK_swigconstant", HAVE_VFORK_swigconstant, METH_VARARGS, NULL},
    9383             :          { (char *)"HAVE_VPRINTF_swigconstant", HAVE_VPRINTF_swigconstant, METH_VARARGS, NULL},
    9384             :          { (char *)"HAVE_VSNPRINTF_swigconstant", HAVE_VSNPRINTF_swigconstant, METH_VARARGS, NULL},
    9385             :          { (char *)"HAVE_WCHAR_H_swigconstant", HAVE_WCHAR_H_swigconstant, METH_VARARGS, NULL},
    9386             :          { (char *)"HAVE_WCTYPE_H_swigconstant", HAVE_WCTYPE_H_swigconstant, METH_VARARGS, NULL},
    9387             :          { (char *)"HAVE_WORKING_FORK_swigconstant", HAVE_WORKING_FORK_swigconstant, METH_VARARGS, NULL},
    9388             :          { (char *)"HAVE_WORKING_VFORK_swigconstant", HAVE_WORKING_VFORK_swigconstant, METH_VARARGS, NULL},
    9389             :          { (char *)"ISIS_METHOD_BPF_swigconstant", ISIS_METHOD_BPF_swigconstant, METH_VARARGS, NULL},
    9390             :          { (char *)"ISIS_METHOD_DLPI_swigconstant", ISIS_METHOD_DLPI_swigconstant, METH_VARARGS, NULL},
    9391             :          { (char *)"ISIS_METHOD_PFPACKET_swigconstant", ISIS_METHOD_PFPACKET_swigconstant, METH_VARARGS, NULL},
    9392             :          { (char *)"ISIS_VTYSH_PATH_swigconstant", ISIS_VTYSH_PATH_swigconstant, METH_VARARGS, NULL},
    9393             :          { (char *)"LINUX_IPV6_swigconstant", LINUX_IPV6_swigconstant, METH_VARARGS, NULL},
    9394             :          { (char *)"LOGFILE_MASK_swigconstant", LOGFILE_MASK_swigconstant, METH_VARARGS, NULL},
    9395             :          { (char *)"LSTAT_FOLLOWS_SLASHED_SYMLINK_swigconstant", LSTAT_FOLLOWS_SLASHED_SYMLINK_swigconstant, METH_VARARGS, NULL},
    9396             :          { (char *)"LT_OBJDIR_swigconstant", LT_OBJDIR_swigconstant, METH_VARARGS, NULL},
    9397             :          { (char *)"OSPF6_VTYSH_PATH_swigconstant", OSPF6_VTYSH_PATH_swigconstant, METH_VARARGS, NULL},
    9398             :          { (char *)"OSPF_VTYSH_PATH_swigconstant", OSPF_VTYSH_PATH_swigconstant, METH_VARARGS, NULL},
    9399             :          { (char *)"PACKAGE_swigconstant", PACKAGE_swigconstant, METH_VARARGS, NULL},
    9400             :          { (char *)"PACKAGE_BUGREPORT_swigconstant", PACKAGE_BUGREPORT_swigconstant, METH_VARARGS, NULL},
    9401             :          { (char *)"PACKAGE_NAME_swigconstant", PACKAGE_NAME_swigconstant, METH_VARARGS, NULL},
    9402             :          { (char *)"PACKAGE_STRING_swigconstant", PACKAGE_STRING_swigconstant, METH_VARARGS, NULL},
    9403             :          { (char *)"PACKAGE_TARNAME_swigconstant", PACKAGE_TARNAME_swigconstant, METH_VARARGS, NULL},
    9404             :          { (char *)"PACKAGE_URL_swigconstant", PACKAGE_URL_swigconstant, METH_VARARGS, NULL},
    9405             :          { (char *)"PACKAGE_VERSION_swigconstant", PACKAGE_VERSION_swigconstant, METH_VARARGS, NULL},
    9406             :          { (char *)"PATH_BABELD_PID_swigconstant", PATH_BABELD_PID_swigconstant, METH_VARARGS, NULL},
    9407             :          { (char *)"PATH_BGPD_PID_swigconstant", PATH_BGPD_PID_swigconstant, METH_VARARGS, NULL},
    9408             :          { (char *)"PATH_ISISD_PID_swigconstant", PATH_ISISD_PID_swigconstant, METH_VARARGS, NULL},
    9409             :          { (char *)"PATH_OSPF6D_PID_swigconstant", PATH_OSPF6D_PID_swigconstant, METH_VARARGS, NULL},
    9410             :          { (char *)"PATH_OSPFD_PID_swigconstant", PATH_OSPFD_PID_swigconstant, METH_VARARGS, NULL},
    9411             :          { (char *)"PATH_RIPD_PID_swigconstant", PATH_RIPD_PID_swigconstant, METH_VARARGS, NULL},
    9412             :          { (char *)"PATH_RIPNGD_PID_swigconstant", PATH_RIPNGD_PID_swigconstant, METH_VARARGS, NULL},
    9413             :          { (char *)"PATH_WATCHQUAGGA_PID_swigconstant", PATH_WATCHQUAGGA_PID_swigconstant, METH_VARARGS, NULL},
    9414             :          { (char *)"PATH_ZEBRA_PID_swigconstant", PATH_ZEBRA_PID_swigconstant, METH_VARARGS, NULL},
    9415             :          { (char *)"QUAGGA_GROUP_swigconstant", QUAGGA_GROUP_swigconstant, METH_VARARGS, NULL},
    9416             :          { (char *)"QUAGGA_NO_DEPRECATED_INTERFACES_swigconstant", QUAGGA_NO_DEPRECATED_INTERFACES_swigconstant, METH_VARARGS, NULL},
    9417             :          { (char *)"QUAGGA_USER_swigconstant", QUAGGA_USER_swigconstant, METH_VARARGS, NULL},
    9418             :          { (char *)"RIPNG_VTYSH_PATH_swigconstant", RIPNG_VTYSH_PATH_swigconstant, METH_VARARGS, NULL},
    9419             :          { (char *)"RIP_VTYSH_PATH_swigconstant", RIP_VTYSH_PATH_swigconstant, METH_VARARGS, NULL},
    9420             :          { (char *)"STDC_HEADERS_swigconstant", STDC_HEADERS_swigconstant, METH_VARARGS, NULL},
    9421             :          { (char *)"TIME_WITH_SYS_TIME_swigconstant", TIME_WITH_SYS_TIME_swigconstant, METH_VARARGS, NULL},
    9422             :          { (char *)"_ALL_SOURCE_swigconstant", _ALL_SOURCE_swigconstant, METH_VARARGS, NULL},
    9423             :          { (char *)"_GNU_SOURCE_swigconstant", _GNU_SOURCE_swigconstant, METH_VARARGS, NULL},
    9424             :          { (char *)"_POSIX_PTHREAD_SEMANTICS_swigconstant", _POSIX_PTHREAD_SEMANTICS_swigconstant, METH_VARARGS, NULL},
    9425             :          { (char *)"_TANDEM_SOURCE_swigconstant", _TANDEM_SOURCE_swigconstant, METH_VARARGS, NULL},
    9426             :          { (char *)"__EXTENSIONS___swigconstant", __EXTENSIONS___swigconstant, METH_VARARGS, NULL},
    9427             :          { (char *)"VERSION_swigconstant", VERSION_swigconstant, METH_VARARGS, NULL},
    9428             :          { (char *)"ZEBRA_SERV_PATH_swigconstant", ZEBRA_SERV_PATH_swigconstant, METH_VARARGS, NULL},
    9429             :          { (char *)"ZEBRA_VTYSH_PATH_swigconstant", ZEBRA_VTYSH_PATH_swigconstant, METH_VARARGS, NULL},
    9430             :          { (char *)"_DARWIN_USE_64_BIT_INODE_swigconstant", _DARWIN_USE_64_BIT_INODE_swigconstant, METH_VARARGS, NULL},
    9431             :          { (char *)"ZEBRA_ROUTE_SYSTEM_swigconstant", ZEBRA_ROUTE_SYSTEM_swigconstant, METH_VARARGS, NULL},
    9432             :          { (char *)"ZEBRA_ROUTE_KERNEL_swigconstant", ZEBRA_ROUTE_KERNEL_swigconstant, METH_VARARGS, NULL},
    9433             :          { (char *)"ZEBRA_ROUTE_CONNECT_swigconstant", ZEBRA_ROUTE_CONNECT_swigconstant, METH_VARARGS, NULL},
    9434             :          { (char *)"ZEBRA_ROUTE_STATIC_swigconstant", ZEBRA_ROUTE_STATIC_swigconstant, METH_VARARGS, NULL},
    9435             :          { (char *)"ZEBRA_ROUTE_RIP_swigconstant", ZEBRA_ROUTE_RIP_swigconstant, METH_VARARGS, NULL},
    9436             :          { (char *)"ZEBRA_ROUTE_RIPNG_swigconstant", ZEBRA_ROUTE_RIPNG_swigconstant, METH_VARARGS, NULL},
    9437             :          { (char *)"ZEBRA_ROUTE_OSPF_swigconstant", ZEBRA_ROUTE_OSPF_swigconstant, METH_VARARGS, NULL},
    9438             :          { (char *)"ZEBRA_ROUTE_OSPF6_swigconstant", ZEBRA_ROUTE_OSPF6_swigconstant, METH_VARARGS, NULL},
    9439             :          { (char *)"ZEBRA_ROUTE_ISIS_swigconstant", ZEBRA_ROUTE_ISIS_swigconstant, METH_VARARGS, NULL},
    9440             :          { (char *)"ZEBRA_ROUTE_BGP_swigconstant", ZEBRA_ROUTE_BGP_swigconstant, METH_VARARGS, NULL},
    9441             :          { (char *)"ZEBRA_ROUTE_HSLS_swigconstant", ZEBRA_ROUTE_HSLS_swigconstant, METH_VARARGS, NULL},
    9442             :          { (char *)"ZEBRA_ROUTE_OLSR_swigconstant", ZEBRA_ROUTE_OLSR_swigconstant, METH_VARARGS, NULL},
    9443             :          { (char *)"ZEBRA_ROUTE_BABEL_swigconstant", ZEBRA_ROUTE_BABEL_swigconstant, METH_VARARGS, NULL},
    9444             :          { (char *)"ZEBRA_ROUTE_MAX_swigconstant", ZEBRA_ROUTE_MAX_swigconstant, METH_VARARGS, NULL},
    9445             :          { (char *)"QUAGGA_REDIST_STR_BABELD_swigconstant", QUAGGA_REDIST_STR_BABELD_swigconstant, METH_VARARGS, NULL},
    9446             :          { (char *)"QUAGGA_REDIST_HELP_STR_BABELD_swigconstant", QUAGGA_REDIST_HELP_STR_BABELD_swigconstant, METH_VARARGS, NULL},
    9447             :          { (char *)"QUAGGA_IP_REDIST_STR_BABELD_swigconstant", QUAGGA_IP_REDIST_STR_BABELD_swigconstant, METH_VARARGS, NULL},
    9448             :          { (char *)"QUAGGA_IP_REDIST_HELP_STR_BABELD_swigconstant", QUAGGA_IP_REDIST_HELP_STR_BABELD_swigconstant, METH_VARARGS, NULL},
    9449             :          { (char *)"QUAGGA_IP6_REDIST_STR_BABELD_swigconstant", QUAGGA_IP6_REDIST_STR_BABELD_swigconstant, METH_VARARGS, NULL},
    9450             :          { (char *)"QUAGGA_IP6_REDIST_HELP_STR_BABELD_swigconstant", QUAGGA_IP6_REDIST_HELP_STR_BABELD_swigconstant, METH_VARARGS, NULL},
    9451             :          { (char *)"QUAGGA_REDIST_STR_BGPD_swigconstant", QUAGGA_REDIST_STR_BGPD_swigconstant, METH_VARARGS, NULL},
    9452             :          { (char *)"QUAGGA_REDIST_HELP_STR_BGPD_swigconstant", QUAGGA_REDIST_HELP_STR_BGPD_swigconstant, METH_VARARGS, NULL},
    9453             :          { (char *)"QUAGGA_IP_REDIST_STR_BGPD_swigconstant", QUAGGA_IP_REDIST_STR_BGPD_swigconstant, METH_VARARGS, NULL},
    9454             :          { (char *)"QUAGGA_IP_REDIST_HELP_STR_BGPD_swigconstant", QUAGGA_IP_REDIST_HELP_STR_BGPD_swigconstant, METH_VARARGS, NULL},
    9455             :          { (char *)"QUAGGA_IP6_REDIST_STR_BGPD_swigconstant", QUAGGA_IP6_REDIST_STR_BGPD_swigconstant, METH_VARARGS, NULL},
    9456             :          { (char *)"QUAGGA_IP6_REDIST_HELP_STR_BGPD_swigconstant", QUAGGA_IP6_REDIST_HELP_STR_BGPD_swigconstant, METH_VARARGS, NULL},
    9457             :          { (char *)"QUAGGA_REDIST_STR_ISISD_swigconstant", QUAGGA_REDIST_STR_ISISD_swigconstant, METH_VARARGS, NULL},
    9458             :          { (char *)"QUAGGA_REDIST_HELP_STR_ISISD_swigconstant", QUAGGA_REDIST_HELP_STR_ISISD_swigconstant, METH_VARARGS, NULL},
    9459             :          { (char *)"QUAGGA_IP_REDIST_STR_ISISD_swigconstant", QUAGGA_IP_REDIST_STR_ISISD_swigconstant, METH_VARARGS, NULL},
    9460             :          { (char *)"QUAGGA_IP_REDIST_HELP_STR_ISISD_swigconstant", QUAGGA_IP_REDIST_HELP_STR_ISISD_swigconstant, METH_VARARGS, NULL},
    9461             :          { (char *)"QUAGGA_IP6_REDIST_STR_ISISD_swigconstant", QUAGGA_IP6_REDIST_STR_ISISD_swigconstant, METH_VARARGS, NULL},
    9462             :          { (char *)"QUAGGA_IP6_REDIST_HELP_STR_ISISD_swigconstant", QUAGGA_IP6_REDIST_HELP_STR_ISISD_swigconstant, METH_VARARGS, NULL},
    9463             :          { (char *)"QUAGGA_REDIST_STR_OSPF6D_swigconstant", QUAGGA_REDIST_STR_OSPF6D_swigconstant, METH_VARARGS, NULL},
    9464             :          { (char *)"QUAGGA_REDIST_HELP_STR_OSPF6D_swigconstant", QUAGGA_REDIST_HELP_STR_OSPF6D_swigconstant, METH_VARARGS, NULL},
    9465             :          { (char *)"QUAGGA_REDIST_STR_OSPFD_swigconstant", QUAGGA_REDIST_STR_OSPFD_swigconstant, METH_VARARGS, NULL},
    9466             :          { (char *)"QUAGGA_REDIST_HELP_STR_OSPFD_swigconstant", QUAGGA_REDIST_HELP_STR_OSPFD_swigconstant, METH_VARARGS, NULL},
    9467             :          { (char *)"QUAGGA_REDIST_STR_RIPD_swigconstant", QUAGGA_REDIST_STR_RIPD_swigconstant, METH_VARARGS, NULL},
    9468             :          { (char *)"QUAGGA_REDIST_HELP_STR_RIPD_swigconstant", QUAGGA_REDIST_HELP_STR_RIPD_swigconstant, METH_VARARGS, NULL},
    9469             :          { (char *)"QUAGGA_REDIST_STR_RIPNGD_swigconstant", QUAGGA_REDIST_STR_RIPNGD_swigconstant, METH_VARARGS, NULL},
    9470             :          { (char *)"QUAGGA_REDIST_HELP_STR_RIPNGD_swigconstant", QUAGGA_REDIST_HELP_STR_RIPNGD_swigconstant, METH_VARARGS, NULL},
    9471             :          { (char *)"QUAGGA_REDIST_STR_ZEBRA_swigconstant", QUAGGA_REDIST_STR_ZEBRA_swigconstant, METH_VARARGS, NULL},
    9472             :          { (char *)"QUAGGA_REDIST_HELP_STR_ZEBRA_swigconstant", QUAGGA_REDIST_HELP_STR_ZEBRA_swigconstant, METH_VARARGS, NULL},
    9473             :          { (char *)"QUAGGA_IP_REDIST_STR_ZEBRA_swigconstant", QUAGGA_IP_REDIST_STR_ZEBRA_swigconstant, METH_VARARGS, NULL},
    9474             :          { (char *)"QUAGGA_IP_REDIST_HELP_STR_ZEBRA_swigconstant", QUAGGA_IP_REDIST_HELP_STR_ZEBRA_swigconstant, METH_VARARGS, NULL},
    9475             :          { (char *)"QUAGGA_IP6_REDIST_STR_ZEBRA_swigconstant", QUAGGA_IP6_REDIST_STR_ZEBRA_swigconstant, METH_VARARGS, NULL},
    9476             :          { (char *)"QUAGGA_IP6_REDIST_HELP_STR_ZEBRA_swigconstant", QUAGGA_IP6_REDIST_HELP_STR_ZEBRA_swigconstant, METH_VARARGS, NULL},
    9477             :          { (char *)"INT8_MAX_swigconstant", INT8_MAX_swigconstant, METH_VARARGS, NULL},
    9478             :          { (char *)"INT16_MAX_swigconstant", INT16_MAX_swigconstant, METH_VARARGS, NULL},
    9479             :          { (char *)"INT32_MAX_swigconstant", INT32_MAX_swigconstant, METH_VARARGS, NULL},
    9480             :          { (char *)"UINT8_MAX_swigconstant", UINT8_MAX_swigconstant, METH_VARARGS, NULL},
    9481             :          { (char *)"UINT16_MAX_swigconstant", UINT16_MAX_swigconstant, METH_VARARGS, NULL},
    9482             :          { (char *)"UINT32_MAX_swigconstant", UINT32_MAX_swigconstant, METH_VARARGS, NULL},
    9483             :          { (char *)"BIG_ENDIAN_swigconstant", BIG_ENDIAN_swigconstant, METH_VARARGS, NULL},
    9484             :          { (char *)"LITTLE_ENDIAN_swigconstant", LITTLE_ENDIAN_swigconstant, METH_VARARGS, NULL},
    9485             :          { (char *)"PDP_ENDIAN_swigconstant", PDP_ENDIAN_swigconstant, METH_VARARGS, NULL},
    9486             :          { (char *)"BYTE_ORDER_swigconstant", BYTE_ORDER_swigconstant, METH_VARARGS, NULL},
    9487             :          { (char *)"ZEBRA_PORT_swigconstant", ZEBRA_PORT_swigconstant, METH_VARARGS, NULL},
    9488             :          { (char *)"ZEBRA_INTERFACE_ADD_swigconstant", ZEBRA_INTERFACE_ADD_swigconstant, METH_VARARGS, NULL},
    9489             :          { (char *)"ZEBRA_INTERFACE_DELETE_swigconstant", ZEBRA_INTERFACE_DELETE_swigconstant, METH_VARARGS, NULL},
    9490             :          { (char *)"ZEBRA_INTERFACE_ADDRESS_ADD_swigconstant", ZEBRA_INTERFACE_ADDRESS_ADD_swigconstant, METH_VARARGS, NULL},
    9491             :          { (char *)"ZEBRA_INTERFACE_ADDRESS_DELETE_swigconstant", ZEBRA_INTERFACE_ADDRESS_DELETE_swigconstant, METH_VARARGS, NULL},
    9492             :          { (char *)"ZEBRA_INTERFACE_UP_swigconstant", ZEBRA_INTERFACE_UP_swigconstant, METH_VARARGS, NULL},
    9493             :          { (char *)"ZEBRA_INTERFACE_DOWN_swigconstant", ZEBRA_INTERFACE_DOWN_swigconstant, METH_VARARGS, NULL},
    9494             :          { (char *)"ZEBRA_IPV4_ROUTE_ADD_swigconstant", ZEBRA_IPV4_ROUTE_ADD_swigconstant, METH_VARARGS, NULL},
    9495             :          { (char *)"ZEBRA_IPV4_ROUTE_DELETE_swigconstant", ZEBRA_IPV4_ROUTE_DELETE_swigconstant, METH_VARARGS, NULL},
    9496             :          { (char *)"ZEBRA_IPV6_ROUTE_ADD_swigconstant", ZEBRA_IPV6_ROUTE_ADD_swigconstant, METH_VARARGS, NULL},
    9497             :          { (char *)"ZEBRA_IPV6_ROUTE_DELETE_swigconstant", ZEBRA_IPV6_ROUTE_DELETE_swigconstant, METH_VARARGS, NULL},
    9498             :          { (char *)"ZEBRA_REDISTRIBUTE_ADD_swigconstant", ZEBRA_REDISTRIBUTE_ADD_swigconstant, METH_VARARGS, NULL},
    9499             :          { (char *)"ZEBRA_REDISTRIBUTE_DELETE_swigconstant", ZEBRA_REDISTRIBUTE_DELETE_swigconstant, METH_VARARGS, NULL},
    9500             :          { (char *)"ZEBRA_REDISTRIBUTE_DEFAULT_ADD_swigconstant", ZEBRA_REDISTRIBUTE_DEFAULT_ADD_swigconstant, METH_VARARGS, NULL},
    9501             :          { (char *)"ZEBRA_REDISTRIBUTE_DEFAULT_DELETE_swigconstant", ZEBRA_REDISTRIBUTE_DEFAULT_DELETE_swigconstant, METH_VARARGS, NULL},
    9502             :          { (char *)"ZEBRA_IPV4_NEXTHOP_LOOKUP_swigconstant", ZEBRA_IPV4_NEXTHOP_LOOKUP_swigconstant, METH_VARARGS, NULL},
    9503             :          { (char *)"ZEBRA_IPV6_NEXTHOP_LOOKUP_swigconstant", ZEBRA_IPV6_NEXTHOP_LOOKUP_swigconstant, METH_VARARGS, NULL},
    9504             :          { (char *)"ZEBRA_IPV4_IMPORT_LOOKUP_swigconstant", ZEBRA_IPV4_IMPORT_LOOKUP_swigconstant, METH_VARARGS, NULL},
    9505             :          { (char *)"ZEBRA_IPV6_IMPORT_LOOKUP_swigconstant", ZEBRA_IPV6_IMPORT_LOOKUP_swigconstant, METH_VARARGS, NULL},
    9506             :          { (char *)"ZEBRA_INTERFACE_RENAME_swigconstant", ZEBRA_INTERFACE_RENAME_swigconstant, METH_VARARGS, NULL},
    9507             :          { (char *)"ZEBRA_ROUTER_ID_ADD_swigconstant", ZEBRA_ROUTER_ID_ADD_swigconstant, METH_VARARGS, NULL},
    9508             :          { (char *)"ZEBRA_ROUTER_ID_DELETE_swigconstant", ZEBRA_ROUTER_ID_DELETE_swigconstant, METH_VARARGS, NULL},
    9509             :          { (char *)"ZEBRA_ROUTER_ID_UPDATE_swigconstant", ZEBRA_ROUTER_ID_UPDATE_swigconstant, METH_VARARGS, NULL},
    9510             :          { (char *)"ZEBRA_HELLO_swigconstant", ZEBRA_HELLO_swigconstant, METH_VARARGS, NULL},
    9511             :          { (char *)"ZEBRA_MESSAGE_MAX_swigconstant", ZEBRA_MESSAGE_MAX_swigconstant, METH_VARARGS, NULL},
    9512             :          { (char *)"ZEBRA_HEADER_MARKER_swigconstant", ZEBRA_HEADER_MARKER_swigconstant, METH_VARARGS, NULL},
    9513             :          { (char *)"ZEBRA_FAMILY_IPV4_swigconstant", ZEBRA_FAMILY_IPV4_swigconstant, METH_VARARGS, NULL},
    9514             :          { (char *)"ZEBRA_FAMILY_IPV6_swigconstant", ZEBRA_FAMILY_IPV6_swigconstant, METH_VARARGS, NULL},
    9515             :          { (char *)"ZEBRA_FAMILY_MAX_swigconstant", ZEBRA_FAMILY_MAX_swigconstant, METH_VARARGS, NULL},
    9516             :          { (char *)"ZEBRA_ERR_NOERROR_swigconstant", ZEBRA_ERR_NOERROR_swigconstant, METH_VARARGS, NULL},
    9517             :          { (char *)"ZEBRA_ERR_RTEXIST_swigconstant", ZEBRA_ERR_RTEXIST_swigconstant, METH_VARARGS, NULL},
    9518             :          { (char *)"ZEBRA_ERR_RTUNREACH_swigconstant", ZEBRA_ERR_RTUNREACH_swigconstant, METH_VARARGS, NULL},
    9519             :          { (char *)"ZEBRA_ERR_EPERM_swigconstant", ZEBRA_ERR_EPERM_swigconstant, METH_VARARGS, NULL},
    9520             :          { (char *)"ZEBRA_ERR_RTNOEXIST_swigconstant", ZEBRA_ERR_RTNOEXIST_swigconstant, METH_VARARGS, NULL},
    9521             :          { (char *)"ZEBRA_ERR_KERNEL_swigconstant", ZEBRA_ERR_KERNEL_swigconstant, METH_VARARGS, NULL},
    9522             :          { (char *)"ZEBRA_FLAG_INTERNAL_swigconstant", ZEBRA_FLAG_INTERNAL_swigconstant, METH_VARARGS, NULL},
    9523             :          { (char *)"ZEBRA_FLAG_SELFROUTE_swigconstant", ZEBRA_FLAG_SELFROUTE_swigconstant, METH_VARARGS, NULL},
    9524             :          { (char *)"ZEBRA_FLAG_BLACKHOLE_swigconstant", ZEBRA_FLAG_BLACKHOLE_swigconstant, METH_VARARGS, NULL},
    9525             :          { (char *)"ZEBRA_FLAG_IBGP_swigconstant", ZEBRA_FLAG_IBGP_swigconstant, METH_VARARGS, NULL},
    9526             :          { (char *)"ZEBRA_FLAG_SELECTED_swigconstant", ZEBRA_FLAG_SELECTED_swigconstant, METH_VARARGS, NULL},
    9527             :          { (char *)"ZEBRA_FLAG_CHANGED_swigconstant", ZEBRA_FLAG_CHANGED_swigconstant, METH_VARARGS, NULL},
    9528             :          { (char *)"ZEBRA_FLAG_STATIC_swigconstant", ZEBRA_FLAG_STATIC_swigconstant, METH_VARARGS, NULL},
    9529             :          { (char *)"ZEBRA_FLAG_REJECT_swigconstant", ZEBRA_FLAG_REJECT_swigconstant, METH_VARARGS, NULL},
    9530             :          { (char *)"ZEBRA_NEXTHOP_IFINDEX_swigconstant", ZEBRA_NEXTHOP_IFINDEX_swigconstant, METH_VARARGS, NULL},
    9531             :          { (char *)"ZEBRA_NEXTHOP_IFNAME_swigconstant", ZEBRA_NEXTHOP_IFNAME_swigconstant, METH_VARARGS, NULL},
    9532             :          { (char *)"ZEBRA_NEXTHOP_IPV4_swigconstant", ZEBRA_NEXTHOP_IPV4_swigconstant, METH_VARARGS, NULL},
    9533             :          { (char *)"ZEBRA_NEXTHOP_IPV4_IFINDEX_swigconstant", ZEBRA_NEXTHOP_IPV4_IFINDEX_swigconstant, METH_VARARGS, NULL},
    9534             :          { (char *)"ZEBRA_NEXTHOP_IPV4_IFNAME_swigconstant", ZEBRA_NEXTHOP_IPV4_IFNAME_swigconstant, METH_VARARGS, NULL},
    9535             :          { (char *)"ZEBRA_NEXTHOP_IPV6_swigconstant", ZEBRA_NEXTHOP_IPV6_swigconstant, METH_VARARGS, NULL},
    9536             :          { (char *)"ZEBRA_NEXTHOP_IPV6_IFINDEX_swigconstant", ZEBRA_NEXTHOP_IPV6_IFINDEX_swigconstant, METH_VARARGS, NULL},
    9537             :          { (char *)"ZEBRA_NEXTHOP_IPV6_IFNAME_swigconstant", ZEBRA_NEXTHOP_IPV6_IFNAME_swigconstant, METH_VARARGS, NULL},
    9538             :          { (char *)"ZEBRA_NEXTHOP_BLACKHOLE_swigconstant", ZEBRA_NEXTHOP_BLACKHOLE_swigconstant, METH_VARARGS, NULL},
    9539             :          { (char *)"INADDR_LOOPBACK_swigconstant", INADDR_LOOPBACK_swigconstant, METH_VARARGS, NULL},
    9540             :          { (char *)"AFI_IP_swigconstant", AFI_IP_swigconstant, METH_VARARGS, NULL},
    9541             :          { (char *)"AFI_IP6_swigconstant", AFI_IP6_swigconstant, METH_VARARGS, NULL},
    9542             :          { (char *)"AFI_MAX_swigconstant", AFI_MAX_swigconstant, METH_VARARGS, NULL},
    9543             :          { (char *)"SAFI_UNICAST_swigconstant", SAFI_UNICAST_swigconstant, METH_VARARGS, NULL},
    9544             :          { (char *)"SAFI_MULTICAST_swigconstant", SAFI_MULTICAST_swigconstant, METH_VARARGS, NULL},
    9545             :          { (char *)"SAFI_RESERVED_3_swigconstant", SAFI_RESERVED_3_swigconstant, METH_VARARGS, NULL},
    9546             :          { (char *)"SAFI_MPLS_VPN_swigconstant", SAFI_MPLS_VPN_swigconstant, METH_VARARGS, NULL},
    9547             :          { (char *)"SAFI_MAX_swigconstant", SAFI_MAX_swigconstant, METH_VARARGS, NULL},
    9548             :          { (char *)"FILTER_IN_swigconstant", FILTER_IN_swigconstant, METH_VARARGS, NULL},
    9549             :          { (char *)"FILTER_OUT_swigconstant", FILTER_OUT_swigconstant, METH_VARARGS, NULL},
    9550             :          { (char *)"FILTER_MAX_swigconstant", FILTER_MAX_swigconstant, METH_VARARGS, NULL},
    9551             :          { (char *)"ZEBRA_KERNEL_DISTANCE_DEFAULT_swigconstant", ZEBRA_KERNEL_DISTANCE_DEFAULT_swigconstant, METH_VARARGS, NULL},
    9552             :          { (char *)"ZEBRA_CONNECT_DISTANCE_DEFAULT_swigconstant", ZEBRA_CONNECT_DISTANCE_DEFAULT_swigconstant, METH_VARARGS, NULL},
    9553             :          { (char *)"ZEBRA_STATIC_DISTANCE_DEFAULT_swigconstant", ZEBRA_STATIC_DISTANCE_DEFAULT_swigconstant, METH_VARARGS, NULL},
    9554             :          { (char *)"ZEBRA_RIP_DISTANCE_DEFAULT_swigconstant", ZEBRA_RIP_DISTANCE_DEFAULT_swigconstant, METH_VARARGS, NULL},
    9555             :          { (char *)"ZEBRA_RIPNG_DISTANCE_DEFAULT_swigconstant", ZEBRA_RIPNG_DISTANCE_DEFAULT_swigconstant, METH_VARARGS, NULL},
    9556             :          { (char *)"ZEBRA_OSPF_DISTANCE_DEFAULT_swigconstant", ZEBRA_OSPF_DISTANCE_DEFAULT_swigconstant, METH_VARARGS, NULL},
    9557             :          { (char *)"ZEBRA_OSPF6_DISTANCE_DEFAULT_swigconstant", ZEBRA_OSPF6_DISTANCE_DEFAULT_swigconstant, METH_VARARGS, NULL},
    9558             :          { (char *)"ZEBRA_ISIS_DISTANCE_DEFAULT_swigconstant", ZEBRA_ISIS_DISTANCE_DEFAULT_swigconstant, METH_VARARGS, NULL},
    9559             :          { (char *)"ZEBRA_IBGP_DISTANCE_DEFAULT_swigconstant", ZEBRA_IBGP_DISTANCE_DEFAULT_swigconstant, METH_VARARGS, NULL},
    9560             :          { (char *)"ZEBRA_EBGP_DISTANCE_DEFAULT_swigconstant", ZEBRA_EBGP_DISTANCE_DEFAULT_swigconstant, METH_VARARGS, NULL},
    9561             :          { (char *)"fifo_next_set", _wrap_fifo_next_set, METH_VARARGS, NULL},
    9562             :          { (char *)"fifo_next_get", _wrap_fifo_next_get, METH_VARARGS, NULL},
    9563             :          { (char *)"fifo_prev_set", _wrap_fifo_prev_set, METH_VARARGS, NULL},
    9564             :          { (char *)"fifo_prev_get", _wrap_fifo_prev_get, METH_VARARGS, NULL},
    9565             :          { (char *)"new_fifo", _wrap_new_fifo, METH_VARARGS, NULL},
    9566             :          { (char *)"delete_fifo", _wrap_delete_fifo, METH_VARARGS, NULL},
    9567             :          { (char *)"fifo_swigregister", fifo_swigregister, METH_VARARGS, NULL},
    9568             :          { (char *)"ZEBRA_MAX_PACKET_SIZ_swigconstant", ZEBRA_MAX_PACKET_SIZ_swigconstant, METH_VARARGS, NULL},
    9569             :          { (char *)"ZEBRA_HEADER_SIZE_swigconstant", ZEBRA_HEADER_SIZE_swigconstant, METH_VARARGS, NULL},
    9570             :          { (char *)"zclient_sock_set", _wrap_zclient_sock_set, METH_VARARGS, NULL},
    9571             :          { (char *)"zclient_sock_get", _wrap_zclient_sock_get, METH_VARARGS, NULL},
    9572             :          { (char *)"zclient_enable_set", _wrap_zclient_enable_set, METH_VARARGS, NULL},
    9573             :          { (char *)"zclient_enable_get", _wrap_zclient_enable_get, METH_VARARGS, NULL},
    9574             :          { (char *)"zclient_fail_set", _wrap_zclient_fail_set, METH_VARARGS, NULL},
    9575             :          { (char *)"zclient_fail_get", _wrap_zclient_fail_get, METH_VARARGS, NULL},
    9576             :          { (char *)"zclient_ibuf_set", _wrap_zclient_ibuf_set, METH_VARARGS, NULL},
    9577             :          { (char *)"zclient_ibuf_get", _wrap_zclient_ibuf_get, METH_VARARGS, NULL},
    9578             :          { (char *)"zclient_obuf_set", _wrap_zclient_obuf_set, METH_VARARGS, NULL},
    9579             :          { (char *)"zclient_obuf_get", _wrap_zclient_obuf_get, METH_VARARGS, NULL},
    9580             :          { (char *)"zclient_wb_set", _wrap_zclient_wb_set, METH_VARARGS, NULL},
    9581             :          { (char *)"zclient_wb_get", _wrap_zclient_wb_get, METH_VARARGS, NULL},
    9582             :          { (char *)"zclient_t_read_set", _wrap_zclient_t_read_set, METH_VARARGS, NULL},
    9583             :          { (char *)"zclient_t_read_get", _wrap_zclient_t_read_get, METH_VARARGS, NULL},
    9584             :          { (char *)"zclient_t_connect_set", _wrap_zclient_t_connect_set, METH_VARARGS, NULL},
    9585             :          { (char *)"zclient_t_connect_get", _wrap_zclient_t_connect_get, METH_VARARGS, NULL},
    9586             :          { (char *)"zclient_t_write_set", _wrap_zclient_t_write_set, METH_VARARGS, NULL},
    9587             :          { (char *)"zclient_t_write_get", _wrap_zclient_t_write_get, METH_VARARGS, NULL},
    9588             :          { (char *)"zclient_redist_default_set", _wrap_zclient_redist_default_set, METH_VARARGS, NULL},
    9589             :          { (char *)"zclient_redist_default_get", _wrap_zclient_redist_default_get, METH_VARARGS, NULL},
    9590             :          { (char *)"zclient_redist_set", _wrap_zclient_redist_set, METH_VARARGS, NULL},
    9591             :          { (char *)"zclient_redist_get", _wrap_zclient_redist_get, METH_VARARGS, NULL},
    9592             :          { (char *)"zclient_default_information_set", _wrap_zclient_default_information_set, METH_VARARGS, NULL},
    9593             :          { (char *)"zclient_default_information_get", _wrap_zclient_default_information_get, METH_VARARGS, NULL},
    9594             :          { (char *)"zclient_router_id_update_set", _wrap_zclient_router_id_update_set, METH_VARARGS, NULL},
    9595             :          { (char *)"zclient_router_id_update_get", _wrap_zclient_router_id_update_get, METH_VARARGS, NULL},
    9596             :          { (char *)"zclient_interface_add_set", _wrap_zclient_interface_add_set, METH_VARARGS, NULL},
    9597             :          { (char *)"zclient_interface_add_get", _wrap_zclient_interface_add_get, METH_VARARGS, NULL},
    9598             :          { (char *)"zclient_interface_delete_set", _wrap_zclient_interface_delete_set, METH_VARARGS, NULL},
    9599             :          { (char *)"zclient_interface_delete_get", _wrap_zclient_interface_delete_get, METH_VARARGS, NULL},
    9600             :          { (char *)"zclient_interface_up_set", _wrap_zclient_interface_up_set, METH_VARARGS, NULL},
    9601             :          { (char *)"zclient_interface_up_get", _wrap_zclient_interface_up_get, METH_VARARGS, NULL},
    9602             :          { (char *)"zclient_interface_down_set", _wrap_zclient_interface_down_set, METH_VARARGS, NULL},
    9603             :          { (char *)"zclient_interface_down_get", _wrap_zclient_interface_down_get, METH_VARARGS, NULL},
    9604             :          { (char *)"zclient_interface_address_add_set", _wrap_zclient_interface_address_add_set, METH_VARARGS, NULL},
    9605             :          { (char *)"zclient_interface_address_add_get", _wrap_zclient_interface_address_add_get, METH_VARARGS, NULL},
    9606             :          { (char *)"zclient_interface_address_delete_set", _wrap_zclient_interface_address_delete_set, METH_VARARGS, NULL},
    9607             :          { (char *)"zclient_interface_address_delete_get", _wrap_zclient_interface_address_delete_get, METH_VARARGS, NULL},
    9608             :          { (char *)"zclient_ipv4_route_add_set", _wrap_zclient_ipv4_route_add_set, METH_VARARGS, NULL},
    9609             :          { (char *)"zclient_ipv4_route_add_get", _wrap_zclient_ipv4_route_add_get, METH_VARARGS, NULL},
    9610             :          { (char *)"zclient_ipv4_route_delete_set", _wrap_zclient_ipv4_route_delete_set, METH_VARARGS, NULL},
    9611             :          { (char *)"zclient_ipv4_route_delete_get", _wrap_zclient_ipv4_route_delete_get, METH_VARARGS, NULL},
    9612             :          { (char *)"zclient_ipv6_route_add_set", _wrap_zclient_ipv6_route_add_set, METH_VARARGS, NULL},
    9613             :          { (char *)"zclient_ipv6_route_add_get", _wrap_zclient_ipv6_route_add_get, METH_VARARGS, NULL},
    9614             :          { (char *)"zclient_ipv6_route_delete_set", _wrap_zclient_ipv6_route_delete_set, METH_VARARGS, NULL},
    9615             :          { (char *)"zclient_ipv6_route_delete_get", _wrap_zclient_ipv6_route_delete_get, METH_VARARGS, NULL},
    9616             :          { (char *)"new_zclient", _wrap_new_zclient, METH_VARARGS, NULL},
    9617             :          { (char *)"delete_zclient", _wrap_delete_zclient, METH_VARARGS, NULL},
    9618             :          { (char *)"zclient_swigregister", zclient_swigregister, METH_VARARGS, NULL},
    9619             :          { (char *)"ZAPI_MESSAGE_NEXTHOP_swigconstant", ZAPI_MESSAGE_NEXTHOP_swigconstant, METH_VARARGS, NULL},
    9620             :          { (char *)"ZAPI_MESSAGE_IFINDEX_swigconstant", ZAPI_MESSAGE_IFINDEX_swigconstant, METH_VARARGS, NULL},
    9621             :          { (char *)"ZAPI_MESSAGE_DISTANCE_swigconstant", ZAPI_MESSAGE_DISTANCE_swigconstant, METH_VARARGS, NULL},
    9622             :          { (char *)"ZAPI_MESSAGE_METRIC_swigconstant", ZAPI_MESSAGE_METRIC_swigconstant, METH_VARARGS, NULL},
    9623             :          { (char *)"ZAPI_MESSAGE_SRCPFX_swigconstant", ZAPI_MESSAGE_SRCPFX_swigconstant, METH_VARARGS, NULL},
    9624             :          { (char *)"zserv_header_length_set", _wrap_zserv_header_length_set, METH_VARARGS, NULL},
    9625             :          { (char *)"zserv_header_length_get", _wrap_zserv_header_length_get, METH_VARARGS, NULL},
    9626             :          { (char *)"zserv_header_marker_set", _wrap_zserv_header_marker_set, METH_VARARGS, NULL},
    9627             :          { (char *)"zserv_header_marker_get", _wrap_zserv_header_marker_get, METH_VARARGS, NULL},
    9628             :          { (char *)"zserv_header_version_set", _wrap_zserv_header_version_set, METH_VARARGS, NULL},
    9629             :          { (char *)"zserv_header_version_get", _wrap_zserv_header_version_get, METH_VARARGS, NULL},
    9630             :          { (char *)"ZSERV_VERSION_swigconstant", ZSERV_VERSION_swigconstant, METH_VARARGS, NULL},
    9631             :          { (char *)"zserv_header_command_set", _wrap_zserv_header_command_set, METH_VARARGS, NULL},
    9632             :          { (char *)"zserv_header_command_get", _wrap_zserv_header_command_get, METH_VARARGS, NULL},
    9633             :          { (char *)"new_zserv_header", _wrap_new_zserv_header, METH_VARARGS, NULL},
    9634             :          { (char *)"delete_zserv_header", _wrap_delete_zserv_header, METH_VARARGS, NULL},
    9635             :          { (char *)"zserv_header_swigregister", zserv_header_swigregister, METH_VARARGS, NULL},
    9636             :          { (char *)"zapi_ipv4_type_set", _wrap_zapi_ipv4_type_set, METH_VARARGS, NULL},
    9637             :          { (char *)"zapi_ipv4_type_get", _wrap_zapi_ipv4_type_get, METH_VARARGS, NULL},
    9638             :          { (char *)"zapi_ipv4_flags_set", _wrap_zapi_ipv4_flags_set, METH_VARARGS, NULL},
    9639             :          { (char *)"zapi_ipv4_flags_get", _wrap_zapi_ipv4_flags_get, METH_VARARGS, NULL},
    9640             :          { (char *)"zapi_ipv4_message_set", _wrap_zapi_ipv4_message_set, METH_VARARGS, NULL},
    9641             :          { (char *)"zapi_ipv4_message_get", _wrap_zapi_ipv4_message_get, METH_VARARGS, NULL},
    9642             :          { (char *)"zapi_ipv4_safi_set", _wrap_zapi_ipv4_safi_set, METH_VARARGS, NULL},
    9643             :          { (char *)"zapi_ipv4_safi_get", _wrap_zapi_ipv4_safi_get, METH_VARARGS, NULL},
    9644             :          { (char *)"zapi_ipv4_nexthop_num_set", _wrap_zapi_ipv4_nexthop_num_set, METH_VARARGS, NULL},
    9645             :          { (char *)"zapi_ipv4_nexthop_num_get", _wrap_zapi_ipv4_nexthop_num_get, METH_VARARGS, NULL},
    9646             :          { (char *)"zapi_ipv4_nexthop_set", _wrap_zapi_ipv4_nexthop_set, METH_VARARGS, NULL},
    9647             :          { (char *)"zapi_ipv4_nexthop_get", _wrap_zapi_ipv4_nexthop_get, METH_VARARGS, NULL},
    9648             :          { (char *)"zapi_ipv4_ifindex_num_set", _wrap_zapi_ipv4_ifindex_num_set, METH_VARARGS, NULL},
    9649             :          { (char *)"zapi_ipv4_ifindex_num_get", _wrap_zapi_ipv4_ifindex_num_get, METH_VARARGS, NULL},
    9650             :          { (char *)"zapi_ipv4_ifindex_set", _wrap_zapi_ipv4_ifindex_set, METH_VARARGS, NULL},
    9651             :          { (char *)"zapi_ipv4_ifindex_get", _wrap_zapi_ipv4_ifindex_get, METH_VARARGS, NULL},
    9652             :          { (char *)"zapi_ipv4_distance_set", _wrap_zapi_ipv4_distance_set, METH_VARARGS, NULL},
    9653             :          { (char *)"zapi_ipv4_distance_get", _wrap_zapi_ipv4_distance_get, METH_VARARGS, NULL},
    9654             :          { (char *)"zapi_ipv4_metric_set", _wrap_zapi_ipv4_metric_set, METH_VARARGS, NULL},
    9655             :          { (char *)"zapi_ipv4_metric_get", _wrap_zapi_ipv4_metric_get, METH_VARARGS, NULL},
    9656             :          { (char *)"new_zapi_ipv4", _wrap_new_zapi_ipv4, METH_VARARGS, NULL},
    9657             :          { (char *)"delete_zapi_ipv4", _wrap_delete_zapi_ipv4, METH_VARARGS, NULL},
    9658             :          { (char *)"zapi_ipv4_swigregister", zapi_ipv4_swigregister, METH_VARARGS, NULL},
    9659             :          { (char *)"zapi_ipv6_type_set", _wrap_zapi_ipv6_type_set, METH_VARARGS, NULL},
    9660             :          { (char *)"zapi_ipv6_type_get", _wrap_zapi_ipv6_type_get, METH_VARARGS, NULL},
    9661             :          { (char *)"zapi_ipv6_flags_set", _wrap_zapi_ipv6_flags_set, METH_VARARGS, NULL},
    9662             :          { (char *)"zapi_ipv6_flags_get", _wrap_zapi_ipv6_flags_get, METH_VARARGS, NULL},
    9663             :          { (char *)"zapi_ipv6_message_set", _wrap_zapi_ipv6_message_set, METH_VARARGS, NULL},
    9664             :          { (char *)"zapi_ipv6_message_get", _wrap_zapi_ipv6_message_get, METH_VARARGS, NULL},
    9665             :          { (char *)"zapi_ipv6_safi_set", _wrap_zapi_ipv6_safi_set, METH_VARARGS, NULL},
    9666             :          { (char *)"zapi_ipv6_safi_get", _wrap_zapi_ipv6_safi_get, METH_VARARGS, NULL},
    9667             :          { (char *)"zapi_ipv6_nexthop_num_set", _wrap_zapi_ipv6_nexthop_num_set, METH_VARARGS, NULL},
    9668             :          { (char *)"zapi_ipv6_nexthop_num_get", _wrap_zapi_ipv6_nexthop_num_get, METH_VARARGS, NULL},
    9669             :          { (char *)"zapi_ipv6_nexthop_set", _wrap_zapi_ipv6_nexthop_set, METH_VARARGS, NULL},
    9670             :          { (char *)"zapi_ipv6_nexthop_get", _wrap_zapi_ipv6_nexthop_get, METH_VARARGS, NULL},
    9671             :          { (char *)"zapi_ipv6_ifindex_num_set", _wrap_zapi_ipv6_ifindex_num_set, METH_VARARGS, NULL},
    9672             :          { (char *)"zapi_ipv6_ifindex_num_get", _wrap_zapi_ipv6_ifindex_num_get, METH_VARARGS, NULL},
    9673             :          { (char *)"zapi_ipv6_ifindex_set", _wrap_zapi_ipv6_ifindex_set, METH_VARARGS, NULL},
    9674             :          { (char *)"zapi_ipv6_ifindex_get", _wrap_zapi_ipv6_ifindex_get, METH_VARARGS, NULL},
    9675             :          { (char *)"zapi_ipv6_distance_set", _wrap_zapi_ipv6_distance_set, METH_VARARGS, NULL},
    9676             :          { (char *)"zapi_ipv6_distance_get", _wrap_zapi_ipv6_distance_get, METH_VARARGS, NULL},
    9677             :          { (char *)"zapi_ipv6_metric_set", _wrap_zapi_ipv6_metric_set, METH_VARARGS, NULL},
    9678             :          { (char *)"zapi_ipv6_metric_get", _wrap_zapi_ipv6_metric_get, METH_VARARGS, NULL},
    9679             :          { (char *)"new_zapi_ipv6", _wrap_new_zapi_ipv6, METH_VARARGS, NULL},
    9680             :          { (char *)"delete_zapi_ipv6", _wrap_delete_zapi_ipv6, METH_VARARGS, NULL},
    9681             :          { (char *)"zapi_ipv6_swigregister", zapi_ipv6_swigregister, METH_VARARGS, NULL},
    9682             :          { NULL, NULL, 0, NULL }
    9683             : };
    9684             : 
    9685             : 
    9686             : /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
    9687             : 
    9688             : static swig_type_info _swigt__p_buffer = {"_p_buffer", "struct buffer *", 0, 0, (void*)0, 0};
    9689             : static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
    9690             : static swig_type_info _swigt__p_f_int_p_struct_zclient_uint16_t__int = {"_p_f_int_p_struct_zclient_uint16_t__int", "int (*)(int,struct zclient *,uint16_t)", 0, 0, (void*)0, 0};
    9691             : static swig_type_info _swigt__p_fifo = {"_p_fifo", "struct fifo *|fifo *", 0, 0, (void*)0, 0};
    9692             : static swig_type_info _swigt__p_p_in6_addr = {"_p_p_in6_addr", "struct in6_addr **", 0, 0, (void*)0, 0};
    9693             : static swig_type_info _swigt__p_p_in_addr = {"_p_p_in_addr", "struct in_addr **", 0, 0, (void*)0, 0};
    9694             : static swig_type_info _swigt__p_stream = {"_p_stream", "struct stream *", 0, 0, (void*)0, 0};
    9695             : static swig_type_info _swigt__p_thread = {"_p_thread", "struct thread *", 0, 0, (void*)0, 0};
    9696             : static swig_type_info _swigt__p_u_char = {"_p_u_char", "u_char *", 0, 0, (void*)0, 0};
    9697             : static swig_type_info _swigt__p_u_int16_t = {"_p_u_int16_t", "zebra_command_t *|zebra_size_t *|afi_t *|u_int16_t *", 0, 0, (void*)0, 0};
    9698             : static swig_type_info _swigt__p_u_int32_t = {"_p_u_int32_t", "u_int32_t *", 0, 0, (void*)0, 0};
    9699             : static swig_type_info _swigt__p_u_int8_t = {"_p_u_int8_t", "safi_t *|u_int8_t *", 0, 0, (void*)0, 0};
    9700             : static swig_type_info _swigt__p_uint16_t = {"_p_uint16_t", "uint16_t *", 0, 0, (void*)0, 0};
    9701             : static swig_type_info _swigt__p_uint8_t = {"_p_uint8_t", "uint8_t *", 0, 0, (void*)0, 0};
    9702             : static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *", 0, 0, (void*)0, 0};
    9703             : static swig_type_info _swigt__p_zapi_ipv4 = {"_p_zapi_ipv4", "struct zapi_ipv4 *|zapi_ipv4 *", 0, 0, (void*)0, 0};
    9704             : static swig_type_info _swigt__p_zapi_ipv6 = {"_p_zapi_ipv6", "struct zapi_ipv6 *|zapi_ipv6 *", 0, 0, (void*)0, 0};
    9705             : static swig_type_info _swigt__p_zclient = {"_p_zclient", "struct zclient *|zclient *", 0, 0, (void*)0, 0};
    9706             : static swig_type_info _swigt__p_zserv_header = {"_p_zserv_header", "struct zserv_header *|zserv_header *", 0, 0, (void*)0, 0};
    9707             : 
    9708             : static swig_type_info *swig_type_initial[] = {
    9709             :   &_swigt__p_buffer,
    9710             :   &_swigt__p_char,
    9711             :   &_swigt__p_f_int_p_struct_zclient_uint16_t__int,
    9712             :   &_swigt__p_fifo,
    9713             :   &_swigt__p_p_in6_addr,
    9714             :   &_swigt__p_p_in_addr,
    9715             :   &_swigt__p_stream,
    9716             :   &_swigt__p_thread,
    9717             :   &_swigt__p_u_char,
    9718             :   &_swigt__p_u_int16_t,
    9719             :   &_swigt__p_u_int32_t,
    9720             :   &_swigt__p_u_int8_t,
    9721             :   &_swigt__p_uint16_t,
    9722             :   &_swigt__p_uint8_t,
    9723             :   &_swigt__p_unsigned_int,
    9724             :   &_swigt__p_zapi_ipv4,
    9725             :   &_swigt__p_zapi_ipv6,
    9726             :   &_swigt__p_zclient,
    9727             :   &_swigt__p_zserv_header,
    9728             : };
    9729             : 
    9730             : static swig_cast_info _swigc__p_buffer[] = {  {&_swigt__p_buffer, 0, 0, 0},{0, 0, 0, 0}};
    9731             : static swig_cast_info _swigc__p_char[] = {  {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
    9732             : static swig_cast_info _swigc__p_f_int_p_struct_zclient_uint16_t__int[] = {  {&_swigt__p_f_int_p_struct_zclient_uint16_t__int, 0, 0, 0},{0, 0, 0, 0}};
    9733             : static swig_cast_info _swigc__p_fifo[] = {  {&_swigt__p_fifo, 0, 0, 0},{0, 0, 0, 0}};
    9734             : static swig_cast_info _swigc__p_p_in6_addr[] = {  {&_swigt__p_p_in6_addr, 0, 0, 0},{0, 0, 0, 0}};
    9735             : static swig_cast_info _swigc__p_p_in_addr[] = {  {&_swigt__p_p_in_addr, 0, 0, 0},{0, 0, 0, 0}};
    9736             : static swig_cast_info _swigc__p_stream[] = {  {&_swigt__p_stream, 0, 0, 0},{0, 0, 0, 0}};
    9737             : static swig_cast_info _swigc__p_thread[] = {  {&_swigt__p_thread, 0, 0, 0},{0, 0, 0, 0}};
    9738             : static swig_cast_info _swigc__p_u_char[] = {  {&_swigt__p_u_char, 0, 0, 0},{0, 0, 0, 0}};
    9739             : static swig_cast_info _swigc__p_u_int16_t[] = {  {&_swigt__p_u_int16_t, 0, 0, 0},{0, 0, 0, 0}};
    9740             : static swig_cast_info _swigc__p_u_int32_t[] = {  {&_swigt__p_u_int32_t, 0, 0, 0},{0, 0, 0, 0}};
    9741             : static swig_cast_info _swigc__p_u_int8_t[] = {  {&_swigt__p_u_int8_t, 0, 0, 0},{0, 0, 0, 0}};
    9742             : static swig_cast_info _swigc__p_uint16_t[] = {  {&_swigt__p_uint16_t, 0, 0, 0},{0, 0, 0, 0}};
    9743             : static swig_cast_info _swigc__p_uint8_t[] = {  {&_swigt__p_uint8_t, 0, 0, 0},{0, 0, 0, 0}};
    9744             : static swig_cast_info _swigc__p_unsigned_int[] = {  {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
    9745             : static swig_cast_info _swigc__p_zapi_ipv4[] = {  {&_swigt__p_zapi_ipv4, 0, 0, 0},{0, 0, 0, 0}};
    9746             : static swig_cast_info _swigc__p_zapi_ipv6[] = {  {&_swigt__p_zapi_ipv6, 0, 0, 0},{0, 0, 0, 0}};
    9747             : static swig_cast_info _swigc__p_zclient[] = {  {&_swigt__p_zclient, 0, 0, 0},{0, 0, 0, 0}};
    9748             : static swig_cast_info _swigc__p_zserv_header[] = {  {&_swigt__p_zserv_header, 0, 0, 0},{0, 0, 0, 0}};
    9749             : 
    9750             : static swig_cast_info *swig_cast_initial[] = {
    9751             :   _swigc__p_buffer,
    9752             :   _swigc__p_char,
    9753             :   _swigc__p_f_int_p_struct_zclient_uint16_t__int,
    9754             :   _swigc__p_fifo,
    9755             :   _swigc__p_p_in6_addr,
    9756             :   _swigc__p_p_in_addr,
    9757             :   _swigc__p_stream,
    9758             :   _swigc__p_thread,
    9759             :   _swigc__p_u_char,
    9760             :   _swigc__p_u_int16_t,
    9761             :   _swigc__p_u_int32_t,
    9762             :   _swigc__p_u_int8_t,
    9763             :   _swigc__p_uint16_t,
    9764             :   _swigc__p_uint8_t,
    9765             :   _swigc__p_unsigned_int,
    9766             :   _swigc__p_zapi_ipv4,
    9767             :   _swigc__p_zapi_ipv6,
    9768             :   _swigc__p_zclient,
    9769             :   _swigc__p_zserv_header,
    9770             : };
    9771             : 
    9772             : 
    9773             : /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
    9774             : 
    9775             : static swig_const_info swig_const_table[] = {
    9776             : {0, 0, 0, 0.0, 0, 0}};
    9777             : 
    9778             : #ifdef __cplusplus
    9779             : }
    9780             : #endif
    9781             : /* -----------------------------------------------------------------------------
    9782             :  * Type initialization:
    9783             :  * This problem is tough by the requirement that no dynamic
    9784             :  * memory is used. Also, since swig_type_info structures store pointers to
    9785             :  * swig_cast_info structures and swig_cast_info structures store pointers back
    9786             :  * to swig_type_info structures, we need some lookup code at initialization.
    9787             :  * The idea is that swig generates all the structures that are needed.
    9788             :  * The runtime then collects these partially filled structures.
    9789             :  * The SWIG_InitializeModule function takes these initial arrays out of
    9790             :  * swig_module, and does all the lookup, filling in the swig_module.types
    9791             :  * array with the correct data and linking the correct swig_cast_info
    9792             :  * structures together.
    9793             :  *
    9794             :  * The generated swig_type_info structures are assigned statically to an initial
    9795             :  * array. We just loop through that array, and handle each type individually.
    9796             :  * First we lookup if this type has been already loaded, and if so, use the
    9797             :  * loaded structure instead of the generated one. Then we have to fill in the
    9798             :  * cast linked list. The cast data is initially stored in something like a
    9799             :  * two-dimensional array. Each row corresponds to a type (there are the same
    9800             :  * number of rows as there are in the swig_type_initial array). Each entry in
    9801             :  * a column is one of the swig_cast_info structures for that type.
    9802             :  * The cast_initial array is actually an array of arrays, because each row has
    9803             :  * a variable number of columns. So to actually build the cast linked list,
    9804             :  * we find the array of casts associated with the type, and loop through it
    9805             :  * adding the casts to the list. The one last trick we need to do is making
    9806             :  * sure the type pointer in the swig_cast_info struct is correct.
    9807             :  *
    9808             :  * First off, we lookup the cast->type name to see if it is already loaded.
    9809             :  * There are three cases to handle:
    9810             :  *  1) If the cast->type has already been loaded AND the type we are adding
    9811             :  *     casting info to has not been loaded (it is in this module), THEN we
    9812             :  *     replace the cast->type pointer with the type pointer that has already
    9813             :  *     been loaded.
    9814             :  *  2) If BOTH types (the one we are adding casting info to, and the
    9815             :  *     cast->type) are loaded, THEN the cast info has already been loaded by
    9816             :  *     the previous module so we just ignore it.
    9817             :  *  3) Finally, if cast->type has not already been loaded, then we add that
    9818             :  *     swig_cast_info to the linked list (because the cast->type) pointer will
    9819             :  *     be correct.
    9820             :  * ----------------------------------------------------------------------------- */
    9821             : 
    9822             : #ifdef __cplusplus
    9823             : extern "C" {
    9824             : #if 0
    9825             : } /* c-mode */
    9826             : #endif
    9827             : #endif
    9828             : 
    9829             : #if 0
    9830             : #define SWIGRUNTIME_DEBUG
    9831             : #endif
    9832             : 
    9833             : 
    9834             : SWIGRUNTIME void
    9835           1 : SWIG_InitializeModule(void *clientdata) {
    9836             :   size_t i;
    9837             :   swig_module_info *module_head, *iter;
    9838             :   int init;
    9839             :   
    9840             :   /* check to see if the circular list has been setup, if not, set it up */
    9841           1 :   if (swig_module.next==0) {
    9842             :     /* Initialize the swig_module */
    9843           1 :     swig_module.type_initial = swig_type_initial;
    9844           1 :     swig_module.cast_initial = swig_cast_initial;
    9845           1 :     swig_module.next = &swig_module;
    9846           1 :     init = 1;
    9847             :   } else {
    9848           0 :     init = 0;
    9849             :   }
    9850             :   
    9851             :   /* Try and load any already created modules */
    9852           1 :   module_head = SWIG_GetModule(clientdata);
    9853           1 :   if (!module_head) {
    9854             :     /* This is the first module loaded for this interpreter */
    9855             :     /* so set the swig module into the interpreter */
    9856           1 :     SWIG_SetModule(clientdata, &swig_module);
    9857             :   } else {
    9858             :     /* the interpreter has loaded a SWIG module, but has it loaded this one? */
    9859           0 :     iter=module_head;
    9860             :     do {
    9861           0 :       if (iter==&swig_module) {
    9862             :         /* Our module is already in the list, so there's nothing more to do. */
    9863           0 :         return;
    9864             :       }
    9865           0 :       iter=iter->next;
    9866           0 :     } while (iter!= module_head);
    9867             :     
    9868             :     /* otherwise we must add our module into the list */
    9869           0 :     swig_module.next = module_head->next;
    9870           0 :     module_head->next = &swig_module;
    9871             :   }
    9872             :   
    9873             :   /* When multiple interpreters are used, a module could have already been initialized in
    9874             :        a different interpreter, but not yet have a pointer in this interpreter.
    9875             :        In this case, we do not want to continue adding types... everything should be
    9876             :        set up already */
    9877           1 :   if (init == 0) return;
    9878             :   
    9879             :   /* Now work on filling in swig_module.types */
    9880             : #ifdef SWIGRUNTIME_DEBUG
    9881             :   printf("SWIG_InitializeModule: size %d\n", swig_module.size);
    9882             : #endif
    9883          20 :   for (i = 0; i < swig_module.size; ++i) {
    9884          19 :     swig_type_info *type = 0;
    9885             :     swig_type_info *ret;
    9886             :     swig_cast_info *cast;
    9887             :     
    9888             : #ifdef SWIGRUNTIME_DEBUG
    9889             :     printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
    9890             : #endif
    9891             :     
    9892             :     /* if there is another module already loaded */
    9893          19 :     if (swig_module.next != &swig_module) {
    9894           0 :       type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
    9895             :     }
    9896          19 :     if (type) {
    9897             :       /* Overwrite clientdata field */
    9898             : #ifdef SWIGRUNTIME_DEBUG
    9899             :       printf("SWIG_InitializeModule: found type %s\n", type->name);
    9900             : #endif
    9901           0 :       if (swig_module.type_initial[i]->clientdata) {
    9902           0 :         type->clientdata = swig_module.type_initial[i]->clientdata;
    9903             : #ifdef SWIGRUNTIME_DEBUG
    9904             :         printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
    9905             : #endif
    9906             :       }
    9907             :     } else {
    9908          19 :       type = swig_module.type_initial[i];
    9909             :     }
    9910             :     
    9911             :     /* Insert casting types */
    9912          19 :     cast = swig_module.cast_initial[i];
    9913          57 :     while (cast->type) {
    9914             :       /* Don't need to add information already in the list */
    9915          19 :       ret = 0;
    9916             : #ifdef SWIGRUNTIME_DEBUG
    9917             :       printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
    9918             : #endif
    9919          19 :       if (swig_module.next != &swig_module) {
    9920           0 :         ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
    9921             : #ifdef SWIGRUNTIME_DEBUG
    9922             :         if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
    9923             : #endif
    9924             :       }
    9925          19 :       if (ret) {
    9926           0 :         if (type == swig_module.type_initial[i]) {
    9927             : #ifdef SWIGRUNTIME_DEBUG
    9928             :           printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
    9929             : #endif
    9930           0 :           cast->type = ret;
    9931           0 :           ret = 0;
    9932             :         } else {
    9933             :           /* Check for casting already in the list */
    9934           0 :           swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
    9935             : #ifdef SWIGRUNTIME_DEBUG
    9936             :           if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
    9937             : #endif
    9938           0 :           if (!ocast) ret = 0;
    9939             :         }
    9940             :       }
    9941             :       
    9942          19 :       if (!ret) {
    9943             : #ifdef SWIGRUNTIME_DEBUG
    9944             :         printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
    9945             : #endif
    9946          19 :         if (type->cast) {
    9947           0 :           type->cast->prev = cast;
    9948           0 :           cast->next = type->cast;
    9949             :         }
    9950          19 :         type->cast = cast;
    9951             :       }
    9952          19 :       cast++;
    9953             :     }
    9954             :     /* Set entry in modules->types array equal to the type */
    9955          19 :     swig_module.types[i] = type;
    9956             :   }
    9957           1 :   swig_module.types[i] = 0;
    9958             :   
    9959             : #ifdef SWIGRUNTIME_DEBUG
    9960             :   printf("**** SWIG_InitializeModule: Cast List ******\n");
    9961             :   for (i = 0; i < swig_module.size; ++i) {
    9962             :     int j = 0;
    9963             :     swig_cast_info *cast = swig_module.cast_initial[i];
    9964             :     printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
    9965             :     while (cast->type) {
    9966             :       printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
    9967             :       cast++;
    9968             :       ++j;
    9969             :     }
    9970             :     printf("---- Total casts: %d\n",j);
    9971             :   }
    9972             :   printf("**** SWIG_InitializeModule: Cast List ******\n");
    9973             : #endif
    9974             : }
    9975             : 
    9976             : /* This function will propagate the clientdata field of type to
    9977             : * any new swig_type_info structures that have been added into the list
    9978             : * of equivalent types.  It is like calling
    9979             : * SWIG_TypeClientData(type, clientdata) a second time.
    9980             : */
    9981             : SWIGRUNTIME void
    9982           0 : SWIG_PropagateClientData(void) {
    9983             :   size_t i;
    9984             :   swig_cast_info *equiv;
    9985             :   static int init_run = 0;
    9986             :   
    9987           0 :   if (init_run) return;
    9988           0 :   init_run = 1;
    9989             :   
    9990           0 :   for (i = 0; i < swig_module.size; i++) {
    9991           0 :     if (swig_module.types[i]->clientdata) {
    9992           0 :       equiv = swig_module.types[i]->cast;
    9993           0 :       while (equiv) {
    9994           0 :         if (!equiv->converter) {
    9995           0 :           if (equiv->type && !equiv->type->clientdata)
    9996           0 :           SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
    9997             :         }
    9998           0 :         equiv = equiv->next;
    9999             :       }
   10000             :     }
   10001             :   }
   10002             : }
   10003             : 
   10004             : #ifdef __cplusplus
   10005             : #if 0
   10006             : {
   10007             :   /* c-mode */
   10008             : #endif
   10009             : }
   10010             : #endif
   10011             : 
   10012             : 
   10013             : 
   10014             : #ifdef __cplusplus
   10015             : extern "C" {
   10016             : #endif
   10017             :   
   10018             :   /* Python-specific SWIG API */
   10019             : #define SWIG_newvarlink()                             SWIG_Python_newvarlink()
   10020             : #define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr)
   10021             : #define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants)
   10022             :   
   10023             :   /* -----------------------------------------------------------------------------
   10024             :    * global variable support code.
   10025             :    * ----------------------------------------------------------------------------- */
   10026             :   
   10027             :   typedef struct swig_globalvar {
   10028             :     char       *name;                  /* Name of global variable */
   10029             :     PyObject *(*get_attr)(void);       /* Return the current value */
   10030             :     int       (*set_attr)(PyObject *); /* Set the value */
   10031             :     struct swig_globalvar *next;
   10032             :   } swig_globalvar;
   10033             :   
   10034             :   typedef struct swig_varlinkobject {
   10035             :     PyObject_HEAD
   10036             :     swig_globalvar *vars;
   10037             :   } swig_varlinkobject;
   10038             :   
   10039             :   SWIGINTERN PyObject *
   10040           0 :   swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
   10041             : #if PY_VERSION_HEX >= 0x03000000
   10042             :     return PyUnicode_InternFromString("<Swig global variables>");
   10043             : #else
   10044           0 :     return PyString_FromString("<Swig global variables>");
   10045             : #endif
   10046             :   }
   10047             :   
   10048             :   SWIGINTERN PyObject *
   10049           0 :   swig_varlink_str(swig_varlinkobject *v) {
   10050             : #if PY_VERSION_HEX >= 0x03000000
   10051             :     PyObject *str = PyUnicode_InternFromString("(");
   10052             :     PyObject *tail;
   10053             :     PyObject *joined;
   10054             :     swig_globalvar *var;
   10055             :     for (var = v->vars; var; var=var->next) {
   10056             :       tail = PyUnicode_FromString(var->name);
   10057             :       joined = PyUnicode_Concat(str, tail);
   10058             :       Py_DecRef(str);
   10059             :       Py_DecRef(tail);
   10060             :       str = joined;
   10061             :       if (var->next) {
   10062             :         tail = PyUnicode_InternFromString(", ");
   10063             :         joined = PyUnicode_Concat(str, tail);
   10064             :         Py_DecRef(str);
   10065             :         Py_DecRef(tail);
   10066             :         str = joined;
   10067             :       }
   10068             :     }
   10069             :     tail = PyUnicode_InternFromString(")");
   10070             :     joined = PyUnicode_Concat(str, tail);
   10071             :     Py_DecRef(str);
   10072             :     Py_DecRef(tail);
   10073             :     str = joined;
   10074             : #else
   10075           0 :     PyObject *str = PyString_FromString("(");
   10076             :     swig_globalvar *var;
   10077           0 :     for (var = v->vars; var; var=var->next) {
   10078           0 :       PyString_ConcatAndDel(&str,PyString_FromString(var->name));
   10079           0 :       if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
   10080             :     }
   10081           0 :     PyString_ConcatAndDel(&str,PyString_FromString(")"));
   10082             : #endif
   10083           0 :     return str;
   10084             :   }
   10085             :   
   10086             :   SWIGINTERN int
   10087           0 :   swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
   10088             :     char *tmp;
   10089           0 :     PyObject *str = swig_varlink_str(v);
   10090           0 :     fprintf(fp,"Swig global variables ");
   10091           0 :     fprintf(fp,"%s\n", tmp = SWIG_Python_str_AsChar(str));
   10092             :     SWIG_Python_str_DelForPy3(tmp);
   10093           0 :     Py_DECREF(str);
   10094           0 :     return 0;
   10095             :   }
   10096             :   
   10097             :   SWIGINTERN void
   10098           0 :   swig_varlink_dealloc(swig_varlinkobject *v) {
   10099           0 :     swig_globalvar *var = v->vars;
   10100           0 :     while (var) {
   10101           0 :       swig_globalvar *n = var->next;
   10102           0 :       free(var->name);
   10103           0 :       free(var);
   10104           0 :       var = n;
   10105             :     }
   10106           0 :   }
   10107             :   
   10108             :   SWIGINTERN PyObject *
   10109           0 :   swig_varlink_getattr(swig_varlinkobject *v, char *n) {
   10110           0 :     PyObject *res = NULL;
   10111           0 :     swig_globalvar *var = v->vars;
   10112           0 :     while (var) {
   10113           0 :       if (strcmp(var->name,n) == 0) {
   10114           0 :         res = (*var->get_attr)();
   10115           0 :         break;
   10116             :       }
   10117           0 :       var = var->next;
   10118             :     }
   10119           0 :     if (res == NULL && !PyErr_Occurred()) {
   10120           0 :       PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n);
   10121             :     }
   10122           0 :     return res;
   10123             :   }
   10124             :   
   10125             :   SWIGINTERN int
   10126           0 :   swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
   10127           0 :     int res = 1;
   10128           0 :     swig_globalvar *var = v->vars;
   10129           0 :     while (var) {
   10130           0 :       if (strcmp(var->name,n) == 0) {
   10131           0 :         res = (*var->set_attr)(p);
   10132           0 :         break;
   10133             :       }
   10134           0 :       var = var->next;
   10135             :     }
   10136           0 :     if (res == 1 && !PyErr_Occurred()) {
   10137           0 :       PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n);
   10138             :     }
   10139           0 :     return res;
   10140             :   }
   10141             :   
   10142             :   SWIGINTERN PyTypeObject*
   10143           0 :   swig_varlink_type(void) {
   10144             :     static char varlink__doc__[] = "Swig var link object";
   10145             :     static PyTypeObject varlink_type;
   10146             :     static int type_init = 0;
   10147           0 :     if (!type_init) {
   10148             :       const PyTypeObject tmp = {
   10149             :         /* PyObject header changed in Python 3 */
   10150             : #if PY_VERSION_HEX >= 0x03000000
   10151             :         PyVarObject_HEAD_INIT(NULL, 0)
   10152             : #else
   10153             :         PyObject_HEAD_INIT(NULL)
   10154             :         0,                                  /* ob_size */
   10155             : #endif
   10156             :         (char *)"swigvarlink",              /* tp_name */
   10157             :         sizeof(swig_varlinkobject),         /* tp_basicsize */
   10158             :         0,                                  /* tp_itemsize */
   10159             :         (destructor) swig_varlink_dealloc,  /* tp_dealloc */
   10160             :         (printfunc) swig_varlink_print,     /* tp_print */
   10161             :         (getattrfunc) swig_varlink_getattr, /* tp_getattr */
   10162             :         (setattrfunc) swig_varlink_setattr, /* tp_setattr */
   10163             :         0,                                  /* tp_compare */
   10164             :         (reprfunc) swig_varlink_repr,       /* tp_repr */
   10165             :         0,                                  /* tp_as_number */
   10166             :         0,                                  /* tp_as_sequence */
   10167             :         0,                                  /* tp_as_mapping */
   10168             :         0,                                  /* tp_hash */
   10169             :         0,                                  /* tp_call */
   10170             :         (reprfunc) swig_varlink_str,        /* tp_str */
   10171             :         0,                                  /* tp_getattro */
   10172             :         0,                                  /* tp_setattro */
   10173             :         0,                                  /* tp_as_buffer */
   10174             :         0,                                  /* tp_flags */
   10175             :         varlink__doc__,                     /* tp_doc */
   10176             :         0,                                  /* tp_traverse */
   10177             :         0,                                  /* tp_clear */
   10178             :         0,                                  /* tp_richcompare */
   10179             :         0,                                  /* tp_weaklistoffset */
   10180             : #if PY_VERSION_HEX >= 0x02020000
   10181             :         0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
   10182             : #endif
   10183             : #if PY_VERSION_HEX >= 0x02030000
   10184             :         0,                                  /* tp_del */
   10185             : #endif
   10186             : #if PY_VERSION_HEX >= 0x02060000
   10187             :         0,                                  /* tp_version */
   10188             : #endif
   10189             : #ifdef COUNT_ALLOCS
   10190             :         0,0,0,0                             /* tp_alloc -> tp_next */
   10191             : #endif
   10192             :       };
   10193           0 :       varlink_type = tmp;
   10194           0 :       type_init = 1;
   10195             : #if PY_VERSION_HEX < 0x02020000
   10196             :       varlink_type.ob_type = &PyType_Type;
   10197             : #else
   10198           0 :       if (PyType_Ready(&varlink_type) < 0)
   10199           0 :       return NULL;
   10200             : #endif
   10201             :     }
   10202           0 :     return &varlink_type;
   10203             :   }
   10204             :   
   10205             :   /* Create a variable linking object for use later */
   10206             :   SWIGINTERN PyObject *
   10207           0 :   SWIG_Python_newvarlink(void) {
   10208           0 :     swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
   10209           0 :     if (result) {
   10210           0 :       result->vars = 0;
   10211             :     }
   10212           0 :     return ((PyObject*) result);
   10213             :   }
   10214             :   
   10215             :   SWIGINTERN void 
   10216           0 :   SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
   10217           0 :     swig_varlinkobject *v = (swig_varlinkobject *) p;
   10218           0 :     swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
   10219           0 :     if (gv) {
   10220           0 :       size_t size = strlen(name)+1;
   10221           0 :       gv->name = (char *)malloc(size);
   10222           0 :       if (gv->name) {
   10223           0 :         strncpy(gv->name,name,size);
   10224           0 :         gv->get_attr = get_attr;
   10225           0 :         gv->set_attr = set_attr;
   10226           0 :         gv->next = v->vars;
   10227             :       }
   10228             :     }
   10229           0 :     v->vars = gv;
   10230           0 :   }
   10231             :   
   10232             :   SWIGINTERN PyObject *
   10233           0 :   SWIG_globals(void) {
   10234             :     static PyObject *_SWIG_globals = 0; 
   10235           0 :     if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();  
   10236           0 :     return _SWIG_globals;
   10237             :   }
   10238             :   
   10239             :   /* -----------------------------------------------------------------------------
   10240             :    * constants/methods manipulation
   10241             :    * ----------------------------------------------------------------------------- */
   10242             :   
   10243             :   /* Install Constants */
   10244             :   SWIGINTERN void
   10245           1 :   SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
   10246           1 :     PyObject *obj = 0;
   10247             :     size_t i;
   10248           1 :     for (i = 0; constants[i].type; ++i) {
   10249           0 :       switch(constants[i].type) {
   10250             :       case SWIG_PY_POINTER:
   10251           0 :         obj = SWIG_InternalNewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
   10252           0 :         break;
   10253             :       case SWIG_PY_BINARY:
   10254           0 :         obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
   10255           0 :         break;
   10256             :       default:
   10257           0 :         obj = 0;
   10258           0 :         break;
   10259             :       }
   10260           0 :       if (obj) {
   10261           0 :         PyDict_SetItemString(d, constants[i].name, obj);
   10262           0 :         Py_DECREF(obj);
   10263             :       }
   10264             :     }
   10265           1 :   }
   10266             :   
   10267             :   /* -----------------------------------------------------------------------------*/
   10268             :   /* Fix SwigMethods to carry the callback ptrs when needed */
   10269             :   /* -----------------------------------------------------------------------------*/
   10270             :   
   10271             :   SWIGINTERN void
   10272           1 :   SWIG_Python_FixMethods(PyMethodDef *methods,
   10273             :     swig_const_info *const_table,
   10274             :     swig_type_info **types,
   10275             :     swig_type_info **types_initial) {
   10276             :     size_t i;
   10277         404 :     for (i = 0; methods[i].ml_name; ++i) {
   10278         403 :       const char *c = methods[i].ml_doc;
   10279         403 :       if (!c) continue;
   10280           0 :       c = strstr(c, "swig_ptr: ");
   10281           0 :       if (c) {
   10282             :         int j;
   10283           0 :         swig_const_info *ci = 0;
   10284           0 :         const char *name = c + 10;
   10285           0 :         for (j = 0; const_table[j].type; ++j) {
   10286           0 :           if (strncmp(const_table[j].name, name, 
   10287           0 :               strlen(const_table[j].name)) == 0) {
   10288           0 :             ci = &(const_table[j]);
   10289           0 :             break;
   10290             :           }
   10291             :         }
   10292           0 :         if (ci) {
   10293           0 :           void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
   10294           0 :           if (ptr) {
   10295           0 :             size_t shift = (ci->ptype) - types;
   10296           0 :             swig_type_info *ty = types_initial[shift];
   10297           0 :             size_t ldoc = (c - methods[i].ml_doc);
   10298           0 :             size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
   10299           0 :             char *ndoc = (char*)malloc(ldoc + lptr + 10);
   10300           0 :             if (ndoc) {
   10301           0 :               char *buff = ndoc;
   10302           0 :               strncpy(buff, methods[i].ml_doc, ldoc);
   10303           0 :               buff += ldoc;
   10304           0 :               strncpy(buff, "swig_ptr: ", 10);
   10305           0 :               buff += 10;
   10306           0 :               SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
   10307           0 :               methods[i].ml_doc = ndoc;
   10308             :             }
   10309             :           }
   10310             :         }
   10311             :       }
   10312             :     }
   10313           1 :   } 
   10314             :   
   10315             : #ifdef __cplusplus
   10316             : }
   10317             : #endif
   10318             : 
   10319             : /* -----------------------------------------------------------------------------*
   10320             :  *  Partial Init method
   10321             :  * -----------------------------------------------------------------------------*/
   10322             : 
   10323             : #ifdef __cplusplus
   10324             : extern "C"
   10325             : #endif
   10326             : 
   10327             : SWIGEXPORT 
   10328             : #if PY_VERSION_HEX >= 0x03000000
   10329             : PyObject*
   10330             : #else
   10331             : void
   10332             : #endif
   10333           1 : SWIG_init(void) {
   10334             :   PyObject *m, *d, *md;
   10335             : #if PY_VERSION_HEX >= 0x03000000
   10336             :   static struct PyModuleDef SWIG_module = {
   10337             : # if PY_VERSION_HEX >= 0x03020000
   10338             :     PyModuleDef_HEAD_INIT,
   10339             : # else
   10340             :     {
   10341             :       PyObject_HEAD_INIT(NULL)
   10342             :       NULL, /* m_init */
   10343             :       0,    /* m_index */
   10344             :       NULL, /* m_copy */
   10345             :     },
   10346             : # endif
   10347             :     (char *) SWIG_name,
   10348             :     NULL,
   10349             :     -1,
   10350             :     SwigMethods,
   10351             :     NULL,
   10352             :     NULL,
   10353             :     NULL,
   10354             :     NULL
   10355             :   };
   10356             : #endif
   10357             :   
   10358             : #if defined(SWIGPYTHON_BUILTIN)
   10359             :   static SwigPyClientData SwigPyObject_clientdata = {
   10360             :     0, 0, 0, 0, 0, 0, 0
   10361             :   };
   10362             :   static PyGetSetDef this_getset_def = {
   10363             :     (char *)"this", &SwigPyBuiltin_ThisClosure, NULL, NULL, NULL
   10364             :   };
   10365             :   static SwigPyGetSet thisown_getset_closure = {
   10366             :     (PyCFunction) SwigPyObject_own,
   10367             :     (PyCFunction) SwigPyObject_own
   10368             :   };
   10369             :   static PyGetSetDef thisown_getset_def = {
   10370             :     (char *)"thisown", SwigPyBuiltin_GetterClosure, SwigPyBuiltin_SetterClosure, NULL, &thisown_getset_closure
   10371             :   };
   10372             :   PyObject *metatype_args;
   10373             :   PyTypeObject *builtin_pytype;
   10374             :   int builtin_base_count;
   10375             :   swig_type_info *builtin_basetype;
   10376             :   PyObject *tuple;
   10377             :   PyGetSetDescrObject *static_getset;
   10378             :   PyTypeObject *metatype;
   10379             :   SwigPyClientData *cd;
   10380             :   PyObject *public_interface, *public_symbol;
   10381             :   PyObject *this_descr;
   10382             :   PyObject *thisown_descr;
   10383             :   PyObject *self = 0;
   10384             :   int i;
   10385             :   
   10386             :   (void)builtin_pytype;
   10387             :   (void)builtin_base_count;
   10388             :   (void)builtin_basetype;
   10389             :   (void)tuple;
   10390             :   (void)static_getset;
   10391             :   (void)self;
   10392             :   
   10393             :   /* metatype is used to implement static member variables. */
   10394             :   metatype_args = Py_BuildValue("(s(O){})", "SwigPyObjectType", &PyType_Type);
   10395             :   assert(metatype_args);
   10396             :   metatype = (PyTypeObject *) PyType_Type.tp_call((PyObject *) &PyType_Type, metatype_args, NULL);
   10397             :   assert(metatype);
   10398             :   Py_DECREF(metatype_args);
   10399             :   metatype->tp_setattro = (setattrofunc) &SwigPyObjectType_setattro;
   10400             :   assert(PyType_Ready(metatype) >= 0);
   10401             : #endif
   10402             :   
   10403             :   /* Fix SwigMethods to carry the callback ptrs when needed */
   10404           1 :   SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
   10405             :   
   10406             : #if PY_VERSION_HEX >= 0x03000000
   10407             :   m = PyModule_Create(&SWIG_module);
   10408             : #else
   10409           1 :   m = Py_InitModule((char *) SWIG_name, SwigMethods);
   10410             : #endif
   10411             :   
   10412           1 :   md = d = PyModule_GetDict(m);
   10413             :   (void)md;
   10414             :   
   10415           1 :   SWIG_InitializeModule(0);
   10416             :   
   10417             : #ifdef SWIGPYTHON_BUILTIN
   10418             :   SwigPyObject_stype = SWIG_MangledTypeQuery("_p_SwigPyObject");
   10419             :   assert(SwigPyObject_stype);
   10420             :   cd = (SwigPyClientData*) SwigPyObject_stype->clientdata;
   10421             :   if (!cd) {
   10422             :     SwigPyObject_stype->clientdata = &SwigPyObject_clientdata;
   10423             :     SwigPyObject_clientdata.pytype = SwigPyObject_TypeOnce();
   10424             :   } else if (SwigPyObject_TypeOnce()->tp_basicsize != cd->pytype->tp_basicsize) {
   10425             :     PyErr_SetString(PyExc_RuntimeError, "Import error: attempted to load two incompatible swig-generated modules.");
   10426             : # if PY_VERSION_HEX >= 0x03000000
   10427             :     return NULL;
   10428             : # else
   10429             :     return;
   10430             : # endif
   10431             :   }
   10432             :   
   10433             :   /* All objects have a 'this' attribute */
   10434             :   this_descr = PyDescr_NewGetSet(SwigPyObject_type(), &this_getset_def);
   10435             :   (void)this_descr;
   10436             :   
   10437             :   /* All objects have a 'thisown' attribute */
   10438             :   thisown_descr = PyDescr_NewGetSet(SwigPyObject_type(), &thisown_getset_def);
   10439             :   (void)thisown_descr;
   10440             :   
   10441             :   public_interface = PyList_New(0);
   10442             :   public_symbol = 0;
   10443             :   (void)public_symbol;
   10444             :   
   10445             :   PyDict_SetItemString(md, "__all__", public_interface);
   10446             :   Py_DECREF(public_interface);
   10447             :   for (i = 0; SwigMethods[i].ml_name != NULL; ++i)
   10448             :   SwigPyBuiltin_AddPublicSymbol(public_interface, SwigMethods[i].ml_name);
   10449             :   for (i = 0; swig_const_table[i].name != 0; ++i)
   10450             :   SwigPyBuiltin_AddPublicSymbol(public_interface, swig_const_table[i].name);
   10451             : #endif
   10452             :   
   10453           1 :   SWIG_InstallConstants(d,swig_const_table);
   10454             :   
   10455             : #if PY_VERSION_HEX >= 0x03000000
   10456             :   return m;
   10457             : #else
   10458           1 :   return;
   10459             : #endif
   10460             : }
   10461             : 

Generated by: LCOV version 1.10