/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 2.0.12
 *
 * This file is not intended to be easily readable and contains a number of
 * coding conventions designed to improve portability and efficiency. Do not make
 * changes to this file unless you know what you are doing--modify the SWIG
 * interface file instead.
 * ----------------------------------------------------------------------------- */

#define SWIGPHP

#define SWIG_PREFIX ""
#define SWIG_PREFIX_LEN 0
/* -----------------------------------------------------------------------------
 *  This section contains generic SWIG labels for method/variable
 *  declarations/attributes, and other compiler dependent labels.
 * ----------------------------------------------------------------------------- */

/* template workaround for compilers that cannot correctly implement the C++ standard */
#ifndef SWIGTEMPLATEDISAMBIGUATOR
# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
#  define SWIGTEMPLATEDISAMBIGUATOR template
# elif defined(__HP_aCC)
/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
#  define SWIGTEMPLATEDISAMBIGUATOR template
# else
#  define SWIGTEMPLATEDISAMBIGUATOR
# endif
#endif

/* inline attribute */
#ifndef SWIGINLINE
# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
#   define SWIGINLINE inline
# else
#   define SWIGINLINE
# endif
#endif

/* attribute recognised by some compilers to avoid 'unused' warnings */
#ifndef SWIGUNUSED
# if defined(__GNUC__)
#   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
#     define SWIGUNUSED __attribute__ ((__unused__))
#   else
#     define SWIGUNUSED
#   endif
# elif defined(__ICC)
#   define SWIGUNUSED __attribute__ ((__unused__))
# else
#   define SWIGUNUSED
# endif
#endif

#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
#   pragma warning(disable : 4505) /* unreferenced local function has been removed */
# endif
#endif

#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
#   define SWIGUNUSEDPARM(p)
# else
#   define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif

/* internal SWIG method */
#ifndef SWIGINTERN
# define SWIGINTERN static SWIGUNUSED
#endif

/* internal inline SWIG method */
#ifndef SWIGINTERNINLINE
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
#endif

/* exporting methods */
#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
#  ifndef GCC_HASCLASSVISIBILITY
#    define GCC_HASCLASSVISIBILITY
#  endif
#endif

#ifndef SWIGEXPORT
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#   if defined(STATIC_LINKED)
#     define SWIGEXPORT
#   else
#     define SWIGEXPORT __declspec(dllexport)
#   endif
# else
#   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
#     define SWIGEXPORT __attribute__ ((visibility("default")))
#   else
#     define SWIGEXPORT
#   endif
# endif
#endif

/* calling conventions for Windows */
#ifndef SWIGSTDCALL
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#   define SWIGSTDCALL __stdcall
# else
#   define SWIGSTDCALL
# endif
#endif

/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
# define _CRT_SECURE_NO_DEPRECATE
#endif

/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
# define _SCL_SECURE_NO_DEPRECATE
#endif


/* -----------------------------------------------------------------------------
 * swigrun.swg
 *
 * This file contains generic C API SWIG runtime support for pointer
 * type checking.
 * ----------------------------------------------------------------------------- */

/* This should only be incremented when either the layout of swig_type_info changes,
   or for whatever reason, the runtime changes incompatibly */
#define SWIG_RUNTIME_VERSION "4"

/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
#ifdef SWIG_TYPE_TABLE
# define SWIG_QUOTE_STRING(x) #x
# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
#else
# define SWIG_TYPE_TABLE_NAME
#endif

/*
  You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
  creating a static or dynamic library from the SWIG runtime code.
  In 99.9% of the cases, SWIG just needs to declare them as 'static'.

  But only do this if strictly necessary, ie, if you have problems
  with your compiler or suchlike.
*/

#ifndef SWIGRUNTIME
# define SWIGRUNTIME SWIGINTERN
#endif

#ifndef SWIGRUNTIMEINLINE
# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
#endif

/*  Generic buffer size */
#ifndef SWIG_BUFFER_SIZE
# define SWIG_BUFFER_SIZE 1024
#endif

/* Flags for pointer conversions */
#define SWIG_POINTER_DISOWN        0x1
#define SWIG_CAST_NEW_MEMORY       0x2

/* Flags for new pointer objects */
#define SWIG_POINTER_OWN           0x1


/*
   Flags/methods for returning states.

   The SWIG conversion methods, as ConvertPtr, return an integer
   that tells if the conversion was successful or not. And if not,
   an error code can be returned (see swigerrors.swg for the codes).

   Use the following macros/flags to set or process the returning
   states.

   In old versions of SWIG, code such as the following was usually written:

     if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
       // success code
     } else {
       //fail code
     }

   Now you can be more explicit:

    int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
    if (SWIG_IsOK(res)) {
      // success code
    } else {
      // fail code
    }

   which is the same really, but now you can also do

    Type *ptr;
    int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
    if (SWIG_IsOK(res)) {
      // success code
      if (SWIG_IsNewObj(res) {
        ...
	delete *ptr;
      } else {
        ...
      }
    } else {
      // fail code
    }

   I.e., now SWIG_ConvertPtr can return new objects and you can
   identify the case and take care of the deallocation. Of course that
   also requires SWIG_ConvertPtr to return new result values, such as

      int SWIG_ConvertPtr(obj, ptr,...) {
        if (<obj is ok>) {
          if (<need new object>) {
            *ptr = <ptr to new allocated object>;
            return SWIG_NEWOBJ;
          } else {
            *ptr = <ptr to old object>;
            return SWIG_OLDOBJ;
          }
        } else {
          return SWIG_BADOBJ;
        }
      }

   Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
   more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
   SWIG errors code.

   Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
   allows to return the 'cast rank', for example, if you have this

       int food(double)
       int fooi(int);

   and you call

      food(1)   // cast rank '1'  (1 -> 1.0)
      fooi(1)   // cast rank '0'

   just use the SWIG_AddCast()/SWIG_CheckState()
*/

#define SWIG_OK                    (0)
#define SWIG_ERROR                 (-1)
#define SWIG_IsOK(r)               (r >= 0)
#define SWIG_ArgError(r)           ((r != SWIG_ERROR) ? r : SWIG_TypeError)

/* The CastRankLimit says how many bits are used for the cast rank */
#define SWIG_CASTRANKLIMIT         (1 << 8)
/* The NewMask denotes the object was created (using new/malloc) */
#define SWIG_NEWOBJMASK            (SWIG_CASTRANKLIMIT  << 1)
/* The TmpMask is for in/out typemaps that use temporal objects */
#define SWIG_TMPOBJMASK            (SWIG_NEWOBJMASK << 1)
/* Simple returning values */
#define SWIG_BADOBJ                (SWIG_ERROR)
#define SWIG_OLDOBJ                (SWIG_OK)
#define SWIG_NEWOBJ                (SWIG_OK | SWIG_NEWOBJMASK)
#define SWIG_TMPOBJ                (SWIG_OK | SWIG_TMPOBJMASK)
/* Check, add and del mask methods */
#define SWIG_AddNewMask(r)         (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
#define SWIG_DelNewMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
#define SWIG_IsNewObj(r)           (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
#define SWIG_AddTmpMask(r)         (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
#define SWIG_DelTmpMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
#define SWIG_IsTmpObj(r)           (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))

/* Cast-Rank Mode */
#if defined(SWIG_CASTRANK_MODE)
#  ifndef SWIG_TypeRank
#    define SWIG_TypeRank             unsigned long
#  endif
#  ifndef SWIG_MAXCASTRANK            /* Default cast allowed */
#    define SWIG_MAXCASTRANK          (2)
#  endif
#  define SWIG_CASTRANKMASK          ((SWIG_CASTRANKLIMIT) -1)
#  define SWIG_CastRank(r)           (r & SWIG_CASTRANKMASK)
SWIGINTERNINLINE int SWIG_AddCast(int r) {
  return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
}
SWIGINTERNINLINE int SWIG_CheckState(int r) {
  return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
}
#else /* no cast-rank mode */
#  define SWIG_AddCast(r) (r)
#  define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
#endif


#include <string.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef void *(*swig_converter_func)(void *, int *);
typedef struct swig_type_info *(*swig_dycast_func)(void **);

/* Structure to store information on one type */
typedef struct swig_type_info {
  const char             *name;			/* mangled name of this type */
  const char             *str;			/* human readable name of this type */
  swig_dycast_func        dcast;		/* dynamic cast function down a hierarchy */
  struct swig_cast_info  *cast;			/* linked list of types that can cast into this type */
  void                   *clientdata;		/* language specific type data */
  int                    owndata;		/* flag if the structure owns the clientdata */
} swig_type_info;

/* Structure to store a type and conversion function used for casting */
typedef struct swig_cast_info {
  swig_type_info         *type;			/* pointer to type that is equivalent to this type */
  swig_converter_func     converter;		/* function to cast the void pointers */
  struct swig_cast_info  *next;			/* pointer to next cast in linked list */
  struct swig_cast_info  *prev;			/* pointer to the previous cast */
} swig_cast_info;

/* Structure used to store module information
 * Each module generates one structure like this, and the runtime collects
 * all of these structures and stores them in a circularly linked list.*/
typedef struct swig_module_info {
  swig_type_info         **types;		/* Array of pointers to swig_type_info structures that are in this module */
  size_t                 size;		        /* Number of types in this module */
  struct swig_module_info *next;		/* Pointer to next element in circularly linked list */
  swig_type_info         **type_initial;	/* Array of initially generated type structures */
  swig_cast_info         **cast_initial;	/* Array of initially generated casting structures */
  void                    *clientdata;		/* Language specific module data */
} swig_module_info;

/*
  Compare two type names skipping the space characters, therefore
  "char*" == "char *" and "Class<int>" == "Class<int >", etc.

  Return 0 when the two name types are equivalent, as in
  strncmp, but skipping ' '.
*/
SWIGRUNTIME int
SWIG_TypeNameComp(const char *f1, const char *l1,
		  const char *f2, const char *l2) {
  for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
    while ((*f1 == ' ') && (f1 != l1)) ++f1;
    while ((*f2 == ' ') && (f2 != l2)) ++f2;
    if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
  }
  return (int)((l1 - f1) - (l2 - f2));
}

/*
  Check type equivalence in a name list like <name1>|<name2>|...
  Return 0 if equal, -1 if nb < tb, 1 if nb > tb
*/
SWIGRUNTIME int
SWIG_TypeCmp(const char *nb, const char *tb) {
  int equiv = 1;
  const char* te = tb + strlen(tb);
  const char* ne = nb;
  while (equiv != 0 && *ne) {
    for (nb = ne; *ne; ++ne) {
      if (*ne == '|') break;
    }
    equiv = SWIG_TypeNameComp(nb, ne, tb, te);
    if (*ne) ++ne;
  }
  return equiv;
}

/*
  Check type equivalence in a name list like <name1>|<name2>|...
  Return 0 if not equal, 1 if equal
*/
SWIGRUNTIME int
SWIG_TypeEquiv(const char *nb, const char *tb) {
  return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
}

/*
  Check the typename
*/
SWIGRUNTIME swig_cast_info *
SWIG_TypeCheck(const char *c, swig_type_info *ty) {
  if (ty) {
    swig_cast_info *iter = ty->cast;
    while (iter) {
      if (strcmp(iter->type->name, c) == 0) {
        if (iter == ty->cast)
          return iter;
        /* Move iter to the top of the linked list */
        iter->prev->next = iter->next;
        if (iter->next)
          iter->next->prev = iter->prev;
        iter->next = ty->cast;
        iter->prev = 0;
        if (ty->cast) ty->cast->prev = iter;
        ty->cast = iter;
        return iter;
      }
      iter = iter->next;
    }
  }
  return 0;
}

/*
  Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
*/
SWIGRUNTIME swig_cast_info *
SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
  if (ty) {
    swig_cast_info *iter = ty->cast;
    while (iter) {
      if (iter->type == from) {
        if (iter == ty->cast)
          return iter;
        /* Move iter to the top of the linked list */
        iter->prev->next = iter->next;
        if (iter->next)
          iter->next->prev = iter->prev;
        iter->next = ty->cast;
        iter->prev = 0;
        if (ty->cast) ty->cast->prev = iter;
        ty->cast = iter;
        return iter;
      }
      iter = iter->next;
    }
  }
  return 0;
}

/*
  Cast a pointer up an inheritance hierarchy
*/
SWIGRUNTIMEINLINE void *
SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
  return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
}

/*
   Dynamic pointer casting. Down an inheritance hierarchy
*/
SWIGRUNTIME swig_type_info *
SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
  swig_type_info *lastty = ty;
  if (!ty || !ty->dcast) return ty;
  while (ty && (ty->dcast)) {
    ty = (*ty->dcast)(ptr);
    if (ty) lastty = ty;
  }
  return lastty;
}

/*
  Return the name associated with this type
*/
SWIGRUNTIMEINLINE const char *
SWIG_TypeName(const swig_type_info *ty) {
  return ty->name;
}

/*
  Return the pretty name associated with this type,
  that is an unmangled type name in a form presentable to the user.
*/
SWIGRUNTIME const char *
SWIG_TypePrettyName(const swig_type_info *type) {
  /* The "str" field contains the equivalent pretty names of the
     type, separated by vertical-bar characters.  We choose
     to print the last name, as it is often (?) the most
     specific. */
  if (!type) return NULL;
  if (type->str != NULL) {
    const char *last_name = type->str;
    const char *s;
    for (s = type->str; *s; s++)
      if (*s == '|') last_name = s+1;
    return last_name;
  }
  else
    return type->name;
}

/*
   Set the clientdata field for a type
*/
SWIGRUNTIME void
SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
  swig_cast_info *cast = ti->cast;
  /* if (ti->clientdata == clientdata) return; */
  ti->clientdata = clientdata;

  while (cast) {
    if (!cast->converter) {
      swig_type_info *tc = cast->type;
      if (!tc->clientdata) {
	SWIG_TypeClientData(tc, clientdata);
      }
    }
    cast = cast->next;
  }
}
SWIGRUNTIME void
SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
  SWIG_TypeClientData(ti, clientdata);
  ti->owndata = 1;
}

/*
  Search for a swig_type_info structure only by mangled name
  Search is a O(log #types)

  We start searching at module start, and finish searching when start == end.
  Note: if start == end at the beginning of the function, we go all the way around
  the circular list.
*/
SWIGRUNTIME swig_type_info *
SWIG_MangledTypeQueryModule(swig_module_info *start,
                            swig_module_info *end,
		            const char *name) {
  swig_module_info *iter = start;
  do {
    if (iter->size) {
      register size_t l = 0;
      register size_t r = iter->size - 1;
      do {
	/* since l+r >= 0, we can (>> 1) instead (/ 2) */
	register size_t i = (l + r) >> 1;
	const char *iname = iter->types[i]->name;
	if (iname) {
	  register int compare = strcmp(name, iname);
	  if (compare == 0) {
	    return iter->types[i];
	  } else if (compare < 0) {
	    if (i) {
	      r = i - 1;
	    } else {
	      break;
	    }
	  } else if (compare > 0) {
	    l = i + 1;
	  }
	} else {
	  break; /* should never happen */
	}
      } while (l <= r);
    }
    iter = iter->next;
  } while (iter != end);
  return 0;
}

/*
  Search for a swig_type_info structure for either a mangled name or a human readable name.
  It first searches the mangled names of the types, which is a O(log #types)
  If a type is not found it then searches the human readable names, which is O(#types).

  We start searching at module start, and finish searching when start == end.
  Note: if start == end at the beginning of the function, we go all the way around
  the circular list.
*/
SWIGRUNTIME swig_type_info *
SWIG_TypeQueryModule(swig_module_info *start,
                     swig_module_info *end,
		     const char *name) {
  /* STEP 1: Search the name field using binary search */
  swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
  if (ret) {
    return ret;
  } else {
    /* STEP 2: If the type hasn't been found, do a complete search
       of the str field (the human readable name) */
    swig_module_info *iter = start;
    do {
      register size_t i = 0;
      for (; i < iter->size; ++i) {
	if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
	  return iter->types[i];
      }
      iter = iter->next;
    } while (iter != end);
  }

  /* neither found a match */
  return 0;
}

/*
   Pack binary data into a string
*/
SWIGRUNTIME char *
SWIG_PackData(char *c, void *ptr, size_t sz) {
  static const char hex[17] = "0123456789abcdef";
  register const unsigned char *u = (unsigned char *) ptr;
  register const unsigned char *eu =  u + sz;
  for (; u != eu; ++u) {
    register unsigned char uu = *u;
    *(c++) = hex[(uu & 0xf0) >> 4];
    *(c++) = hex[uu & 0xf];
  }
  return c;
}

/*
   Unpack binary data from a string
*/
SWIGRUNTIME const char *
SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
  register unsigned char *u = (unsigned char *) ptr;
  register const unsigned char *eu = u + sz;
  for (; u != eu; ++u) {
    register char d = *(c++);
    register unsigned char uu;
    if ((d >= '0') && (d <= '9'))
      uu = ((d - '0') << 4);
    else if ((d >= 'a') && (d <= 'f'))
      uu = ((d - ('a'-10)) << 4);
    else
      return (char *) 0;
    d = *(c++);
    if ((d >= '0') && (d <= '9'))
      uu |= (d - '0');
    else if ((d >= 'a') && (d <= 'f'))
      uu |= (d - ('a'-10));
    else
      return (char *) 0;
    *u = uu;
  }
  return c;
}

/*
   Pack 'void *' into a string buffer.
*/
SWIGRUNTIME char *
SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
  char *r = buff;
  if ((2*sizeof(void *) + 2) > bsz) return 0;
  *(r++) = '_';
  r = SWIG_PackData(r,&ptr,sizeof(void *));
  if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
  strcpy(r,name);
  return buff;
}

SWIGRUNTIME const char *
SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
  if (*c != '_') {
    if (strcmp(c,"NULL") == 0) {
      *ptr = (void *) 0;
      return name;
    } else {
      return 0;
    }
  }
  return SWIG_UnpackData(++c,ptr,sizeof(void *));
}

SWIGRUNTIME char *
SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
  char *r = buff;
  size_t lname = (name ? strlen(name) : 0);
  if ((2*sz + 2 + lname) > bsz) return 0;
  *(r++) = '_';
  r = SWIG_PackData(r,ptr,sz);
  if (lname) {
    strncpy(r,name,lname+1);
  } else {
    *r = 0;
  }
  return buff;
}

SWIGRUNTIME const char *
SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
  if (*c != '_') {
    if (strcmp(c,"NULL") == 0) {
      memset(ptr,0,sz);
      return name;
    } else {
      return 0;
    }
  }
  return SWIG_UnpackData(++c,ptr,sz);
}

#ifdef __cplusplus
}
#endif

/* -----------------------------------------------------------------------------
 * phprun.swg
 *
 * PHP runtime library
 * ----------------------------------------------------------------------------- */

#ifdef __cplusplus
extern "C" {
#endif
#include "zend.h"
#include "zend_API.h"
#include "zend_exceptions.h"
#include "php.h"
#include "ext/standard/php_string.h"
#include <stdlib.h> /* for abort(), used in generated code. */

#ifdef ZEND_RAW_FENTRY
/* ZEND_RAW_FENTRY was added somewhere between 5.2.0 and 5.2.3 */
# define SWIG_ZEND_NAMED_FE(ZN, N, A) ZEND_RAW_FENTRY((char*)#ZN, N, A, 0)
#else
/* This causes warnings from GCC >= 4.2 (assigning a string literal to char*).
 * But this seems to be unavoidable without directly assuming knowledge of
 * the structure, which changed between PHP4 and PHP5. */
# define SWIG_ZEND_NAMED_FE(ZN, N, A) ZEND_NAMED_FE(ZN, N, A)
#endif

#ifndef Z_SET_ISREF_P
/* For PHP < 5.3 */
# define Z_SET_ISREF_P(z) (z)->is_ref = 1
#endif
#ifndef Z_SET_REFCOUNT_P
/* For PHP < 5.3 */
# define Z_SET_REFCOUNT_P(z, rc) (z)->refcount = (rc)
#endif

#define SWIG_LONG_CONSTANT(N, V) zend_register_long_constant((char*)#N, sizeof(#N), V, CONST_CS | CONST_PERSISTENT, module_number TSRMLS_CC)
#define SWIG_DOUBLE_CONSTANT(N, V) zend_register_double_constant((char*)#N, sizeof(#N), V, CONST_CS | CONST_PERSISTENT, module_number TSRMLS_CC)
#define SWIG_STRING_CONSTANT(N, V) zend_register_stringl_constant((char*)#N, sizeof(#N), (char*)(V), strlen(V), CONST_CS | CONST_PERSISTENT, module_number TSRMLS_CC)
#define SWIG_CHAR_CONSTANT(N, V) do {\
    static char swig_char = (V);\
    zend_register_stringl_constant((char*)#N, sizeof(#N), &swig_char, 1, CONST_CS | CONST_PERSISTENT, module_number TSRMLS_CC);\
} while (0)

/* These TSRMLS_ stuff should already be defined now, but with older php under
   redhat are not... */
#ifndef TSRMLS_D
#define TSRMLS_D
#endif
#ifndef TSRMLS_DC
#define TSRMLS_DC
#endif
#ifndef TSRMLS_C
#define TSRMLS_C
#endif
#ifndef TSRMLS_CC
#define TSRMLS_CC
#endif

#ifdef __cplusplus
}
#endif

/* But in fact SWIG_ConvertPtr is the native interface for getting typed
   pointer values out of zvals.  We need the TSRMLS_ macros for when we
   make PHP type calls later as we handle php resources */
#define SWIG_ConvertPtr(obj,pp,type,flags) SWIG_ZTS_ConvertPtr(obj,pp,type,flags TSRMLS_CC)


#define SWIG_fail goto fail

static const char *default_error_msg = "Unknown error occurred";
static int default_error_code = E_ERROR;

#define SWIG_PHP_Arg_Error_Msg(argnum,extramsg) "Error in argument " #argnum " "#extramsg

#define SWIG_PHP_Error(code,msg) do { SWIG_ErrorCode() = code; SWIG_ErrorMsg() = msg; SWIG_fail; } while (0)

#define SWIG_contract_assert(expr,msg) \
  if (!(expr) ) { zend_printf("Contract Assert Failed %s\n",msg ); } else

/* Standard SWIG API */
#define SWIG_GetModule(clientdata) SWIG_Php_GetModule(clientdata)
#define SWIG_SetModule(clientdata, pointer) SWIG_Php_SetModule(pointer)

/* used to wrap returned objects in so we know whether they are newobject
   and need freeing, or not */
typedef struct {
  void * ptr;
  int newobject;
} swig_object_wrapper;

/* empty zend destructor for types without one */
static ZEND_RSRC_DTOR_FUNC(SWIG_landfill) { (void)rsrc; }

#define SWIG_SetPointerZval(a,b,c,d) SWIG_ZTS_SetPointerZval(a,b,c,d TSRMLS_CC)
#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))

static void
SWIG_ZTS_SetPointerZval(zval *z, void *ptr, swig_type_info *type, int newobject TSRMLS_DC) {
  /*
   * First test for Null pointers.  Return those as PHP native NULL
   */
  if (!ptr ) {
    ZVAL_NULL(z);
    return;
  }
  if (type->clientdata) {
    swig_object_wrapper *value;
    if (! (*(int *)(type->clientdata)))
      zend_error(E_ERROR, "Type: %s failed to register with zend",type->name);
    value=(swig_object_wrapper *)emalloc(sizeof(swig_object_wrapper));
    value->ptr=ptr;
    value->newobject=(newobject & 1);
    if ((newobject & 2) == 0) {
      /* Just register the pointer as a resource. */
      ZEND_REGISTER_RESOURCE(z, value, *(int *)(type->clientdata));
    } else {
      /*
       * Wrap the resource in an object, the resource will be accessible
       * via the "_cPtr" member. This is currently only used by
       * directorin typemaps.
       */
      zval *resource;
      zend_class_entry **ce = NULL;
      const char *type_name = type->name+3; /* +3 so: _p_Foo -> Foo */
      size_t type_name_len;
      int result;
      const char * p;

      /* Namespace__Foo -> Foo */
      /* FIXME: ugly and goes wrong for classes with __ in their names. */
      while ((p = strstr(type_name, "__")) != NULL) {
        type_name = p + 2;
      }
      type_name_len = strlen(type_name);

      MAKE_STD_ZVAL(resource);
      ZEND_REGISTER_RESOURCE(resource, value, *(int *)(type->clientdata));
      if (SWIG_PREFIX_LEN > 0) {
        char * classname = (char*)emalloc(SWIG_PREFIX_LEN + type_name_len + 1);
        strcpy(classname, SWIG_PREFIX);
        strcpy(classname + SWIG_PREFIX_LEN, type_name);
        result = zend_lookup_class(classname, SWIG_PREFIX_LEN + type_name_len, &ce TSRMLS_CC);
        efree(classname);
      } else {
        result = zend_lookup_class((char *)type_name, type_name_len, &ce TSRMLS_CC);
      }
      if (result != SUCCESS) {
        /* class does not exist */
        object_init(z);
      } else {
        object_init_ex(z, *ce);
      }
      Z_SET_REFCOUNT_P(z, 1);
      Z_SET_ISREF_P(z);
      zend_hash_update(HASH_OF(z), (char*)"_cPtr", sizeof("_cPtr"), (void*)&resource, sizeof(zval), NULL);
    }
    return;
  }
  zend_error(E_ERROR, "Type: %s not registered with zend",type->name);
}

/* This pointer conversion routine takes the native pointer p (along with
   its type name) and converts it by calling appropriate casting functions
   according to ty.  The resultant pointer is returned, or NULL is returned
   if the pointer can't be cast.

   Sadly PHP has no API to find a type name from a type id, only from an
   instance of a resource of the type id, so we have to pass type_name as well.

   The two functions which might call this are:
   SWIG_ZTS_ConvertResourcePtr which gets the type name from the resource
   and the registered zend destructors for which we have one per type each
   with the type name hard wired in. */
static void *
SWIG_ZTS_ConvertResourceData(void * p, const char *type_name, swig_type_info *ty TSRMLS_DC) {
  swig_cast_info *tc;
  void *result = 0;

  if (!ty) {
    /* They don't care about the target type, so just pass on the pointer! */
    return p;
  }

  if (! type_name) {  
    /* can't convert p to ptr type ty if we don't know what type p is */
    return NULL;
  }

  /* convert and cast p from type_name to ptr as ty. */
  tc = SWIG_TypeCheck(type_name, ty);
  if (tc) {
    int newmemory = 0;
    result = SWIG_TypeCast(tc, p, &newmemory);
    assert(!newmemory); /* newmemory handling not yet implemented */
  }
  return result;
}

/* This function returns a pointer of type ty by extracting the pointer
   and type info from the resource in z.  z must be a resource.
   If it fails, NULL is returned.
   It uses SWIG_ZTS_ConvertResourceData to do the real work. */
static void *
SWIG_ZTS_ConvertResourcePtr(zval *z, swig_type_info *ty, int flags TSRMLS_DC) {
  swig_object_wrapper *value;
  void *p;
  int type;
  const char *type_name;

  value = (swig_object_wrapper *) zend_list_find(z->value.lval, &type);
  if (type==-1) return NULL;
  if (flags & SWIG_POINTER_DISOWN) {
    value->newobject = 0;
  }
  p = value->ptr;

  type_name=zend_rsrc_list_get_rsrc_type(z->value.lval TSRMLS_CC);

  return SWIG_ZTS_ConvertResourceData(p, type_name, ty TSRMLS_CC);
}

/* We allow passing of a RESOURCE pointing to the object or an OBJECT whose
   _cPtr is a resource pointing to the object */
static int
SWIG_ZTS_ConvertPtr(zval *z, void **ptr, swig_type_info *ty, int flags TSRMLS_DC) {
  if (z == NULL) {
    *ptr = 0;
    return 0;
  }

  switch (z->type) {
    case IS_OBJECT: {
      zval ** _cPtr;
      if (zend_hash_find(HASH_OF(z),(char*)"_cPtr",sizeof("_cPtr"),(void**)&_cPtr)==SUCCESS) {
	if ((*_cPtr)->type==IS_RESOURCE) {
	  *ptr = SWIG_ZTS_ConvertResourcePtr(*_cPtr, ty, flags TSRMLS_CC);
	  return (*ptr == NULL ? -1 : 0);
	}
      }
      break;
    }
    case IS_RESOURCE:
      *ptr = SWIG_ZTS_ConvertResourcePtr(z, ty, flags TSRMLS_CC);
      return (*ptr == NULL ? -1 : 0);
    case IS_NULL:
      *ptr = 0;
      return 0;
  }

  return -1;
}

static char const_name[] = "swig_runtime_data_type_pointer";
static swig_module_info *SWIG_Php_GetModule(void *SWIGUNUSEDPARM(clientdata)) {
  zval *pointer;
  swig_module_info *ret = 0;
  TSRMLS_FETCH();

  MAKE_STD_ZVAL(pointer);

  if (zend_get_constant(const_name, sizeof(const_name) - 1, pointer TSRMLS_CC)) {
    if (pointer->type == IS_LONG) {
      ret = (swig_module_info *) pointer->value.lval;
    }
  } 
  FREE_ZVAL(pointer);
  return ret; 
}

static void SWIG_Php_SetModule(swig_module_info *pointer) {
  TSRMLS_FETCH();
  REGISTER_MAIN_LONG_CONSTANT(const_name, (long) pointer, 0);
}


/* -------- TYPES TABLE (BEGIN) -------- */

#define SWIGTYPE_int swig_types[0]
#define SWIGTYPE_p_EVP_MD swig_types[1]
#define SWIGTYPE_p_char swig_types[2]
#define SWIGTYPE_p_f_p_struct_zx_ctx_p_struct_zx_elem_s__int swig_types[3]
#define SWIGTYPE_p_f_p_void__void swig_types[4]
#define SWIGTYPE_p_f_p_void_size_t__p_void swig_types[5]
#define SWIGTYPE_p_f_size_t__p_void swig_types[6]
#define SWIGTYPE_p_int swig_types[7]
#define SWIGTYPE_p_p_char swig_types[8]
#define SWIGTYPE_p_p_void swig_types[9]
#define SWIGTYPE_p_p_zx_ns_s swig_types[10]
#define SWIGTYPE_p_pthread_mutex_t swig_types[11]
#define SWIGTYPE_p_pthread_t swig_types[12]
#define SWIGTYPE_p_stomp_hdr swig_types[13]
#define SWIGTYPE_p_time_t swig_types[14]
#define SWIGTYPE_p_timeval swig_types[15]
#define SWIGTYPE_p_void swig_types[16]
#define SWIGTYPE_p_zx_a_EndpointReference_s swig_types[17]
#define SWIGTYPE_p_zx_at_tok swig_types[18]
#define SWIGTYPE_p_zx_attr_s swig_types[19]
#define SWIGTYPE_p_zx_ctx swig_types[20]
#define SWIGTYPE_p_zx_ds_Reference_s swig_types[21]
#define SWIGTYPE_p_zx_e_Body_s swig_types[22]
#define SWIGTYPE_p_zx_e_Envelope_s swig_types[23]
#define SWIGTYPE_p_zx_e_Fault_s swig_types[24]
#define SWIGTYPE_p_zx_e_Header_s swig_types[25]
#define SWIGTYPE_p_zx_el_desc swig_types[26]
#define SWIGTYPE_p_zx_el_tok swig_types[27]
#define SWIGTYPE_p_zx_elem_s swig_types[28]
#define SWIGTYPE_p_zx_ff12_Assertion_s swig_types[29]
#define SWIGTYPE_p_zx_lock swig_types[30]
#define SWIGTYPE_p_zx_lu_Status_s swig_types[31]
#define SWIGTYPE_p_zx_md_EntityDescriptor_s swig_types[32]
#define SWIGTYPE_p_zx_ns_s swig_types[33]
#define SWIGTYPE_p_zx_root_s swig_types[34]
#define SWIGTYPE_p_zx_sa11_Assertion_s swig_types[35]
#define SWIGTYPE_p_zx_sa_Assertion_s swig_types[36]
#define SWIGTYPE_p_zx_sa_Attribute_s swig_types[37]
#define SWIGTYPE_p_zx_sa_EncryptedAssertion_s swig_types[38]
#define SWIGTYPE_p_zx_sa_EncryptedID_s swig_types[39]
#define SWIGTYPE_p_zx_sa_Issuer_s swig_types[40]
#define SWIGTYPE_p_zx_sa_NameID_s swig_types[41]
#define SWIGTYPE_p_zx_sec_Token_s swig_types[42]
#define SWIGTYPE_p_zx_sp_NewEncryptedID_s swig_types[43]
#define SWIGTYPE_p_zx_sp_Status_s swig_types[44]
#define SWIGTYPE_p_zx_str swig_types[45]
#define SWIGTYPE_p_zx_tas3_Status_s swig_types[46]
#define SWIGTYPE_p_zx_xenc_EncryptedData_s swig_types[47]
#define SWIGTYPE_p_zx_xenc_EncryptedKey_s swig_types[48]
#define SWIGTYPE_p_zxid_atsrc swig_types[49]
#define SWIGTYPE_p_zxid_attr swig_types[50]
#define SWIGTYPE_p_zxid_bus_url swig_types[51]
#define SWIGTYPE_p_zxid_cgi swig_types[52]
#define SWIGTYPE_p_zxid_conf swig_types[53]
#define SWIGTYPE_p_zxid_cstr_list swig_types[54]
#define SWIGTYPE_p_zxid_entity_s swig_types[55]
#define SWIGTYPE_p_zxid_invite swig_types[56]
#define SWIGTYPE_p_zxid_map swig_types[57]
#define SWIGTYPE_p_zxid_need swig_types[58]
#define SWIGTYPE_p_zxid_obl_list swig_types[59]
#define SWIGTYPE_p_zxid_perm swig_types[60]
#define SWIGTYPE_p_zxid_psobj swig_types[61]
#define SWIGTYPE_p_zxid_ses swig_types[62]
#define SWIGTYPE_p_zxsig_ref swig_types[63]
static swig_type_info *swig_types[65];
static swig_module_info swig_module = {swig_types, 64, 0, 0, 0, 0};
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)

/* -------- TYPES TABLE (END) -------- */

/* header section */
ZEND_BEGIN_MODULE_GLOBALS(zxid)
const char *error_msg;
int error_code;
ZEND_END_MODULE_GLOBALS(zxid)
ZEND_DECLARE_MODULE_GLOBALS(zxid)
#ifdef ZTS
#define SWIG_ErrorMsg() TSRMG(zxid_globals_id, zend_zxid_globals *, error_msg )
#define SWIG_ErrorCode() TSRMG(zxid_globals_id, zend_zxid_globals *, error_code )
#else
#define SWIG_ErrorMsg() (zxid_globals.error_msg)
#define SWIG_ErrorCode() (zxid_globals.error_code)
#endif

#ifdef __GNUC__
static void SWIG_FAIL() __attribute__ ((__noreturn__));
#endif

static void SWIG_FAIL() {
    TSRMLS_FETCH();
    zend_error(SWIG_ErrorCode(), "%s", SWIG_ErrorMsg());
    abort();
}

static void zxid_init_globals(zend_zxid_globals *globals ) {
  globals->error_msg = default_error_msg;
  globals->error_code = default_error_code;
}
static void zxid_destroy_globals(zend_zxid_globals * globals) { (void)globals; }

static void SWIG_ResetError() {
  TSRMLS_FETCH();
  SWIG_ErrorMsg() = default_error_msg;
  SWIG_ErrorCode() = default_error_code;
}

ZEND_NAMED_FUNCTION(_wrap_swig_zxid_alter_newobject) {
  zval **args[2];
  swig_object_wrapper *value;
  int type;
  int thisown;

  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }

  value = (swig_object_wrapper *) zend_list_find((*args[0])->value.lval, &type);
  value->newobject = zval_is_true(*args[1]);

  return;
}
ZEND_NAMED_FUNCTION(_wrap_swig_zxid_get_newobject) {
  zval **args[1];
  swig_object_wrapper *value;
  int type;

  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }

  value = (swig_object_wrapper *) zend_list_find((*args[0])->value.lval, &type);
  RETVAL_LONG(value->newobject);

  return;
}
#define SWIG_name  "zxid"
#ifdef __cplusplus
extern "C" {
#endif
#include "php.h"
#include "php_ini.h"
#include "ext/standard/info.h"
#include "php_zxid.h"
#ifdef __cplusplus
}
#endif



#include "errmac.h"
#include "zx.h"
#include "zxid.h"
#include "saml2.h"

#include "c/zx-const.h"
#include "c/zx-data.h"
#include "c/zx-ns.h"
#include "c/zxidvers.h"



/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */

static swig_type_info _swigt__int = {"_int", "int", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_EVP_MD = {"_p_EVP_MD", "EVP_MD *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_struct_zx_ctx_p_struct_zx_elem_s__int = {"_p_f_p_struct_zx_ctx_p_struct_zx_elem_s__int", "int (*)(struct zx_ctx *,struct zx_elem_s *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void__void = {"_p_f_p_void__void", "void (*)(void *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_size_t__p_void = {"_p_f_p_void_size_t__p_void", "void *(*)(void *,size_t)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_size_t__p_void = {"_p_f_size_t__p_void", "void *(*)(size_t)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_void = {"_p_p_void", "void **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_zx_ns_s = {"_p_p_zx_ns_s", "struct zx_ns_s **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_pthread_mutex_t = {"_p_pthread_mutex_t", "pthread_mutex_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_pthread_t = {"_p_pthread_t", "pthread_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_stomp_hdr = {"_p_stomp_hdr", "struct stomp_hdr *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_time_t = {"_p_time_t", "time_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_timeval = {"_p_timeval", "struct timeval *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_a_EndpointReference_s = {"_p_zx_a_EndpointReference_s", "struct zx_a_EndpointReference_s *|zxid_epr *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_at_tok = {"_p_zx_at_tok", "struct zx_at_tok *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_attr_s = {"_p_zx_attr_s", "struct zx_attr_s *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_ctx = {"_p_zx_ctx", "struct zx_ctx *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_ds_Reference_s = {"_p_zx_ds_Reference_s", "struct zx_ds_Reference_s *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_e_Body_s = {"_p_zx_e_Body_s", "struct zx_e_Body_s *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_e_Envelope_s = {"_p_zx_e_Envelope_s", "struct zx_e_Envelope_s *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_e_Fault_s = {"_p_zx_e_Fault_s", "zxid_fault *|struct zx_e_Fault_s *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_e_Header_s = {"_p_zx_e_Header_s", "struct zx_e_Header_s *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_el_desc = {"_p_zx_el_desc", "struct zx_el_desc *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_el_tok = {"_p_zx_el_tok", "struct zx_el_tok *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_elem_s = {"_p_zx_elem_s", "struct zx_elem_s *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_ff12_Assertion_s = {"_p_zx_ff12_Assertion_s", "struct zx_ff12_Assertion_s *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_lock = {"_p_zx_lock", "struct zx_lock *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_lu_Status_s = {"_p_zx_lu_Status_s", "struct zx_lu_Status_s *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_md_EntityDescriptor_s = {"_p_zx_md_EntityDescriptor_s", "struct zx_md_EntityDescriptor_s *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_ns_s = {"_p_zx_ns_s", "struct zx_ns_s *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_root_s = {"_p_zx_root_s", "struct zx_root_s *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_sa11_Assertion_s = {"_p_zx_sa11_Assertion_s", "struct zx_sa11_Assertion_s *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_sa_Assertion_s = {"_p_zx_sa_Assertion_s", "struct zx_sa_Assertion_s *|zxid_a7n *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_sa_Attribute_s = {"_p_zx_sa_Attribute_s", "struct zx_sa_Attribute_s *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_sa_EncryptedAssertion_s = {"_p_zx_sa_EncryptedAssertion_s", "struct zx_sa_EncryptedAssertion_s *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_sa_EncryptedID_s = {"_p_zx_sa_EncryptedID_s", "struct zx_sa_EncryptedID_s *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_sa_Issuer_s = {"_p_zx_sa_Issuer_s", "struct zx_sa_Issuer_s *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_sa_NameID_s = {"_p_zx_sa_NameID_s", "struct zx_sa_NameID_s *|zxid_nid *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_sec_Token_s = {"_p_zx_sec_Token_s", "struct zx_sec_Token_s *|zxid_tok *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_sp_NewEncryptedID_s = {"_p_zx_sp_NewEncryptedID_s", "struct zx_sp_NewEncryptedID_s *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_sp_Status_s = {"_p_zx_sp_Status_s", "struct zx_sp_Status_s *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_str = {"_p_zx_str", "struct zx_str *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_tas3_Status_s = {"_p_zx_tas3_Status_s", "struct zx_tas3_Status_s *|zxid_tas3_status *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_xenc_EncryptedData_s = {"_p_zx_xenc_EncryptedData_s", "struct zx_xenc_EncryptedData_s *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zx_xenc_EncryptedKey_s = {"_p_zx_xenc_EncryptedKey_s", "struct zx_xenc_EncryptedKey_s *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zxid_atsrc = {"_p_zxid_atsrc", "struct zxid_atsrc *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zxid_attr = {"_p_zxid_attr", "struct zxid_attr *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zxid_bus_url = {"_p_zxid_bus_url", "struct zxid_bus_url *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zxid_cgi = {"_p_zxid_cgi", "struct zxid_cgi *|zxid_cgi *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zxid_conf = {"_p_zxid_conf", "struct zxid_conf *|zxid_conf *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zxid_cstr_list = {"_p_zxid_cstr_list", "struct zxid_cstr_list *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zxid_entity_s = {"_p_zxid_entity_s", "zxid_entity *|struct zxid_entity_s *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zxid_invite = {"_p_zxid_invite", "struct zxid_invite *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zxid_map = {"_p_zxid_map", "struct zxid_map *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zxid_need = {"_p_zxid_need", "struct zxid_need *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zxid_obl_list = {"_p_zxid_obl_list", "struct zxid_obl_list *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zxid_perm = {"_p_zxid_perm", "struct zxid_perm *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zxid_psobj = {"_p_zxid_psobj", "struct zxid_psobj *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zxid_ses = {"_p_zxid_ses", "struct zxid_ses *|zxid_ses *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_zxsig_ref = {"_p_zxsig_ref", "struct zxsig_ref *", 0, 0, (void*)0, 0};

static swig_type_info *swig_type_initial[] = {
  &_swigt__int,
  &_swigt__p_EVP_MD,
  &_swigt__p_char,
  &_swigt__p_f_p_struct_zx_ctx_p_struct_zx_elem_s__int,
  &_swigt__p_f_p_void__void,
  &_swigt__p_f_p_void_size_t__p_void,
  &_swigt__p_f_size_t__p_void,
  &_swigt__p_int,
  &_swigt__p_p_char,
  &_swigt__p_p_void,
  &_swigt__p_p_zx_ns_s,
  &_swigt__p_pthread_mutex_t,
  &_swigt__p_pthread_t,
  &_swigt__p_stomp_hdr,
  &_swigt__p_time_t,
  &_swigt__p_timeval,
  &_swigt__p_void,
  &_swigt__p_zx_a_EndpointReference_s,
  &_swigt__p_zx_at_tok,
  &_swigt__p_zx_attr_s,
  &_swigt__p_zx_ctx,
  &_swigt__p_zx_ds_Reference_s,
  &_swigt__p_zx_e_Body_s,
  &_swigt__p_zx_e_Envelope_s,
  &_swigt__p_zx_e_Fault_s,
  &_swigt__p_zx_e_Header_s,
  &_swigt__p_zx_el_desc,
  &_swigt__p_zx_el_tok,
  &_swigt__p_zx_elem_s,
  &_swigt__p_zx_ff12_Assertion_s,
  &_swigt__p_zx_lock,
  &_swigt__p_zx_lu_Status_s,
  &_swigt__p_zx_md_EntityDescriptor_s,
  &_swigt__p_zx_ns_s,
  &_swigt__p_zx_root_s,
  &_swigt__p_zx_sa11_Assertion_s,
  &_swigt__p_zx_sa_Assertion_s,
  &_swigt__p_zx_sa_Attribute_s,
  &_swigt__p_zx_sa_EncryptedAssertion_s,
  &_swigt__p_zx_sa_EncryptedID_s,
  &_swigt__p_zx_sa_Issuer_s,
  &_swigt__p_zx_sa_NameID_s,
  &_swigt__p_zx_sec_Token_s,
  &_swigt__p_zx_sp_NewEncryptedID_s,
  &_swigt__p_zx_sp_Status_s,
  &_swigt__p_zx_str,
  &_swigt__p_zx_tas3_Status_s,
  &_swigt__p_zx_xenc_EncryptedData_s,
  &_swigt__p_zx_xenc_EncryptedKey_s,
  &_swigt__p_zxid_atsrc,
  &_swigt__p_zxid_attr,
  &_swigt__p_zxid_bus_url,
  &_swigt__p_zxid_cgi,
  &_swigt__p_zxid_conf,
  &_swigt__p_zxid_cstr_list,
  &_swigt__p_zxid_entity_s,
  &_swigt__p_zxid_invite,
  &_swigt__p_zxid_map,
  &_swigt__p_zxid_need,
  &_swigt__p_zxid_obl_list,
  &_swigt__p_zxid_perm,
  &_swigt__p_zxid_psobj,
  &_swigt__p_zxid_ses,
  &_swigt__p_zxsig_ref,
};

static swig_cast_info _swigc__int[] = {  {&_swigt__int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_EVP_MD[] = {  {&_swigt__p_EVP_MD, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_char[] = {  {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_struct_zx_ctx_p_struct_zx_elem_s__int[] = {  {&_swigt__p_f_p_struct_zx_ctx_p_struct_zx_elem_s__int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void__void[] = {  {&_swigt__p_f_p_void__void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_size_t__p_void[] = {  {&_swigt__p_f_p_void_size_t__p_void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_size_t__p_void[] = {  {&_swigt__p_f_size_t__p_void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_int[] = {  {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_char[] = {  {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_void[] = {  {&_swigt__p_p_void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_zx_ns_s[] = {  {&_swigt__p_p_zx_ns_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_pthread_mutex_t[] = {  {&_swigt__p_pthread_mutex_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_pthread_t[] = {  {&_swigt__p_pthread_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_stomp_hdr[] = {  {&_swigt__p_stomp_hdr, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_time_t[] = {  {&_swigt__p_time_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_timeval[] = {  {&_swigt__p_timeval, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_void[] = {  {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_a_EndpointReference_s[] = {  {&_swigt__p_zx_a_EndpointReference_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_at_tok[] = {  {&_swigt__p_zx_at_tok, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_attr_s[] = {  {&_swigt__p_zx_attr_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_ctx[] = {  {&_swigt__p_zx_ctx, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_ds_Reference_s[] = {  {&_swigt__p_zx_ds_Reference_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_e_Body_s[] = {  {&_swigt__p_zx_e_Body_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_e_Envelope_s[] = {  {&_swigt__p_zx_e_Envelope_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_e_Fault_s[] = {  {&_swigt__p_zx_e_Fault_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_e_Header_s[] = {  {&_swigt__p_zx_e_Header_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_el_desc[] = {  {&_swigt__p_zx_el_desc, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_el_tok[] = {  {&_swigt__p_zx_el_tok, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_elem_s[] = {  {&_swigt__p_zx_elem_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_ff12_Assertion_s[] = {  {&_swigt__p_zx_ff12_Assertion_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_lock[] = {  {&_swigt__p_zx_lock, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_lu_Status_s[] = {  {&_swigt__p_zx_lu_Status_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_md_EntityDescriptor_s[] = {  {&_swigt__p_zx_md_EntityDescriptor_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_ns_s[] = {  {&_swigt__p_zx_ns_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_root_s[] = {  {&_swigt__p_zx_root_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_sa11_Assertion_s[] = {  {&_swigt__p_zx_sa11_Assertion_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_sa_Assertion_s[] = {  {&_swigt__p_zx_sa_Assertion_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_sa_Attribute_s[] = {  {&_swigt__p_zx_sa_Attribute_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_sa_EncryptedAssertion_s[] = {  {&_swigt__p_zx_sa_EncryptedAssertion_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_sa_EncryptedID_s[] = {  {&_swigt__p_zx_sa_EncryptedID_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_sa_Issuer_s[] = {  {&_swigt__p_zx_sa_Issuer_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_sa_NameID_s[] = {  {&_swigt__p_zx_sa_NameID_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_sec_Token_s[] = {  {&_swigt__p_zx_sec_Token_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_sp_NewEncryptedID_s[] = {  {&_swigt__p_zx_sp_NewEncryptedID_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_sp_Status_s[] = {  {&_swigt__p_zx_sp_Status_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_str[] = {  {&_swigt__p_zx_str, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_tas3_Status_s[] = {  {&_swigt__p_zx_tas3_Status_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_xenc_EncryptedData_s[] = {  {&_swigt__p_zx_xenc_EncryptedData_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zx_xenc_EncryptedKey_s[] = {  {&_swigt__p_zx_xenc_EncryptedKey_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zxid_atsrc[] = {  {&_swigt__p_zxid_atsrc, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zxid_attr[] = {  {&_swigt__p_zxid_attr, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zxid_bus_url[] = {  {&_swigt__p_zxid_bus_url, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zxid_cgi[] = {  {&_swigt__p_zxid_cgi, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zxid_conf[] = {  {&_swigt__p_zxid_conf, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zxid_cstr_list[] = {  {&_swigt__p_zxid_cstr_list, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zxid_entity_s[] = {  {&_swigt__p_zxid_entity_s, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zxid_invite[] = {  {&_swigt__p_zxid_invite, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zxid_map[] = {  {&_swigt__p_zxid_map, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zxid_need[] = {  {&_swigt__p_zxid_need, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zxid_obl_list[] = {  {&_swigt__p_zxid_obl_list, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zxid_perm[] = {  {&_swigt__p_zxid_perm, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zxid_psobj[] = {  {&_swigt__p_zxid_psobj, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zxid_ses[] = {  {&_swigt__p_zxid_ses, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_zxsig_ref[] = {  {&_swigt__p_zxsig_ref, 0, 0, 0},{0, 0, 0, 0}};

static swig_cast_info *swig_cast_initial[] = {
  _swigc__int,
  _swigc__p_EVP_MD,
  _swigc__p_char,
  _swigc__p_f_p_struct_zx_ctx_p_struct_zx_elem_s__int,
  _swigc__p_f_p_void__void,
  _swigc__p_f_p_void_size_t__p_void,
  _swigc__p_f_size_t__p_void,
  _swigc__p_int,
  _swigc__p_p_char,
  _swigc__p_p_void,
  _swigc__p_p_zx_ns_s,
  _swigc__p_pthread_mutex_t,
  _swigc__p_pthread_t,
  _swigc__p_stomp_hdr,
  _swigc__p_time_t,
  _swigc__p_timeval,
  _swigc__p_void,
  _swigc__p_zx_a_EndpointReference_s,
  _swigc__p_zx_at_tok,
  _swigc__p_zx_attr_s,
  _swigc__p_zx_ctx,
  _swigc__p_zx_ds_Reference_s,
  _swigc__p_zx_e_Body_s,
  _swigc__p_zx_e_Envelope_s,
  _swigc__p_zx_e_Fault_s,
  _swigc__p_zx_e_Header_s,
  _swigc__p_zx_el_desc,
  _swigc__p_zx_el_tok,
  _swigc__p_zx_elem_s,
  _swigc__p_zx_ff12_Assertion_s,
  _swigc__p_zx_lock,
  _swigc__p_zx_lu_Status_s,
  _swigc__p_zx_md_EntityDescriptor_s,
  _swigc__p_zx_ns_s,
  _swigc__p_zx_root_s,
  _swigc__p_zx_sa11_Assertion_s,
  _swigc__p_zx_sa_Assertion_s,
  _swigc__p_zx_sa_Attribute_s,
  _swigc__p_zx_sa_EncryptedAssertion_s,
  _swigc__p_zx_sa_EncryptedID_s,
  _swigc__p_zx_sa_Issuer_s,
  _swigc__p_zx_sa_NameID_s,
  _swigc__p_zx_sec_Token_s,
  _swigc__p_zx_sp_NewEncryptedID_s,
  _swigc__p_zx_sp_Status_s,
  _swigc__p_zx_str,
  _swigc__p_zx_tas3_Status_s,
  _swigc__p_zx_xenc_EncryptedData_s,
  _swigc__p_zx_xenc_EncryptedKey_s,
  _swigc__p_zxid_atsrc,
  _swigc__p_zxid_attr,
  _swigc__p_zxid_bus_url,
  _swigc__p_zxid_cgi,
  _swigc__p_zxid_conf,
  _swigc__p_zxid_cstr_list,
  _swigc__p_zxid_entity_s,
  _swigc__p_zxid_invite,
  _swigc__p_zxid_map,
  _swigc__p_zxid_need,
  _swigc__p_zxid_obl_list,
  _swigc__p_zxid_perm,
  _swigc__p_zxid_psobj,
  _swigc__p_zxid_ses,
  _swigc__p_zxsig_ref,
};


/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */

/* end header section */
/* vdecl subsection */
static int le_swig__p_zx_tas3_Status_s=0; /* handle for _p_zx_tas3_Status_s */
static int le_swig__p_zx_sp_Status_s=0; /* handle for _p_zx_sp_Status_s */
static int le_swig__p_zx_lu_Status_s=0; /* handle for _p_zx_lu_Status_s */
static int le_swig__p_EVP_MD=0; /* handle for _p_EVP_MD */
static int le_swig__p_zx_sa_Attribute_s=0; /* handle for _p_zx_sa_Attribute_s */
static int le_swig__p_zx_a_EndpointReference_s=0; /* handle for _p_zx_a_EndpointReference_s */
static int le_swig__p_char=0; /* handle for _p_char */
static int le_swig__p_p_char=0; /* handle for _p_p_char */
static int le_swig__p_zx_ds_Reference_s=0; /* handle for _p_zx_ds_Reference_s */
static int le_swig__p_zxid_obl_list=0; /* handle for zxid_obl_list */
static int le_swig__p_zx_sec_Token_s=0; /* handle for _p_zx_sec_Token_s */
static int le_swig__p_zxid_cgi=0; /* handle for _p_zxid_cgi */
static int le_swig__p_zx_str=0; /* handle for zx_str */
static int le_swig__p_p_void=0; /* handle for _p_p_void */
static int le_swig__p_void=0; /* handle for _p_void */
static int le_swig__p_f_size_t__p_void=0; /* handle for _p_f_size_t__p_void */
static int le_swig__p_f_p_void_size_t__p_void=0; /* handle for _p_f_p_void_size_t__p_void */
static int le_swig__int=0; /* handle for _int */
static int le_swig__p_f_p_struct_zx_ctx_p_struct_zx_elem_s__int=0; /* handle for _p_f_p_struct_zx_ctx_p_struct_zx_elem_s__int */
static int le_swig__p_pthread_t=0; /* handle for _p_pthread_t */
static int le_swig__p_zxid_perm=0; /* handle for zxid_perm */
static int le_swig__p_zxid_conf=0; /* handle for _p_zxid_conf */
static int le_swig__p_zx_at_tok=0; /* handle for zx_at_tok */
static int le_swig__p_zxid_invite=0; /* handle for zxid_invite */
static int le_swig__p_p_zx_ns_s=0; /* handle for _p_p_zx_ns_s */
static int le_swig__p_zx_ns_s=0; /* handle for zx_ns_s */
static int le_swig__p_zx_sa_Assertion_s=0; /* handle for _p_zx_sa_Assertion_s */
static int le_swig__p_f_p_void__void=0; /* handle for _p_f_p_void__void */
static int le_swig__p_zx_el_tok=0; /* handle for zx_el_tok */
static int le_swig__p_zxid_atsrc=0; /* handle for zxid_atsrc */
static int le_swig__p_zx_sa11_Assertion_s=0; /* handle for _p_zx_sa11_Assertion_s */
static int le_swig__p_zx_ff12_Assertion_s=0; /* handle for _p_zx_ff12_Assertion_s */
static int le_swig__p_zx_sa_EncryptedAssertion_s=0; /* handle for _p_zx_sa_EncryptedAssertion_s */
static int le_swig__p_zx_root_s=0; /* handle for _p_zx_root_s */
static int le_swig__p_zx_md_EntityDescriptor_s=0; /* handle for _p_zx_md_EntityDescriptor_s */
static int le_swig__p_zx_attr_s=0; /* handle for zx_attr_s */
static int le_swig__p_zxid_cstr_list=0; /* handle for zxid_cstr_list */
static int le_swig__p_zxid_ses=0; /* handle for _p_zxid_ses */
static int le_swig__p_zxid_need=0; /* handle for zxid_need */
static int le_swig__p_zx_e_Body_s=0; /* handle for _p_zx_e_Body_s */
static int le_swig__p_zx_ctx=0; /* handle for zx_ctx */
static int le_swig__p_zx_xenc_EncryptedData_s=0; /* handle for _p_zx_xenc_EncryptedData_s */
static int le_swig__p_zx_e_Envelope_s=0; /* handle for _p_zx_e_Envelope_s */
static int le_swig__p_zx_lock=0; /* handle for zx_lock */
static int le_swig__p_zx_sa_NameID_s=0; /* handle for _p_zx_sa_NameID_s */
static int le_swig__p_timeval=0; /* handle for _p_timeval */
static int le_swig__p_zx_sa_Issuer_s=0; /* handle for _p_zx_sa_Issuer_s */
static int le_swig__p_zx_elem_s=0; /* handle for zx_elem_s */
static int le_swig__p_zx_el_desc=0; /* handle for zx_el_desc */
static int le_swig__p_zxid_psobj=0; /* handle for zxid_psobj */
static int le_swig__p_time_t=0; /* handle for _p_time_t */
static int le_swig__p_zx_sa_EncryptedID_s=0; /* handle for _p_zx_sa_EncryptedID_s */
static int le_swig__p_zx_sp_NewEncryptedID_s=0; /* handle for _p_zx_sp_NewEncryptedID_s */
static int le_swig__p_stomp_hdr=0; /* handle for stomp_hdr */
static int le_swig__p_zx_e_Header_s=0; /* handle for _p_zx_e_Header_s */
static int le_swig__p_zxid_bus_url=0; /* handle for zxid_bus_url */
static int le_swig__p_zx_xenc_EncryptedKey_s=0; /* handle for _p_zx_xenc_EncryptedKey_s */
static int le_swig__p_zxid_entity_s=0; /* handle for zxid_entity_s */
static int le_swig__p_int=0; /* handle for _p_int */
static int le_swig__p_zxsig_ref=0; /* handle for zxsig_ref */
static int le_swig__p_zx_e_Fault_s=0; /* handle for _p_zx_e_Fault_s */
static int le_swig__p_zxid_map=0; /* handle for zxid_map */
static int le_swig__p_pthread_mutex_t=0; /* handle for _p_pthread_mutex_t */
static int le_swig__p_zxid_attr=0; /* handle for zxid_attr */
/* end vdecl subsection */
/* wrapper section */

#define zend_error_noreturn zend_error

ZEND_NAMED_FUNCTION(_wrap_zx_lock_ptmut_set) {
  struct zx_lock *arg1 = (struct zx_lock *) 0 ;
  pthread_mutex_t arg2 ;
  pthread_mutex_t *tmp2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_lock, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_lock_ptmut_set. Expected SWIGTYPE_p_zx_lock");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &tmp2, SWIGTYPE_p_pthread_mutex_t, 0) < 0 || tmp2 == NULL) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_lock_ptmut_set. Expected SWIGTYPE_p_pthread_mutex_t");
    }
    arg2 = *tmp2;
  }
  if (arg1) (arg1)->ptmut = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_lock_ptmut_get) {
  struct zx_lock *arg1 = (struct zx_lock *) 0 ;
  zval **args[1];
  pthread_mutex_t result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_lock, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_lock_ptmut_get. Expected SWIGTYPE_p_zx_lock");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result =  ((arg1)->ptmut);
  {
    pthread_mutex_t * resultobj = (pthread_mutex_t *) emalloc(sizeof(pthread_mutex_t));
    memcpy(resultobj, &result, sizeof(pthread_mutex_t));
    SWIG_SetPointerZval(return_value, (void *)resultobj, SWIGTYPE_p_pthread_mutex_t, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_lock_func_set) {
  struct zx_lock *arg1 = (struct zx_lock *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_lock, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_lock_func_set. Expected SWIGTYPE_p_zx_lock");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    if (arg2) {
      arg1->func = (char const *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->func, (const char *)arg2);
    } else {
      arg1->func = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_lock_func_get) {
  struct zx_lock *arg1 = (struct zx_lock *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_lock, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_lock_func_get. Expected SWIGTYPE_p_zx_lock");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->func);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_lock_line_set) {
  struct zx_lock *arg1 = (struct zx_lock *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_lock, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_lock_line_set. Expected SWIGTYPE_p_zx_lock");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->line = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_lock_line_get) {
  struct zx_lock *arg1 = (struct zx_lock *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_lock, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_lock_line_get. Expected SWIGTYPE_p_zx_lock");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->line);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_lock_thr_set) {
  struct zx_lock *arg1 = (struct zx_lock *) 0 ;
  pthread_t arg2 ;
  pthread_t *tmp2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_lock, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_lock_thr_set. Expected SWIGTYPE_p_zx_lock");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &tmp2, SWIGTYPE_p_pthread_t, 0) < 0 || tmp2 == NULL) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_lock_thr_set. Expected SWIGTYPE_p_pthread_t");
    }
    arg2 = *tmp2;
  }
  if (arg1) (arg1)->thr = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_lock_thr_get) {
  struct zx_lock *arg1 = (struct zx_lock *) 0 ;
  zval **args[1];
  pthread_t result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_lock, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_lock_thr_get. Expected SWIGTYPE_p_zx_lock");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result =  ((arg1)->thr);
  {
    pthread_t * resultobj = (pthread_t *) emalloc(sizeof(pthread_t));
    memcpy(resultobj, &result, sizeof(pthread_t));
    SWIG_SetPointerZval(return_value, (void *)resultobj, SWIGTYPE_p_pthread_t, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zx_lock) {
  struct zx_lock *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zx_lock *)calloc(1, sizeof(struct zx_lock));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_lock, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zx_lock(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zx_lock *arg1 = (struct zx_lock *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zx_lock *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zx_lock TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zx_lock resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ns_s_url_set) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ns_s_url_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    if (arg2) {
      arg1->url = (char const *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->url, (const char *)arg2);
    } else {
      arg1->url = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ns_s_url_get) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ns_s_url_get. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->url);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ns_s_url_len_set) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ns_s_url_len_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->url_len = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ns_s_url_len_get) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ns_s_url_len_get. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->url_len);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ns_s_prefix_len_set) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ns_s_prefix_len_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->prefix_len = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ns_s_prefix_len_get) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ns_s_prefix_len_get. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->prefix_len);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ns_s_prefix_set) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ns_s_prefix_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    if (arg2) {
      arg1->prefix = (char const *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->prefix, (const char *)arg2);
    } else {
      arg1->prefix = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ns_s_prefix_get) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ns_s_prefix_get. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->prefix);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ns_s_n_set) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ns_s_n_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_ns_s_n_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if (arg1) (arg1)->n = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ns_s_n_get) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  zval **args[1];
  struct zx_ns_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ns_s_n_get. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_ns_s *) ((arg1)->n);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ns_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ns_s_master_set) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ns_s_master_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_ns_s_master_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if (arg1) (arg1)->master = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ns_s_master_get) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  zval **args[1];
  struct zx_ns_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ns_s_master_get. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_ns_s *) ((arg1)->master);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ns_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ns_s_seen_set) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ns_s_seen_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_ns_s_seen_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if (arg1) (arg1)->seen = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ns_s_seen_get) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  zval **args[1];
  struct zx_ns_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ns_s_seen_get. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_ns_s *) ((arg1)->seen);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ns_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ns_s_seen_n_set) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ns_s_seen_n_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_ns_s_seen_n_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if (arg1) (arg1)->seen_n = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ns_s_seen_n_get) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  zval **args[1];
  struct zx_ns_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ns_s_seen_n_get. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_ns_s *) ((arg1)->seen_n);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ns_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ns_s_seen_p_set) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ns_s_seen_p_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_ns_s_seen_p_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if (arg1) (arg1)->seen_p = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ns_s_seen_p_get) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  zval **args[1];
  struct zx_ns_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ns_s_seen_p_get. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_ns_s *) ((arg1)->seen_p);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ns_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ns_s_seen_pop_set) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ns_s_seen_pop_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_ns_s_seen_pop_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if (arg1) (arg1)->seen_pop = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ns_s_seen_pop_get) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  zval **args[1];
  struct zx_ns_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ns_s_seen_pop_get. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_ns_s *) ((arg1)->seen_pop);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ns_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ns_s_inc_n_set) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ns_s_inc_n_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_ns_s_inc_n_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if (arg1) (arg1)->inc_n = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ns_s_inc_n_get) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  zval **args[1];
  struct zx_ns_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ns_s_inc_n_get. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_ns_s *) ((arg1)->inc_n);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ns_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zx_ns_s) {
  struct zx_ns_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zx_ns_s *)calloc(1, sizeof(struct zx_ns_s));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ns_s, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zx_ns_s(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zx_ns_s *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zx_ns_s TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zx_ns_s resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_bas_set) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_bas_set. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    if (arg2) {
      arg1->bas = (char const *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->bas, (const char *)arg2);
    } else {
      arg1->bas = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_bas_get) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_bas_get. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->bas);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_p_set) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_p_set. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    if (arg2) {
      arg1->p = (char const *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->p, (const char *)arg2);
    } else {
      arg1->p = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_p_get) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_p_get. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->p);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_lim_set) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_lim_set. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    if (arg2) {
      arg1->lim = (char const *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->lim, (const char *)arg2);
    } else {
      arg1->lim = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_lim_get) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_lim_get. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->lim);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_ns_tab_set) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_ns_tab_set. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_ctx_ns_tab_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if (arg1) (arg1)->ns_tab = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_ns_tab_get) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  zval **args[1];
  struct zx_ns_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_ns_tab_get. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_ns_s *) ((arg1)->ns_tab);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ns_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_n_ns_set) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_n_ns_set. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->n_ns = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_n_ns_get) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_n_ns_get. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->n_ns);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_unknown_ns_set) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_unknown_ns_set. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_ctx_unknown_ns_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if (arg1) (arg1)->unknown_ns = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_unknown_ns_get) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  zval **args[1];
  struct zx_ns_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_unknown_ns_get. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_ns_s *) ((arg1)->unknown_ns);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ns_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_guard_seen_n_set) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_guard_seen_n_set. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_ctx_guard_seen_n_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if (arg1) (arg1)->guard_seen_n = *arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_guard_seen_n_get) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  zval **args[1];
  struct zx_ns_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_guard_seen_n_get. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_ns_s *)& ((arg1)->guard_seen_n);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ns_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_guard_seen_p_set) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_guard_seen_p_set. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_ctx_guard_seen_p_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if (arg1) (arg1)->guard_seen_p = *arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_guard_seen_p_get) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  zval **args[1];
  struct zx_ns_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_guard_seen_p_get. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_ns_s *)& ((arg1)->guard_seen_p);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ns_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_exclude_sig_set) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  void *arg2 = (void *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_exclude_sig_set. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, 0, 0) < 0) {
      /* Allow NULL from php for void* */
      if ((*args[1])->type==IS_NULL) arg2=0;
      else
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_ctx_exclude_sig_set. Expected SWIGTYPE_p_p_void");
    }
  }
  if (arg1) (arg1)->exclude_sig = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_exclude_sig_get) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  zval **args[1];
  void *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_exclude_sig_get. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (void *) ((arg1)->exclude_sig);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_void, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_inc_ns_len_set) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_inc_ns_len_set. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_ctx_inc_ns_len_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if (arg1) (arg1)->inc_ns_len = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_inc_ns_len_get) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  zval **args[1];
  struct zx_ns_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_inc_ns_len_get. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_ns_s *) ((arg1)->inc_ns_len);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ns_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_inc_ns_set) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_inc_ns_set. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_ctx_inc_ns_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if (arg1) (arg1)->inc_ns = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_inc_ns_get) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  zval **args[1];
  struct zx_ns_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_inc_ns_get. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_ns_s *) ((arg1)->inc_ns);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ns_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_malloc_func_set) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  void *(*arg2)(size_t) = (void *(*)(size_t)) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_malloc_func_set. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_f_size_t__p_void, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_ctx_malloc_func_set. Expected SWIGTYPE_p_f_size_t__p_void");
    }
  }
  if (arg1) (arg1)->malloc_func = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_malloc_func_get) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  zval **args[1];
  void *(*result)(size_t) = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_malloc_func_get. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (void *(*)(size_t)) ((arg1)->malloc_func);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_f_size_t__p_void, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_realloc_func_set) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  void *(*arg2)(void *,size_t) = (void *(*)(void *,size_t)) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_realloc_func_set. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_f_p_void_size_t__p_void, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_ctx_realloc_func_set. Expected SWIGTYPE_p_f_p_void_size_t__p_void");
    }
  }
  if (arg1) (arg1)->realloc_func = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_realloc_func_get) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  zval **args[1];
  void *(*result)(void *,size_t) = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_realloc_func_get. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (void *(*)(void *,size_t)) ((arg1)->realloc_func);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_f_p_void_size_t__p_void, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_free_func_set) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  void (*arg2)(void *) = (void (*)(void *)) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_free_func_set. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_f_p_void__void, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_ctx_free_func_set. Expected SWIGTYPE_p_f_p_void__void");
    }
  }
  if (arg1) (arg1)->free_func = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_free_func_get) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  zval **args[1];
  void (*result)(void *) = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_free_func_get. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (void (*)(void *)) ((arg1)->free_func);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_f_p_void__void, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_canon_inopt_set) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_canon_inopt_set. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->canon_inopt = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_canon_inopt_get) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_canon_inopt_get. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->canon_inopt);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_enc_tail_opt_set) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_enc_tail_opt_set. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->enc_tail_opt = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_enc_tail_opt_get) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_enc_tail_opt_get. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->enc_tail_opt);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_top1_set) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_top1_set. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->top1 = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_top1_get) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_top1_get. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->top1);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_pad3_set) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_pad3_set. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->pad3 = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_pad3_get) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_pad3_get. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->pad3);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_zx_errno_set) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_zx_errno_set. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->zx_errno = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ctx_zx_errno_get) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ctx_zx_errno_get. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->zx_errno);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zx_ctx) {
  struct zx_ctx *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zx_ctx *)calloc(1, sizeof(struct zx_ctx));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ctx, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zx_ctx(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zx_ctx *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zx_ctx TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zx_ctx resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_str_n_set) {
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_str_n_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_str_n_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if (arg1) (arg1)->n = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_str_n_get) {
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_str_n_get. Expected SWIGTYPE_p_zx_str");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_str *) ((arg1)->n);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_str_tok_set) {
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_str_tok_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->tok = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_str_tok_get) {
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_str_tok_get. Expected SWIGTYPE_p_zx_str");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->tok);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_str_len_set) {
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_str_len_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->len = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_str_len_get) {
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_str_len_get. Expected SWIGTYPE_p_zx_str");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->len);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_str_s_set) {
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_str_s_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->s);
    if (arg2) {
      arg1->s = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->s, (const char *)arg2);
    } else {
      arg1->s = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_str_s_get) {
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_str_s_get. Expected SWIGTYPE_p_zx_str");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->s);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zx_str) {
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zx_str *)calloc(1, sizeof(struct zx_str));
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zx_str(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zx_str *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zx_str TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zx_str resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_attr_s_g_set) {
  struct zx_attr_s *arg1 = (struct zx_attr_s *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_attr_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_attr_s_g_set. Expected SWIGTYPE_p_zx_attr_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_attr_s_g_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if (arg1) (arg1)->g = *arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_attr_s_g_get) {
  struct zx_attr_s *arg1 = (struct zx_attr_s *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_attr_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_attr_s_g_get. Expected SWIGTYPE_p_zx_attr_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_str *)& ((arg1)->g);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_attr_s_ns_set) {
  struct zx_attr_s *arg1 = (struct zx_attr_s *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_attr_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_attr_s_ns_set. Expected SWIGTYPE_p_zx_attr_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_attr_s_ns_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if (arg1) (arg1)->ns = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_attr_s_ns_get) {
  struct zx_attr_s *arg1 = (struct zx_attr_s *) 0 ;
  zval **args[1];
  struct zx_ns_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_attr_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_attr_s_ns_get. Expected SWIGTYPE_p_zx_attr_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_ns_s *) ((arg1)->ns);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ns_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_attr_s_name_len_set) {
  struct zx_attr_s *arg1 = (struct zx_attr_s *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_attr_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_attr_s_name_len_set. Expected SWIGTYPE_p_zx_attr_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->name_len = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_attr_s_name_len_get) {
  struct zx_attr_s *arg1 = (struct zx_attr_s *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_attr_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_attr_s_name_len_get. Expected SWIGTYPE_p_zx_attr_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->name_len);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_attr_s_name_set) {
  struct zx_attr_s *arg1 = (struct zx_attr_s *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_attr_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_attr_s_name_set. Expected SWIGTYPE_p_zx_attr_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->name);
    if (arg2) {
      arg1->name = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->name, (const char *)arg2);
    } else {
      arg1->name = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_attr_s_name_get) {
  struct zx_attr_s *arg1 = (struct zx_attr_s *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_attr_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_attr_s_name_get. Expected SWIGTYPE_p_zx_attr_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->name);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zx_attr_s) {
  struct zx_attr_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zx_attr_s *)calloc(1, sizeof(struct zx_attr_s));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_attr_s, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zx_attr_s(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zx_attr_s *arg1 = (struct zx_attr_s *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zx_attr_s *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zx_attr_s TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zx_attr_s resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_elem_s_g_set) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_elem_s_g_set. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_elem_s_g_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if (arg1) (arg1)->g = *arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_elem_s_g_get) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_elem_s_g_get. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_str *)& ((arg1)->g);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_elem_s_kids_set) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_elem_s_kids_set. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_elem_s_kids_set. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  if (arg1) (arg1)->kids = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_elem_s_kids_get) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  zval **args[1];
  struct zx_elem_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_elem_s_kids_get. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_elem_s *) ((arg1)->kids);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_elem_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_elem_s_attr_set) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  struct zx_attr_s *arg2 = (struct zx_attr_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_elem_s_attr_set. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_attr_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_elem_s_attr_set. Expected SWIGTYPE_p_zx_attr_s");
    }
  }
  if (arg1) (arg1)->attr = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_elem_s_attr_get) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  zval **args[1];
  struct zx_attr_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_elem_s_attr_get. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_attr_s *) ((arg1)->attr);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_attr_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_elem_s_ns_set) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_elem_s_ns_set. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_elem_s_ns_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if (arg1) (arg1)->ns = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_elem_s_ns_get) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  zval **args[1];
  struct zx_ns_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_elem_s_ns_get. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_ns_s *) ((arg1)->ns);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ns_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_elem_s_xmlns_set) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_elem_s_xmlns_set. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_elem_s_xmlns_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if (arg1) (arg1)->xmlns = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_elem_s_xmlns_get) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  zval **args[1];
  struct zx_ns_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_elem_s_xmlns_get. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_ns_s *) ((arg1)->xmlns);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ns_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zx_elem_s) {
  struct zx_elem_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zx_elem_s *)calloc(1, sizeof(struct zx_elem_s));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_elem_s, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zx_elem_s(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zx_elem_s *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zx_elem_s TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zx_elem_s resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_new_elem) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  int arg3 ;
  zval **args[3];
  struct zx_elem_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_new_elem. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_new_elem. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  result = (struct zx_elem_s *)zx_new_elem(arg1,arg2,arg3);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_elem_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_new_str_elem) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  int arg3 ;
  struct zx_str *arg4 = (struct zx_str *) 0 ;
  zval **args[4];
  struct zx_elem_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_new_str_elem. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_new_str_elem. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[3], (void **) &arg4, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 4 of zx_new_str_elem. Expected SWIGTYPE_p_zx_str");
    }
  }
  result = (struct zx_elem_s *)zx_new_str_elem(arg1,arg2,arg3,arg4);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_elem_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ref_len_elem) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  int arg3 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  zval **args[4];
  struct zx_elem_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ref_len_elem. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_ref_len_elem. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  {
    arg4 = Z_STRLEN_PP(args[3]);
    arg5 = Z_STRVAL_PP(args[3]);
  }
  result = (struct zx_elem_s *)zx_ref_len_elem(arg1,arg2,arg3,arg4,(char const *)arg5);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_elem_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ref_elem) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  struct zx_elem_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ref_elem. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_ref_elem. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_elem_s *)zx_ref_elem(arg1,arg2,arg3,(char const *)arg4);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_elem_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_dup_len_elem) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  int arg3 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  zval **args[4];
  struct zx_elem_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_dup_len_elem. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_dup_len_elem. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  {
    arg4 = Z_STRLEN_PP(args[3]);
    arg5 = Z_STRVAL_PP(args[3]);
  }
  result = (struct zx_elem_s *)zx_dup_len_elem(arg1,arg2,arg3,arg4,(char const *)arg5);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_elem_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_dup_elem) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  struct zx_elem_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_dup_elem. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_dup_elem. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_elem_s *)zx_dup_elem(arg1,arg2,arg3,(char const *)arg4);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_elem_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ref_len_attr) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  int arg3 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  zval **args[4];
  struct zx_attr_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ref_len_attr. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_ref_len_attr. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  {
    arg4 = Z_STRLEN_PP(args[3]);
    arg5 = Z_STRVAL_PP(args[3]);
  }
  result = (struct zx_attr_s *)zx_ref_len_attr(arg1,arg2,arg3,arg4,(char const *)arg5);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_attr_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ref_attr) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  struct zx_attr_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ref_attr. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_ref_attr. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_attr_s *)zx_ref_attr(arg1,arg2,arg3,(char const *)arg4);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_attr_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_new_len_attr) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  int arg3 ;
  int arg4 ;
  zval **args[4];
  struct zx_attr_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_new_len_attr. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_new_len_attr. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  result = (struct zx_attr_s *)zx_new_len_attr(arg1,arg2,arg3,arg4);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_attr_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_dup_len_attr) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  int arg3 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  zval **args[4];
  struct zx_attr_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_dup_len_attr. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_dup_len_attr. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  {
    arg4 = Z_STRLEN_PP(args[3]);
    arg5 = Z_STRVAL_PP(args[3]);
  }
  result = (struct zx_attr_s *)zx_dup_len_attr(arg1,arg2,arg3,arg4,(char const *)arg5);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_attr_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_dup_attr) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  struct zx_attr_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_dup_attr. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_dup_attr. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_attr_s *)zx_dup_attr(arg1,arg2,arg3,(char const *)arg4);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_attr_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_attrf) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  void *arg5 = 0 ;
  zval **args[4];
  struct zx_attr_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_attrf. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_attrf. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_attr_s *)zx_attrf(arg1,arg2,arg3,(char const *)arg4,arg5);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_attr_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ref_str) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ref_str. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_str *)zx_ref_str(arg1,(char const *)arg2);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ref_len_str) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ref_len_str. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    arg2 = Z_STRLEN_PP(args[1]);
    arg3 = Z_STRVAL_PP(args[1]);
  }
  result = (struct zx_str *)zx_ref_len_str(arg1,arg2,(char const *)arg3);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_new_len_str) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_new_len_str. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  result = (struct zx_str *)zx_new_len_str(arg1,arg2);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_dup_len_str) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_dup_len_str. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    arg2 = Z_STRLEN_PP(args[1]);
    arg3 = Z_STRVAL_PP(args[1]);
  }
  result = (struct zx_str *)zx_dup_len_str(arg1,arg2,(char const *)arg3);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_dup_str) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_dup_str. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_str *)zx_dup_str(arg1,(char const *)arg2);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_dup_zx_str) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_dup_zx_str. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_dup_zx_str. Expected SWIGTYPE_p_zx_str");
    }
  }
  result = (struct zx_str *)zx_dup_zx_str(arg1,arg2);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_strf) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  void *arg3 = 0 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_strf. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_str *)zx_strf(arg1,(char const *)arg2,arg3);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_alloc_sprintf) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int *arg2 = (int *) 0 ;
  char *arg3 = (char *) 0 ;
  void *arg4 = 0 ;
  zval **args[3];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_alloc_sprintf. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_int, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_alloc_sprintf. Expected SWIGTYPE_p_int");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  result = (char *)zx_alloc_sprintf(arg1,arg2,(char const *)arg3,arg4);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_str_free) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_str_free. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_str_free. Expected SWIGTYPE_p_zx_str");
    }
  }
  zx_str_free(arg1,arg2);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_str_to_c) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_str_to_c. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_str_to_c. Expected SWIGTYPE_p_zx_str");
    }
  }
  result = (char *)zx_str_to_c(arg1,arg2);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_str_conv) {
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  int *arg2 = (int *) 0 ;
  char **arg3 = (char **) 0 ;
  zval **args[3];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_str_conv. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_int, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_str_conv. Expected SWIGTYPE_p_int");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_p_char, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zx_str_conv. Expected SWIGTYPE_p_p_char");
    }
  }
  zx_str_conv(arg1,arg2,arg3);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_str_cmp) {
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_str_cmp. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_str_cmp. Expected SWIGTYPE_p_zx_str");
    }
  }
  result = (int)zx_str_cmp(arg1,arg2);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_str_ends_in) {
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_str_ends_in. Expected SWIGTYPE_p_zx_str");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  result = (int)zx_str_ends_in(arg1,arg2,(char const *)arg3);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_memmem) {
  char *arg1 = (char *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  zval **args[4];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[0])->type==IS_NULL) {
    arg1 = (char *) 0;
  } else {
    convert_to_string_ex(args[0]);
    arg1 = (char *) Z_STRVAL_PP(args[0]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  result = (char *)zx_memmem((char const *)arg1,arg2,(char const *)arg3,arg4);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_alloc) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  zval **args[2];
  void *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_alloc. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  result = (void *)zx_alloc(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_void, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_zalloc) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  zval **args[2];
  void *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_zalloc. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  result = (void *)zx_zalloc(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_void, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_free) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  void *arg2 = (void *) 0 ;
  zval **args[2];
  void *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_free. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, 0, 0) < 0) {
      /* Allow NULL from php for void* */
      if ((*args[1])->type==IS_NULL) arg2=0;
      else
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_free. Expected SWIGTYPE_p_p_void");
    }
  }
  result = (void *)zx_free(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_void, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_dup_cstr) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_dup_cstr. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  result = (char *)zx_dup_cstr(arg1,(char const *)arg2);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_dup_len_cstr) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_dup_len_cstr. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  result = (char *)zx_dup_len_cstr(arg1,arg2,(char const *)arg3);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_reset_ns_ctx) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  zval **args[1];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_reset_ns_ctx. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  zx_reset_ns_ctx(arg1);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_reset_ctx) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  zval **args[1];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_reset_ctx. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  zx_reset_ctx(arg1);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_init_ctx) {
  struct zx_ctx *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zx_ctx *)zx_init_ctx();
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ctx, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_free_ctx) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  zval **args[1];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_free_ctx. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  zx_free_ctx(arg1);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_at_tok_name_set) {
  struct zx_at_tok *arg1 = (struct zx_at_tok *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_at_tok, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_at_tok_name_set. Expected SWIGTYPE_p_zx_at_tok");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    if (arg2) {
      arg1->name = (char const *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->name, (const char *)arg2);
    } else {
      arg1->name = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_at_tok_name_get) {
  struct zx_at_tok *arg1 = (struct zx_at_tok *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_at_tok, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_at_tok_name_get. Expected SWIGTYPE_p_zx_at_tok");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->name);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zx_at_tok) {
  struct zx_at_tok *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zx_at_tok *)calloc(1, sizeof(struct zx_at_tok));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_at_tok, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zx_at_tok(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zx_at_tok *arg1 = (struct zx_at_tok *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zx_at_tok *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zx_at_tok TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zx_at_tok resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_el_desc_n_set) {
  struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
  struct zx_el_desc *arg2 = (struct zx_el_desc *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_el_desc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_el_desc_n_set. Expected SWIGTYPE_p_zx_el_desc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_el_desc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_el_desc_n_set. Expected SWIGTYPE_p_zx_el_desc");
    }
  }
  if (arg1) (arg1)->n = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_el_desc_n_get) {
  struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
  zval **args[1];
  struct zx_el_desc *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_el_desc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_el_desc_n_get. Expected SWIGTYPE_p_zx_el_desc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_el_desc *) ((arg1)->n);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_el_desc, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_el_desc_tok_set) {
  struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_el_desc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_el_desc_tok_set. Expected SWIGTYPE_p_zx_el_desc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->tok = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_el_desc_tok_get) {
  struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_el_desc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_el_desc_tok_get. Expected SWIGTYPE_p_zx_el_desc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->tok);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_el_desc_siz_set) {
  struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_el_desc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_el_desc_siz_set. Expected SWIGTYPE_p_zx_el_desc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->siz = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_el_desc_siz_get) {
  struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_el_desc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_el_desc_siz_get. Expected SWIGTYPE_p_zx_el_desc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->siz);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_el_desc_at_dec_set) {
  struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
  int (*arg2)(struct zx_ctx *,struct zx_elem_s *) = (int (*)(struct zx_ctx *,struct zx_elem_s *)) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_el_desc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_el_desc_at_dec_set. Expected SWIGTYPE_p_zx_el_desc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_f_p_struct_zx_ctx_p_struct_zx_elem_s__int, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_el_desc_at_dec_set. Expected SWIGTYPE_p_f_p_struct_zx_ctx_p_struct_zx_elem_s__int");
    }
  }
  if (arg1) (arg1)->at_dec = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_el_desc_at_dec_get) {
  struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
  zval **args[1];
  int (*result)(struct zx_ctx *,struct zx_elem_s *) = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_el_desc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_el_desc_at_dec_get. Expected SWIGTYPE_p_zx_el_desc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int (*)(struct zx_ctx *,struct zx_elem_s *)) ((arg1)->at_dec);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_f_p_struct_zx_ctx_p_struct_zx_elem_s__int, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_el_desc_el_dec_set) {
  struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
  int (*arg2)(struct zx_ctx *,struct zx_elem_s *) = (int (*)(struct zx_ctx *,struct zx_elem_s *)) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_el_desc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_el_desc_el_dec_set. Expected SWIGTYPE_p_zx_el_desc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_f_p_struct_zx_ctx_p_struct_zx_elem_s__int, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_el_desc_el_dec_set. Expected SWIGTYPE_p_f_p_struct_zx_ctx_p_struct_zx_elem_s__int");
    }
  }
  if (arg1) (arg1)->el_dec = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_el_desc_el_dec_get) {
  struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
  zval **args[1];
  int (*result)(struct zx_ctx *,struct zx_elem_s *) = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_el_desc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_el_desc_el_dec_get. Expected SWIGTYPE_p_zx_el_desc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int (*)(struct zx_ctx *,struct zx_elem_s *)) ((arg1)->el_dec);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_f_p_struct_zx_ctx_p_struct_zx_elem_s__int, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_el_desc_el_order_get) {
  struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
  zval **args[1];
  int *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_el_desc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_el_desc_el_order_get. Expected SWIGTYPE_p_zx_el_desc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int *)(int *) ((arg1)->el_order);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_int, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zx_el_desc) {
  struct zx_el_desc *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zx_el_desc *)calloc(1, sizeof(struct zx_el_desc));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_el_desc, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zx_el_desc(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zx_el_desc *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zx_el_desc TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zx_el_desc resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_el_tok_name_set) {
  struct zx_el_tok *arg1 = (struct zx_el_tok *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_el_tok, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_el_tok_name_set. Expected SWIGTYPE_p_zx_el_tok");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    if (arg2) {
      arg1->name = (char const *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->name, (const char *)arg2);
    } else {
      arg1->name = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_el_tok_name_get) {
  struct zx_el_tok *arg1 = (struct zx_el_tok *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_el_tok, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_el_tok_name_get. Expected SWIGTYPE_p_zx_el_tok");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->name);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_el_tok_n_set) {
  struct zx_el_tok *arg1 = (struct zx_el_tok *) 0 ;
  struct zx_el_desc *arg2 = (struct zx_el_desc *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_el_tok, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_el_tok_n_set. Expected SWIGTYPE_p_zx_el_tok");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_el_desc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_el_tok_n_set. Expected SWIGTYPE_p_zx_el_desc");
    }
  }
  if (arg1) (arg1)->n = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_el_tok_n_get) {
  struct zx_el_tok *arg1 = (struct zx_el_tok *) 0 ;
  zval **args[1];
  struct zx_el_desc *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_el_tok, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_el_tok_n_get. Expected SWIGTYPE_p_zx_el_tok");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_el_desc *) ((arg1)->n);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_el_desc, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zx_el_tok) {
  struct zx_el_tok *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zx_el_tok *)calloc(1, sizeof(struct zx_el_tok));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_el_tok, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zx_el_tok(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zx_el_tok *arg1 = (struct zx_el_tok *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zx_el_tok *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zx_el_tok TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zx_el_tok resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_date_time_to_secs) {
  char *arg1 = (char *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[0])->type==IS_NULL) {
    arg1 = (char *) 0;
  } else {
    convert_to_string_ex(args[0]);
    arg1 = (char *) Z_STRVAL_PP(args[0]);
  }
  /*@SWIG@*/;
  
  result = (int)zx_date_time_to_secs((char const *)arg1);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_write2_or_append_lock_c_path) {
  char *arg1 = (char *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  char *arg6 = (char *) 0 ;
  int arg7 ;
  int arg8 ;
  zval **args[8];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 8 || zend_get_parameters_array_ex(8, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[0])->type==IS_NULL) {
    arg1 = (char *) 0;
  } else {
    convert_to_string_ex(args[0]);
    arg1 = (char *) Z_STRVAL_PP(args[0]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[5])->type==IS_NULL) {
    arg6 = (char *) 0;
  } else {
    convert_to_string_ex(args[5]);
    arg6 = (char *) Z_STRVAL_PP(args[5]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[6]);
  arg7 = (int) Z_LVAL_PP(args[6]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[7]);
  arg8 = (int) Z_LVAL_PP(args[7]);
  /*@SWIG@*/;
  
  result = (int)write2_or_append_lock_c_path((char const *)arg1,arg2,(char const *)arg3,arg4,(char const *)arg5,(char const *)arg6,arg7,arg8);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_report_openssl_err) {
  char *arg1 = (char *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[0])->type==IS_NULL) {
    arg1 = (char *) 0;
  } else {
    convert_to_string_ex(args[0]);
    arg1 = (char *) Z_STRVAL_PP(args[0]);
  }
  /*@SWIG@*/;
  
  result = (int)zx_report_openssl_err((char const *)arg1);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_dump_ns_tab) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  zval **args[2];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_dump_ns_tab. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  result = (int)zx_dump_ns_tab(arg1,arg2);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_prefix_seen) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  struct zx_ns_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_prefix_seen. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_ns_s *)zx_prefix_seen(arg1,arg2,(char const *)arg3);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ns_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_prefix_seen_whine) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  int arg5 ;
  zval **args[5];
  struct zx_ns_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_prefix_seen_whine. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[4]);
  arg5 = (int) Z_LVAL_PP(args[4]);
  /*@SWIG@*/;
  
  result = (struct zx_ns_s *)zx_prefix_seen_whine(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ns_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_scan_xmlns) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  zval **args[1];
  struct zx_ns_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_scan_xmlns. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  result = (struct zx_ns_s *)zx_scan_xmlns(arg1);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ns_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_see_elem_ns) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s **arg2 = (struct zx_ns_s **) 0 ;
  struct zx_elem_s *arg3 = (struct zx_elem_s *) 0 ;
  zval **args[3];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_see_elem_ns. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_see_elem_ns. Expected SWIGTYPE_p_p_zx_ns_s");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zx_see_elem_ns. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  zx_see_elem_ns(arg1,arg2,arg3);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_pop_seen) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  zval **args[1];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_pop_seen. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  zx_pop_seen(arg1);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_format_parse_error) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_format_parse_error. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  result = (int)zx_format_parse_error(arg1,arg2,arg3,arg4);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_hmac_sha256) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  char *arg6 = (char *) 0 ;
  int *arg7 = (int *) 0 ;
  zval **args[7];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 7 || zend_get_parameters_array_ex(7, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_hmac_sha256. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[5])->type==IS_NULL) {
    arg6 = (char *) 0;
  } else {
    convert_to_string_ex(args[5]);
    arg6 = (char *) Z_STRVAL_PP(args[5]);
  }
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[6], (void **) &arg7, SWIGTYPE_p_int, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 7 of zx_hmac_sha256. Expected SWIGTYPE_p_int");
    }
  }
  result = (char *)zx_hmac_sha256(arg1,arg2,(char const *)arg3,arg4,(char const *)arg5,arg6,arg7);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_raw_raw_digest2) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  EVP_MD *arg3 = (EVP_MD *) 0 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  int arg6 ;
  char *arg7 = (char *) 0 ;
  zval **args[6];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 6 || zend_get_parameters_array_ex(6, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_raw_raw_digest2. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_EVP_MD, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zx_raw_raw_digest2. Expected SWIGTYPE_p_EVP_MD");
    }
  }
  {
    arg4 = Z_STRLEN_PP(args[3]);
    arg5 = Z_STRVAL_PP(args[3]);
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[4]);
  arg6 = (int) Z_LVAL_PP(args[4]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[5])->type==IS_NULL) {
    arg7 = (char *) 0;
  } else {
    convert_to_string_ex(args[5]);
    arg7 = (char *) Z_STRVAL_PP(args[5]);
  }
  /*@SWIG@*/;
  
  result = (int)zx_raw_raw_digest2(arg1,arg2,(EVP_MD const *)arg3,arg4,(char const *)arg5,arg6,(char const *)arg7);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_raw_digest2) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  int arg6 ;
  char *arg7 = (char *) 0 ;
  zval **args[6];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 6 || zend_get_parameters_array_ex(6, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_raw_digest2. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  {
    arg4 = Z_STRLEN_PP(args[3]);
    arg5 = Z_STRVAL_PP(args[3]);
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[4]);
  arg6 = (int) Z_LVAL_PP(args[4]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[5])->type==IS_NULL) {
    arg7 = (char *) 0;
  } else {
    convert_to_string_ex(args[5]);
    arg7 = (char *) Z_STRVAL_PP(args[5]);
  }
  /*@SWIG@*/;
  
  result = (int)zx_raw_digest2(arg1,arg2,(char const *)arg3,arg4,(char const *)arg5,arg6,(char const *)arg7);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_raw_cipher) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  struct zx_str *arg4 = (struct zx_str *) 0 ;
  int arg5 ;
  char *arg6 = (char *) 0 ;
  int arg7 ;
  char *arg8 = (char *) 0 ;
  zval **args[7];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 7 || zend_get_parameters_array_ex(7, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_raw_cipher. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[3], (void **) &arg4, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 4 of zx_raw_cipher. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    arg5 = Z_STRLEN_PP(args[4]);
    arg6 = Z_STRVAL_PP(args[4]);
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[5]);
  arg7 = (int) Z_LVAL_PP(args[5]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[6])->type==IS_NULL) {
    arg8 = (char *) 0;
  } else {
    convert_to_string_ex(args[6]);
    arg8 = (char *) Z_STRVAL_PP(args[6]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_str *)zx_raw_cipher(arg1,(char const *)arg2,arg3,arg4,arg5,(char const *)arg6,arg7,(char const *)arg8);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_rsa_pub_enc) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  void *arg3 = (void *) 0 ;
  int arg4 ;
  zval **args[4];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_rsa_pub_enc. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_rsa_pub_enc. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, 0, 0) < 0) {
      /* Allow NULL from php for void* */
      if ((*args[2])->type==IS_NULL) arg3=0;
      else
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zx_rsa_pub_enc. Expected SWIGTYPE_p_p_void");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  result = (struct zx_str *)zx_rsa_pub_enc(arg1,arg2,arg3,arg4);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_rsa_pub_dec) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  void *arg3 = (void *) 0 ;
  int arg4 ;
  zval **args[4];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_rsa_pub_dec. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_rsa_pub_dec. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, 0, 0) < 0) {
      /* Allow NULL from php for void* */
      if ((*args[2])->type==IS_NULL) arg3=0;
      else
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zx_rsa_pub_dec. Expected SWIGTYPE_p_p_void");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  result = (struct zx_str *)zx_rsa_pub_dec(arg1,arg2,arg3,arg4);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_rsa_priv_dec) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  void *arg3 = (void *) 0 ;
  int arg4 ;
  zval **args[4];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_rsa_priv_dec. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_rsa_priv_dec. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, 0, 0) < 0) {
      /* Allow NULL from php for void* */
      if ((*args[2])->type==IS_NULL) arg3=0;
      else
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zx_rsa_priv_dec. Expected SWIGTYPE_p_p_void");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  result = (struct zx_str *)zx_rsa_priv_dec(arg1,arg2,arg3,arg4);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_rsa_priv_enc) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  void *arg3 = (void *) 0 ;
  int arg4 ;
  zval **args[4];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_rsa_priv_enc. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_rsa_priv_enc. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, 0, 0) < 0) {
      /* Allow NULL from php for void* */
      if ((*args[2])->type==IS_NULL) arg3=0;
      else
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zx_rsa_priv_enc. Expected SWIGTYPE_p_p_void");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  result = (struct zx_str *)zx_rsa_priv_enc(arg1,arg2,arg3,arg4);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_get_rsa_pub_from_cert) {
  void *arg1 = (void *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  void *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, 0, 0) < 0) {
      /* Allow NULL from php for void* */
      if ((*args[0])->type==IS_NULL) arg1=0;
      else
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_get_rsa_pub_from_cert. Expected SWIGTYPE_p_p_void");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  result = (void *)zx_get_rsa_pub_from_cert(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_void, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_rand) {
  char *arg1 = (char *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[0])->type==IS_NULL) {
    arg1 = (char *) 0;
  } else {
    convert_to_string_ex(args[0]);
    arg1 = (char *) Z_STRVAL_PP(args[0]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  zx_rand(arg1,arg2);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_md5_crypt) {
  char *arg1 = (char *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[0])->type==IS_NULL) {
    arg1 = (char *) 0;
  } else {
    convert_to_string_ex(args[0]);
    arg1 = (char *) Z_STRVAL_PP(args[0]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  result = (char *)zx_md5_crypt((char const *)arg1,(char const *)arg2,arg3);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_add_kid) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  zval **args[2];
  struct zx_elem_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_add_kid. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_add_kid. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  result = (struct zx_elem_s *)zx_add_kid(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_elem_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_add_kid_before) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  int arg2 ;
  struct zx_elem_s *arg3 = (struct zx_elem_s *) 0 ;
  zval **args[3];
  struct zx_elem_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_add_kid_before. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zx_add_kid_before. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  result = (struct zx_elem_s *)zx_add_kid_before(arg1,arg2,arg3);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_elem_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_add_kid_after_sa_Issuer) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  zval **args[2];
  struct zx_elem_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_add_kid_after_sa_Issuer. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_add_kid_after_sa_Issuer. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  result = (struct zx_elem_s *)zx_add_kid_after_sa_Issuer(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_elem_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_replace_kid) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  zval **args[2];
  struct zx_elem_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_replace_kid. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_replace_kid. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  result = (struct zx_elem_s *)zx_replace_kid(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_elem_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_add_content) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  zval **args[3];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_add_content. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_add_content. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zx_add_content. Expected SWIGTYPE_p_zx_str");
    }
  }
  zx_add_content(arg1,arg2,arg3);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ord_ins_at) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  struct zx_attr_s *arg2 = (struct zx_attr_s *) 0 ;
  zval **args[2];
  struct zx_attr_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ord_ins_at. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_attr_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_ord_ins_at. Expected SWIGTYPE_p_zx_attr_s");
    }
  }
  result = (struct zx_attr_s *)zx_ord_ins_at(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_attr_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_reverse_elem_lists) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  zval **args[1];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_reverse_elem_lists. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  zx_reverse_elem_lists(arg1);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_len_xmlns_if_not_seen) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s **arg3 = (struct zx_ns_s **) 0 ;
  zval **args[3];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_len_xmlns_if_not_seen. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_len_xmlns_if_not_seen. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zx_len_xmlns_if_not_seen. Expected SWIGTYPE_p_p_zx_ns_s");
    }
  }
  result = (int)zx_len_xmlns_if_not_seen(arg1,arg2,arg3);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_add_xmlns_if_not_seen) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s **arg3 = (struct zx_ns_s **) 0 ;
  zval **args[3];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_add_xmlns_if_not_seen. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_add_xmlns_if_not_seen. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zx_add_xmlns_if_not_seen. Expected SWIGTYPE_p_p_zx_ns_s");
    }
  }
  zx_add_xmlns_if_not_seen(arg1,arg2,arg3);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_enc_seen) {
  char *arg1 = (char *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  zval **args[2];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[0])->type==IS_NULL) {
    arg1 = (char *) 0;
  } else {
    convert_to_string_ex(args[0]);
    arg1 = (char *) Z_STRVAL_PP(args[0]);
  }
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_enc_seen. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  result = (char *)zx_enc_seen(arg1,arg2);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_LEN_WO_any_elem) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  zval **args[2];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_LEN_WO_any_elem. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_LEN_WO_any_elem. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  result = (int)zx_LEN_WO_any_elem(arg1,arg2);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_ENC_WO_any_elem) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_ENC_WO_any_elem. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_ENC_WO_any_elem. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  result = (char *)zx_ENC_WO_any_elem(arg1,arg2,arg3);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_EASY_ENC_elem) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_EASY_ENC_elem. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_EASY_ENC_elem. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  result = (struct zx_str *)zx_EASY_ENC_elem(arg1,arg2);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_free_attr) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_attr_s *arg2 = (struct zx_attr_s *) 0 ;
  int arg3 ;
  zval **args[3];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_free_attr. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_attr_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_free_attr. Expected SWIGTYPE_p_zx_attr_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  zx_free_attr(arg1,arg2,arg3);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_free_elem) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  int arg3 ;
  zval **args[3];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_free_elem. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_free_elem. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  zx_free_elem(arg1,arg2,arg3);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_xml_parse_err) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char arg2 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_xml_parse_err. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  zx_xml_parse_err(arg1,arg2,(char const *)arg3,(char const *)arg4);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_xml_parse_dbg) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char arg2 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_xml_parse_dbg. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  zx_xml_parse_dbg(arg1,arg2,(char const *)arg3,(char const *)arg4);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_xmlns_detected) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  struct zx_ns_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_xmlns_detected. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_xmlns_detected. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_ns_s *)zx_xmlns_detected(arg1,arg2,(char const *)arg3);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ns_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_in_inc_ns) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  zval **args[2];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_in_inc_ns. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_in_inc_ns. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  result = (int)zx_in_inc_ns(arg1,arg2);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_get_el_tok) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  zval **args[1];
  struct zx_el_tok *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_get_el_tok. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  result = (struct zx_el_tok *)zx_get_el_tok(arg1);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_el_tok, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_prepare_dec_ctx) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  zval **args[5];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_prepare_dec_ctx. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_prepare_dec_ctx. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  zx_prepare_dec_ctx(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_dec_zx_root) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  struct zx_root_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_dec_zx_root. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_root_s *)zx_dec_zx_root(arg1,arg2,(char const *)arg3,(char const *)arg4);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_root_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_DEC_elem) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_DEC_elem. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_DEC_elem. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  zx_DEC_elem(arg1,arg2);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_el_desc_lookup) {
  int arg1 ;
  zval **args[1];
  struct zx_el_desc *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[0]);
  arg1 = (int) Z_LVAL_PP(args[0]);
  /*@SWIG@*/;
  
  result = (struct zx_el_desc *)zx_el_desc_lookup(arg1);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_el_desc, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_entity_s_n_set) {
  struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
  struct zxid_entity_s *arg2 = (struct zxid_entity_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_entity_s_n_set. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_entity_s_n_set. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  if (arg1) (arg1)->n = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_entity_s_n_get) {
  struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
  zval **args[1];
  struct zxid_entity_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_entity_s_n_get. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_entity_s *) ((arg1)->n);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_entity_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_entity_s_n_cdc_set) {
  struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
  struct zxid_entity_s *arg2 = (struct zxid_entity_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_entity_s_n_cdc_set. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_entity_s_n_cdc_set. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  if (arg1) (arg1)->n_cdc = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_entity_s_n_cdc_get) {
  struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
  zval **args[1];
  struct zxid_entity_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_entity_s_n_cdc_get. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_entity_s *) ((arg1)->n_cdc);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_entity_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_entity_s_eid_set) {
  struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_entity_s_eid_set. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->eid);
    if (arg2) {
      arg1->eid = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->eid, (const char *)arg2);
    } else {
      arg1->eid = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_entity_s_eid_get) {
  struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_entity_s_eid_get. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->eid);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_entity_s_dpy_name_set) {
  struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_entity_s_dpy_name_set. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->dpy_name);
    if (arg2) {
      arg1->dpy_name = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->dpy_name, (const char *)arg2);
    } else {
      arg1->dpy_name = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_entity_s_dpy_name_get) {
  struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_entity_s_dpy_name_get. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->dpy_name);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_entity_s_button_url_set) {
  struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_entity_s_button_url_set. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->button_url);
    if (arg2) {
      arg1->button_url = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->button_url, (const char *)arg2);
    } else {
      arg1->button_url = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_entity_s_button_url_get) {
  struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_entity_s_button_url_get. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->button_url);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_entity_s_sha1_name_set) {
  struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
  char *arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_entity_s_sha1_name_set. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  {
    if(arg2) {
      strncpy((char*)arg1->sha1_name, (const char *)arg2, 28-1);
      arg1->sha1_name[28-1] = 0;
    } else {
      arg1->sha1_name[0] = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_entity_s_sha1_name_get) {
  struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_entity_s_sha1_name_get. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *)(char *) ((arg1)->sha1_name);
  {
    int len = 0;
    while (len < 28 && result[len]) ++len;
    RETVAL_STRINGL(result, len, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_entity_s_ed_set) {
  struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
  struct zx_md_EntityDescriptor_s *arg2 = (struct zx_md_EntityDescriptor_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_entity_s_ed_set. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_md_EntityDescriptor_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_entity_s_ed_set. Expected SWIGTYPE_p_zx_md_EntityDescriptor_s");
    }
  }
  if (arg1) (arg1)->ed = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_entity_s_ed_get) {
  struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
  zval **args[1];
  struct zx_md_EntityDescriptor_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_entity_s_ed_get. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_md_EntityDescriptor_s *) ((arg1)->ed);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_md_EntityDescriptor_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_entity_s_aamap_set) {
  struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
  struct zxid_map *arg2 = (struct zxid_map *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_entity_s_aamap_set. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_map, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_entity_s_aamap_set. Expected SWIGTYPE_p_zxid_map");
    }
  }
  if (arg1) (arg1)->aamap = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_entity_s_aamap_get) {
  struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
  zval **args[1];
  struct zxid_map *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_entity_s_aamap_get. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_map *) ((arg1)->aamap);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_map, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zxid_entity_s) {
  struct zxid_entity_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zxid_entity_s *)calloc(1, sizeof(struct zxid_entity_s));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_entity_s, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zxid_entity_s(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zxid_entity_s *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zxid_entity_s TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zxid_entity_s resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_magic_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  unsigned int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_magic_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (unsigned int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->magic = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_magic_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  unsigned int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_magic_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (unsigned int) ((arg1)->magic);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_ctx_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_ctx *arg2 = (struct zx_ctx *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_ctx_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_conf_ctx_set. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  if (arg1) (arg1)->ctx = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_ctx_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  struct zx_ctx *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_ctx_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_ctx *) ((arg1)->ctx);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ctx, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_cot_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zxid_entity *arg2 = (zxid_entity *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_cot_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_conf_cot_set. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  if (arg1) (arg1)->cot = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_cot_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  zxid_entity *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_cot_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (zxid_entity *) ((arg1)->cot);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_entity_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_cpath_supplied_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_cpath_supplied_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->cpath_supplied = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_cpath_supplied_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_cpath_supplied_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->cpath_supplied);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_cpath_len_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_cpath_len_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->cpath_len = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_cpath_len_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_cpath_len_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->cpath_len);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_cpath_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_cpath_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->cpath);
    if (arg2) {
      arg1->cpath = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->cpath, (const char *)arg2);
    } else {
      arg1->cpath = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_cpath_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_cpath_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->cpath);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_burl_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_burl_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->burl);
    if (arg2) {
      arg1->burl = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->burl, (const char *)arg2);
    } else {
      arg1->burl = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_burl_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_burl_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->burl);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_non_standard_entityid_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_non_standard_entityid_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->non_standard_entityid);
    if (arg2) {
      arg1->non_standard_entityid = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->non_standard_entityid, (const char *)arg2);
    } else {
      arg1->non_standard_entityid = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_non_standard_entityid_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_non_standard_entityid_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->non_standard_entityid);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_redirect_hack_imposed_url_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_redirect_hack_imposed_url_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->redirect_hack_imposed_url);
    if (arg2) {
      arg1->redirect_hack_imposed_url = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->redirect_hack_imposed_url, (const char *)arg2);
    } else {
      arg1->redirect_hack_imposed_url = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_redirect_hack_imposed_url_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_redirect_hack_imposed_url_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->redirect_hack_imposed_url);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_redirect_hack_zxid_url_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_redirect_hack_zxid_url_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->redirect_hack_zxid_url);
    if (arg2) {
      arg1->redirect_hack_zxid_url = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->redirect_hack_zxid_url, (const char *)arg2);
    } else {
      arg1->redirect_hack_zxid_url = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_redirect_hack_zxid_url_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_redirect_hack_zxid_url_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->redirect_hack_zxid_url);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_redirect_hack_zxid_qs_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_redirect_hack_zxid_qs_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->redirect_hack_zxid_qs);
    if (arg2) {
      arg1->redirect_hack_zxid_qs = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->redirect_hack_zxid_qs, (const char *)arg2);
    } else {
      arg1->redirect_hack_zxid_qs = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_redirect_hack_zxid_qs_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_redirect_hack_zxid_qs_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->redirect_hack_zxid_qs);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_cdc_url_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_cdc_url_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->cdc_url);
    if (arg2) {
      arg1->cdc_url = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->cdc_url, (const char *)arg2);
    } else {
      arg1->cdc_url = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_cdc_url_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_cdc_url_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->cdc_url);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_md_authority_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_md_authority_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->md_authority);
    if (arg2) {
      arg1->md_authority = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->md_authority, (const char *)arg2);
    } else {
      arg1->md_authority = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_md_authority_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_md_authority_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->md_authority);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_cdc_choice_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_cdc_choice_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->cdc_choice = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_cdc_choice_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_cdc_choice_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->cdc_choice);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_md_fetch_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_md_fetch_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->md_fetch = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_md_fetch_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_md_fetch_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->md_fetch);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_md_populate_cache_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_md_populate_cache_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->md_populate_cache = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_md_populate_cache_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_md_populate_cache_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->md_populate_cache);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_md_cache_first_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_md_cache_first_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->md_cache_first = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_md_cache_first_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_md_cache_first_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->md_cache_first);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_md_cache_last_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_md_cache_last_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->md_cache_last = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_md_cache_last_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_md_cache_last_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->md_cache_last);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_auto_cert_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_auto_cert_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->auto_cert = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_auto_cert_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_auto_cert_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->auto_cert);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_ena_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_ena_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->idp_ena = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_ena_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_ena_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->idp_ena);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_imps_ena_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_imps_ena_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->imps_ena = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_imps_ena_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_imps_ena_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->imps_ena);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_as_ena_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_as_ena_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->as_ena = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_as_ena_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_as_ena_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->as_ena);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_pdp_ena_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_pdp_ena_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->pdp_ena = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_pdp_ena_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_pdp_ena_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->pdp_ena);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_authn_req_sign_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_authn_req_sign_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->authn_req_sign = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_authn_req_sign_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_authn_req_sign_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->authn_req_sign);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_want_authn_req_signed_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_want_authn_req_signed_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->want_authn_req_signed = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_want_authn_req_signed_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_want_authn_req_signed_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->want_authn_req_signed);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_want_sso_a7n_signed_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_want_sso_a7n_signed_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->want_sso_a7n_signed = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_want_sso_a7n_signed_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_want_sso_a7n_signed_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->want_sso_a7n_signed);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_sso_soap_sign_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_sso_soap_sign_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->sso_soap_sign = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_sso_soap_sign_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_sso_soap_sign_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->sso_soap_sign);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_sso_soap_resp_sign_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_sso_soap_resp_sign_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->sso_soap_resp_sign = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_sso_soap_resp_sign_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_sso_soap_resp_sign_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->sso_soap_resp_sign);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_sso_sign_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_sso_sign_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->sso_sign = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_sso_sign_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_sso_sign_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->sso_sign);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsc_sign_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsc_sign_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->wsc_sign = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsc_sign_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsc_sign_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->wsc_sign);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsp_sign_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsp_sign_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->wsp_sign = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsp_sign_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsp_sign_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->wsp_sign);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_nameid_enc_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_nameid_enc_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->nameid_enc = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_nameid_enc_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_nameid_enc_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->nameid_enc);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_post_a7n_enc_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_post_a7n_enc_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->post_a7n_enc = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_post_a7n_enc_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_post_a7n_enc_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->post_a7n_enc);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_di_allow_create_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_di_allow_create_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->di_allow_create = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_di_allow_create_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_di_allow_create_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->di_allow_create);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_di_nid_fmt_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_di_nid_fmt_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->di_nid_fmt = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_di_nid_fmt_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_di_nid_fmt_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->di_nid_fmt);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_di_a7n_enc_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_di_a7n_enc_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->di_a7n_enc = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_di_a7n_enc_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_di_a7n_enc_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->di_a7n_enc);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_show_conf_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_show_conf_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->show_conf = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_show_conf_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_show_conf_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->show_conf);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_sig_fatal_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_sig_fatal_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->sig_fatal = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_sig_fatal_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_sig_fatal_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->sig_fatal);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_nosig_fatal_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_nosig_fatal_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->nosig_fatal = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_nosig_fatal_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_nosig_fatal_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->nosig_fatal);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_msg_sig_ok_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_msg_sig_ok_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->msg_sig_ok = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_msg_sig_ok_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_msg_sig_ok_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->msg_sig_ok);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_timeout_fatal_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_timeout_fatal_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->timeout_fatal = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_timeout_fatal_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_timeout_fatal_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->timeout_fatal);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_audience_fatal_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_audience_fatal_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->audience_fatal = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_audience_fatal_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_audience_fatal_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->audience_fatal);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_dup_a7n_fatal_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_dup_a7n_fatal_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->dup_a7n_fatal = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_dup_a7n_fatal_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_dup_a7n_fatal_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->dup_a7n_fatal);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_dup_msg_fatal_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_dup_msg_fatal_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->dup_msg_fatal = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_dup_msg_fatal_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_dup_msg_fatal_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->dup_msg_fatal);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_relto_fatal_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_relto_fatal_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->relto_fatal = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_relto_fatal_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_relto_fatal_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->relto_fatal);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsp_nosig_fatal_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsp_nosig_fatal_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->wsp_nosig_fatal = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsp_nosig_fatal_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsp_nosig_fatal_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->wsp_nosig_fatal);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_notimestamp_fatal_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_notimestamp_fatal_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->notimestamp_fatal = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_notimestamp_fatal_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_notimestamp_fatal_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->notimestamp_fatal);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_canon_inopt_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_canon_inopt_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->canon_inopt = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_canon_inopt_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_canon_inopt_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->canon_inopt);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_enc_tail_opt_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_enc_tail_opt_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->enc_tail_opt = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_enc_tail_opt_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_enc_tail_opt_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->enc_tail_opt);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_enckey_opt_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_enckey_opt_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->enckey_opt = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_enckey_opt_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_enckey_opt_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->enckey_opt);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idpatopt_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idpatopt_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->idpatopt = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idpatopt_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idpatopt_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->idpatopt);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_list_meth_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_list_meth_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->idp_list_meth = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_list_meth_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_list_meth_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->idp_list_meth);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_cpn_ena_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_cpn_ena_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->cpn_ena = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_cpn_ena_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_cpn_ena_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->cpn_ena);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_affiliation_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_affiliation_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->affiliation);
    if (arg2) {
      arg1->affiliation = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->affiliation, (const char *)arg2);
    } else {
      arg1->affiliation = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_affiliation_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_affiliation_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->affiliation);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_nice_name_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_nice_name_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->nice_name);
    if (arg2) {
      arg1->nice_name = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->nice_name, (const char *)arg2);
    } else {
      arg1->nice_name = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_nice_name_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_nice_name_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->nice_name);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_button_url_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_button_url_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->button_url);
    if (arg2) {
      arg1->button_url = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->button_url, (const char *)arg2);
    } else {
      arg1->button_url = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_button_url_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_button_url_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->button_url);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_pref_button_size_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_pref_button_size_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->pref_button_size);
    if (arg2) {
      arg1->pref_button_size = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->pref_button_size, (const char *)arg2);
    } else {
      arg1->pref_button_size = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_pref_button_size_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_pref_button_size_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->pref_button_size);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_org_name_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_org_name_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->org_name);
    if (arg2) {
      arg1->org_name = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->org_name, (const char *)arg2);
    } else {
      arg1->org_name = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_org_name_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_org_name_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->org_name);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_locality_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_locality_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->locality);
    if (arg2) {
      arg1->locality = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->locality, (const char *)arg2);
    } else {
      arg1->locality = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_locality_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_locality_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->locality);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_state_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_state_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->state);
    if (arg2) {
      arg1->state = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->state, (const char *)arg2);
    } else {
      arg1->state = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_state_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_state_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->state);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_country_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_country_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->country);
    if (arg2) {
      arg1->country = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->country, (const char *)arg2);
    } else {
      arg1->country = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_country_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_country_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->country);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_contact_org_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_contact_org_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->contact_org);
    if (arg2) {
      arg1->contact_org = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->contact_org, (const char *)arg2);
    } else {
      arg1->contact_org = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_contact_org_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_contact_org_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->contact_org);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_contact_name_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_contact_name_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->contact_name);
    if (arg2) {
      arg1->contact_name = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->contact_name, (const char *)arg2);
    } else {
      arg1->contact_name = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_contact_name_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_contact_name_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->contact_name);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_contact_email_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_contact_email_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->contact_email);
    if (arg2) {
      arg1->contact_email = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->contact_email, (const char *)arg2);
    } else {
      arg1->contact_email = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_contact_email_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_contact_email_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->contact_email);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_contact_tel_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_contact_tel_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->contact_tel);
    if (arg2) {
      arg1->contact_tel = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->contact_tel, (const char *)arg2);
    } else {
      arg1->contact_tel = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_contact_tel_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_contact_tel_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->contact_tel);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_fedusername_suffix_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_fedusername_suffix_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->fedusername_suffix);
    if (arg2) {
      arg1->fedusername_suffix = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->fedusername_suffix, (const char *)arg2);
    } else {
      arg1->fedusername_suffix = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_fedusername_suffix_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_fedusername_suffix_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->fedusername_suffix);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_ses_arch_dir_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_ses_arch_dir_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->ses_arch_dir);
    if (arg2) {
      arg1->ses_arch_dir = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->ses_arch_dir, (const char *)arg2);
    } else {
      arg1->ses_arch_dir = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_ses_arch_dir_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_ses_arch_dir_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->ses_arch_dir);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_ses_cookie_name_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_ses_cookie_name_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->ses_cookie_name);
    if (arg2) {
      arg1->ses_cookie_name = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->ses_cookie_name, (const char *)arg2);
    } else {
      arg1->ses_cookie_name = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_ses_cookie_name_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_ses_cookie_name_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->ses_cookie_name);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_ptm_cookie_name_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_ptm_cookie_name_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->ptm_cookie_name);
    if (arg2) {
      arg1->ptm_cookie_name = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->ptm_cookie_name, (const char *)arg2);
    } else {
      arg1->ptm_cookie_name = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_ptm_cookie_name_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_ptm_cookie_name_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->ptm_cookie_name);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_ipport_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_ipport_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->ipport);
    if (arg2) {
      arg1->ipport = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->ipport, (const char *)arg2);
    } else {
      arg1->ipport = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_ipport_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_ipport_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->ipport);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_load_cot_cache_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_load_cot_cache_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->load_cot_cache);
    if (arg2) {
      arg1->load_cot_cache = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->load_cot_cache, (const char *)arg2);
    } else {
      arg1->load_cot_cache = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_load_cot_cache_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_load_cot_cache_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->load_cot_cache);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wspcgicmd_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wspcgicmd_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->wspcgicmd);
    if (arg2) {
      arg1->wspcgicmd = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->wspcgicmd, (const char *)arg2);
    } else {
      arg1->wspcgicmd = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wspcgicmd_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wspcgicmd_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->wspcgicmd);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_anon_ok_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_anon_ok_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->anon_ok);
    if (arg2) {
      arg1->anon_ok = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->anon_ok, (const char *)arg2);
    } else {
      arg1->anon_ok = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_anon_ok_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_anon_ok_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->anon_ok);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_optional_login_pat_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_optional_login_pat_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->optional_login_pat);
    if (arg2) {
      arg1->optional_login_pat = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->optional_login_pat, (const char *)arg2);
    } else {
      arg1->optional_login_pat = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_optional_login_pat_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_optional_login_pat_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->optional_login_pat);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_required_authnctx_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char **arg2 = (char **) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_required_authnctx_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_p_char, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_conf_required_authnctx_set. Expected SWIGTYPE_p_p_char");
    }
  }
  if (arg1) (arg1)->required_authnctx = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_required_authnctx_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char **result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_required_authnctx_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char **) ((arg1)->required_authnctx);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_p_char, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_issue_authnctx_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cstr_list *arg2 = (struct zxid_cstr_list *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_issue_authnctx_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cstr_list, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_conf_issue_authnctx_set. Expected SWIGTYPE_p_zxid_cstr_list");
    }
  }
  if (arg1) (arg1)->issue_authnctx = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_issue_authnctx_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  struct zxid_cstr_list *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_issue_authnctx_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_cstr_list *) ((arg1)->issue_authnctx);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_cstr_list, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_pref_acs_binding_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_pref_acs_binding_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->idp_pref_acs_binding);
    if (arg2) {
      arg1->idp_pref_acs_binding = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->idp_pref_acs_binding, (const char *)arg2);
    } else {
      arg1->idp_pref_acs_binding = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_pref_acs_binding_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_pref_acs_binding_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->idp_pref_acs_binding);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_mandatory_attr_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_mandatory_attr_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->mandatory_attr);
    if (arg2) {
      arg1->mandatory_attr = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->mandatory_attr, (const char *)arg2);
    } else {
      arg1->mandatory_attr = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_mandatory_attr_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_mandatory_attr_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->mandatory_attr);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_before_slop_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_before_slop_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->before_slop = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_before_slop_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_before_slop_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->before_slop);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_after_slop_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_after_slop_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->after_slop = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_after_slop_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_after_slop_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->after_slop);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_timeskew_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_timeskew_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->timeskew = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_timeskew_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_timeskew_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->timeskew);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_a7nttl_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_a7nttl_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->a7nttl = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_a7nttl_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_a7nttl_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->a7nttl);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_pdp_url_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_pdp_url_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->pdp_url);
    if (arg2) {
      arg1->pdp_url = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->pdp_url, (const char *)arg2);
    } else {
      arg1->pdp_url = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_pdp_url_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_pdp_url_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->pdp_url);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_pdp_call_url_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_pdp_call_url_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->pdp_call_url);
    if (arg2) {
      arg1->pdp_call_url = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->pdp_call_url, (const char *)arg2);
    } else {
      arg1->pdp_call_url = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_pdp_call_url_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_pdp_call_url_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->pdp_call_url);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_xasp_vers_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_xasp_vers_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->xasp_vers);
    if (arg2) {
      arg1->xasp_vers = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->xasp_vers, (const char *)arg2);
    } else {
      arg1->xasp_vers = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_xasp_vers_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_xasp_vers_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->xasp_vers);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_trustpdp_url_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_trustpdp_url_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->trustpdp_url);
    if (arg2) {
      arg1->trustpdp_url = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->trustpdp_url, (const char *)arg2);
    } else {
      arg1->trustpdp_url = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_trustpdp_url_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_trustpdp_url_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->trustpdp_url);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_defaultqs_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_defaultqs_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->defaultqs);
    if (arg2) {
      arg1->defaultqs = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->defaultqs, (const char *)arg2);
    } else {
      arg1->defaultqs = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_defaultqs_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_defaultqs_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->defaultqs);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsp_pat_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsp_pat_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->wsp_pat);
    if (arg2) {
      arg1->wsp_pat = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->wsp_pat, (const char *)arg2);
    } else {
      arg1->wsp_pat = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsp_pat_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsp_pat_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->wsp_pat);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_uma_pat_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_uma_pat_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->uma_pat);
    if (arg2) {
      arg1->uma_pat = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->uma_pat, (const char *)arg2);
    } else {
      arg1->uma_pat = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_uma_pat_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_uma_pat_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->uma_pat);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_sso_pat_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_sso_pat_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->sso_pat);
    if (arg2) {
      arg1->sso_pat = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->sso_pat, (const char *)arg2);
    } else {
      arg1->sso_pat = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_sso_pat_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_sso_pat_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->sso_pat);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_mod_saml_attr_prefix_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_mod_saml_attr_prefix_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->mod_saml_attr_prefix);
    if (arg2) {
      arg1->mod_saml_attr_prefix = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->mod_saml_attr_prefix, (const char *)arg2);
    } else {
      arg1->mod_saml_attr_prefix = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_mod_saml_attr_prefix_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_mod_saml_attr_prefix_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->mod_saml_attr_prefix);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsc_to_hdr_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsc_to_hdr_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->wsc_to_hdr);
    if (arg2) {
      arg1->wsc_to_hdr = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->wsc_to_hdr, (const char *)arg2);
    } else {
      arg1->wsc_to_hdr = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsc_to_hdr_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsc_to_hdr_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->wsc_to_hdr);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsc_replyto_hdr_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsc_replyto_hdr_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->wsc_replyto_hdr);
    if (arg2) {
      arg1->wsc_replyto_hdr = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->wsc_replyto_hdr, (const char *)arg2);
    } else {
      arg1->wsc_replyto_hdr = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsc_replyto_hdr_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsc_replyto_hdr_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->wsc_replyto_hdr);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsc_action_hdr_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsc_action_hdr_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->wsc_action_hdr);
    if (arg2) {
      arg1->wsc_action_hdr = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->wsc_action_hdr, (const char *)arg2);
    } else {
      arg1->wsc_action_hdr = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsc_action_hdr_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsc_action_hdr_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->wsc_action_hdr);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_soap_action_hdr_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_soap_action_hdr_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->soap_action_hdr);
    if (arg2) {
      arg1->soap_action_hdr = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->soap_action_hdr, (const char *)arg2);
    } else {
      arg1->soap_action_hdr = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_soap_action_hdr_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_soap_action_hdr_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->soap_action_hdr);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsc_soap_content_type_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsc_soap_content_type_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->wsc_soap_content_type);
    if (arg2) {
      arg1->wsc_soap_content_type = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->wsc_soap_content_type, (const char *)arg2);
    } else {
      arg1->wsc_soap_content_type = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsc_soap_content_type_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsc_soap_content_type_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->wsc_soap_content_type);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_need_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_need *arg2 = (struct zxid_need *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_need_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_need, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_conf_need_set. Expected SWIGTYPE_p_zxid_need");
    }
  }
  if (arg1) (arg1)->need = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_need_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  struct zxid_need *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_need_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_need *) ((arg1)->need);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_need, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_want_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_need *arg2 = (struct zxid_need *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_want_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_need, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_conf_want_set. Expected SWIGTYPE_p_zxid_need");
    }
  }
  if (arg1) (arg1)->want = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_want_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  struct zxid_need *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_want_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_need *) ((arg1)->want);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_need, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_attrsrc_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_atsrc *arg2 = (struct zxid_atsrc *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_attrsrc_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_atsrc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_conf_attrsrc_set. Expected SWIGTYPE_p_zxid_atsrc");
    }
  }
  if (arg1) (arg1)->attrsrc = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_attrsrc_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  struct zxid_atsrc *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_attrsrc_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_atsrc *) ((arg1)->attrsrc);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_atsrc, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_aamap_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_map *arg2 = (struct zxid_map *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_aamap_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_map, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_conf_aamap_set. Expected SWIGTYPE_p_zxid_map");
    }
  }
  if (arg1) (arg1)->aamap = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_aamap_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  struct zxid_map *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_aamap_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_map *) ((arg1)->aamap);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_map, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_inmap_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_map *arg2 = (struct zxid_map *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_inmap_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_map, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_conf_inmap_set. Expected SWIGTYPE_p_zxid_map");
    }
  }
  if (arg1) (arg1)->inmap = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_inmap_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  struct zxid_map *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_inmap_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_map *) ((arg1)->inmap);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_map, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_outmap_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_map *arg2 = (struct zxid_map *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_outmap_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_map, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_conf_outmap_set. Expected SWIGTYPE_p_zxid_map");
    }
  }
  if (arg1) (arg1)->outmap = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_outmap_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  struct zxid_map *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_outmap_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_map *) ((arg1)->outmap);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_map, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_pepmap_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_map *arg2 = (struct zxid_map *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_pepmap_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_map, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_conf_pepmap_set. Expected SWIGTYPE_p_zxid_map");
    }
  }
  if (arg1) (arg1)->pepmap = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_pepmap_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  struct zxid_map *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_pepmap_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_map *) ((arg1)->pepmap);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_map, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_pepmap_rqout_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_map *arg2 = (struct zxid_map *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_pepmap_rqout_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_map, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_conf_pepmap_rqout_set. Expected SWIGTYPE_p_zxid_map");
    }
  }
  if (arg1) (arg1)->pepmap_rqout = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_pepmap_rqout_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  struct zxid_map *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_pepmap_rqout_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_map *) ((arg1)->pepmap_rqout);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_map, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_pepmap_rqin_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_map *arg2 = (struct zxid_map *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_pepmap_rqin_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_map, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_conf_pepmap_rqin_set. Expected SWIGTYPE_p_zxid_map");
    }
  }
  if (arg1) (arg1)->pepmap_rqin = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_pepmap_rqin_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  struct zxid_map *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_pepmap_rqin_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_map *) ((arg1)->pepmap_rqin);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_map, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_pepmap_rsout_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_map *arg2 = (struct zxid_map *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_pepmap_rsout_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_map, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_conf_pepmap_rsout_set. Expected SWIGTYPE_p_zxid_map");
    }
  }
  if (arg1) (arg1)->pepmap_rsout = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_pepmap_rsout_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  struct zxid_map *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_pepmap_rsout_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_map *) ((arg1)->pepmap_rsout);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_map, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_pepmap_rsin_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_map *arg2 = (struct zxid_map *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_pepmap_rsin_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_map, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_conf_pepmap_rsin_set. Expected SWIGTYPE_p_zxid_map");
    }
  }
  if (arg1) (arg1)->pepmap_rsin = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_pepmap_rsin_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  struct zxid_map *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_pepmap_rsin_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_map *) ((arg1)->pepmap_rsin);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_map, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_localpdp_role_permit_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cstr_list *arg2 = (struct zxid_cstr_list *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_localpdp_role_permit_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cstr_list, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_conf_localpdp_role_permit_set. Expected SWIGTYPE_p_zxid_cstr_list");
    }
  }
  if (arg1) (arg1)->localpdp_role_permit = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_localpdp_role_permit_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  struct zxid_cstr_list *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_localpdp_role_permit_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_cstr_list *) ((arg1)->localpdp_role_permit);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_cstr_list, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_localpdp_role_deny_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cstr_list *arg2 = (struct zxid_cstr_list *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_localpdp_role_deny_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cstr_list, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_conf_localpdp_role_deny_set. Expected SWIGTYPE_p_zxid_cstr_list");
    }
  }
  if (arg1) (arg1)->localpdp_role_deny = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_localpdp_role_deny_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  struct zxid_cstr_list *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_localpdp_role_deny_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_cstr_list *) ((arg1)->localpdp_role_deny);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_cstr_list, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_localpdp_idpnid_permit_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cstr_list *arg2 = (struct zxid_cstr_list *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_localpdp_idpnid_permit_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cstr_list, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_conf_localpdp_idpnid_permit_set. Expected SWIGTYPE_p_zxid_cstr_list");
    }
  }
  if (arg1) (arg1)->localpdp_idpnid_permit = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_localpdp_idpnid_permit_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  struct zxid_cstr_list *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_localpdp_idpnid_permit_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_cstr_list *) ((arg1)->localpdp_idpnid_permit);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_cstr_list, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_localpdp_idpnid_deny_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cstr_list *arg2 = (struct zxid_cstr_list *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_localpdp_idpnid_deny_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cstr_list, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_conf_localpdp_idpnid_deny_set. Expected SWIGTYPE_p_zxid_cstr_list");
    }
  }
  if (arg1) (arg1)->localpdp_idpnid_deny = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_localpdp_idpnid_deny_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  struct zxid_cstr_list *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_localpdp_idpnid_deny_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_cstr_list *) ((arg1)->localpdp_idpnid_deny);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_cstr_list, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsc_localpdp_obl_pledge_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsc_localpdp_obl_pledge_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->wsc_localpdp_obl_pledge);
    if (arg2) {
      arg1->wsc_localpdp_obl_pledge = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->wsc_localpdp_obl_pledge, (const char *)arg2);
    } else {
      arg1->wsc_localpdp_obl_pledge = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsc_localpdp_obl_pledge_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsc_localpdp_obl_pledge_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->wsc_localpdp_obl_pledge);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsp_localpdp_obl_req_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_obl_list *arg2 = (struct zxid_obl_list *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsp_localpdp_obl_req_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_obl_list, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_conf_wsp_localpdp_obl_req_set. Expected SWIGTYPE_p_zxid_obl_list");
    }
  }
  if (arg1) (arg1)->wsp_localpdp_obl_req = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsp_localpdp_obl_req_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  struct zxid_obl_list *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsp_localpdp_obl_req_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_obl_list *) ((arg1)->wsp_localpdp_obl_req);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_obl_list, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsp_localpdp_obl_emit_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsp_localpdp_obl_emit_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->wsp_localpdp_obl_emit);
    if (arg2) {
      arg1->wsp_localpdp_obl_emit = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->wsp_localpdp_obl_emit, (const char *)arg2);
    } else {
      arg1->wsp_localpdp_obl_emit = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsp_localpdp_obl_emit_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsp_localpdp_obl_emit_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->wsp_localpdp_obl_emit);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsc_localpdp_obl_accept_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_obl_list *arg2 = (struct zxid_obl_list *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsc_localpdp_obl_accept_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_obl_list, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_conf_wsc_localpdp_obl_accept_set. Expected SWIGTYPE_p_zxid_obl_list");
    }
  }
  if (arg1) (arg1)->wsc_localpdp_obl_accept = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wsc_localpdp_obl_accept_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  struct zxid_obl_list *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wsc_localpdp_obl_accept_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_obl_list *) ((arg1)->wsc_localpdp_obl_accept);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_obl_list, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_unix_grp_az_map_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_map *arg2 = (struct zxid_map *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_unix_grp_az_map_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_map, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_conf_unix_grp_az_map_set. Expected SWIGTYPE_p_zxid_map");
    }
  }
  if (arg1) (arg1)->unix_grp_az_map = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_unix_grp_az_map_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  struct zxid_map *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_unix_grp_az_map_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_map *) ((arg1)->unix_grp_az_map);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_map, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_bootstrap_level_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_bootstrap_level_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->bootstrap_level = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_bootstrap_level_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_bootstrap_level_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->bootstrap_level);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_max_soap_retry_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_max_soap_retry_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->max_soap_retry = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_max_soap_retry_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_max_soap_retry_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->max_soap_retry);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_sel_start_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_sel_start_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->idp_sel_start);
    if (arg2) {
      arg1->idp_sel_start = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->idp_sel_start, (const char *)arg2);
    } else {
      arg1->idp_sel_start = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_sel_start_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_sel_start_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->idp_sel_start);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_sel_new_idp_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_sel_new_idp_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->idp_sel_new_idp);
    if (arg2) {
      arg1->idp_sel_new_idp = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->idp_sel_new_idp, (const char *)arg2);
    } else {
      arg1->idp_sel_new_idp = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_sel_new_idp_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_sel_new_idp_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->idp_sel_new_idp);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_sel_our_eid_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_sel_our_eid_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->idp_sel_our_eid);
    if (arg2) {
      arg1->idp_sel_our_eid = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->idp_sel_our_eid, (const char *)arg2);
    } else {
      arg1->idp_sel_our_eid = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_sel_our_eid_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_sel_our_eid_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->idp_sel_our_eid);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_sel_tech_user_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_sel_tech_user_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->idp_sel_tech_user);
    if (arg2) {
      arg1->idp_sel_tech_user = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->idp_sel_tech_user, (const char *)arg2);
    } else {
      arg1->idp_sel_tech_user = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_sel_tech_user_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_sel_tech_user_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->idp_sel_tech_user);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_sel_tech_site_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_sel_tech_site_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->idp_sel_tech_site);
    if (arg2) {
      arg1->idp_sel_tech_site = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->idp_sel_tech_site, (const char *)arg2);
    } else {
      arg1->idp_sel_tech_site = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_sel_tech_site_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_sel_tech_site_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->idp_sel_tech_site);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_sel_footer_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_sel_footer_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->idp_sel_footer);
    if (arg2) {
      arg1->idp_sel_footer = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->idp_sel_footer, (const char *)arg2);
    } else {
      arg1->idp_sel_footer = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_sel_footer_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_sel_footer_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->idp_sel_footer);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_sel_end_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_sel_end_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->idp_sel_end);
    if (arg2) {
      arg1->idp_sel_end = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->idp_sel_end, (const char *)arg2);
    } else {
      arg1->idp_sel_end = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_sel_end_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_sel_end_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->idp_sel_end);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_sel_page_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_sel_page_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->idp_sel_page);
    if (arg2) {
      arg1->idp_sel_page = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->idp_sel_page, (const char *)arg2);
    } else {
      arg1->idp_sel_page = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_sel_page_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_sel_page_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->idp_sel_page);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_sel_templ_file_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_sel_templ_file_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->idp_sel_templ_file);
    if (arg2) {
      arg1->idp_sel_templ_file = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->idp_sel_templ_file, (const char *)arg2);
    } else {
      arg1->idp_sel_templ_file = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_sel_templ_file_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_sel_templ_file_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->idp_sel_templ_file);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_sel_templ_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_sel_templ_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->idp_sel_templ);
    if (arg2) {
      arg1->idp_sel_templ = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->idp_sel_templ, (const char *)arg2);
    } else {
      arg1->idp_sel_templ = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_sel_templ_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_sel_templ_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->idp_sel_templ);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_an_page_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_an_page_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->an_page);
    if (arg2) {
      arg1->an_page = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->an_page, (const char *)arg2);
    } else {
      arg1->an_page = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_an_page_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_an_page_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->an_page);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_an_templ_file_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_an_templ_file_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->an_templ_file);
    if (arg2) {
      arg1->an_templ_file = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->an_templ_file, (const char *)arg2);
    } else {
      arg1->an_templ_file = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_an_templ_file_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_an_templ_file_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->an_templ_file);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_an_templ_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_an_templ_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->an_templ);
    if (arg2) {
      arg1->an_templ = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->an_templ, (const char *)arg2);
    } else {
      arg1->an_templ = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_an_templ_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_an_templ_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->an_templ);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_post_templ_file_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_post_templ_file_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->post_templ_file);
    if (arg2) {
      arg1->post_templ_file = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->post_templ_file, (const char *)arg2);
    } else {
      arg1->post_templ_file = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_post_templ_file_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_post_templ_file_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->post_templ_file);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_post_templ_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_post_templ_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->post_templ);
    if (arg2) {
      arg1->post_templ = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->post_templ, (const char *)arg2);
    } else {
      arg1->post_templ = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_post_templ_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_post_templ_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->post_templ);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_err_page_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_err_page_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->err_page);
    if (arg2) {
      arg1->err_page = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->err_page, (const char *)arg2);
    } else {
      arg1->err_page = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_err_page_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_err_page_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->err_page);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_err_templ_file_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_err_templ_file_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->err_templ_file);
    if (arg2) {
      arg1->err_templ_file = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->err_templ_file, (const char *)arg2);
    } else {
      arg1->err_templ_file = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_err_templ_file_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_err_templ_file_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->err_templ_file);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_err_templ_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_err_templ_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->err_templ);
    if (arg2) {
      arg1->err_templ = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->err_templ, (const char *)arg2);
    } else {
      arg1->err_templ = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_err_templ_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_err_templ_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->err_templ);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_new_user_page_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_new_user_page_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->new_user_page);
    if (arg2) {
      arg1->new_user_page = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->new_user_page, (const char *)arg2);
    } else {
      arg1->new_user_page = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_new_user_page_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_new_user_page_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->new_user_page);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_recover_passwd_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_recover_passwd_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->recover_passwd);
    if (arg2) {
      arg1->recover_passwd = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->recover_passwd, (const char *)arg2);
    } else {
      arg1->recover_passwd = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_recover_passwd_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_recover_passwd_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->recover_passwd);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_atsel_page_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_atsel_page_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->atsel_page);
    if (arg2) {
      arg1->atsel_page = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->atsel_page, (const char *)arg2);
    } else {
      arg1->atsel_page = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_atsel_page_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_atsel_page_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->atsel_page);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_mgmt_start_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_mgmt_start_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->mgmt_start);
    if (arg2) {
      arg1->mgmt_start = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->mgmt_start, (const char *)arg2);
    } else {
      arg1->mgmt_start = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_mgmt_start_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_mgmt_start_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->mgmt_start);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_mgmt_logout_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_mgmt_logout_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->mgmt_logout);
    if (arg2) {
      arg1->mgmt_logout = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->mgmt_logout, (const char *)arg2);
    } else {
      arg1->mgmt_logout = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_mgmt_logout_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_mgmt_logout_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->mgmt_logout);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_mgmt_defed_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_mgmt_defed_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->mgmt_defed);
    if (arg2) {
      arg1->mgmt_defed = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->mgmt_defed, (const char *)arg2);
    } else {
      arg1->mgmt_defed = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_mgmt_defed_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_mgmt_defed_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->mgmt_defed);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_mgmt_footer_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_mgmt_footer_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->mgmt_footer);
    if (arg2) {
      arg1->mgmt_footer = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->mgmt_footer, (const char *)arg2);
    } else {
      arg1->mgmt_footer = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_mgmt_footer_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_mgmt_footer_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->mgmt_footer);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_mgmt_end_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_mgmt_end_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->mgmt_end);
    if (arg2) {
      arg1->mgmt_end = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->mgmt_end, (const char *)arg2);
    } else {
      arg1->mgmt_end = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_mgmt_end_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_mgmt_end_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->mgmt_end);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_dbg_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_dbg_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->dbg);
    if (arg2) {
      arg1->dbg = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->dbg, (const char *)arg2);
    } else {
      arg1->dbg = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_dbg_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_dbg_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->dbg);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wd_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wd_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->wd);
    if (arg2) {
      arg1->wd = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->wd, (const char *)arg2);
    } else {
      arg1->wd = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_wd_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_wd_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->wd);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_bus_url_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_bus_url *arg2 = (struct zxid_bus_url *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_bus_url_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_conf_bus_url_set. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if (arg1) (arg1)->bus_url = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_bus_url_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  struct zxid_bus_url *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_bus_url_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_bus_url *) ((arg1)->bus_url);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_bus_url, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_bus_pw_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_bus_pw_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->bus_pw);
    if (arg2) {
      arg1->bus_pw = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->bus_pw, (const char *)arg2);
    } else {
      arg1->bus_pw = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_bus_pw_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_bus_pw_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->bus_pw);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_log_err_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_log_err_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->log_err = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_log_err_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_log_err_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->log_err);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_log_act_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_log_act_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->log_act = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_log_act_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_log_act_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->log_act);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_log_issue_a7n_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_log_issue_a7n_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->log_issue_a7n = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_log_issue_a7n_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_log_issue_a7n_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->log_issue_a7n);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_log_issue_msg_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_log_issue_msg_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->log_issue_msg = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_log_issue_msg_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_log_issue_msg_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->log_issue_msg);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_log_rely_a7n_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_log_rely_a7n_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->log_rely_a7n = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_log_rely_a7n_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_log_rely_a7n_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->log_rely_a7n);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_log_rely_msg_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_log_rely_msg_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->log_rely_msg = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_log_rely_msg_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_log_rely_msg_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->log_rely_msg);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_log_err_in_act_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_log_err_in_act_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->log_err_in_act = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_log_err_in_act_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_log_err_in_act_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->log_err_in_act);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_log_act_in_err_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_log_act_in_err_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->log_act_in_err = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_log_act_in_err_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_log_act_in_err_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->log_act_in_err);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_log_sigfail_is_err_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_log_sigfail_is_err_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->log_sigfail_is_err = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_log_sigfail_is_err_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_log_sigfail_is_err_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->log_sigfail_is_err);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_log_level_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_log_level_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->log_level = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_log_level_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_log_level_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->log_level);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_user_local_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_user_local_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->user_local = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_user_local_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_user_local_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->user_local);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_redir_to_content_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_redir_to_content_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->redir_to_content = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_redir_to_content_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_redir_to_content_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->redir_to_content);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_remote_user_ena_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_remote_user_ena_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->remote_user_ena = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_remote_user_ena_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_remote_user_ena_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->remote_user_ena);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_show_tech_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_show_tech_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->show_tech = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_show_tech_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_show_tech_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->show_tech);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_bare_url_entityid_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_bare_url_entityid_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->bare_url_entityid = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_bare_url_entityid_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_bare_url_entityid_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->bare_url_entityid);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_loguser_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_loguser_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->loguser = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_loguser_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_loguser_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->loguser);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_az_opt_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_az_opt_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->az_opt = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_az_opt_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_az_opt_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->az_opt);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_valid_opt_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_valid_opt_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->valid_opt = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_valid_opt_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_valid_opt_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->valid_opt);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_pxy_ena_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_pxy_ena_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->idp_pxy_ena = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_idp_pxy_ena_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_idp_pxy_ena_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->idp_pxy_ena);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_oaz_jwt_sigenc_alg_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_oaz_jwt_sigenc_alg_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->oaz_jwt_sigenc_alg = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_oaz_jwt_sigenc_alg_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_oaz_jwt_sigenc_alg_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->oaz_jwt_sigenc_alg);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_bus_rcpt_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_bus_rcpt_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->bus_rcpt = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_bus_rcpt_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_bus_rcpt_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->bus_rcpt);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_az_fail_mode_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_az_fail_mode_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->az_fail_mode = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_az_fail_mode_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_az_fail_mode_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->az_fail_mode);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_md_authority_ena_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_md_authority_ena_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->md_authority_ena = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_md_authority_ena_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_md_authority_ena_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->md_authority_ena);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_backwards_compat_ena_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_backwards_compat_ena_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->backwards_compat_ena = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_backwards_compat_ena_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_backwards_compat_ena_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->backwards_compat_ena);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_xmldsig_sig_meth_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_xmldsig_sig_meth_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->xmldsig_sig_meth);
    if (arg2) {
      arg1->xmldsig_sig_meth = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->xmldsig_sig_meth, (const char *)arg2);
    } else {
      arg1->xmldsig_sig_meth = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_xmldsig_sig_meth_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_xmldsig_sig_meth_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->xmldsig_sig_meth);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_xmldsig_digest_algo_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_xmldsig_digest_algo_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->xmldsig_digest_algo);
    if (arg2) {
      arg1->xmldsig_digest_algo = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->xmldsig_digest_algo, (const char *)arg2);
    } else {
      arg1->xmldsig_digest_algo = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_xmldsig_digest_algo_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_xmldsig_digest_algo_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->xmldsig_digest_algo);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_samlsig_digest_algo_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_samlsig_digest_algo_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->samlsig_digest_algo);
    if (arg2) {
      arg1->samlsig_digest_algo = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->samlsig_digest_algo, (const char *)arg2);
    } else {
      arg1->samlsig_digest_algo = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_samlsig_digest_algo_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_samlsig_digest_algo_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->samlsig_digest_algo);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_blobsig_digest_algo_set) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_blobsig_digest_algo_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->blobsig_digest_algo);
    if (arg2) {
      arg1->blobsig_digest_algo = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->blobsig_digest_algo, (const char *)arg2);
    } else {
      arg1->blobsig_digest_algo = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_blobsig_digest_algo_get) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_blobsig_digest_algo_get. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->blobsig_digest_algo);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zxid_conf) {
  struct zxid_conf *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zxid_conf *)calloc(1, sizeof(struct zxid_conf));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_conf, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zxid_conf(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zxid_conf *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zxid_conf TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zxid_conf resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_magic_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  unsigned int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_magic_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (unsigned int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->magic = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_magic_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  unsigned int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_magic_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (unsigned int) ((arg1)->magic);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_op_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_op_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->op = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_op_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_op_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->op);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_pr_ix_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_pr_ix_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->pr_ix = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_pr_ix_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_pr_ix_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->pr_ix);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_allow_create_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_allow_create_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->allow_create = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_allow_create_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_allow_create_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->allow_create);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_ispassive_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_ispassive_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->ispassive = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_ispassive_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_ispassive_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->ispassive);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_force_authn_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_force_authn_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->force_authn = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_force_authn_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_force_authn_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->force_authn);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_enc_hint_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_enc_hint_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->enc_hint = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_enc_hint_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_enc_hint_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->enc_hint);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_atselafter_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_atselafter_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->atselafter = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_atselafter_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_atselafter_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->atselafter);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_mob_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_mob_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->mob = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_mob_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_mob_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->mob);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_sid_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_sid_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->sid);
    if (arg2) {
      arg1->sid = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->sid, (const char *)arg2);
    } else {
      arg1->sid = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_sid_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_sid_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->sid);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_nid_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_nid_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->nid);
    if (arg2) {
      arg1->nid = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->nid, (const char *)arg2);
    } else {
      arg1->nid = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_nid_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_nid_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->nid);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_uid_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_uid_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->uid);
    if (arg2) {
      arg1->uid = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->uid, (const char *)arg2);
    } else {
      arg1->uid = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_uid_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_uid_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->uid);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_pw_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_pw_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->pw);
    if (arg2) {
      arg1->pw = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->pw, (const char *)arg2);
    } else {
      arg1->pw = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_pw_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_pw_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->pw);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_pin_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_pin_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->pin);
    if (arg2) {
      arg1->pin = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->pin, (const char *)arg2);
    } else {
      arg1->pin = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_pin_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_pin_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->pin);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_ssoreq_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_ssoreq_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->ssoreq);
    if (arg2) {
      arg1->ssoreq = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->ssoreq, (const char *)arg2);
    } else {
      arg1->ssoreq = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_ssoreq_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_ssoreq_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->ssoreq);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_cdc_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_cdc_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->cdc);
    if (arg2) {
      arg1->cdc = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->cdc, (const char *)arg2);
    } else {
      arg1->cdc = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_cdc_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_cdc_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->cdc);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_eid_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_eid_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->eid);
    if (arg2) {
      arg1->eid = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->eid, (const char *)arg2);
    } else {
      arg1->eid = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_eid_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_eid_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->eid);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_nid_fmt_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_nid_fmt_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->nid_fmt);
    if (arg2) {
      arg1->nid_fmt = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->nid_fmt, (const char *)arg2);
    } else {
      arg1->nid_fmt = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_nid_fmt_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_nid_fmt_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->nid_fmt);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_affil_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_affil_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->affil);
    if (arg2) {
      arg1->affil = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->affil, (const char *)arg2);
    } else {
      arg1->affil = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_affil_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_affil_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->affil);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_consent_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_consent_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->consent);
    if (arg2) {
      arg1->consent = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->consent, (const char *)arg2);
    } else {
      arg1->consent = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_consent_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_consent_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->consent);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_matching_rule_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_matching_rule_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->matching_rule);
    if (arg2) {
      arg1->matching_rule = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->matching_rule, (const char *)arg2);
    } else {
      arg1->matching_rule = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_matching_rule_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_matching_rule_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->matching_rule);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_authn_ctx_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_authn_ctx_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->authn_ctx);
    if (arg2) {
      arg1->authn_ctx = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->authn_ctx, (const char *)arg2);
    } else {
      arg1->authn_ctx = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_authn_ctx_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_authn_ctx_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->authn_ctx);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_pxy_count_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_pxy_count_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->pxy_count);
    if (arg2) {
      arg1->pxy_count = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->pxy_count, (const char *)arg2);
    } else {
      arg1->pxy_count = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_pxy_count_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_pxy_count_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->pxy_count);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_get_complete_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_get_complete_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->get_complete);
    if (arg2) {
      arg1->get_complete = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->get_complete, (const char *)arg2);
    } else {
      arg1->get_complete = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_get_complete_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_get_complete_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->get_complete);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_idppxylist_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_idppxylist_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->idppxylist);
    if (arg2) {
      arg1->idppxylist = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->idppxylist, (const char *)arg2);
    } else {
      arg1->idppxylist = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_idppxylist_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_idppxylist_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->idppxylist);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_rs_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_rs_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->rs);
    if (arg2) {
      arg1->rs = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->rs, (const char *)arg2);
    } else {
      arg1->rs = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_rs_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_rs_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->rs);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_newnym_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_newnym_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->newnym);
    if (arg2) {
      arg1->newnym = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->newnym, (const char *)arg2);
    } else {
      arg1->newnym = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_newnym_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_newnym_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->newnym);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_saml_art_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_saml_art_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->saml_art);
    if (arg2) {
      arg1->saml_art = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->saml_art, (const char *)arg2);
    } else {
      arg1->saml_art = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_saml_art_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_saml_art_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->saml_art);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_saml_resp_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_saml_resp_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->saml_resp);
    if (arg2) {
      arg1->saml_resp = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->saml_resp, (const char *)arg2);
    } else {
      arg1->saml_resp = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_saml_resp_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_saml_resp_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->saml_resp);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_saml_req_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_saml_req_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->saml_req);
    if (arg2) {
      arg1->saml_req = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->saml_req, (const char *)arg2);
    } else {
      arg1->saml_req = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_saml_req_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_saml_req_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->saml_req);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_sigalg_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_sigalg_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->sigalg);
    if (arg2) {
      arg1->sigalg = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->sigalg, (const char *)arg2);
    } else {
      arg1->sigalg = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_sigalg_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_sigalg_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->sigalg);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_sig_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_sig_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->sig);
    if (arg2) {
      arg1->sig = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->sig, (const char *)arg2);
    } else {
      arg1->sig = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_sig_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_sig_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->sig);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_sigval_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_sigval_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->sigval);
    if (arg2) {
      arg1->sigval = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->sigval, (const char *)arg2);
    } else {
      arg1->sigval = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_sigval_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_sigval_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->sigval);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_sigmsg_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_sigmsg_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->sigmsg);
    if (arg2) {
      arg1->sigmsg = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->sigmsg, (const char *)arg2);
    } else {
      arg1->sigmsg = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_sigmsg_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_sigmsg_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->sigmsg);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_err_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_err_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->err);
    if (arg2) {
      arg1->err = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->err, (const char *)arg2);
    } else {
      arg1->err = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_err_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_err_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->err);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_msg_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_msg_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->msg);
    if (arg2) {
      arg1->msg = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->msg, (const char *)arg2);
    } else {
      arg1->msg = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_msg_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_msg_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->msg);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_dbg_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_dbg_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->dbg);
    if (arg2) {
      arg1->dbg = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->dbg, (const char *)arg2);
    } else {
      arg1->dbg = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_dbg_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_dbg_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->dbg);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_zxapp_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_zxapp_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->zxapp);
    if (arg2) {
      arg1->zxapp = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->zxapp, (const char *)arg2);
    } else {
      arg1->zxapp = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_zxapp_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_zxapp_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->zxapp);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_zxrfr_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_zxrfr_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->zxrfr);
    if (arg2) {
      arg1->zxrfr = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->zxrfr, (const char *)arg2);
    } else {
      arg1->zxrfr = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_zxrfr_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_zxrfr_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->zxrfr);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_redirafter_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_redirafter_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->redirafter);
    if (arg2) {
      arg1->redirafter = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->redirafter, (const char *)arg2);
    } else {
      arg1->redirafter = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_redirafter_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_redirafter_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->redirafter);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_ok_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_ok_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->ok);
    if (arg2) {
      arg1->ok = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->ok, (const char *)arg2);
    } else {
      arg1->ok = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_ok_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_ok_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->ok);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_templ_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_templ_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->templ);
    if (arg2) {
      arg1->templ = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->templ, (const char *)arg2);
    } else {
      arg1->templ = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_templ_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_templ_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->templ);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_sp_eid_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_sp_eid_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->sp_eid);
    if (arg2) {
      arg1->sp_eid = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->sp_eid, (const char *)arg2);
    } else {
      arg1->sp_eid = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_sp_eid_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_sp_eid_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->sp_eid);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_sp_dpy_name_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_sp_dpy_name_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->sp_dpy_name);
    if (arg2) {
      arg1->sp_dpy_name = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->sp_dpy_name, (const char *)arg2);
    } else {
      arg1->sp_dpy_name = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_sp_dpy_name_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_sp_dpy_name_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->sp_dpy_name);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_sp_button_url_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_sp_button_url_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->sp_button_url);
    if (arg2) {
      arg1->sp_button_url = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->sp_button_url, (const char *)arg2);
    } else {
      arg1->sp_button_url = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_sp_button_url_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_sp_button_url_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->sp_button_url);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_rest_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_rest_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->rest);
    if (arg2) {
      arg1->rest = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->rest, (const char *)arg2);
    } else {
      arg1->rest = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_rest_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_rest_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->rest);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_response_type_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_response_type_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->response_type);
    if (arg2) {
      arg1->response_type = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->response_type, (const char *)arg2);
    } else {
      arg1->response_type = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_response_type_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_response_type_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->response_type);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_client_id_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_client_id_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->client_id);
    if (arg2) {
      arg1->client_id = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->client_id, (const char *)arg2);
    } else {
      arg1->client_id = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_client_id_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_client_id_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->client_id);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_scope_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_scope_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->scope);
    if (arg2) {
      arg1->scope = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->scope, (const char *)arg2);
    } else {
      arg1->scope = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_scope_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_scope_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->scope);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_redirect_uri_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_redirect_uri_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->redirect_uri);
    if (arg2) {
      arg1->redirect_uri = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->redirect_uri, (const char *)arg2);
    } else {
      arg1->redirect_uri = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_redirect_uri_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_redirect_uri_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->redirect_uri);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_nonce_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_nonce_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->nonce);
    if (arg2) {
      arg1->nonce = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->nonce, (const char *)arg2);
    } else {
      arg1->nonce = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_nonce_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_nonce_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->nonce);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_state_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_state_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->state);
    if (arg2) {
      arg1->state = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->state, (const char *)arg2);
    } else {
      arg1->state = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_state_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_state_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->state);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_display_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_display_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->display);
    if (arg2) {
      arg1->display = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->display, (const char *)arg2);
    } else {
      arg1->display = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_display_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_display_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->display);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_prompt_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_prompt_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->prompt);
    if (arg2) {
      arg1->prompt = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->prompt, (const char *)arg2);
    } else {
      arg1->prompt = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_prompt_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_prompt_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->prompt);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_access_token_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_access_token_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->access_token);
    if (arg2) {
      arg1->access_token = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->access_token, (const char *)arg2);
    } else {
      arg1->access_token = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_access_token_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_access_token_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->access_token);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_refresh_token_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_refresh_token_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->refresh_token);
    if (arg2) {
      arg1->refresh_token = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->refresh_token, (const char *)arg2);
    } else {
      arg1->refresh_token = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_refresh_token_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_refresh_token_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->refresh_token);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_token_type_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_token_type_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->token_type);
    if (arg2) {
      arg1->token_type = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->token_type, (const char *)arg2);
    } else {
      arg1->token_type = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_token_type_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_token_type_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->token_type);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_grant_type_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_grant_type_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->grant_type);
    if (arg2) {
      arg1->grant_type = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->grant_type, (const char *)arg2);
    } else {
      arg1->grant_type = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_grant_type_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_grant_type_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->grant_type);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_code_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_code_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->code);
    if (arg2) {
      arg1->code = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->code, (const char *)arg2);
    } else {
      arg1->code = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_code_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_code_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->code);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_id_token_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_id_token_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->id_token);
    if (arg2) {
      arg1->id_token = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->id_token, (const char *)arg2);
    } else {
      arg1->id_token = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_id_token_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_id_token_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->id_token);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_expires_in_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_expires_in_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->expires_in = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_expires_in_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_expires_in_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->expires_in);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_iss_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_iss_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->iss);
    if (arg2) {
      arg1->iss = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->iss, (const char *)arg2);
    } else {
      arg1->iss = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_iss_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_iss_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->iss);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_user_id_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_user_id_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->user_id);
    if (arg2) {
      arg1->user_id = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->user_id, (const char *)arg2);
    } else {
      arg1->user_id = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_user_id_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_user_id_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->user_id);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_aud_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_aud_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->aud);
    if (arg2) {
      arg1->aud = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->aud, (const char *)arg2);
    } else {
      arg1->aud = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_aud_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_aud_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->aud);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_exp_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_exp_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->exp);
    if (arg2) {
      arg1->exp = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->exp, (const char *)arg2);
    } else {
      arg1->exp = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_exp_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_exp_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->exp);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_iso29115_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_iso29115_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->iso29115);
    if (arg2) {
      arg1->iso29115 = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->iso29115, (const char *)arg2);
    } else {
      arg1->iso29115 = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_iso29115_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_iso29115_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->iso29115);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_schema_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_schema_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->schema);
    if (arg2) {
      arg1->schema = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->schema, (const char *)arg2);
    } else {
      arg1->schema = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_schema_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_schema_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->schema);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_id_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_id_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->id);
    if (arg2) {
      arg1->id = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->id, (const char *)arg2);
    } else {
      arg1->id = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_id_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_id_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->id);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_inv_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_inv_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->inv);
    if (arg2) {
      arg1->inv = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->inv, (const char *)arg2);
    } else {
      arg1->inv = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_inv_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_inv_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->inv);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_pcode_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_pcode_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->pcode);
    if (arg2) {
      arg1->pcode = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->pcode, (const char *)arg2);
    } else {
      arg1->pcode = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_pcode_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_pcode_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->pcode);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_skin_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_skin_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->skin);
    if (arg2) {
      arg1->skin = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->skin, (const char *)arg2);
    } else {
      arg1->skin = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_skin_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_skin_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->skin);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_action_url_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_action_url_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->action_url);
    if (arg2) {
      arg1->action_url = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->action_url, (const char *)arg2);
    } else {
      arg1->action_url = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_action_url_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_action_url_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->action_url);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_uri_path_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_uri_path_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->uri_path);
    if (arg2) {
      arg1->uri_path = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->uri_path, (const char *)arg2);
    } else {
      arg1->uri_path = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_uri_path_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_uri_path_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->uri_path);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_qs_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_qs_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->qs);
    if (arg2) {
      arg1->qs = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->qs, (const char *)arg2);
    } else {
      arg1->qs = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_qs_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_qs_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->qs);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_post_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_post_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->post);
    if (arg2) {
      arg1->post = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->post, (const char *)arg2);
    } else {
      arg1->post = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_post_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_post_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->post);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_idp_list_set) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zxid_entity *arg2 = (zxid_entity *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_idp_list_set. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_cgi_idp_list_set. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  if (arg1) (arg1)->idp_list = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cgi_idp_list_get) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  zval **args[1];
  zxid_entity *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cgi_idp_list_get. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (zxid_entity *) ((arg1)->idp_list);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_entity_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zxid_cgi) {
  struct zxid_cgi *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zxid_cgi *)calloc(1, sizeof(struct zxid_cgi));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_cgi, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zxid_cgi(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zxid_cgi *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zxid_cgi TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zxid_cgi resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_magic_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  unsigned int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_magic_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (unsigned int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->magic = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_magic_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  unsigned int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_magic_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (unsigned int) ((arg1)->magic);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_sid_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_sid_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->sid);
    if (arg2) {
      arg1->sid = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->sid, (const char *)arg2);
    } else {
      arg1->sid = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_sid_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_sid_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->sid);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_uid_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_uid_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->uid);
    if (arg2) {
      arg1->uid = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->uid, (const char *)arg2);
    } else {
      arg1->uid = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_uid_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_uid_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->uid);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_nid_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_nid_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->nid);
    if (arg2) {
      arg1->nid = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->nid, (const char *)arg2);
    } else {
      arg1->nid = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_nid_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_nid_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->nid);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_tgt_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_tgt_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->tgt);
    if (arg2) {
      arg1->tgt = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->tgt, (const char *)arg2);
    } else {
      arg1->tgt = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_tgt_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_tgt_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->tgt);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_sesix_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_sesix_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->sesix);
    if (arg2) {
      arg1->sesix = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->sesix, (const char *)arg2);
    } else {
      arg1->sesix = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_sesix_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_sesix_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->sesix);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_ipport_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_ipport_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->ipport);
    if (arg2) {
      arg1->ipport = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->ipport, (const char *)arg2);
    } else {
      arg1->ipport = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_ipport_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_ipport_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->ipport);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_wsc_msgid_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_wsc_msgid_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->wsc_msgid);
    if (arg2) {
      arg1->wsc_msgid = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->wsc_msgid, (const char *)arg2);
    } else {
      arg1->wsc_msgid = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_wsc_msgid_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_wsc_msgid_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->wsc_msgid);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_wsp_msgid_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_wsp_msgid_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_ses_wsp_msgid_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if (arg1) (arg1)->wsp_msgid = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_wsp_msgid_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_wsp_msgid_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_str *) ((arg1)->wsp_msgid);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_an_ctx_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_an_ctx_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->an_ctx);
    if (arg2) {
      arg1->an_ctx = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->an_ctx, (const char *)arg2);
    } else {
      arg1->an_ctx = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_an_ctx_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_an_ctx_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->an_ctx);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_nidfmt_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_nidfmt_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->nidfmt = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_nidfmt_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_nidfmt_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->nidfmt);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_tgtfmt_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_tgtfmt_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->tgtfmt = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_tgtfmt_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_tgtfmt_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->tgtfmt);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_sigres_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_sigres_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->sigres = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_sigres_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_sigres_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->sigres);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_ssores_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_ssores_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->ssores = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_ssores_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_ssores_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->ssores);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_sso_a7n_path_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_sso_a7n_path_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->sso_a7n_path);
    if (arg2) {
      arg1->sso_a7n_path = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->sso_a7n_path, (const char *)arg2);
    } else {
      arg1->sso_a7n_path = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_sso_a7n_path_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_sso_a7n_path_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->sso_a7n_path);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_tgt_a7n_path_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_tgt_a7n_path_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->tgt_a7n_path);
    if (arg2) {
      arg1->tgt_a7n_path = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->tgt_a7n_path, (const char *)arg2);
    } else {
      arg1->tgt_a7n_path = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_tgt_a7n_path_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_tgt_a7n_path_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->tgt_a7n_path);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_setcookie_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_setcookie_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->setcookie);
    if (arg2) {
      arg1->setcookie = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->setcookie, (const char *)arg2);
    } else {
      arg1->setcookie = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_setcookie_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_setcookie_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->setcookie);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_setptmcookie_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_setptmcookie_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->setptmcookie);
    if (arg2) {
      arg1->setptmcookie = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->setptmcookie, (const char *)arg2);
    } else {
      arg1->setptmcookie = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_setptmcookie_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_setptmcookie_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->setptmcookie);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_cookie_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_cookie_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->cookie);
    if (arg2) {
      arg1->cookie = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->cookie, (const char *)arg2);
    } else {
      arg1->cookie = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_cookie_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_cookie_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->cookie);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_rs_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_rs_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->rs);
    if (arg2) {
      arg1->rs = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->rs, (const char *)arg2);
    } else {
      arg1->rs = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_rs_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_rs_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->rs);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_rcvd_usagedir_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_rcvd_usagedir_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->rcvd_usagedir);
    if (arg2) {
      arg1->rcvd_usagedir = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->rcvd_usagedir, (const char *)arg2);
    } else {
      arg1->rcvd_usagedir = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_rcvd_usagedir_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_rcvd_usagedir_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->rcvd_usagedir);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_an_instant_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  long arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_an_instant_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (long) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->an_instant = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_an_instant_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  long result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_an_instant_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (long) ((arg1)->an_instant);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_nameid_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zxid_nid *arg2 = (zxid_nid *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_nameid_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_sa_NameID_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_ses_nameid_set. Expected SWIGTYPE_p_zx_sa_NameID_s");
    }
  }
  if (arg1) (arg1)->nameid = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_nameid_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  zxid_nid *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_nameid_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (zxid_nid *) ((arg1)->nameid);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sa_NameID_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_tgtnameid_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zxid_nid *arg2 = (zxid_nid *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_tgtnameid_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_sa_NameID_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_ses_tgtnameid_set. Expected SWIGTYPE_p_zx_sa_NameID_s");
    }
  }
  if (arg1) (arg1)->tgtnameid = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_tgtnameid_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  zxid_nid *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_tgtnameid_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (zxid_nid *) ((arg1)->tgtnameid);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sa_NameID_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_a7n_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zxid_a7n *arg2 = (zxid_a7n *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_a7n_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_sa_Assertion_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_ses_a7n_set. Expected SWIGTYPE_p_zx_sa_Assertion_s");
    }
  }
  if (arg1) (arg1)->a7n = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_a7n_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  zxid_a7n *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_a7n_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (zxid_a7n *) ((arg1)->a7n);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sa_Assertion_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_tgta7n_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zxid_a7n *arg2 = (zxid_a7n *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_tgta7n_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_sa_Assertion_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_ses_tgta7n_set. Expected SWIGTYPE_p_zx_sa_Assertion_s");
    }
  }
  if (arg1) (arg1)->tgta7n = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_tgta7n_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  zxid_a7n *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_tgta7n_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (zxid_a7n *) ((arg1)->tgta7n);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sa_Assertion_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_jwt_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_jwt_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->jwt);
    if (arg2) {
      arg1->jwt = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->jwt, (const char *)arg2);
    } else {
      arg1->jwt = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_jwt_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_jwt_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->jwt);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_tgtjwt_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_tgtjwt_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->tgtjwt);
    if (arg2) {
      arg1->tgtjwt = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->tgtjwt, (const char *)arg2);
    } else {
      arg1->tgtjwt = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_tgtjwt_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_tgtjwt_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->tgtjwt);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_a7n11_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  struct zx_sa11_Assertion_s *arg2 = (struct zx_sa11_Assertion_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_a7n11_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_sa11_Assertion_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_ses_a7n11_set. Expected SWIGTYPE_p_zx_sa11_Assertion_s");
    }
  }
  if (arg1) (arg1)->a7n11 = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_a7n11_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  struct zx_sa11_Assertion_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_a7n11_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_sa11_Assertion_s *) ((arg1)->a7n11);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sa11_Assertion_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_tgta7n11_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  struct zx_sa11_Assertion_s *arg2 = (struct zx_sa11_Assertion_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_tgta7n11_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_sa11_Assertion_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_ses_tgta7n11_set. Expected SWIGTYPE_p_zx_sa11_Assertion_s");
    }
  }
  if (arg1) (arg1)->tgta7n11 = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_tgta7n11_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  struct zx_sa11_Assertion_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_tgta7n11_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_sa11_Assertion_s *) ((arg1)->tgta7n11);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sa11_Assertion_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_a7n12_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  struct zx_ff12_Assertion_s *arg2 = (struct zx_ff12_Assertion_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_a7n12_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ff12_Assertion_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_ses_a7n12_set. Expected SWIGTYPE_p_zx_ff12_Assertion_s");
    }
  }
  if (arg1) (arg1)->a7n12 = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_a7n12_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  struct zx_ff12_Assertion_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_a7n12_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_ff12_Assertion_s *) ((arg1)->a7n12);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ff12_Assertion_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_tgta7n12_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  struct zx_ff12_Assertion_s *arg2 = (struct zx_ff12_Assertion_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_tgta7n12_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ff12_Assertion_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_ses_tgta7n12_set. Expected SWIGTYPE_p_zx_ff12_Assertion_s");
    }
  }
  if (arg1) (arg1)->tgta7n12 = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_tgta7n12_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  struct zx_ff12_Assertion_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_tgta7n12_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_ff12_Assertion_s *) ((arg1)->tgta7n12);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ff12_Assertion_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_call_invoktok_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zxid_tok *arg2 = (zxid_tok *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_call_invoktok_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_sec_Token_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_ses_call_invoktok_set. Expected SWIGTYPE_p_zx_sec_Token_s");
    }
  }
  if (arg1) (arg1)->call_invoktok = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_call_invoktok_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  zxid_tok *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_call_invoktok_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (zxid_tok *) ((arg1)->call_invoktok);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sec_Token_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_call_tgttok_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zxid_tok *arg2 = (zxid_tok *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_call_tgttok_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_sec_Token_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_ses_call_tgttok_set. Expected SWIGTYPE_p_zx_sec_Token_s");
    }
  }
  if (arg1) (arg1)->call_tgttok = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_call_tgttok_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  zxid_tok *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_call_tgttok_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (zxid_tok *) ((arg1)->call_tgttok);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sec_Token_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_deleg_di_epr_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zxid_epr *arg2 = (zxid_epr *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_deleg_di_epr_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_a_EndpointReference_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_ses_deleg_di_epr_set. Expected SWIGTYPE_p_zx_a_EndpointReference_s");
    }
  }
  if (arg1) (arg1)->deleg_di_epr = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_deleg_di_epr_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  zxid_epr *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_deleg_di_epr_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (zxid_epr *) ((arg1)->deleg_di_epr);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_a_EndpointReference_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_curflt_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zxid_fault *arg2 = (zxid_fault *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_curflt_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_e_Fault_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_ses_curflt_set. Expected SWIGTYPE_p_zx_e_Fault_s");
    }
  }
  if (arg1) (arg1)->curflt = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_curflt_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  zxid_fault *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_curflt_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (zxid_fault *) ((arg1)->curflt);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_e_Fault_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_curstatus_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zxid_tas3_status *arg2 = (zxid_tas3_status *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_curstatus_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_tas3_Status_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_ses_curstatus_set. Expected SWIGTYPE_p_zx_tas3_Status_s");
    }
  }
  if (arg1) (arg1)->curstatus = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_curstatus_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  zxid_tas3_status *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_curstatus_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (zxid_tas3_status *) ((arg1)->curstatus);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_tas3_Status_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_issuer_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_issuer_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_ses_issuer_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if (arg1) (arg1)->issuer = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_issuer_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_issuer_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_str *) ((arg1)->issuer);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_srcts_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  struct timeval arg2 ;
  struct timeval *tmp2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_srcts_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &tmp2, SWIGTYPE_p_timeval, 0) < 0 || tmp2 == NULL) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_ses_srcts_set. Expected SWIGTYPE_p_timeval");
    }
    arg2 = *tmp2;
  }
  if (arg1) (arg1)->srcts = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_srcts_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  struct timeval result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_srcts_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result =  ((arg1)->srcts);
  {
    struct timeval * resultobj = (struct timeval *) emalloc(sizeof(struct timeval));
    memcpy(resultobj, &result, sizeof(struct timeval));
    SWIG_SetPointerZval(return_value, (void *)resultobj, SWIGTYPE_p_timeval, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_sesbuf_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_sesbuf_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->sesbuf);
    if (arg2) {
      arg1->sesbuf = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->sesbuf, (const char *)arg2);
    } else {
      arg1->sesbuf = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_sesbuf_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_sesbuf_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->sesbuf);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_sso_a7n_buf_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_sso_a7n_buf_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->sso_a7n_buf);
    if (arg2) {
      arg1->sso_a7n_buf = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->sso_a7n_buf, (const char *)arg2);
    } else {
      arg1->sso_a7n_buf = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_sso_a7n_buf_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_sso_a7n_buf_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->sso_a7n_buf);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_at_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  struct zxid_attr *arg2 = (struct zxid_attr *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_at_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_attr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_ses_at_set. Expected SWIGTYPE_p_zxid_attr");
    }
  }
  if (arg1) (arg1)->at = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_at_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  struct zxid_attr *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_at_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_attr *) ((arg1)->at);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_attr, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_access_token_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_access_token_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->access_token);
    if (arg2) {
      arg1->access_token = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->access_token, (const char *)arg2);
    } else {
      arg1->access_token = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_access_token_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_access_token_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->access_token);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_refresh_token_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_refresh_token_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->refresh_token);
    if (arg2) {
      arg1->refresh_token = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->refresh_token, (const char *)arg2);
    } else {
      arg1->refresh_token = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_refresh_token_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_refresh_token_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->refresh_token);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_token_type_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_token_type_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->token_type);
    if (arg2) {
      arg1->token_type = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->token_type, (const char *)arg2);
    } else {
      arg1->token_type = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_token_type_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_token_type_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->token_type);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_id_token_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_id_token_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->id_token);
    if (arg2) {
      arg1->id_token = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->id_token, (const char *)arg2);
    } else {
      arg1->id_token = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_id_token_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_id_token_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->id_token);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_expires_in_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_expires_in_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->expires_in = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_expires_in_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_expires_in_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->expires_in);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_client_id_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_client_id_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->client_id);
    if (arg2) {
      arg1->client_id = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->client_id, (const char *)arg2);
    } else {
      arg1->client_id = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_client_id_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_client_id_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->client_id);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_client_secret_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_client_secret_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->client_secret);
    if (arg2) {
      arg1->client_secret = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->client_secret, (const char *)arg2);
    } else {
      arg1->client_secret = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_client_secret_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_client_secret_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->client_secret);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_rpt_set) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_rpt_set. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->rpt);
    if (arg2) {
      arg1->rpt = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->rpt, (const char *)arg2);
    } else {
      arg1->rpt = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_rpt_get) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_rpt_get. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->rpt);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zxid_ses) {
  struct zxid_ses *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zxid_ses *)calloc(1, sizeof(struct zxid_ses));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_ses, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zxid_ses(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zxid_ses *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zxid_ses TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zxid_ses resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_attr_n_set) {
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  struct zxid_attr *arg2 = (struct zxid_attr *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_attr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_attr_n_set. Expected SWIGTYPE_p_zxid_attr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_attr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_attr_n_set. Expected SWIGTYPE_p_zxid_attr");
    }
  }
  if (arg1) (arg1)->n = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_attr_n_get) {
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  zval **args[1];
  struct zxid_attr *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_attr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_attr_n_get. Expected SWIGTYPE_p_zxid_attr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_attr *) ((arg1)->n);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_attr, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_attr_nv_set) {
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  struct zxid_attr *arg2 = (struct zxid_attr *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_attr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_attr_nv_set. Expected SWIGTYPE_p_zxid_attr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_attr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_attr_nv_set. Expected SWIGTYPE_p_zxid_attr");
    }
  }
  if (arg1) (arg1)->nv = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_attr_nv_get) {
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  zval **args[1];
  struct zxid_attr *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_attr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_attr_nv_get. Expected SWIGTYPE_p_zxid_attr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_attr *) ((arg1)->nv);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_attr, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_attr_name_set) {
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_attr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_attr_name_set. Expected SWIGTYPE_p_zxid_attr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->name);
    if (arg2) {
      arg1->name = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->name, (const char *)arg2);
    } else {
      arg1->name = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_attr_name_get) {
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_attr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_attr_name_get. Expected SWIGTYPE_p_zxid_attr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->name);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_attr_val_set) {
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_attr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_attr_val_set. Expected SWIGTYPE_p_zxid_attr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->val);
    if (arg2) {
      arg1->val = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->val, (const char *)arg2);
    } else {
      arg1->val = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_attr_val_get) {
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_attr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_attr_val_get. Expected SWIGTYPE_p_zxid_attr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->val);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_attr_map_val_set) {
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_attr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_attr_map_val_set. Expected SWIGTYPE_p_zxid_attr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_attr_map_val_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if (arg1) (arg1)->map_val = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_attr_map_val_get) {
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_attr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_attr_map_val_get. Expected SWIGTYPE_p_zxid_attr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_str *) ((arg1)->map_val);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_attr_orig_set) {
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  struct zx_sa_Attribute_s *arg2 = (struct zx_sa_Attribute_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_attr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_attr_orig_set. Expected SWIGTYPE_p_zxid_attr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_sa_Attribute_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_attr_orig_set. Expected SWIGTYPE_p_zx_sa_Attribute_s");
    }
  }
  if (arg1) (arg1)->orig = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_attr_orig_get) {
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  zval **args[1];
  struct zx_sa_Attribute_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_attr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_attr_orig_get. Expected SWIGTYPE_p_zxid_attr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_sa_Attribute_s *) ((arg1)->orig);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sa_Attribute_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_attr_issuer_set) {
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_attr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_attr_issuer_set. Expected SWIGTYPE_p_zxid_attr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_attr_issuer_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if (arg1) (arg1)->issuer = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_attr_issuer_get) {
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_attr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_attr_issuer_get. Expected SWIGTYPE_p_zxid_attr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_str *) ((arg1)->issuer);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zxid_attr) {
  struct zxid_attr *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zxid_attr *)calloc(1, sizeof(struct zxid_attr));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_attr, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zxid_attr(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zxid_attr *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zxid_attr TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zxid_attr resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_need_n_set) {
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  struct zxid_need *arg2 = (struct zxid_need *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_need, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_need_n_set. Expected SWIGTYPE_p_zxid_need");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_need, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_need_n_set. Expected SWIGTYPE_p_zxid_need");
    }
  }
  if (arg1) (arg1)->n = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_need_n_get) {
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  zval **args[1];
  struct zxid_need *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_need, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_need_n_get. Expected SWIGTYPE_p_zxid_need");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_need *) ((arg1)->n);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_need, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_need_at_set) {
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  struct zxid_attr *arg2 = (struct zxid_attr *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_need, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_need_at_set. Expected SWIGTYPE_p_zxid_need");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_attr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_need_at_set. Expected SWIGTYPE_p_zxid_attr");
    }
  }
  if (arg1) (arg1)->at = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_need_at_get) {
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  zval **args[1];
  struct zxid_attr *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_need, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_need_at_get. Expected SWIGTYPE_p_zxid_need");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_attr *) ((arg1)->at);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_attr, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_need_usage_set) {
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_need, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_need_usage_set. Expected SWIGTYPE_p_zxid_need");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->usage);
    if (arg2) {
      arg1->usage = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->usage, (const char *)arg2);
    } else {
      arg1->usage = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_need_usage_get) {
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_need, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_need_usage_get. Expected SWIGTYPE_p_zxid_need");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->usage);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_need_retent_set) {
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_need, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_need_retent_set. Expected SWIGTYPE_p_zxid_need");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->retent);
    if (arg2) {
      arg1->retent = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->retent, (const char *)arg2);
    } else {
      arg1->retent = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_need_retent_get) {
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_need, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_need_retent_get. Expected SWIGTYPE_p_zxid_need");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->retent);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_need_oblig_set) {
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_need, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_need_oblig_set. Expected SWIGTYPE_p_zxid_need");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->oblig);
    if (arg2) {
      arg1->oblig = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->oblig, (const char *)arg2);
    } else {
      arg1->oblig = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_need_oblig_get) {
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_need, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_need_oblig_get. Expected SWIGTYPE_p_zxid_need");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->oblig);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_need_ext_set) {
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_need, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_need_ext_set. Expected SWIGTYPE_p_zxid_need");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->ext);
    if (arg2) {
      arg1->ext = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->ext, (const char *)arg2);
    } else {
      arg1->ext = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_need_ext_get) {
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_need, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_need_ext_get. Expected SWIGTYPE_p_zxid_need");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->ext);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zxid_need) {
  struct zxid_need *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zxid_need *)calloc(1, sizeof(struct zxid_need));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_need, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zxid_need(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zxid_need *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zxid_need TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zxid_need resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_map_n_set) {
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  struct zxid_map *arg2 = (struct zxid_map *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_map, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_map_n_set. Expected SWIGTYPE_p_zxid_map");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_map, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_map_n_set. Expected SWIGTYPE_p_zxid_map");
    }
  }
  if (arg1) (arg1)->n = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_map_n_get) {
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  zval **args[1];
  struct zxid_map *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_map, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_map_n_get. Expected SWIGTYPE_p_zxid_map");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_map *) ((arg1)->n);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_map, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_map_rule_set) {
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_map, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_map_rule_set. Expected SWIGTYPE_p_zxid_map");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->rule = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_map_rule_get) {
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_map, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_map_rule_get. Expected SWIGTYPE_p_zxid_map");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->rule);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_map_ns_set) {
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_map, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_map_ns_set. Expected SWIGTYPE_p_zxid_map");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->ns);
    if (arg2) {
      arg1->ns = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->ns, (const char *)arg2);
    } else {
      arg1->ns = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_map_ns_get) {
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_map, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_map_ns_get. Expected SWIGTYPE_p_zxid_map");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->ns);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_map_src_set) {
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_map, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_map_src_set. Expected SWIGTYPE_p_zxid_map");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->src);
    if (arg2) {
      arg1->src = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->src, (const char *)arg2);
    } else {
      arg1->src = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_map_src_get) {
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_map, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_map_src_get. Expected SWIGTYPE_p_zxid_map");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->src);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_map_dst_set) {
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_map, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_map_dst_set. Expected SWIGTYPE_p_zxid_map");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->dst);
    if (arg2) {
      arg1->dst = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->dst, (const char *)arg2);
    } else {
      arg1->dst = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_map_dst_get) {
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_map, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_map_dst_get. Expected SWIGTYPE_p_zxid_map");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->dst);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_map_ext_set) {
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_map, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_map_ext_set. Expected SWIGTYPE_p_zxid_map");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->ext);
    if (arg2) {
      arg1->ext = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->ext, (const char *)arg2);
    } else {
      arg1->ext = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_map_ext_get) {
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_map, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_map_ext_get. Expected SWIGTYPE_p_zxid_map");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->ext);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zxid_map) {
  struct zxid_map *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zxid_map *)calloc(1, sizeof(struct zxid_map));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_map, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zxid_map(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zxid_map *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zxid_map TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zxid_map resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cstr_list_n_set) {
  struct zxid_cstr_list *arg1 = (struct zxid_cstr_list *) 0 ;
  struct zxid_cstr_list *arg2 = (struct zxid_cstr_list *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cstr_list, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cstr_list_n_set. Expected SWIGTYPE_p_zxid_cstr_list");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cstr_list, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_cstr_list_n_set. Expected SWIGTYPE_p_zxid_cstr_list");
    }
  }
  if (arg1) (arg1)->n = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cstr_list_n_get) {
  struct zxid_cstr_list *arg1 = (struct zxid_cstr_list *) 0 ;
  zval **args[1];
  struct zxid_cstr_list *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cstr_list, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cstr_list_n_get. Expected SWIGTYPE_p_zxid_cstr_list");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_cstr_list *) ((arg1)->n);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_cstr_list, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cstr_list_s_set) {
  struct zxid_cstr_list *arg1 = (struct zxid_cstr_list *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cstr_list, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cstr_list_s_set. Expected SWIGTYPE_p_zxid_cstr_list");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->s);
    if (arg2) {
      arg1->s = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->s, (const char *)arg2);
    } else {
      arg1->s = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_cstr_list_s_get) {
  struct zxid_cstr_list *arg1 = (struct zxid_cstr_list *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_cstr_list, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_cstr_list_s_get. Expected SWIGTYPE_p_zxid_cstr_list");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->s);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zxid_cstr_list) {
  struct zxid_cstr_list *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zxid_cstr_list *)calloc(1, sizeof(struct zxid_cstr_list));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_cstr_list, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zxid_cstr_list(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zxid_cstr_list *arg1 = (struct zxid_cstr_list *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zxid_cstr_list *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zxid_cstr_list TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zxid_cstr_list resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_obl_list_n_set) {
  struct zxid_obl_list *arg1 = (struct zxid_obl_list *) 0 ;
  struct zxid_obl_list *arg2 = (struct zxid_obl_list *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_obl_list, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_obl_list_n_set. Expected SWIGTYPE_p_zxid_obl_list");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_obl_list, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_obl_list_n_set. Expected SWIGTYPE_p_zxid_obl_list");
    }
  }
  if (arg1) (arg1)->n = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_obl_list_n_get) {
  struct zxid_obl_list *arg1 = (struct zxid_obl_list *) 0 ;
  zval **args[1];
  struct zxid_obl_list *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_obl_list, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_obl_list_n_get. Expected SWIGTYPE_p_zxid_obl_list");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_obl_list *) ((arg1)->n);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_obl_list, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_obl_list_name_set) {
  struct zxid_obl_list *arg1 = (struct zxid_obl_list *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_obl_list, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_obl_list_name_set. Expected SWIGTYPE_p_zxid_obl_list");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->name);
    if (arg2) {
      arg1->name = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->name, (const char *)arg2);
    } else {
      arg1->name = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_obl_list_name_get) {
  struct zxid_obl_list *arg1 = (struct zxid_obl_list *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_obl_list, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_obl_list_name_get. Expected SWIGTYPE_p_zxid_obl_list");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->name);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_obl_list_vals_set) {
  struct zxid_obl_list *arg1 = (struct zxid_obl_list *) 0 ;
  struct zxid_cstr_list *arg2 = (struct zxid_cstr_list *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_obl_list, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_obl_list_vals_set. Expected SWIGTYPE_p_zxid_obl_list");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cstr_list, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_obl_list_vals_set. Expected SWIGTYPE_p_zxid_cstr_list");
    }
  }
  if (arg1) (arg1)->vals = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_obl_list_vals_get) {
  struct zxid_obl_list *arg1 = (struct zxid_obl_list *) 0 ;
  zval **args[1];
  struct zxid_cstr_list *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_obl_list, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_obl_list_vals_get. Expected SWIGTYPE_p_zxid_obl_list");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_cstr_list *) ((arg1)->vals);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_cstr_list, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zxid_obl_list) {
  struct zxid_obl_list *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zxid_obl_list *)calloc(1, sizeof(struct zxid_obl_list));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_obl_list, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zxid_obl_list(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zxid_obl_list *arg1 = (struct zxid_obl_list *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zxid_obl_list *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zxid_obl_list TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zxid_obl_list resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_stomp_hdr_len_set) {
  struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_stomp_hdr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of stomp_hdr_len_set. Expected SWIGTYPE_p_stomp_hdr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->len = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_stomp_hdr_len_get) {
  struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_stomp_hdr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of stomp_hdr_len_get. Expected SWIGTYPE_p_stomp_hdr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->len);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_stomp_hdr_body_set) {
  struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_stomp_hdr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of stomp_hdr_body_set. Expected SWIGTYPE_p_stomp_hdr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->body);
    if (arg2) {
      arg1->body = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->body, (const char *)arg2);
    } else {
      arg1->body = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_stomp_hdr_body_get) {
  struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_stomp_hdr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of stomp_hdr_body_get. Expected SWIGTYPE_p_stomp_hdr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->body);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_stomp_hdr_host_set) {
  struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_stomp_hdr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of stomp_hdr_host_set. Expected SWIGTYPE_p_stomp_hdr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->host);
    if (arg2) {
      arg1->host = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->host, (const char *)arg2);
    } else {
      arg1->host = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_stomp_hdr_host_get) {
  struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_stomp_hdr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of stomp_hdr_host_get. Expected SWIGTYPE_p_stomp_hdr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->host);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_stomp_hdr_vers_set) {
  struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_stomp_hdr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of stomp_hdr_vers_set. Expected SWIGTYPE_p_stomp_hdr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->vers);
    if (arg2) {
      arg1->vers = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->vers, (const char *)arg2);
    } else {
      arg1->vers = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_stomp_hdr_vers_get) {
  struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_stomp_hdr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of stomp_hdr_vers_get. Expected SWIGTYPE_p_stomp_hdr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->vers);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_stomp_hdr_login_set) {
  struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_stomp_hdr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of stomp_hdr_login_set. Expected SWIGTYPE_p_stomp_hdr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->login);
    if (arg2) {
      arg1->login = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->login, (const char *)arg2);
    } else {
      arg1->login = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_stomp_hdr_login_get) {
  struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_stomp_hdr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of stomp_hdr_login_get. Expected SWIGTYPE_p_stomp_hdr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->login);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_stomp_hdr_pw_set) {
  struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_stomp_hdr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of stomp_hdr_pw_set. Expected SWIGTYPE_p_stomp_hdr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->pw);
    if (arg2) {
      arg1->pw = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->pw, (const char *)arg2);
    } else {
      arg1->pw = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_stomp_hdr_pw_get) {
  struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_stomp_hdr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of stomp_hdr_pw_get. Expected SWIGTYPE_p_stomp_hdr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->pw);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_stomp_hdr_dest_set) {
  struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_stomp_hdr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of stomp_hdr_dest_set. Expected SWIGTYPE_p_stomp_hdr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->dest);
    if (arg2) {
      arg1->dest = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->dest, (const char *)arg2);
    } else {
      arg1->dest = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_stomp_hdr_dest_get) {
  struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_stomp_hdr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of stomp_hdr_dest_get. Expected SWIGTYPE_p_stomp_hdr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->dest);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_stomp_hdr_end_of_pdu_set) {
  struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_stomp_hdr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of stomp_hdr_end_of_pdu_set. Expected SWIGTYPE_p_stomp_hdr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->end_of_pdu);
    if (arg2) {
      arg1->end_of_pdu = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->end_of_pdu, (const char *)arg2);
    } else {
      arg1->end_of_pdu = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_stomp_hdr_end_of_pdu_get) {
  struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_stomp_hdr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of stomp_hdr_end_of_pdu_get. Expected SWIGTYPE_p_stomp_hdr");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->end_of_pdu);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_stomp_hdr) {
  struct stomp_hdr *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct stomp_hdr *)calloc(1, sizeof(struct stomp_hdr));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_stomp_hdr, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_stomp_hdr(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct stomp_hdr *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_stomp_hdr TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "stomp_hdr resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_bus_url_n_set) {
  struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
  struct zxid_bus_url *arg2 = (struct zxid_bus_url *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_bus_url_n_set. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_bus_url_n_set. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if (arg1) (arg1)->n = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_bus_url_n_get) {
  struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
  zval **args[1];
  struct zxid_bus_url *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_bus_url_n_get. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_bus_url *) ((arg1)->n);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_bus_url, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_bus_url_s_set) {
  struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_bus_url_s_set. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->s);
    if (arg2) {
      arg1->s = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->s, (const char *)arg2);
    } else {
      arg1->s = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_bus_url_s_get) {
  struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_bus_url_s_get. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->s);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_bus_url_eid_set) {
  struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_bus_url_eid_set. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->eid);
    if (arg2) {
      arg1->eid = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->eid, (const char *)arg2);
    } else {
      arg1->eid = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_bus_url_eid_get) {
  struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_bus_url_eid_get. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->eid);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_bus_url_fd_set) {
  struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_bus_url_fd_set. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->fd = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_bus_url_fd_get) {
  struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_bus_url_fd_get. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->fd);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_bus_url_m_set) {
  struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_bus_url_m_set. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->m);
    if (arg2) {
      arg1->m = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->m, (const char *)arg2);
    } else {
      arg1->m = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_bus_url_m_get) {
  struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_bus_url_m_get. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->m);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_bus_url_ap_set) {
  struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_bus_url_ap_set. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->ap);
    if (arg2) {
      arg1->ap = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->ap, (const char *)arg2);
    } else {
      arg1->ap = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_bus_url_ap_get) {
  struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_bus_url_ap_get. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->ap);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_bus_url_cur_rcpt_set) {
  struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_bus_url_cur_rcpt_set. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->cur_rcpt = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_bus_url_cur_rcpt_get) {
  struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_bus_url_cur_rcpt_get. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->cur_rcpt);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_bus_url_scalingpart_set) {
  struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_bus_url_scalingpart_set. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->scalingpart = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_bus_url_scalingpart_get) {
  struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_bus_url_scalingpart_get. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->scalingpart);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_bus_url_pad1_set) {
  struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_bus_url_pad1_set. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->pad1 = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_bus_url_pad1_get) {
  struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_bus_url_pad1_get. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->pad1);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_bus_url_pad2_set) {
  struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_bus_url_pad2_set. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->pad2 = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_bus_url_pad2_get) {
  struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_bus_url_pad2_get. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->pad2);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_bus_url_pad3_set) {
  struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
  char arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_bus_url_pad3_set. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,57,CONVERT_CHAR_IN@*/
  convert_to_string_ex(args[1]);
  arg2 = (char) *Z_STRVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->pad3 = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_bus_url_pad3_get) {
  struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
  zval **args[1];
  char result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_bus_url_pad3_get. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char) ((arg1)->pad3);
  {
    ZVAL_STRINGL(return_value,&result, 1, 1);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zxid_bus_url) {
  struct zxid_bus_url *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zxid_bus_url *)calloc(1, sizeof(struct zxid_bus_url));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_bus_url, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zxid_bus_url(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zxid_bus_url *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zxid_bus_url TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zxid_bus_url resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_atsrc_n_set) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  struct zxid_atsrc *arg2 = (struct zxid_atsrc *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_atsrc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_atsrc_n_set. Expected SWIGTYPE_p_zxid_atsrc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_atsrc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_atsrc_n_set. Expected SWIGTYPE_p_zxid_atsrc");
    }
  }
  if (arg1) (arg1)->n = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_atsrc_n_get) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  zval **args[1];
  struct zxid_atsrc *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_atsrc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_atsrc_n_get. Expected SWIGTYPE_p_zxid_atsrc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_atsrc *) ((arg1)->n);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_atsrc, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_atsrc_at_set) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  struct zxid_attr *arg2 = (struct zxid_attr *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_atsrc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_atsrc_at_set. Expected SWIGTYPE_p_zxid_atsrc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_attr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_atsrc_at_set. Expected SWIGTYPE_p_zxid_attr");
    }
  }
  if (arg1) (arg1)->at = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_atsrc_at_get) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  zval **args[1];
  struct zxid_attr *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_atsrc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_atsrc_at_get. Expected SWIGTYPE_p_zxid_atsrc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_attr *) ((arg1)->at);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_attr, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_atsrc_ns_set) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_atsrc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_atsrc_ns_set. Expected SWIGTYPE_p_zxid_atsrc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->ns);
    if (arg2) {
      arg1->ns = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->ns, (const char *)arg2);
    } else {
      arg1->ns = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_atsrc_ns_get) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_atsrc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_atsrc_ns_get. Expected SWIGTYPE_p_zxid_atsrc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->ns);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_atsrc_weight_set) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_atsrc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_atsrc_weight_set. Expected SWIGTYPE_p_zxid_atsrc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->weight);
    if (arg2) {
      arg1->weight = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->weight, (const char *)arg2);
    } else {
      arg1->weight = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_atsrc_weight_get) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_atsrc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_atsrc_weight_get. Expected SWIGTYPE_p_zxid_atsrc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->weight);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_atsrc_url_set) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_atsrc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_atsrc_url_set. Expected SWIGTYPE_p_zxid_atsrc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->url);
    if (arg2) {
      arg1->url = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->url, (const char *)arg2);
    } else {
      arg1->url = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_atsrc_url_get) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_atsrc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_atsrc_url_get. Expected SWIGTYPE_p_zxid_atsrc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->url);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_atsrc_aapml_set) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_atsrc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_atsrc_aapml_set. Expected SWIGTYPE_p_zxid_atsrc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->aapml);
    if (arg2) {
      arg1->aapml = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->aapml, (const char *)arg2);
    } else {
      arg1->aapml = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_atsrc_aapml_get) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_atsrc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_atsrc_aapml_get. Expected SWIGTYPE_p_zxid_atsrc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->aapml);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_atsrc_otherlim_set) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_atsrc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_atsrc_otherlim_set. Expected SWIGTYPE_p_zxid_atsrc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->otherlim);
    if (arg2) {
      arg1->otherlim = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->otherlim, (const char *)arg2);
    } else {
      arg1->otherlim = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_atsrc_otherlim_get) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_atsrc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_atsrc_otherlim_get. Expected SWIGTYPE_p_zxid_atsrc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->otherlim);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_atsrc_ext_set) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_atsrc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_atsrc_ext_set. Expected SWIGTYPE_p_zxid_atsrc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->ext);
    if (arg2) {
      arg1->ext = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->ext, (const char *)arg2);
    } else {
      arg1->ext = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_atsrc_ext_get) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_atsrc, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_atsrc_ext_get. Expected SWIGTYPE_p_zxid_atsrc");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->ext);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zxid_atsrc) {
  struct zxid_atsrc *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zxid_atsrc *)calloc(1, sizeof(struct zxid_atsrc));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_atsrc, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zxid_atsrc(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zxid_atsrc *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zxid_atsrc TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zxid_atsrc resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_perm_n_set) {
  struct zxid_perm *arg1 = (struct zxid_perm *) 0 ;
  struct zxid_perm *arg2 = (struct zxid_perm *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_perm, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_perm_n_set. Expected SWIGTYPE_p_zxid_perm");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_perm, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_perm_n_set. Expected SWIGTYPE_p_zxid_perm");
    }
  }
  if (arg1) (arg1)->n = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_perm_n_get) {
  struct zxid_perm *arg1 = (struct zxid_perm *) 0 ;
  zval **args[1];
  struct zxid_perm *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_perm, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_perm_n_get. Expected SWIGTYPE_p_zxid_perm");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_perm *) ((arg1)->n);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_perm, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_perm_eid_set) {
  struct zxid_perm *arg1 = (struct zxid_perm *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_perm, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_perm_eid_set. Expected SWIGTYPE_p_zxid_perm");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_perm_eid_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if (arg1) (arg1)->eid = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_perm_eid_get) {
  struct zxid_perm *arg1 = (struct zxid_perm *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_perm, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_perm_eid_get. Expected SWIGTYPE_p_zxid_perm");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_str *) ((arg1)->eid);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_perm_qs_set) {
  struct zxid_perm *arg1 = (struct zxid_perm *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_perm, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_perm_qs_set. Expected SWIGTYPE_p_zxid_perm");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_perm_qs_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if (arg1) (arg1)->qs = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_perm_qs_get) {
  struct zxid_perm *arg1 = (struct zxid_perm *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_perm, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_perm_qs_get. Expected SWIGTYPE_p_zxid_perm");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_str *) ((arg1)->qs);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zxid_perm) {
  struct zxid_perm *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zxid_perm *)calloc(1, sizeof(struct zxid_perm));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_perm, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zxid_perm(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zxid_perm *arg1 = (struct zxid_perm *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zxid_perm *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zxid_perm TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zxid_perm resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_psobj_psobj_set) {
  struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_psobj_psobj_set. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_psobj_psobj_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if (arg1) (arg1)->psobj = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_psobj_psobj_get) {
  struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_psobj_psobj_get. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_str *) ((arg1)->psobj);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_psobj_uid_set) {
  struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_psobj_uid_set. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->uid);
    if (arg2) {
      arg1->uid = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->uid, (const char *)arg2);
    } else {
      arg1->uid = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_psobj_uid_get) {
  struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_psobj_uid_get. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->uid);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_psobj_idpnid_set) {
  struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_psobj_idpnid_set. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_psobj_idpnid_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if (arg1) (arg1)->idpnid = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_psobj_idpnid_get) {
  struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_psobj_idpnid_get. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_str *) ((arg1)->idpnid);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_psobj_dispname_set) {
  struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_psobj_dispname_set. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_psobj_dispname_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if (arg1) (arg1)->dispname = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_psobj_dispname_get) {
  struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_psobj_dispname_get. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_str *) ((arg1)->dispname);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_psobj_tags_set) {
  struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_psobj_tags_set. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_psobj_tags_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if (arg1) (arg1)->tags = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_psobj_tags_get) {
  struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_psobj_tags_get. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_str *) ((arg1)->tags);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_psobj_invids_set) {
  struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_psobj_invids_set. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_psobj_invids_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if (arg1) (arg1)->invids = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_psobj_invids_get) {
  struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_psobj_invids_get. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_str *) ((arg1)->invids);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_psobj_perms_set) {
  struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
  struct zxid_perm *arg2 = (struct zxid_perm *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_psobj_perms_set. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_perm, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_psobj_perms_set. Expected SWIGTYPE_p_zxid_perm");
    }
  }
  if (arg1) (arg1)->perms = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_psobj_perms_get) {
  struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
  zval **args[1];
  struct zxid_perm *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_psobj_perms_get. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_perm *) ((arg1)->perms);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_perm, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_psobj_child_set) {
  struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
  struct zxid_psobj *arg2 = (struct zxid_psobj *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_psobj_child_set. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_psobj_child_set. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if (arg1) (arg1)->child = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_psobj_child_get) {
  struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
  zval **args[1];
  struct zxid_psobj *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_psobj_child_get. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_psobj *) ((arg1)->child);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_psobj, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_psobj_nodetype_set) {
  struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_psobj_nodetype_set. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->nodetype = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_psobj_nodetype_get) {
  struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_psobj_nodetype_get. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->nodetype);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_psobj_create_secs_set) {
  struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_psobj_create_secs_set. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->create_secs = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_psobj_create_secs_get) {
  struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_psobj_create_secs_get. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->create_secs);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_psobj_mod_secs_set) {
  struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_psobj_mod_secs_set. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->mod_secs = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_psobj_mod_secs_get) {
  struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_psobj_mod_secs_get. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->mod_secs);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zxid_psobj) {
  struct zxid_psobj *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zxid_psobj *)calloc(1, sizeof(struct zxid_psobj));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_psobj, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zxid_psobj(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zxid_psobj *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zxid_psobj TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zxid_psobj resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_invite_invid_set) {
  struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_invite, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_invite_invid_set. Expected SWIGTYPE_p_zxid_invite");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_invite_invid_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if (arg1) (arg1)->invid = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_invite_invid_get) {
  struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_invite, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_invite_invid_get. Expected SWIGTYPE_p_zxid_invite");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_str *) ((arg1)->invid);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_invite_uid_set) {
  struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_invite, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_invite_uid_set. Expected SWIGTYPE_p_zxid_invite");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    free(arg1->uid);
    if (arg2) {
      arg1->uid = (char *) malloc(strlen((const char *)arg2)+1);
      strcpy((char *)arg1->uid, (const char *)arg2);
    } else {
      arg1->uid = 0;
    }
  }
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_invite_uid_get) {
  struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_invite, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_invite_uid_get. Expected SWIGTYPE_p_zxid_invite");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (char *) ((arg1)->uid);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_invite_desc_set) {
  struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_invite, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_invite_desc_set. Expected SWIGTYPE_p_zxid_invite");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_invite_desc_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if (arg1) (arg1)->desc = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_invite_desc_get) {
  struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_invite, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_invite_desc_get. Expected SWIGTYPE_p_zxid_invite");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_str *) ((arg1)->desc);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_invite_psobj_set) {
  struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_invite, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_invite_psobj_set. Expected SWIGTYPE_p_zxid_invite");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_invite_psobj_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if (arg1) (arg1)->psobj = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_invite_psobj_get) {
  struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_invite, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_invite_psobj_get. Expected SWIGTYPE_p_zxid_invite");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_str *) ((arg1)->psobj);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_invite_ps2spredir_set) {
  struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_invite, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_invite_ps2spredir_set. Expected SWIGTYPE_p_zxid_invite");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_invite_ps2spredir_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if (arg1) (arg1)->ps2spredir = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_invite_ps2spredir_get) {
  struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_invite, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_invite_ps2spredir_get. Expected SWIGTYPE_p_zxid_invite");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_str *) ((arg1)->ps2spredir);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_invite_obj_set) {
  struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
  struct zxid_psobj *arg2 = (struct zxid_psobj *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_invite, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_invite_obj_set. Expected SWIGTYPE_p_zxid_invite");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_psobj, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_invite_obj_set. Expected SWIGTYPE_p_zxid_psobj");
    }
  }
  if (arg1) (arg1)->obj = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_invite_obj_get) {
  struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
  zval **args[1];
  struct zxid_psobj *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_invite, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_invite_obj_get. Expected SWIGTYPE_p_zxid_invite");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_psobj *) ((arg1)->obj);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_psobj, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_invite_perms_set) {
  struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
  struct zxid_perm *arg2 = (struct zxid_perm *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_invite, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_invite_perms_set. Expected SWIGTYPE_p_zxid_invite");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_perm, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_invite_perms_set. Expected SWIGTYPE_p_zxid_perm");
    }
  }
  if (arg1) (arg1)->perms = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_invite_perms_get) {
  struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
  zval **args[1];
  struct zxid_perm *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_invite, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_invite_perms_get. Expected SWIGTYPE_p_zxid_invite");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zxid_perm *) ((arg1)->perms);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_perm, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_invite_maxusage_set) {
  struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_invite, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_invite_maxusage_set. Expected SWIGTYPE_p_zxid_invite");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->maxusage = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_invite_maxusage_get) {
  struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_invite, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_invite_maxusage_get. Expected SWIGTYPE_p_zxid_invite");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->maxusage);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_invite_usage_set) {
  struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_invite, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_invite_usage_set. Expected SWIGTYPE_p_zxid_invite");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->usage = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_invite_usage_get) {
  struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_invite, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_invite_usage_get. Expected SWIGTYPE_p_zxid_invite");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->usage);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_invite_starts_set) {
  struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_invite, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_invite_starts_set. Expected SWIGTYPE_p_zxid_invite");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->starts = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_invite_starts_get) {
  struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_invite, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_invite_starts_get. Expected SWIGTYPE_p_zxid_invite");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->starts);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_invite_expires_set) {
  struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
  int arg2 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_invite, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_invite_expires_set. Expected SWIGTYPE_p_zxid_invite");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  if (arg1) (arg1)->expires = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_invite_expires_get) {
  struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
  zval **args[1];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_invite, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_invite_expires_get. Expected SWIGTYPE_p_zxid_invite");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (int) ((arg1)->expires);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zxid_invite) {
  struct zxid_invite *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zxid_invite *)calloc(1, sizeof(struct zxid_invite));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_invite, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zxid_invite(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zxid_invite *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zxid_invite TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zxid_invite resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_simple) {
  char *arg1 = (char *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  zval **args[3];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[0])->type==IS_NULL) {
    arg1 = (char *) 0;
  } else {
    convert_to_string_ex(args[0]);
    arg1 = (char *) Z_STRVAL_PP(args[0]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  result = (char *)zxid_simple(arg1,arg2,arg3);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_idp_list) {
  char *arg1 = (char *) 0 ;
  int arg2 ;
  zval **args[2];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[0])->type==IS_NULL) {
    arg1 = (char *) 0;
  } else {
    convert_to_string_ex(args[0]);
    arg1 = (char *) Z_STRVAL_PP(args[0]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  result = (char *)zxid_idp_list(arg1,arg2);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_idp_select) {
  char *arg1 = (char *) 0 ;
  int arg2 ;
  zval **args[2];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[0])->type==IS_NULL) {
    arg1 = (char *) 0;
  } else {
    convert_to_string_ex(args[0]);
    arg1 = (char *) Z_STRVAL_PP(args[0]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  result = (char *)zxid_idp_select(arg1,arg2);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_fed_mgmt) {
  char *arg1 = (char *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  zval **args[3];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[0])->type==IS_NULL) {
    arg1 = (char *) 0;
  } else {
    convert_to_string_ex(args[0]);
    arg1 = (char *) Z_STRVAL_PP(args[0]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  result = (char *)zxid_fed_mgmt(arg1,arg2,arg3);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_new_conf_to_cf) {
  char *arg1 = (char *) 0 ;
  zval **args[1];
  zxid_conf *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[0])->type==IS_NULL) {
    arg1 = (char *) 0;
  } else {
    convert_to_string_ex(args[0]);
    arg1 = (char *) Z_STRVAL_PP(args[0]);
  }
  /*@SWIG@*/;
  
  result = (zxid_conf *)zxid_new_conf_to_cf((char const *)arg1);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_conf, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_simple_cf) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  int *arg4 = (int *) 0 ;
  int arg5 ;
  int tmp4 ;
  zval **args[5];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_simple_cf. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /* First Check for SWIG wrapped type */
  if ( ZVAL_IS_NULL( *args[3] ) ) {
    arg4 = 0;
  } else if ( PZVAL_IS_REF( *args[3] ) ) {
    /* Not swig wrapped type, so we check if it's a PHP reference type */
    /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
    convert_to_long_ex(args[3]);
    tmp4 = (int) Z_LVAL_PP(args[3]);
    /*@SWIG@*/;
    arg4 = &tmp4;
  } else {
    SWIG_PHP_Error( E_ERROR, SWIG_PHP_Arg_Error_Msg(4, Expected a reference) );
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[4]);
  arg5 = (int) Z_LVAL_PP(args[4]);
  /*@SWIG@*/;
  
  result = (char *)zxid_simple_cf(arg1,arg2,arg3,arg4,arg5);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  ZVAL_LONG(*args[3], tmp4 );
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_idp_list_cf) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  int *arg2 = (int *) 0 ;
  int arg3 ;
  int tmp2 ;
  zval **args[3];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_idp_list_cf. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /* First Check for SWIG wrapped type */
  if ( ZVAL_IS_NULL( *args[1] ) ) {
    arg2 = 0;
  } else if ( PZVAL_IS_REF( *args[1] ) ) {
    /* Not swig wrapped type, so we check if it's a PHP reference type */
    /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
    convert_to_long_ex(args[1]);
    tmp2 = (int) Z_LVAL_PP(args[1]);
    /*@SWIG@*/;
    arg2 = &tmp2;
  } else {
    SWIG_PHP_Error( E_ERROR, SWIG_PHP_Arg_Error_Msg(2, Expected a reference) );
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  result = (char *)zxid_idp_list_cf(arg1,arg2,arg3);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  ZVAL_LONG(*args[1], tmp2 );
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_idp_select_cf) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  int *arg2 = (int *) 0 ;
  int arg3 ;
  int tmp2 ;
  zval **args[3];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_idp_select_cf. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /* First Check for SWIG wrapped type */
  if ( ZVAL_IS_NULL( *args[1] ) ) {
    arg2 = 0;
  } else if ( PZVAL_IS_REF( *args[1] ) ) {
    /* Not swig wrapped type, so we check if it's a PHP reference type */
    /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
    convert_to_long_ex(args[1]);
    tmp2 = (int) Z_LVAL_PP(args[1]);
    /*@SWIG@*/;
    arg2 = &tmp2;
  } else {
    SWIG_PHP_Error( E_ERROR, SWIG_PHP_Arg_Error_Msg(2, Expected a reference) );
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  result = (char *)zxid_idp_select_cf(arg1,arg2,arg3);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  ZVAL_LONG(*args[1], tmp2 );
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_fed_mgmt_cf) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  int *arg2 = (int *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  int arg5 ;
  int tmp2 ;
  zval **args[5];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_fed_mgmt_cf. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /* First Check for SWIG wrapped type */
  if ( ZVAL_IS_NULL( *args[1] ) ) {
    arg2 = 0;
  } else if ( PZVAL_IS_REF( *args[1] ) ) {
    /* Not swig wrapped type, so we check if it's a PHP reference type */
    /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
    convert_to_long_ex(args[1]);
    tmp2 = (int) Z_LVAL_PP(args[1]);
    /*@SWIG@*/;
    arg2 = &tmp2;
  } else {
    SWIG_PHP_Error( E_ERROR, SWIG_PHP_Arg_Error_Msg(2, Expected a reference) );
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[4]);
  arg5 = (int) Z_LVAL_PP(args[4]);
  /*@SWIG@*/;
  
  result = (char *)zxid_fed_mgmt_cf(arg1,arg2,arg3,arg4,arg5);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  ZVAL_LONG(*args[1], tmp2 );
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_conf_to_cf_len) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_conf_to_cf_len. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  result = (int)zxid_conf_to_cf_len(arg1,arg2,(char const *)arg3);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_simple_len) {
  int arg1 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  int *arg5 = (int *) 0 ;
  int arg6 ;
  int tmp5 ;
  zval **args[6];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 6 || zend_get_parameters_array_ex(6, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[0]);
  arg1 = (int) Z_LVAL_PP(args[0]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /* First Check for SWIG wrapped type */
  if ( ZVAL_IS_NULL( *args[4] ) ) {
    arg5 = 0;
  } else if ( PZVAL_IS_REF( *args[4] ) ) {
    /* Not swig wrapped type, so we check if it's a PHP reference type */
    /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
    convert_to_long_ex(args[4]);
    tmp5 = (int) Z_LVAL_PP(args[4]);
    /*@SWIG@*/;
    arg5 = &tmp5;
  } else {
    SWIG_PHP_Error( E_ERROR, SWIG_PHP_Arg_Error_Msg(5, Expected a reference) );
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[5]);
  arg6 = (int) Z_LVAL_PP(args[5]);
  /*@SWIG@*/;
  
  result = (char *)zxid_simple_len(arg1,arg2,arg3,arg4,arg5,arg6);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  ZVAL_LONG(*args[4], tmp5 );
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_simple_show_idp_sel) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  int *arg3 = (int *) 0 ;
  int arg4 ;
  int tmp3 ;
  zval **args[4];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_simple_show_idp_sel. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_simple_show_idp_sel. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  
  /* First Check for SWIG wrapped type */
  if ( ZVAL_IS_NULL( *args[2] ) ) {
    arg3 = 0;
  } else if ( PZVAL_IS_REF( *args[2] ) ) {
    /* Not swig wrapped type, so we check if it's a PHP reference type */
    /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
    convert_to_long_ex(args[2]);
    tmp3 = (int) Z_LVAL_PP(args[2]);
    /*@SWIG@*/;
    arg3 = &tmp3;
  } else {
    SWIG_PHP_Error( E_ERROR, SWIG_PHP_Arg_Error_Msg(3, Expected a reference) );
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  result = (char *)zxid_simple_show_idp_sel(arg1,arg2,arg3,arg4);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  ZVAL_LONG(*args[2], tmp3 );
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_idp_list_len) {
  int arg1 ;
  char *arg2 = (char *) 0 ;
  int *arg3 = (int *) 0 ;
  int arg4 ;
  int tmp3 ;
  zval **args[4];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[0]);
  arg1 = (int) Z_LVAL_PP(args[0]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /* First Check for SWIG wrapped type */
  if ( ZVAL_IS_NULL( *args[2] ) ) {
    arg3 = 0;
  } else if ( PZVAL_IS_REF( *args[2] ) ) {
    /* Not swig wrapped type, so we check if it's a PHP reference type */
    /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
    convert_to_long_ex(args[2]);
    tmp3 = (int) Z_LVAL_PP(args[2]);
    /*@SWIG@*/;
    arg3 = &tmp3;
  } else {
    SWIG_PHP_Error( E_ERROR, SWIG_PHP_Arg_Error_Msg(3, Expected a reference) );
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  result = (char *)zxid_idp_list_len(arg1,arg2,arg3,arg4);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  ZVAL_LONG(*args[2], tmp3 );
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_idp_list_cf_cgi) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  int *arg3 = (int *) 0 ;
  int arg4 ;
  int tmp3 ;
  zval **args[4];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_idp_list_cf_cgi. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_idp_list_cf_cgi. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  
  /* First Check for SWIG wrapped type */
  if ( ZVAL_IS_NULL( *args[2] ) ) {
    arg3 = 0;
  } else if ( PZVAL_IS_REF( *args[2] ) ) {
    /* Not swig wrapped type, so we check if it's a PHP reference type */
    /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
    convert_to_long_ex(args[2]);
    tmp3 = (int) Z_LVAL_PP(args[2]);
    /*@SWIG@*/;
    arg3 = &tmp3;
  } else {
    SWIG_PHP_Error( E_ERROR, SWIG_PHP_Arg_Error_Msg(3, Expected a reference) );
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  result = (char *)zxid_idp_list_cf_cgi(arg1,arg2,arg3,arg4);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  ZVAL_LONG(*args[2], tmp3 );
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_idp_select_len) {
  int arg1 ;
  char *arg2 = (char *) 0 ;
  int *arg3 = (int *) 0 ;
  int arg4 ;
  int tmp3 ;
  zval **args[4];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[0]);
  arg1 = (int) Z_LVAL_PP(args[0]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /* First Check for SWIG wrapped type */
  if ( ZVAL_IS_NULL( *args[2] ) ) {
    arg3 = 0;
  } else if ( PZVAL_IS_REF( *args[2] ) ) {
    /* Not swig wrapped type, so we check if it's a PHP reference type */
    /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
    convert_to_long_ex(args[2]);
    tmp3 = (int) Z_LVAL_PP(args[2]);
    /*@SWIG@*/;
    arg3 = &tmp3;
  } else {
    SWIG_PHP_Error( E_ERROR, SWIG_PHP_Arg_Error_Msg(3, Expected a reference) );
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  result = (char *)zxid_idp_select_len(arg1,arg2,arg3,arg4);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  ZVAL_LONG(*args[2], tmp3 );
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_fed_mgmt_len) {
  int arg1 ;
  char *arg2 = (char *) 0 ;
  int *arg3 = (int *) 0 ;
  char *arg4 = (char *) 0 ;
  int arg5 ;
  int tmp3 ;
  zval **args[5];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[0]);
  arg1 = (int) Z_LVAL_PP(args[0]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /* First Check for SWIG wrapped type */
  if ( ZVAL_IS_NULL( *args[2] ) ) {
    arg3 = 0;
  } else if ( PZVAL_IS_REF( *args[2] ) ) {
    /* Not swig wrapped type, so we check if it's a PHP reference type */
    /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
    convert_to_long_ex(args[2]);
    tmp3 = (int) Z_LVAL_PP(args[2]);
    /*@SWIG@*/;
    arg3 = &tmp3;
  } else {
    SWIG_PHP_Error( E_ERROR, SWIG_PHP_Arg_Error_Msg(3, Expected a reference) );
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[4]);
  arg5 = (int) Z_LVAL_PP(args[4]);
  /*@SWIG@*/;
  
  result = (char *)zxid_fed_mgmt_len(arg1,arg2,arg3,arg4,arg5);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  ZVAL_LONG(*args[2], tmp3 );
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_idp_select_zxstr_cf) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  int arg2 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_idp_select_zxstr_cf. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  result = (struct zx_str *)zxid_idp_select_zxstr_cf(arg1,arg2);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_simple_show_err) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  int *arg3 = (int *) 0 ;
  int arg4 ;
  int tmp3 ;
  zval **args[4];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_simple_show_err. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_simple_show_err. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  
  /* First Check for SWIG wrapped type */
  if ( ZVAL_IS_NULL( *args[2] ) ) {
    arg3 = 0;
  } else if ( PZVAL_IS_REF( *args[2] ) ) {
    /* Not swig wrapped type, so we check if it's a PHP reference type */
    /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
    convert_to_long_ex(args[2]);
    tmp3 = (int) Z_LVAL_PP(args[2]);
    /*@SWIG@*/;
    arg3 = &tmp3;
  } else {
    SWIG_PHP_Error( E_ERROR, SWIG_PHP_Arg_Error_Msg(3, Expected a reference) );
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  result = (char *)zxid_simple_show_err(arg1,arg2,arg3,arg4);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  ZVAL_LONG(*args[2], tmp3 );
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_simple_ses_active_cf) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  zxid_ses *arg3 = (zxid_ses *) 0 ;
  int *arg4 = (int *) 0 ;
  int arg5 ;
  int tmp4 ;
  zval **args[5];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_simple_ses_active_cf. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_simple_ses_active_cf. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_simple_ses_active_cf. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /* First Check for SWIG wrapped type */
  if ( ZVAL_IS_NULL( *args[3] ) ) {
    arg4 = 0;
  } else if ( PZVAL_IS_REF( *args[3] ) ) {
    /* Not swig wrapped type, so we check if it's a PHP reference type */
    /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
    convert_to_long_ex(args[3]);
    tmp4 = (int) Z_LVAL_PP(args[3]);
    /*@SWIG@*/;
    arg4 = &tmp4;
  } else {
    SWIG_PHP_Error( E_ERROR, SWIG_PHP_Arg_Error_Msg(4, Expected a reference) );
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[4]);
  arg5 = (int) Z_LVAL_PP(args[4]);
  /*@SWIG@*/;
  
  result = (char *)zxid_simple_ses_active_cf(arg1,arg2,arg3,arg4,arg5);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  ZVAL_LONG(*args[3], tmp4 );
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_simple_no_ses_cf) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  zxid_ses *arg3 = (zxid_ses *) 0 ;
  int *arg4 = (int *) 0 ;
  int arg5 ;
  int tmp4 ;
  zval **args[5];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_simple_no_ses_cf. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_simple_no_ses_cf. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_simple_no_ses_cf. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /* First Check for SWIG wrapped type */
  if ( ZVAL_IS_NULL( *args[3] ) ) {
    arg4 = 0;
  } else if ( PZVAL_IS_REF( *args[3] ) ) {
    /* Not swig wrapped type, so we check if it's a PHP reference type */
    /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
    convert_to_long_ex(args[3]);
    tmp4 = (int) Z_LVAL_PP(args[3]);
    /*@SWIG@*/;
    arg4 = &tmp4;
  } else {
    SWIG_PHP_Error( E_ERROR, SWIG_PHP_Arg_Error_Msg(4, Expected a reference) );
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[4]);
  arg5 = (int) Z_LVAL_PP(args[4]);
  /*@SWIG@*/;
  
  result = (char *)zxid_simple_no_ses_cf(arg1,arg2,arg3,arg4,arg5);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  ZVAL_LONG(*args[3], tmp4 );
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_simple_cf_ses) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  zxid_ses *arg4 = (zxid_ses *) 0 ;
  int *arg5 = (int *) 0 ;
  int arg6 ;
  int tmp5 ;
  zval **args[6];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 6 || zend_get_parameters_array_ex(6, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_simple_cf_ses. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[3], (void **) &arg4, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 4 of zxid_simple_cf_ses. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /* First Check for SWIG wrapped type */
  if ( ZVAL_IS_NULL( *args[4] ) ) {
    arg5 = 0;
  } else if ( PZVAL_IS_REF( *args[4] ) ) {
    /* Not swig wrapped type, so we check if it's a PHP reference type */
    /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
    convert_to_long_ex(args[4]);
    tmp5 = (int) Z_LVAL_PP(args[4]);
    /*@SWIG@*/;
    arg5 = &tmp5;
  } else {
    SWIG_PHP_Error( E_ERROR, SWIG_PHP_Arg_Error_Msg(5, Expected a reference) );
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[5]);
  arg6 = (int) Z_LVAL_PP(args[5]);
  /*@SWIG@*/;
  
  result = (char *)zxid_simple_cf_ses(arg1,arg2,arg3,arg4,arg5,arg6);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  ZVAL_LONG(*args[4], tmp5 );
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_template_page_cf) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  int arg5 ;
  int arg6 ;
  zval **args[6];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 6 || zend_get_parameters_array_ex(6, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_template_page_cf. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_template_page_cf. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[4]);
  arg5 = (int) Z_LVAL_PP(args[4]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[5]);
  arg6 = (int) Z_LVAL_PP(args[5]);
  /*@SWIG@*/;
  
  result = (struct zx_str *)zxid_template_page_cf(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5,arg6);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxsig_ref_sref_set) {
  struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
  struct zx_ds_Reference_s *arg2 = (struct zx_ds_Reference_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxsig_ref, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxsig_ref_sref_set. Expected SWIGTYPE_p_zxsig_ref");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ds_Reference_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxsig_ref_sref_set. Expected SWIGTYPE_p_zx_ds_Reference_s");
    }
  }
  if (arg1) (arg1)->sref = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxsig_ref_sref_get) {
  struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
  zval **args[1];
  struct zx_ds_Reference_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxsig_ref, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxsig_ref_sref_get. Expected SWIGTYPE_p_zxsig_ref");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_ds_Reference_s *) ((arg1)->sref);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ds_Reference_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxsig_ref_blob_set) {
  struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxsig_ref, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxsig_ref_blob_set. Expected SWIGTYPE_p_zxsig_ref");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxsig_ref_blob_set. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  if (arg1) (arg1)->blob = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxsig_ref_blob_get) {
  struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
  zval **args[1];
  struct zx_elem_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxsig_ref, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxsig_ref_blob_get. Expected SWIGTYPE_p_zxsig_ref");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_elem_s *) ((arg1)->blob);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_elem_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxsig_ref_id_set) {
  struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxsig_ref, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxsig_ref_id_set. Expected SWIGTYPE_p_zxsig_ref");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxsig_ref_id_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if (arg1) (arg1)->id = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxsig_ref_id_get) {
  struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxsig_ref, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxsig_ref_id_get. Expected SWIGTYPE_p_zxsig_ref");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_str *) ((arg1)->id);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxsig_ref_canon_set) {
  struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxsig_ref, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxsig_ref_canon_set. Expected SWIGTYPE_p_zxsig_ref");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxsig_ref_canon_set. Expected SWIGTYPE_p_zx_str");
    }
  }
  if (arg1) (arg1)->canon = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxsig_ref_canon_get) {
  struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxsig_ref, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxsig_ref_canon_get. Expected SWIGTYPE_p_zxsig_ref");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_str *) ((arg1)->canon);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxsig_ref_pop_seen_set) {
  struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxsig_ref, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxsig_ref_pop_seen_set. Expected SWIGTYPE_p_zxsig_ref");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_ns_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxsig_ref_pop_seen_set. Expected SWIGTYPE_p_zx_ns_s");
    }
  }
  if (arg1) (arg1)->pop_seen = arg2;
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxsig_ref_pop_seen_get) {
  struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
  zval **args[1];
  struct zx_ns_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxsig_ref, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxsig_ref_pop_seen_get. Expected SWIGTYPE_p_zxsig_ref");
    }
  }
  if(!arg1) SWIG_PHP_Error(E_ERROR, "this pointer is NULL");
  result = (struct zx_ns_s *) ((arg1)->pop_seen);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_ns_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_new_zxsig_ref) {
  struct zxsig_ref *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (struct zxsig_ref *)calloc(1, sizeof(struct zxsig_ref));
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxsig_ref, 1);
  
  return;
fail:
  SWIG_FAIL();
}


/* This function is designed to be called by the zend list destructors */
/* to typecast and do the actual destruction */
static void __wrap_delete_zxsig_ref(zend_rsrc_list_entry *rsrc, const char *type_name TSRMLS_DC) {
  swig_object_wrapper *value=(swig_object_wrapper *) rsrc->ptr ;
  void *ptr=value->ptr ;
  int newobject=value->newobject ;
  struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
  
  efree(value);
  if (! newobject) return; /* can't delete it! */
  arg1 = (struct zxsig_ref *)SWIG_ZTS_ConvertResourceData(ptr,type_name,SWIGTYPE_p_zxsig_ref TSRMLS_CC);
  if (! arg1) zend_error(E_ERROR, "zxsig_ref resource already free'd");
  free((char *) arg1);
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxenc_privkey_dec) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_xenc_EncryptedData_s *arg2 = (struct zx_xenc_EncryptedData_s *) 0 ;
  struct zx_xenc_EncryptedKey_s *arg3 = (struct zx_xenc_EncryptedKey_s *) 0 ;
  zval **args[3];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxenc_privkey_dec. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_xenc_EncryptedData_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxenc_privkey_dec. Expected SWIGTYPE_p_zx_xenc_EncryptedData_s");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_xenc_EncryptedKey_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxenc_privkey_dec. Expected SWIGTYPE_p_zx_xenc_EncryptedKey_s");
    }
  }
  result = (struct zx_str *)zxenc_privkey_dec(arg1,arg2,arg3);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxenc_symkey_enc) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  struct zx_str *arg4 = (struct zx_str *) 0 ;
  struct zx_xenc_EncryptedKey_s *arg5 = (struct zx_xenc_EncryptedKey_s *) 0 ;
  zval **args[5];
  struct zx_xenc_EncryptedData_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxenc_symkey_enc. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxenc_symkey_enc. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxenc_symkey_enc. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[3], (void **) &arg4, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 4 of zxenc_symkey_enc. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[4], (void **) &arg5, SWIGTYPE_p_zx_xenc_EncryptedKey_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 5 of zxenc_symkey_enc. Expected SWIGTYPE_p_zx_xenc_EncryptedKey_s");
    }
  }
  result = (struct zx_xenc_EncryptedData_s *)zxenc_symkey_enc(arg1,arg2,arg3,arg4,arg5);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_xenc_EncryptedData_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxenc_symkey_dec) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_xenc_EncryptedData_s *arg2 = (struct zx_xenc_EncryptedData_s *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  zval **args[3];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxenc_symkey_dec. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_xenc_EncryptedData_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxenc_symkey_dec. Expected SWIGTYPE_p_zx_xenc_EncryptedData_s");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxenc_symkey_dec. Expected SWIGTYPE_p_zx_str");
    }
  }
  result = (struct zx_str *)zxenc_symkey_dec(arg1,arg2,arg3);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxlog_write_line) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  zval **args[5];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxlog_write_line. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  zxlog_write_line(arg1,arg2,arg3,arg4,(char const *)arg5);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxlog_dup_check) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxlog_dup_check. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxlog_dup_check. Expected SWIGTYPE_p_zx_str");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  result = (int)zxlog_dup_check(arg1,arg2,(char const *)arg3);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxlog_blob) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  int arg2 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  struct zx_str *arg4 = (struct zx_str *) 0 ;
  char *arg5 = (char *) 0 ;
  zval **args[5];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxlog_blob. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxlog_blob. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[3], (void **) &arg4, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 4 of zxlog_blob. Expected SWIGTYPE_p_zx_str");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  result = (int)zxlog_blob(arg1,arg2,arg3,arg4,(char const *)arg5);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxlog) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct timeval *arg2 = (struct timeval *) 0 ;
  struct timeval *arg3 = (struct timeval *) 0 ;
  char *arg4 = (char *) 0 ;
  struct zx_str *arg5 = (struct zx_str *) 0 ;
  struct zx_str *arg6 = (struct zx_str *) 0 ;
  struct zx_str *arg7 = (struct zx_str *) 0 ;
  struct zx_str *arg8 = (struct zx_str *) 0 ;
  char *arg9 = (char *) 0 ;
  char *arg10 = (char *) 0 ;
  char *arg11 = (char *) 0 ;
  char *arg12 = (char *) 0 ;
  char *arg13 = (char *) 0 ;
  void *arg14 = 0 ;
  zval **args[13];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 13 || zend_get_parameters_array_ex(13, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxlog. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_timeval, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxlog. Expected SWIGTYPE_p_timeval");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_timeval, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxlog. Expected SWIGTYPE_p_timeval");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[4], (void **) &arg5, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 5 of zxlog. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[5], (void **) &arg6, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 6 of zxlog. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[6], (void **) &arg7, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 7 of zxlog. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[7], (void **) &arg8, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 8 of zxlog. Expected SWIGTYPE_p_zx_str");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[8])->type==IS_NULL) {
    arg9 = (char *) 0;
  } else {
    convert_to_string_ex(args[8]);
    arg9 = (char *) Z_STRVAL_PP(args[8]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[9])->type==IS_NULL) {
    arg10 = (char *) 0;
  } else {
    convert_to_string_ex(args[9]);
    arg10 = (char *) Z_STRVAL_PP(args[9]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[10])->type==IS_NULL) {
    arg11 = (char *) 0;
  } else {
    convert_to_string_ex(args[10]);
    arg11 = (char *) Z_STRVAL_PP(args[10]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[11])->type==IS_NULL) {
    arg12 = (char *) 0;
  } else {
    convert_to_string_ex(args[11]);
    arg12 = (char *) Z_STRVAL_PP(args[11]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[12])->type==IS_NULL) {
    arg13 = (char *) 0;
  } else {
    convert_to_string_ex(args[12]);
    arg13 = (char *) Z_STRVAL_PP(args[12]);
  }
  /*@SWIG@*/;
  
  result = (int)zxlog(arg1,arg2,arg3,(char const *)arg4,arg5,arg6,arg7,arg8,(char const *)arg9,(char const *)arg10,(char const *)arg11,(char const *)arg12,(char const *)arg13,arg14);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxlogwsp) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  char *arg6 = (char *) 0 ;
  void *arg7 = 0 ;
  zval **args[6];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 6 || zend_get_parameters_array_ex(6, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxlogwsp. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxlogwsp. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[5])->type==IS_NULL) {
    arg6 = (char *) 0;
  } else {
    convert_to_string_ex(args[5]);
    arg6 = (char *) Z_STRVAL_PP(args[5]);
  }
  /*@SWIG@*/;
  
  result = (int)zxlogwsp(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,arg7);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxlogusr) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  struct timeval *arg3 = (struct timeval *) 0 ;
  struct timeval *arg4 = (struct timeval *) 0 ;
  char *arg5 = (char *) 0 ;
  struct zx_str *arg6 = (struct zx_str *) 0 ;
  struct zx_str *arg7 = (struct zx_str *) 0 ;
  struct zx_str *arg8 = (struct zx_str *) 0 ;
  struct zx_str *arg9 = (struct zx_str *) 0 ;
  char *arg10 = (char *) 0 ;
  char *arg11 = (char *) 0 ;
  char *arg12 = (char *) 0 ;
  char *arg13 = (char *) 0 ;
  char *arg14 = (char *) 0 ;
  void *arg15 = 0 ;
  zval **args[14];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 14 || zend_get_parameters_array_ex(14, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxlogusr. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_timeval, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxlogusr. Expected SWIGTYPE_p_timeval");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[3], (void **) &arg4, SWIGTYPE_p_timeval, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 4 of zxlogusr. Expected SWIGTYPE_p_timeval");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[5], (void **) &arg6, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 6 of zxlogusr. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[6], (void **) &arg7, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 7 of zxlogusr. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[7], (void **) &arg8, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 8 of zxlogusr. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[8], (void **) &arg9, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 9 of zxlogusr. Expected SWIGTYPE_p_zx_str");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[9])->type==IS_NULL) {
    arg10 = (char *) 0;
  } else {
    convert_to_string_ex(args[9]);
    arg10 = (char *) Z_STRVAL_PP(args[9]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[10])->type==IS_NULL) {
    arg11 = (char *) 0;
  } else {
    convert_to_string_ex(args[10]);
    arg11 = (char *) Z_STRVAL_PP(args[10]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[11])->type==IS_NULL) {
    arg12 = (char *) 0;
  } else {
    convert_to_string_ex(args[11]);
    arg12 = (char *) Z_STRVAL_PP(args[11]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[12])->type==IS_NULL) {
    arg13 = (char *) 0;
  } else {
    convert_to_string_ex(args[12]);
    arg13 = (char *) Z_STRVAL_PP(args[12]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[13])->type==IS_NULL) {
    arg14 = (char *) 0;
  } else {
    convert_to_string_ex(args[13]);
    arg14 = (char *) Z_STRVAL_PP(args[13]);
  }
  /*@SWIG@*/;
  
  result = (int)zxlogusr(arg1,(char const *)arg2,arg3,arg4,(char const *)arg5,arg6,arg7,arg8,arg9,(char const *)arg10,(char const *)arg11,(char const *)arg12,(char const *)arg13,(char const *)arg14,arg15);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_errmac_debug_xml_blob) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  int arg6 ;
  char *arg7 = (char *) 0 ;
  zval **args[7];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 7 || zend_get_parameters_array_ex(7, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of errmac_debug_xml_blob. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[5]);
  arg6 = (int) Z_LVAL_PP(args[5]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[6])->type==IS_NULL) {
    arg7 = (char *) 0;
  } else {
    convert_to_string_ex(args[6]);
    arg7 = (char *) Z_STRVAL_PP(args[6]);
  }
  /*@SWIG@*/;
  
  errmac_debug_xml_blob(arg1,(char const *)arg2,arg3,(char const *)arg4,(char const *)arg5,arg6,(char const *)arg7);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxbus_mint_receipt) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  int arg6 ;
  char *arg7 = (char *) 0 ;
  int arg8 ;
  char *arg9 = (char *) 0 ;
  int arg10 ;
  char *arg11 = (char *) 0 ;
  zval **args[11];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 11 || zend_get_parameters_array_ex(11, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxbus_mint_receipt. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[5]);
  arg6 = (int) Z_LVAL_PP(args[5]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[6])->type==IS_NULL) {
    arg7 = (char *) 0;
  } else {
    convert_to_string_ex(args[6]);
    arg7 = (char *) Z_STRVAL_PP(args[6]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[7]);
  arg8 = (int) Z_LVAL_PP(args[7]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[8])->type==IS_NULL) {
    arg9 = (char *) 0;
  } else {
    convert_to_string_ex(args[8]);
    arg9 = (char *) Z_STRVAL_PP(args[8]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[9]);
  arg10 = (int) Z_LVAL_PP(args[9]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[10])->type==IS_NULL) {
    arg11 = (char *) 0;
  } else {
    convert_to_string_ex(args[10]);
    arg11 = (char *) Z_STRVAL_PP(args[10]);
  }
  /*@SWIG@*/;
  
  result = (char *)zxbus_mint_receipt(arg1,arg2,arg3,arg4,(char const *)arg5,arg6,(char const *)arg7,arg8,(char const *)arg9,arg10,(char const *)arg11);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxbus_verify_receipt) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  int arg5 ;
  char *arg6 = (char *) 0 ;
  int arg7 ;
  char *arg8 = (char *) 0 ;
  int arg9 ;
  char *arg10 = (char *) 0 ;
  int arg11 ;
  char *arg12 = (char *) 0 ;
  zval **args[12];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 12 || zend_get_parameters_array_ex(12, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxbus_verify_receipt. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[4]);
  arg5 = (int) Z_LVAL_PP(args[4]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[5])->type==IS_NULL) {
    arg6 = (char *) 0;
  } else {
    convert_to_string_ex(args[5]);
    arg6 = (char *) Z_STRVAL_PP(args[5]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[6]);
  arg7 = (int) Z_LVAL_PP(args[6]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[7])->type==IS_NULL) {
    arg8 = (char *) 0;
  } else {
    convert_to_string_ex(args[7]);
    arg8 = (char *) Z_STRVAL_PP(args[7]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[8]);
  arg9 = (int) Z_LVAL_PP(args[8]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[9])->type==IS_NULL) {
    arg10 = (char *) 0;
  } else {
    convert_to_string_ex(args[9]);
    arg10 = (char *) Z_STRVAL_PP(args[9]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[10]);
  arg11 = (int) Z_LVAL_PP(args[10]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[11])->type==IS_NULL) {
    arg12 = (char *) 0;
  } else {
    convert_to_string_ex(args[11]);
    arg12 = (char *) Z_STRVAL_PP(args[11]);
  }
  /*@SWIG@*/;
  
  result = (int)zxbus_verify_receipt(arg1,(char const *)arg2,arg3,arg4,arg5,(char const *)arg6,arg7,(char const *)arg8,arg9,(char const *)arg10,arg11,(char const *)arg12);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxbus_persist_msg) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  int arg6 ;
  char *arg7 = (char *) 0 ;
  zval **args[7];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 7 || zend_get_parameters_array_ex(7, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxbus_persist_msg. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[5]);
  arg6 = (int) Z_LVAL_PP(args[5]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[6])->type==IS_NULL) {
    arg7 = (char *) 0;
  } else {
    convert_to_string_ex(args[6]);
    arg7 = (char *) Z_STRVAL_PP(args[6]);
  }
  /*@SWIG@*/;
  
  result = (int)zxbus_persist_msg(arg1,arg2,arg3,arg4,(char const *)arg5,arg6,(char const *)arg7);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxbus_open_bus_url) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zxid_bus_url *arg2 = (struct zxid_bus_url *) 0 ;
  zval **args[2];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxbus_open_bus_url. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxbus_open_bus_url. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  result = (int)zxbus_open_bus_url(arg1,arg2);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxbus_close) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zxid_bus_url *arg2 = (struct zxid_bus_url *) 0 ;
  zval **args[2];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxbus_close. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxbus_close. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  result = (int)zxbus_close(arg1,arg2);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxbus_close_all) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zval **args[1];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxbus_close_all. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  zxbus_close_all(arg1);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxbus_send_cmdf) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zxid_bus_url *arg2 = (struct zxid_bus_url *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  void *arg6 = 0 ;
  zval **args[5];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxbus_send_cmdf. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxbus_send_cmdf. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  result = (int)zxbus_send_cmdf(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,arg6);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxbus_send_cmd) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  zval **args[5];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxbus_send_cmd. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  result = (int)zxbus_send_cmd(arg1,(char const *)arg2,(char const *)arg3,arg4,(char const *)arg5);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxbus_send) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxbus_send. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  result = (int)zxbus_send(arg1,(char const *)arg2,arg3,(char const *)arg4);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxbus_read_stomp) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zxid_bus_url *arg2 = (struct zxid_bus_url *) 0 ;
  struct stomp_hdr *arg3 = (struct stomp_hdr *) 0 ;
  zval **args[3];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxbus_read_stomp. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxbus_read_stomp. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_stomp_hdr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxbus_read_stomp. Expected SWIGTYPE_p_stomp_hdr");
    }
  }
  result = (int)zxbus_read_stomp(arg1,arg2,arg3);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxbus_ack_msg) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zxid_bus_url *arg2 = (struct zxid_bus_url *) 0 ;
  struct stomp_hdr *arg3 = (struct stomp_hdr *) 0 ;
  zval **args[3];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxbus_ack_msg. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxbus_ack_msg. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_stomp_hdr, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxbus_ack_msg. Expected SWIGTYPE_p_stomp_hdr");
    }
  }
  result = (int)zxbus_ack_msg(arg1,arg2,arg3);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxbus_listen_msg) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zxid_bus_url *arg2 = (struct zxid_bus_url *) 0 ;
  zval **args[2];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxbus_listen_msg. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_bus_url, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxbus_listen_msg. Expected SWIGTYPE_p_zxid_bus_url");
    }
  }
  result = (char *)zxbus_listen_msg(arg1,arg2);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_ent_file) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  zxid_entity *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_ent_file. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  result = (zxid_entity *)zxid_get_ent_file(arg1,(char const *)arg2,(char const *)arg3);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_entity_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_ent_cache) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  zxid_entity *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_ent_cache. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_ent_cache. Expected SWIGTYPE_p_zx_str");
    }
  }
  result = (zxid_entity *)zxid_get_ent_cache(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_entity_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_write_ent_to_cache) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_entity *arg2 = (zxid_entity *) 0 ;
  zval **args[2];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_write_ent_to_cache. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_write_ent_to_cache. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  result = (int)zxid_write_ent_to_cache(arg1,arg2);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_parse_meta) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char **arg2 = (char **) 0 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  zxid_entity *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_parse_meta. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_p_char, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_parse_meta. Expected SWIGTYPE_p_p_char");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  result = (zxid_entity *)zxid_parse_meta(arg1,arg2,arg3);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_entity_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_meta_ss) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  zxid_entity *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_meta_ss. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_meta_ss. Expected SWIGTYPE_p_zx_str");
    }
  }
  result = (zxid_entity *)zxid_get_meta_ss(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_entity_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_meta) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  zxid_entity *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_meta. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  result = (zxid_entity *)zxid_get_meta(arg1,(char const *)arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_entity_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_ent_ss) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  zxid_entity *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_ent_ss. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_ent_ss. Expected SWIGTYPE_p_zx_str");
    }
  }
  result = (zxid_entity *)zxid_get_ent_ss(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_entity_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_ent) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  zxid_entity *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_ent. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  result = (zxid_entity *)zxid_get_ent(arg1,(char const *)arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_entity_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_ent_by_succinct_id) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  zxid_entity *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_ent_by_succinct_id. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  result = (zxid_entity *)zxid_get_ent_by_succinct_id(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_entity_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_ent_by_sha1_name) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  zxid_entity *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_ent_by_sha1_name. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  result = (zxid_entity *)zxid_get_ent_by_sha1_name(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_entity_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_load_cot_cache) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zval **args[1];
  zxid_entity *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_load_cot_cache. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  result = (zxid_entity *)zxid_load_cot_cache(arg1);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_entity_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_sp_meta) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_sp_meta. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_sp_meta. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  result = (struct zx_str *)zxid_sp_meta(arg1,arg2);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_send_sp_meta) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  zval **args[2];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_send_sp_meta. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_send_sp_meta. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  result = (int)zxid_send_sp_meta(arg1,arg2);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_sp_carml) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_sp_carml. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  result = (struct zx_str *)zxid_sp_carml(arg1);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_my_ent_id) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_my_ent_id. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  result = (struct zx_str *)zxid_my_ent_id(arg1);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_my_ent_id_cstr) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_my_ent_id_cstr. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  result = (char *)zxid_my_ent_id_cstr(arg1);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_my_ent_id_attr) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  int arg3 ;
  zval **args[3];
  struct zx_attr_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_my_ent_id_attr. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_my_ent_id_attr. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  result = (struct zx_attr_s *)zxid_my_ent_id_attr(arg1,arg2,arg3);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_attr_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_my_cdc_url) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_my_cdc_url. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  result = (struct zx_str *)zxid_my_cdc_url(arg1);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_my_issuer) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  zval **args[2];
  struct zx_sa_Issuer_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_my_issuer. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_my_issuer. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  result = (struct zx_sa_Issuer_s *)zxid_my_issuer(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sa_Issuer_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_issuer) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  struct zx_sa_Issuer_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_issuer. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_issuer. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_issuer. Expected SWIGTYPE_p_zx_str");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_sa_Issuer_s *)zxid_issuer(arg1,arg2,arg3,arg4);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sa_Issuer_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_set_opt) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  int arg2 ;
  int arg3 ;
  zval **args[3];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_set_opt. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  result = (int)zxid_set_opt(arg1,arg2,arg3);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_set_opt_cstr) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_set_opt_cstr. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  result = (char *)zxid_set_opt_cstr(arg1,arg2,arg3);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_url_set) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_url_set. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  zxid_url_set(arg1,(char const *)arg2);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_init_conf) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_init_conf. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  result = (int)zxid_init_conf(arg1,(char const *)arg2);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_free_conf) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zval **args[1];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_free_conf. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  zxid_free_conf(arg1);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_init_conf_ctx) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  zxid_conf *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_init_conf_ctx. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  result = (zxid_conf *)zxid_init_conf_ctx(arg1,(char const *)arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_conf, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_new_conf) {
  char *arg1 = (char *) 0 ;
  zval **args[1];
  zxid_conf *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[0])->type==IS_NULL) {
    arg1 = (char *) 0;
  } else {
    convert_to_string_ex(args[0]);
    arg1 = (char *) Z_STRVAL_PP(args[0]);
  }
  /*@SWIG@*/;
  
  result = (zxid_conf *)zxid_new_conf((char const *)arg1);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_conf, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_parse_conf_raw) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_parse_conf_raw. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  result = (int)zxid_parse_conf_raw(arg1,arg2,arg3);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_parse_conf) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_parse_conf. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  result = (int)zxid_parse_conf(arg1,arg2);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_mk_self_sig_cert) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  zval **args[5];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_mk_self_sig_cert. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  result = (int)zxid_mk_self_sig_cert(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_mk_at_cert) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  zxid_nid *arg5 = (zxid_nid *) 0 ;
  char *arg6 = (char *) 0 ;
  struct zx_str *arg7 = (struct zx_str *) 0 ;
  zval **args[7];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 7 || zend_get_parameters_array_ex(7, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_mk_at_cert. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[4], (void **) &arg5, SWIGTYPE_p_zx_sa_NameID_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 5 of zxid_mk_at_cert. Expected SWIGTYPE_p_zx_sa_NameID_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[5])->type==IS_NULL) {
    arg6 = (char *) 0;
  } else {
    convert_to_string_ex(args[5]);
    arg6 = (char *) Z_STRVAL_PP(args[5]);
  }
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[6], (void **) &arg7, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 7 of zxid_mk_at_cert. Expected SWIGTYPE_p_zx_str");
    }
  }
  result = (int)zxid_mk_at_cert(arg1,arg2,arg3,(char const *)arg4,arg5,(char const *)arg6,arg7);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_show_conf) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zval **args[1];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_show_conf. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  result = (struct zx_str *)zxid_show_conf(arg1);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_parse_cgi) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_parse_cgi. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_parse_cgi. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  result = (int)zxid_parse_cgi(arg1,arg2,arg3);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_new_cgi) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  zxid_cgi *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_new_cgi. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  result = (zxid_cgi *)zxid_new_cgi(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_cgi, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_sid_from_cookie) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_sid_from_cookie. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_sid_from_cookie. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  zxid_get_sid_from_cookie(arg1,arg2,(char const *)arg3);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_alloc_ses) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zval **args[1];
  zxid_ses *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_alloc_ses. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  result = (zxid_ses *)zxid_alloc_ses(arg1);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_ses, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_fetch_ses) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  zxid_ses *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_fetch_ses. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  result = (zxid_ses *)zxid_fetch_ses(arg1,(char const *)arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_ses, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_ses) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_ses. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_ses. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  result = (int)zxid_get_ses(arg1,arg2,(char const *)arg3);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_put_ses) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zval **args[2];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_put_ses. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_put_ses. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  result = (int)zxid_put_ses(arg1,arg2);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_del_ses) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zval **args[2];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_del_ses. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_del_ses. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  result = (int)zxid_del_ses(arg1,arg2);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_ses_sso_a7n) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zval **args[2];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_ses_sso_a7n. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_ses_sso_a7n. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  result = (int)zxid_get_ses_sso_a7n(arg1,arg2);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_ses_idp) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zval **args[2];
  zxid_entity *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_ses_idp. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_ses_idp. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  result = (zxid_entity *)zxid_get_ses_idp(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_entity_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_find_ses) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  struct zx_str *arg4 = (struct zx_str *) 0 ;
  zval **args[4];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_find_ses. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_find_ses. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_find_ses. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[3], (void **) &arg4, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 4 of zxid_find_ses. Expected SWIGTYPE_p_zx_str");
    }
  }
  result = (int)zxid_find_ses(arg1,arg2,arg3,arg4);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_to_ldif) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_to_ldif. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_ses_to_ldif. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  result = (struct zx_str *)zxid_ses_to_ldif(arg1,arg2);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_to_json) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_to_json. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_ses_to_json. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  result = (struct zx_str *)zxid_ses_to_json(arg1,arg2);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_to_qs) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_to_qs. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_ses_to_qs. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  result = (struct zx_str *)zxid_ses_to_qs(arg1,arg2);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ses_to_pool) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zval **args[2];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ses_to_pool. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_ses_to_pool. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  zxid_ses_to_pool(arg1,arg2);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_add_attr_to_ses) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  char *arg3 = (char *) 0 ;
  struct zx_str *arg4 = (struct zx_str *) 0 ;
  zval **args[4];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_add_attr_to_ses. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_add_attr_to_ses. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[3], (void **) &arg4, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 4 of zxid_add_attr_to_ses. Expected SWIGTYPE_p_zx_str");
    }
  }
  zxid_add_attr_to_ses(arg1,arg2,arg3,arg4);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_add_qs2ses) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  zval **args[4];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_add_qs2ses. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_add_qs2ses. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  result = (int)zxid_add_qs2ses(arg1,arg2,arg3,arg4);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_user_sha1_name) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_user_sha1_name. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_user_sha1_name. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_user_sha1_name. Expected SWIGTYPE_p_zx_str");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  zxid_user_sha1_name(arg1,arg2,arg3,arg4);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_put_user) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  struct zx_str *arg4 = (struct zx_str *) 0 ;
  struct zx_str *arg5 = (struct zx_str *) 0 ;
  char *arg6 = (char *) 0 ;
  zval **args[6];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 6 || zend_get_parameters_array_ex(6, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_put_user. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_put_user. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_put_user. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[3], (void **) &arg4, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 4 of zxid_put_user. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[4], (void **) &arg5, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 5 of zxid_put_user. Expected SWIGTYPE_p_zx_str");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[5])->type==IS_NULL) {
    arg6 = (char *) 0;
  } else {
    convert_to_string_ex(args[5]);
    arg6 = (char *) Z_STRVAL_PP(args[5]);
  }
  /*@SWIG@*/;
  
  result = (int)zxid_put_user(arg1,arg2,arg3,arg4,arg5,arg6);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_user_nameid) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_nid *arg2 = (zxid_nid *) 0 ;
  zval **args[2];
  zxid_nid *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_user_nameid. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_sa_NameID_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_user_nameid. Expected SWIGTYPE_p_zx_sa_NameID_s");
    }
  }
  result = (zxid_nid *)zxid_get_user_nameid(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sa_NameID_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_user_change_nameid) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_nid *arg2 = (zxid_nid *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  zval **args[3];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_user_change_nameid. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_sa_NameID_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_user_change_nameid. Expected SWIGTYPE_p_zx_sa_NameID_s");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_user_change_nameid. Expected SWIGTYPE_p_zx_str");
    }
  }
  zxid_user_change_nameid(arg1,arg2,arg3);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_pw_authn) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  zxid_ses *arg3 = (zxid_ses *) 0 ;
  zval **args[3];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_pw_authn. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_pw_authn. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_pw_authn. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  result = (int)zxid_pw_authn(arg1,arg2,arg3);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_http_cli) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  char *arg6 = (char *) 0 ;
  char *arg7 = (char *) 0 ;
  int arg8 ;
  zval **args[8];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 8 || zend_get_parameters_array_ex(8, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_http_cli. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[5])->type==IS_NULL) {
    arg6 = (char *) 0;
  } else {
    convert_to_string_ex(args[5]);
    arg6 = (char *) Z_STRVAL_PP(args[5]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[6])->type==IS_NULL) {
    arg7 = (char *) 0;
  } else {
    convert_to_string_ex(args[6]);
    arg7 = (char *) Z_STRVAL_PP(args[6]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[7]);
  arg8 = (int) Z_LVAL_PP(args[7]);
  /*@SWIG@*/;
  
  result = (struct zx_str *)zxid_http_cli(arg1,arg2,(char const *)arg3,arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,arg8);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_soap_call_raw) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zx_e_Envelope_s *arg3 = (struct zx_e_Envelope_s *) 0 ;
  char **arg4 = (char **) 0 ;
  zval **args[4];
  struct zx_root_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_soap_call_raw. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_soap_call_raw. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_e_Envelope_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_soap_call_raw. Expected SWIGTYPE_p_zx_e_Envelope_s");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[3], (void **) &arg4, SWIGTYPE_p_p_char, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 4 of zxid_soap_call_raw. Expected SWIGTYPE_p_p_char");
    }
  }
  result = (struct zx_root_s *)zxid_soap_call_raw(arg1,arg2,arg3,arg4);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_root_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_soap_call_hdr_body) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zx_e_Header_s *arg3 = (struct zx_e_Header_s *) 0 ;
  struct zx_e_Body_s *arg4 = (struct zx_e_Body_s *) 0 ;
  zval **args[4];
  struct zx_root_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_soap_call_hdr_body. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_soap_call_hdr_body. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_e_Header_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_soap_call_hdr_body. Expected SWIGTYPE_p_zx_e_Header_s");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[3], (void **) &arg4, SWIGTYPE_p_zx_e_Body_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 4 of zxid_soap_call_hdr_body. Expected SWIGTYPE_p_zx_e_Body_s");
    }
  }
  result = (struct zx_root_s *)zxid_soap_call_hdr_body(arg1,arg2,arg3,arg4);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_root_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_soap_cgi_resp_body) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  struct zx_e_Body_s *arg3 = (struct zx_e_Body_s *) 0 ;
  zval **args[3];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_soap_cgi_resp_body. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_soap_cgi_resp_body. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_e_Body_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_soap_cgi_resp_body. Expected SWIGTYPE_p_zx_e_Body_s");
    }
  }
  result = (int)zxid_soap_cgi_resp_body(arg1,arg2,arg3);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_last_content_type) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_last_content_type. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  result = (char *)zxid_get_last_content_type(arg1);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_version) {
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (int)zxid_version();
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_version_str) {
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 0) {
    WRONG_PARAM_COUNT;
  }
  
  result = (char *)zxid_version_str();
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_easy_enc_elem_opt) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_easy_enc_elem_opt. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_easy_enc_elem_opt. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  result = (struct zx_str *)zx_easy_enc_elem_opt(arg1,arg2);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_easy_enc_elem_sig) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_easy_enc_elem_sig. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zx_easy_enc_elem_sig. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  result = (struct zx_str *)zx_easy_enc_elem_sig(arg1,arg2);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_date_time) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  time_t arg2 ;
  time_t *tmp2 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_date_time. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &tmp2, SWIGTYPE_p_time_t, 0) < 0 || tmp2 == NULL) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_date_time. Expected SWIGTYPE_p_time_t");
    }
    arg2 = *tmp2;
  }
  result = (struct zx_str *)zxid_date_time(arg1,arg2);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_mk_id) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  zval **args[3];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_mk_id. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  result = (struct zx_str *)zxid_mk_id(arg1,arg2,arg3);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_date_time_attr) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  int arg3 ;
  time_t arg4 ;
  time_t *tmp4 ;
  zval **args[4];
  struct zx_attr_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_date_time_attr. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_date_time_attr. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[3], (void **) &tmp4, SWIGTYPE_p_time_t, 0) < 0 || tmp4 == NULL) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 4 of zxid_date_time_attr. Expected SWIGTYPE_p_time_t");
    }
    arg4 = *tmp4;
  }
  result = (struct zx_attr_s *)zxid_date_time_attr(arg1,arg2,arg3,arg4);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_attr_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_mk_id_attr) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  int arg5 ;
  zval **args[5];
  struct zx_attr_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_mk_id_attr. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_mk_id_attr. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[2]);
  arg3 = (int) Z_LVAL_PP(args[2]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[4]);
  arg5 = (int) Z_LVAL_PP(args[4]);
  /*@SWIG@*/;
  
  result = (struct zx_attr_s *)zxid_mk_id_attr(arg1,arg2,arg3,arg4,arg5);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_attr_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_saml2_post_enc) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  char *arg4 = (char *) 0 ;
  int arg5 ;
  struct zx_str *arg6 = (struct zx_str *) 0 ;
  zval **args[6];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 6 || zend_get_parameters_array_ex(6, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_saml2_post_enc. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_saml2_post_enc. Expected SWIGTYPE_p_zx_str");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[4]);
  arg5 = (int) Z_LVAL_PP(args[4]);
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[5], (void **) &arg6, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 6 of zxid_saml2_post_enc. Expected SWIGTYPE_p_zx_str");
    }
  }
  result = (struct zx_str *)zxid_saml2_post_enc(arg1,arg2,arg3,arg4,arg5,arg6);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_saml2_redir_enc) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_saml2_redir_enc. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_saml2_redir_enc. Expected SWIGTYPE_p_zx_str");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_str *)zxid_saml2_redir_enc(arg1,arg2,arg3,arg4);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_saml2_redir_url) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_saml2_redir_url. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_saml2_redir_url. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_saml2_redir_url. Expected SWIGTYPE_p_zx_str");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_str *)zxid_saml2_redir_url(arg1,arg2,arg3,arg4);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_saml2_redir) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_saml2_redir. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_saml2_redir. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_saml2_redir. Expected SWIGTYPE_p_zx_str");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_str *)zxid_saml2_redir(arg1,arg2,arg3,arg4);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_saml2_resp_redir) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_saml2_resp_redir. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_saml2_resp_redir. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_saml2_resp_redir. Expected SWIGTYPE_p_zx_str");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_str *)zxid_saml2_resp_redir(arg1,arg2,arg3,arg4);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_saml_ok) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  struct zx_sp_Status_s *arg3 = (struct zx_sp_Status_s *) 0 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_saml_ok. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_saml_ok. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_sp_Status_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_saml_ok. Expected SWIGTYPE_p_zx_sp_Status_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  result = (int)zxid_saml_ok(arg1,arg2,arg3,arg4);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_decrypt_nameid) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_nid *arg2 = (zxid_nid *) 0 ;
  struct zx_sa_EncryptedID_s *arg3 = (struct zx_sa_EncryptedID_s *) 0 ;
  zval **args[3];
  zxid_nid *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_decrypt_nameid. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_sa_NameID_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_decrypt_nameid. Expected SWIGTYPE_p_zx_sa_NameID_s");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_sa_EncryptedID_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_decrypt_nameid. Expected SWIGTYPE_p_zx_sa_EncryptedID_s");
    }
  }
  result = (zxid_nid *)zxid_decrypt_nameid(arg1,arg2,arg3);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sa_NameID_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_decrypt_newnym) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zx_sp_NewEncryptedID_s *arg3 = (struct zx_sp_NewEncryptedID_s *) 0 ;
  zval **args[3];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_decrypt_newnym. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_decrypt_newnym. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_sp_NewEncryptedID_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_decrypt_newnym. Expected SWIGTYPE_p_zx_sp_NewEncryptedID_s");
    }
  }
  result = (struct zx_str *)zxid_decrypt_newnym(arg1,arg2,arg3);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_extract_body) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zval **args[2];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_extract_body. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  result = (char *)zxid_extract_body(arg1,arg2);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_get_symkey) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_get_symkey. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  result = (char *)zx_get_symkey(arg1,(char const *)arg2,arg3);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_idp_soap) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  zxid_ses *arg3 = (zxid_ses *) 0 ;
  zxid_entity *arg4 = (zxid_entity *) 0 ;
  int arg5 ;
  struct zx_e_Body_s *arg6 = (struct zx_e_Body_s *) 0 ;
  zval **args[6];
  struct zx_root_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 6 || zend_get_parameters_array_ex(6, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_idp_soap. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_idp_soap. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_idp_soap. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[3], (void **) &arg4, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 4 of zxid_idp_soap. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[4]);
  arg5 = (int) Z_LVAL_PP(args[4]);
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[5], (void **) &arg6, SWIGTYPE_p_zx_e_Body_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 6 of zxid_idp_soap. Expected SWIGTYPE_p_zx_e_Body_s");
    }
  }
  result = (struct zx_root_s *)zxid_idp_soap(arg1,arg2,arg3,arg4,arg5,arg6);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_root_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_sp_soap) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  zxid_ses *arg3 = (zxid_ses *) 0 ;
  zxid_entity *arg4 = (zxid_entity *) 0 ;
  int arg5 ;
  struct zx_e_Body_s *arg6 = (struct zx_e_Body_s *) 0 ;
  zval **args[6];
  struct zx_root_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 6 || zend_get_parameters_array_ex(6, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_sp_soap. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_sp_soap. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_sp_soap. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[3], (void **) &arg4, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 4 of zxid_sp_soap. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[4]);
  arg5 = (int) Z_LVAL_PP(args[4]);
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[5], (void **) &arg6, SWIGTYPE_p_zx_e_Body_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 6 of zxid_sp_soap. Expected SWIGTYPE_p_zx_e_Body_s");
    }
  }
  result = (struct zx_root_s *)zxid_sp_soap(arg1,arg2,arg3,arg4,arg5,arg6);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_root_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_extract_issuer) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  zxid_ses *arg3 = (zxid_ses *) 0 ;
  struct zx_root_s *arg4 = (struct zx_root_s *) 0 ;
  zval **args[4];
  struct zx_sa_Issuer_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_extract_issuer. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_extract_issuer. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_extract_issuer. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[3], (void **) &arg4, SWIGTYPE_p_zx_root_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 4 of zxid_extract_issuer. Expected SWIGTYPE_p_zx_root_s");
    }
  }
  result = (struct zx_sa_Issuer_s *)zxid_extract_issuer(arg1,arg2,arg3,arg4);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sa_Issuer_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_decode_redir_or_post) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  zxid_ses *arg3 = (zxid_ses *) 0 ;
  int arg4 ;
  zval **args[4];
  struct zx_root_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_decode_redir_or_post. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_decode_redir_or_post. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_decode_redir_or_post. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  result = (struct zx_root_s *)zxid_decode_redir_or_post(arg1,arg2,arg3,arg4);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_root_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_dec_a7n) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_a7n *arg2 = (zxid_a7n *) 0 ;
  struct zx_sa_EncryptedAssertion_s *arg3 = (struct zx_sa_EncryptedAssertion_s *) 0 ;
  zval **args[3];
  zxid_a7n *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_dec_a7n. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_sa_Assertion_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_dec_a7n. Expected SWIGTYPE_p_zx_sa_Assertion_s");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_sa_EncryptedAssertion_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_dec_a7n. Expected SWIGTYPE_p_zx_sa_EncryptedAssertion_s");
    }
  }
  result = (zxid_a7n *)zxid_dec_a7n(arg1,arg2,arg3);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sa_Assertion_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_sp_deref_art) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  zxid_ses *arg3 = (zxid_ses *) 0 ;
  zval **args[3];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_sp_deref_art. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_sp_deref_art. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_sp_deref_art. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  result = (int)zxid_sp_deref_art(arg1,arg2,arg3);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_as_call_ses) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_entity *arg2 = (zxid_entity *) 0 ;
  zxid_cgi *arg3 = (zxid_cgi *) 0 ;
  zxid_ses *arg4 = (zxid_ses *) 0 ;
  zval **args[4];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_as_call_ses. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_as_call_ses. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_as_call_ses. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[3], (void **) &arg4, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 4 of zxid_as_call_ses. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  result = (int)zxid_as_call_ses(arg1,arg2,arg3,arg4);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_as_call) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_entity *arg2 = (zxid_entity *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  zxid_ses *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_as_call. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_as_call. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  result = (zxid_ses *)zxid_as_call(arg1,arg2,(char const *)arg3,(char const *)arg4);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zxid_ses, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_start_sso_url) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_start_sso_url. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_start_sso_url. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  result = (struct zx_str *)zxid_start_sso_url(arg1,arg2);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_sp_slo_soap) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  zxid_ses *arg3 = (zxid_ses *) 0 ;
  zval **args[3];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_sp_slo_soap. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_sp_slo_soap. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_sp_slo_soap. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  result = (int)zxid_sp_slo_soap(arg1,arg2,arg3);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_sp_slo_redir) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  zxid_ses *arg3 = (zxid_ses *) 0 ;
  zval **args[3];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_sp_slo_redir. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_sp_slo_redir. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_sp_slo_redir. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  result = (struct zx_str *)zxid_sp_slo_redir(arg1,arg2,arg3);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_sp_mni_soap) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  zxid_ses *arg3 = (zxid_ses *) 0 ;
  struct zx_str *arg4 = (struct zx_str *) 0 ;
  zval **args[4];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_sp_mni_soap. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_sp_mni_soap. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_sp_mni_soap. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[3], (void **) &arg4, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 4 of zxid_sp_mni_soap. Expected SWIGTYPE_p_zx_str");
    }
  }
  result = (int)zxid_sp_mni_soap(arg1,arg2,arg3,arg4);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_sp_mni_redir) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  zxid_ses *arg3 = (zxid_ses *) 0 ;
  struct zx_str *arg4 = (struct zx_str *) 0 ;
  zval **args[4];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_sp_mni_redir. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_sp_mni_redir. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_sp_mni_redir. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[3], (void **) &arg4, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 4 of zxid_sp_mni_redir. Expected SWIGTYPE_p_zx_str");
    }
  }
  result = (struct zx_str *)zxid_sp_mni_redir(arg1,arg2,arg3,arg4);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_az_cf_ses) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zxid_ses *arg3 = (zxid_ses *) 0 ;
  zval **args[3];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_az_cf_ses. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_az_cf_ses. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  result = (char *)zxid_az_cf_ses(arg1,(char const *)arg2,arg3);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_az_cf) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_az_cf. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  result = (char *)zxid_az_cf(arg1,(char const *)arg2,(char const *)arg3);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_az) {
  char *arg1 = (char *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[0])->type==IS_NULL) {
    arg1 = (char *) 0;
  } else {
    convert_to_string_ex(args[0]);
    arg1 = (char *) Z_STRVAL_PP(args[0]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  result = (char *)zxid_az((char const *)arg1,(char const *)arg2,(char const *)arg3);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_az_base_cf_ses) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  zxid_ses *arg3 = (zxid_ses *) 0 ;
  zval **args[3];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_az_base_cf_ses. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_az_base_cf_ses. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  result = (char *)zxid_az_base_cf_ses(arg1,(char const *)arg2,arg3);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_az_base_cf) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_az_base_cf. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  result = (char *)zxid_az_base_cf(arg1,(char const *)arg2,(char const *)arg3);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_az_base) {
  char *arg1 = (char *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[0])->type==IS_NULL) {
    arg1 = (char *) 0;
  } else {
    convert_to_string_ex(args[0]);
    arg1 = (char *) Z_STRVAL_PP(args[0]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  result = (char *)zxid_az_base((char const *)arg1,(char const *)arg2,(char const *)arg3);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_find_attribute) {
  zxid_a7n *arg1 = (zxid_a7n *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  int arg6 ;
  char *arg7 = (char *) 0 ;
  int arg8 ;
  zval **args[8];
  struct zx_sa_Attribute_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 8 || zend_get_parameters_array_ex(8, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_sa_Assertion_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_find_attribute. Expected SWIGTYPE_p_zx_sa_Assertion_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[5]);
  arg6 = (int) Z_LVAL_PP(args[5]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[6])->type==IS_NULL) {
    arg7 = (char *) 0;
  } else {
    convert_to_string_ex(args[6]);
    arg7 = (char *) Z_STRVAL_PP(args[6]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[7]);
  arg8 = (int) Z_LVAL_PP(args[7]);
  /*@SWIG@*/;
  
  result = (struct zx_sa_Attribute_s *)zxid_find_attribute(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sa_Attribute_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_mk_Status) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  zval **args[5];
  struct zx_sp_Status_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_mk_Status. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_mk_Status. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_sp_Status_s *)zxid_mk_Status(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sp_Status_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_OK) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  zval **args[2];
  struct zx_sp_Status_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_OK. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_OK. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  result = (struct zx_sp_Status_s *)zxid_OK(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sp_Status_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_mk_oauth_az_req) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_mk_oauth_az_req. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_mk_oauth_az_req. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_mk_oauth_az_req. Expected SWIGTYPE_p_zx_str");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_str *)zxid_mk_oauth_az_req(arg1,arg2,arg3,arg4);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_mk_jwks) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_mk_jwks. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  result = (char *)zxid_mk_jwks(arg1);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_mk_oauth2_dyn_cli_reg_req) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zval **args[1];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 1 || zend_get_parameters_array_ex(1, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_mk_oauth2_dyn_cli_reg_req. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  result = (char *)zxid_mk_oauth2_dyn_cli_reg_req(arg1);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_mk_oauth2_dyn_cli_reg_res) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  zval **args[2];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_mk_oauth2_dyn_cli_reg_res. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_mk_oauth2_dyn_cli_reg_res. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  result = (char *)zxid_mk_oauth2_dyn_cli_reg_res(arg1,arg2);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_mk_oauth2_rsrc_reg_req) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  zval **args[5];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_mk_oauth2_rsrc_reg_req. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  result = (char *)zxid_mk_oauth2_rsrc_reg_req(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_mk_oauth2_rsrc_reg_res) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_mk_oauth2_rsrc_reg_res. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_mk_oauth2_rsrc_reg_res. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  result = (char *)zxid_mk_oauth2_rsrc_reg_res(arg1,arg2,arg3);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_oauth_get_well_known_item) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_oauth_get_well_known_item. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  result = (char *)zxid_oauth_get_well_known_item(arg1,(char const *)arg2,(char const *)arg3);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_oauth_dynclireg_client) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  zxid_ses *arg3 = (zxid_ses *) 0 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_oauth_dynclireg_client. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_oauth_dynclireg_client. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_oauth_dynclireg_client. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_str *)zxid_oauth_dynclireg_client(arg1,arg2,arg3,(char const *)arg4);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_oauth_rsrcreg_client) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  zxid_ses *arg3 = (zxid_ses *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  char *arg6 = (char *) 0 ;
  char *arg7 = (char *) 0 ;
  char *arg8 = (char *) 0 ;
  zval **args[8];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 8 || zend_get_parameters_array_ex(8, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_oauth_rsrcreg_client. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_oauth_rsrcreg_client. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_oauth_rsrcreg_client. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[5])->type==IS_NULL) {
    arg6 = (char *) 0;
  } else {
    convert_to_string_ex(args[5]);
    arg6 = (char *) Z_STRVAL_PP(args[5]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[6])->type==IS_NULL) {
    arg7 = (char *) 0;
  } else {
    convert_to_string_ex(args[6]);
    arg7 = (char *) Z_STRVAL_PP(args[6]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[7])->type==IS_NULL) {
    arg8 = (char *) 0;
  } else {
    convert_to_string_ex(args[7]);
    arg8 = (char *) Z_STRVAL_PP(args[7]);
  }
  /*@SWIG@*/;
  
  zxid_oauth_rsrcreg_client(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_oauth_call_rpt_endpoint) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_oauth_call_rpt_endpoint. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_oauth_call_rpt_endpoint. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  result = (char *)zxid_oauth_call_rpt_endpoint(arg1,arg2,(char const *)arg3,(char const *)arg4);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_oauth_call_az_endpoint) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  zval **args[5];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_oauth_call_az_endpoint. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_oauth_call_az_endpoint. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  result = (char *)zxid_oauth_call_az_endpoint(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_oidc_as_call) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zxid_entity *arg3 = (zxid_entity *) 0 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_oidc_as_call. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_oidc_as_call. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zxid_entity_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_oidc_as_call. Expected SWIGTYPE_p_zxid_entity_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  result = (int)zxid_oidc_as_call(arg1,arg2,arg3,(char const *)arg4);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_mk_lu_Status) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  char *arg6 = (char *) 0 ;
  zval **args[6];
  struct zx_lu_Status_s *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 6 || zend_get_parameters_array_ex(6, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_mk_lu_Status. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_mk_lu_Status. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[5])->type==IS_NULL) {
    arg6 = (char *) 0;
  } else {
    convert_to_string_ex(args[5]);
    arg6 = (char *) Z_STRVAL_PP(args[5]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_lu_Status_s *)zxid_mk_lu_Status(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_lu_Status_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_mk_tas3_status) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  char *arg6 = (char *) 0 ;
  char *arg7 = (char *) 0 ;
  zval **args[7];
  zxid_tas3_status *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 7 || zend_get_parameters_array_ex(7, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_mk_tas3_status. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_mk_tas3_status. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[5])->type==IS_NULL) {
    arg6 = (char *) 0;
  } else {
    convert_to_string_ex(args[5]);
    arg6 = (char *) Z_STRVAL_PP(args[5]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[6])->type==IS_NULL) {
    arg7 = (char *) 0;
  } else {
    convert_to_string_ex(args[6]);
    arg7 = (char *) Z_STRVAL_PP(args[6]);
  }
  /*@SWIG@*/;
  
  result = (zxid_tas3_status *)zxid_mk_tas3_status(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_tas3_Status_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_mk_fault) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  char *arg6 = (char *) 0 ;
  char *arg7 = (char *) 0 ;
  char *arg8 = (char *) 0 ;
  char *arg9 = (char *) 0 ;
  zval **args[9];
  zxid_fault *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 9 || zend_get_parameters_array_ex(9, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_mk_fault. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_mk_fault. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[5])->type==IS_NULL) {
    arg6 = (char *) 0;
  } else {
    convert_to_string_ex(args[5]);
    arg6 = (char *) Z_STRVAL_PP(args[5]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[6])->type==IS_NULL) {
    arg7 = (char *) 0;
  } else {
    convert_to_string_ex(args[6]);
    arg7 = (char *) Z_STRVAL_PP(args[6]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[7])->type==IS_NULL) {
    arg8 = (char *) 0;
  } else {
    convert_to_string_ex(args[7]);
    arg8 = (char *) Z_STRVAL_PP(args[7]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[8])->type==IS_NULL) {
    arg9 = (char *) 0;
  } else {
    convert_to_string_ex(args[8]);
    arg9 = (char *) Z_STRVAL_PP(args[8]);
  }
  /*@SWIG@*/;
  
  result = (zxid_fault *)zxid_mk_fault(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,(char const *)arg9);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_e_Fault_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_mk_fault_zx_str) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  struct zx_str *arg4 = (struct zx_str *) 0 ;
  struct zx_str *arg5 = (struct zx_str *) 0 ;
  zval **args[5];
  zxid_fault *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_mk_fault_zx_str. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_elem_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_mk_fault_zx_str. Expected SWIGTYPE_p_zx_elem_s");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_mk_fault_zx_str. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[3], (void **) &arg4, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 4 of zxid_mk_fault_zx_str. Expected SWIGTYPE_p_zx_str");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[4], (void **) &arg5, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 5 of zxid_mk_fault_zx_str. Expected SWIGTYPE_p_zx_str");
    }
  }
  result = (zxid_fault *)zxid_mk_fault_zx_str(arg1,arg2,arg3,arg4,arg5);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_e_Fault_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_set_fault) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zxid_fault *arg3 = (zxid_fault *) 0 ;
  zval **args[3];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_set_fault. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_set_fault. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_e_Fault_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_set_fault. Expected SWIGTYPE_p_zx_e_Fault_s");
    }
  }
  zxid_set_fault(arg1,arg2,arg3);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_fault) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zval **args[2];
  zxid_fault *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_fault. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_fault. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  result = (zxid_fault *)zxid_get_fault(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_e_Fault_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_tas3_fault_sc1) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_fault *arg2 = (zxid_fault *) 0 ;
  zval **args[2];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_tas3_fault_sc1. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_e_Fault_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_tas3_fault_sc1. Expected SWIGTYPE_p_zx_e_Fault_s");
    }
  }
  result = (char *)zxid_get_tas3_fault_sc1(arg1,arg2);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_tas3_fault_sc2) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_fault *arg2 = (zxid_fault *) 0 ;
  zval **args[2];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_tas3_fault_sc2. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_e_Fault_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_tas3_fault_sc2. Expected SWIGTYPE_p_zx_e_Fault_s");
    }
  }
  result = (char *)zxid_get_tas3_fault_sc2(arg1,arg2);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_tas3_fault_comment) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_fault *arg2 = (zxid_fault *) 0 ;
  zval **args[2];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_tas3_fault_comment. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_e_Fault_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_tas3_fault_comment. Expected SWIGTYPE_p_zx_e_Fault_s");
    }
  }
  result = (char *)zxid_get_tas3_fault_comment(arg1,arg2);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_tas3_fault_ref) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_fault *arg2 = (zxid_fault *) 0 ;
  zval **args[2];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_tas3_fault_ref. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_e_Fault_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_tas3_fault_ref. Expected SWIGTYPE_p_zx_e_Fault_s");
    }
  }
  result = (char *)zxid_get_tas3_fault_ref(arg1,arg2);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_tas3_fault_actor) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_fault *arg2 = (zxid_fault *) 0 ;
  zval **args[2];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_tas3_fault_actor. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_e_Fault_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_tas3_fault_actor. Expected SWIGTYPE_p_zx_e_Fault_s");
    }
  }
  result = (char *)zxid_get_tas3_fault_actor(arg1,arg2);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_fault_status) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_fault *arg2 = (zxid_fault *) 0 ;
  zval **args[2];
  zxid_tas3_status *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_fault_status. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_e_Fault_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_fault_status. Expected SWIGTYPE_p_zx_e_Fault_s");
    }
  }
  result = (zxid_tas3_status *)zxid_get_fault_status(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_tas3_Status_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_set_tas3_status) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zxid_tas3_status *arg3 = (zxid_tas3_status *) 0 ;
  zval **args[3];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_set_tas3_status. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_set_tas3_status. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_tas3_Status_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_set_tas3_status. Expected SWIGTYPE_p_zx_tas3_Status_s");
    }
  }
  zxid_set_tas3_status(arg1,arg2,arg3);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_tas3_status) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zval **args[2];
  zxid_tas3_status *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_tas3_status. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_tas3_status. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  result = (zxid_tas3_status *)zxid_get_tas3_status(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_tas3_Status_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_tas3_status_sc1) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_tas3_status *arg2 = (zxid_tas3_status *) 0 ;
  zval **args[2];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_tas3_status_sc1. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_tas3_Status_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_tas3_status_sc1. Expected SWIGTYPE_p_zx_tas3_Status_s");
    }
  }
  result = (char *)zxid_get_tas3_status_sc1(arg1,arg2);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_tas3_status_sc2) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_tas3_status *arg2 = (zxid_tas3_status *) 0 ;
  zval **args[2];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_tas3_status_sc2. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_tas3_Status_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_tas3_status_sc2. Expected SWIGTYPE_p_zx_tas3_Status_s");
    }
  }
  result = (char *)zxid_get_tas3_status_sc2(arg1,arg2);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_tas3_status_comment) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_tas3_status *arg2 = (zxid_tas3_status *) 0 ;
  zval **args[2];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_tas3_status_comment. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_tas3_Status_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_tas3_status_comment. Expected SWIGTYPE_p_zx_tas3_Status_s");
    }
  }
  result = (char *)zxid_get_tas3_status_comment(arg1,arg2);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_tas3_status_ref) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_tas3_status *arg2 = (zxid_tas3_status *) 0 ;
  zval **args[2];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_tas3_status_ref. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_tas3_Status_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_tas3_status_ref. Expected SWIGTYPE_p_zx_tas3_Status_s");
    }
  }
  result = (char *)zxid_get_tas3_status_ref(arg1,arg2);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_tas3_status_ctlpt) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_tas3_status *arg2 = (zxid_tas3_status *) 0 ;
  zval **args[2];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_tas3_status_ctlpt. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_tas3_Status_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_tas3_status_ctlpt. Expected SWIGTYPE_p_zx_tas3_Status_s");
    }
  }
  result = (char *)zxid_get_tas3_status_ctlpt(arg1,arg2);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_wsp_validate_env) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  char *arg3 = (char *) 0 ;
  struct zx_e_Envelope_s *arg4 = (struct zx_e_Envelope_s *) 0 ;
  zval **args[4];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_wsp_validate_env. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_wsp_validate_env. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[3], (void **) &arg4, SWIGTYPE_p_zx_e_Envelope_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 4 of zxid_wsp_validate_env. Expected SWIGTYPE_p_zx_e_Envelope_s");
    }
  }
  result = (char *)zxid_wsp_validate_env(arg1,arg2,(char const *)arg3,arg4);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_wsp_validate) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_wsp_validate. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_wsp_validate. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  result = (char *)zxid_wsp_validate(arg1,arg2,(char const *)arg3,(char const *)arg4);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_wsp_decorate) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_wsp_decorate. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_wsp_decorate. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_str *)zxid_wsp_decorate(arg1,arg2,(char const *)arg3,(char const *)arg4);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_wsp_decoratef) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  void *arg5 = 0 ;
  zval **args[4];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_wsp_decoratef. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_wsp_decoratef. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_str *)zxid_wsp_decoratef(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_wsf_decor) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  struct zx_e_Envelope_s *arg3 = (struct zx_e_Envelope_s *) 0 ;
  int arg4 ;
  zxid_epr *arg5 = (zxid_epr *) 0 ;
  zval **args[5];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_wsf_decor. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_wsf_decor. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_e_Envelope_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_wsf_decor. Expected SWIGTYPE_p_zx_e_Envelope_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[4], (void **) &arg5, SWIGTYPE_p_zx_a_EndpointReference_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 5 of zxid_wsf_decor. Expected SWIGTYPE_p_zx_a_EndpointReference_s");
    }
  }
  result = (int)zxid_wsf_decor(arg1,arg2,arg3,arg4,arg5);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_call) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  char *arg6 = (char *) 0 ;
  char *arg7 = (char *) 0 ;
  zval **args[7];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 7 || zend_get_parameters_array_ex(7, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_call. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_call. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[5])->type==IS_NULL) {
    arg6 = (char *) 0;
  } else {
    convert_to_string_ex(args[5]);
    arg6 = (char *) Z_STRVAL_PP(args[5]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[6])->type==IS_NULL) {
    arg7 = (char *) 0;
  } else {
    convert_to_string_ex(args[6]);
    arg7 = (char *) Z_STRVAL_PP(args[6]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_str *)zxid_call(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_callf) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  char *arg6 = (char *) 0 ;
  char *arg7 = (char *) 0 ;
  void *arg8 = 0 ;
  zval **args[7];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 7 || zend_get_parameters_array_ex(7, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_callf. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_callf. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[5])->type==IS_NULL) {
    arg6 = (char *) 0;
  } else {
    convert_to_string_ex(args[5]);
    arg6 = (char *) Z_STRVAL_PP(args[5]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[6])->type==IS_NULL) {
    arg7 = (char *) 0;
  } else {
    convert_to_string_ex(args[6]);
    arg7 = (char *) Z_STRVAL_PP(args[6]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_str *)zxid_callf(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,arg8);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_call_epr) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zxid_epr *arg3 = (zxid_epr *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  zval **args[5];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_call_epr. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_call_epr. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_a_EndpointReference_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_call_epr. Expected SWIGTYPE_p_zx_a_EndpointReference_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_str *)zxid_call_epr(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_callf_epr) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zxid_epr *arg3 = (zxid_epr *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  void *arg6 = 0 ;
  zval **args[5];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_callf_epr. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_callf_epr. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_a_EndpointReference_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_callf_epr. Expected SWIGTYPE_p_zx_a_EndpointReference_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_str *)zxid_callf_epr(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,arg6);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_wsc_prepare_call) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zxid_epr *arg3 = (zxid_epr *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  zval **args[5];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_wsc_prepare_call. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_wsc_prepare_call. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_a_EndpointReference_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_wsc_prepare_call. Expected SWIGTYPE_p_zx_a_EndpointReference_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_str *)zxid_wsc_prepare_call(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_wsc_prepare_callf) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zxid_epr *arg3 = (zxid_epr *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  void *arg6 = 0 ;
  zval **args[5];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_wsc_prepare_callf. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_wsc_prepare_callf. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_a_EndpointReference_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_wsc_prepare_callf. Expected SWIGTYPE_p_zx_a_EndpointReference_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  result = (struct zx_str *)zxid_wsc_prepare_callf(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,arg6);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_wsc_valid_resp) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  zval **args[4];
  int result;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_wsc_valid_resp. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_wsc_valid_resp. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  result = (int)zxid_wsc_valid_resp(arg1,arg2,(char const *)arg3,(char const *)arg4);
  {
    ZVAL_LONG(return_value,result);
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_epr) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  char *arg6 = (char *) 0 ;
  int arg7 ;
  zval **args[7];
  zxid_epr *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 7 || zend_get_parameters_array_ex(7, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_epr. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_epr. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[5])->type==IS_NULL) {
    arg6 = (char *) 0;
  } else {
    convert_to_string_ex(args[5]);
    arg6 = (char *) Z_STRVAL_PP(args[5]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[6]);
  arg7 = (int) Z_LVAL_PP(args[6]);
  /*@SWIG@*/;
  
  result = (zxid_epr *)zxid_get_epr(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,arg7);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_a_EndpointReference_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_find_epr) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  char *arg6 = (char *) 0 ;
  int arg7 ;
  zval **args[7];
  zxid_epr *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 7 || zend_get_parameters_array_ex(7, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_find_epr. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_find_epr. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[5])->type==IS_NULL) {
    arg6 = (char *) 0;
  } else {
    convert_to_string_ex(args[5]);
    arg6 = (char *) Z_STRVAL_PP(args[5]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[6]);
  arg7 = (int) Z_LVAL_PP(args[6]);
  /*@SWIG@*/;
  
  result = (zxid_epr *)zxid_find_epr(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,arg7);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_a_EndpointReference_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_epr_address) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_epr *arg2 = (zxid_epr *) 0 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_epr_address. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_a_EndpointReference_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_epr_address. Expected SWIGTYPE_p_zx_a_EndpointReference_s");
    }
  }
  result = (struct zx_str *)zxid_get_epr_address(arg1,arg2);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_epr_entid) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_epr *arg2 = (zxid_epr *) 0 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_epr_entid. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_a_EndpointReference_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_epr_entid. Expected SWIGTYPE_p_zx_a_EndpointReference_s");
    }
  }
  result = (struct zx_str *)zxid_get_epr_entid(arg1,arg2);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_epr_desc) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_epr *arg2 = (zxid_epr *) 0 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_epr_desc. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_a_EndpointReference_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_epr_desc. Expected SWIGTYPE_p_zx_a_EndpointReference_s");
    }
  }
  result = (struct zx_str *)zxid_get_epr_desc(arg1,arg2);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_epr_tas3_trust) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_epr *arg2 = (zxid_epr *) 0 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_epr_tas3_trust. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_a_EndpointReference_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_epr_tas3_trust. Expected SWIGTYPE_p_zx_a_EndpointReference_s");
    }
  }
  result = (struct zx_str *)zxid_get_epr_tas3_trust(arg1,arg2);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_epr_secmech) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_epr *arg2 = (zxid_epr *) 0 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_epr_secmech. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_a_EndpointReference_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_epr_secmech. Expected SWIGTYPE_p_zx_a_EndpointReference_s");
    }
  }
  result = (struct zx_str *)zxid_get_epr_secmech(arg1,arg2);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_set_epr_secmech) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_epr *arg2 = (zxid_epr *) 0 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_set_epr_secmech. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_a_EndpointReference_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_set_epr_secmech. Expected SWIGTYPE_p_zx_a_EndpointReference_s");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  zxid_set_epr_secmech(arg1,arg2,(char const *)arg3);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_epr_token) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_epr *arg2 = (zxid_epr *) 0 ;
  zval **args[2];
  zxid_tok *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_epr_token. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_a_EndpointReference_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_epr_token. Expected SWIGTYPE_p_zx_a_EndpointReference_s");
    }
  }
  result = (zxid_tok *)zxid_get_epr_token(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sec_Token_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_set_epr_token) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_epr *arg2 = (zxid_epr *) 0 ;
  zxid_tok *arg3 = (zxid_tok *) 0 ;
  zval **args[3];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_set_epr_token. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_a_EndpointReference_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_set_epr_token. Expected SWIGTYPE_p_zx_a_EndpointReference_s");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_sec_Token_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_set_epr_token. Expected SWIGTYPE_p_zx_sec_Token_s");
    }
  }
  zxid_set_epr_token(arg1,arg2,arg3);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_new_epr) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  zval **args[5];
  zxid_epr *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_new_epr. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[3])->type==IS_NULL) {
    arg4 = (char *) 0;
  } else {
    convert_to_string_ex(args[3]);
    arg4 = (char *) Z_STRVAL_PP(args[3]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[4])->type==IS_NULL) {
    arg5 = (char *) 0;
  } else {
    convert_to_string_ex(args[4]);
    arg5 = (char *) Z_STRVAL_PP(args[4]);
  }
  /*@SWIG@*/;
  
  result = (zxid_epr *)zxid_new_epr(arg1,arg2,arg3,arg4,arg5);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_a_EndpointReference_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_delegated_discovery_epr) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zval **args[2];
  zxid_epr *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_delegated_discovery_epr. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_delegated_discovery_epr. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  result = (zxid_epr *)zxid_get_delegated_discovery_epr(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_a_EndpointReference_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_set_delegated_discovery_epr) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zxid_epr *arg3 = (zxid_epr *) 0 ;
  zval **args[3];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_set_delegated_discovery_epr. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_set_delegated_discovery_epr. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_a_EndpointReference_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_set_delegated_discovery_epr. Expected SWIGTYPE_p_zx_a_EndpointReference_s");
    }
  }
  zxid_set_delegated_discovery_epr(arg1,arg2,arg3);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_call_invoktok) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zval **args[2];
  zxid_tok *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_call_invoktok. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_call_invoktok. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  result = (zxid_tok *)zxid_get_call_invoktok(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sec_Token_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_set_call_invoktok) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zxid_tok *arg3 = (zxid_tok *) 0 ;
  zval **args[3];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_set_call_invoktok. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_set_call_invoktok. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_sec_Token_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_set_call_invoktok. Expected SWIGTYPE_p_zx_sec_Token_s");
    }
  }
  zxid_set_call_invoktok(arg1,arg2,arg3);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_call_tgttok) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zval **args[2];
  zxid_tok *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_call_tgttok. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_call_tgttok. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  result = (zxid_tok *)zxid_get_call_tgttok(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sec_Token_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_set_call_tgttok) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zxid_tok *arg3 = (zxid_tok *) 0 ;
  zval **args[3];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_set_call_tgttok. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_set_call_tgttok. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_sec_Token_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_set_call_tgttok. Expected SWIGTYPE_p_zx_sec_Token_s");
    }
  }
  zxid_set_call_tgttok(arg1,arg2,arg3);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_epr2str) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_epr *arg2 = (zxid_epr *) 0 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_epr2str. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_a_EndpointReference_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_epr2str. Expected SWIGTYPE_p_zx_a_EndpointReference_s");
    }
  }
  result = (struct zx_str *)zxid_epr2str(arg1,arg2);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_token2str) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_tok *arg2 = (zxid_tok *) 0 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_token2str. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_sec_Token_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_token2str. Expected SWIGTYPE_p_zx_sec_Token_s");
    }
  }
  result = (struct zx_str *)zxid_token2str(arg1,arg2);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_str2token) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  zxid_tok *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_str2token. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_str2token. Expected SWIGTYPE_p_zx_str");
    }
  }
  result = (zxid_tok *)zxid_str2token(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sec_Token_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_a7n2str) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_a7n *arg2 = (zxid_a7n *) 0 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_a7n2str. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_sa_Assertion_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_a7n2str. Expected SWIGTYPE_p_zx_sa_Assertion_s");
    }
  }
  result = (struct zx_str *)zxid_a7n2str(arg1,arg2);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_str2a7n) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  zxid_a7n *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_str2a7n. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_str2a7n. Expected SWIGTYPE_p_zx_str");
    }
  }
  result = (zxid_a7n *)zxid_str2a7n(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sa_Assertion_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_nid2str) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_nid *arg2 = (zxid_nid *) 0 ;
  zval **args[2];
  struct zx_str *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_nid2str. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_sa_NameID_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_nid2str. Expected SWIGTYPE_p_zx_sa_NameID_s");
    }
  }
  result = (struct zx_str *)zxid_nid2str(arg1,arg2);
  {
    if (result)
    ZVAL_STRINGL(return_value, result->s, result->len, 1);
    /* Do not free underlying zx_str because they are usually returned by reference. */
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_str2nid) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  zval **args[2];
  zxid_nid *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_str2nid. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zx_str, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_str2nid. Expected SWIGTYPE_p_zx_str");
    }
  }
  result = (zxid_nid *)zxid_str2nid(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sa_NameID_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_nameid) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zval **args[2];
  zxid_nid *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_nameid. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_nameid. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  result = (zxid_nid *)zxid_get_nameid(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sa_NameID_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_set_nameid) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zxid_nid *arg3 = (zxid_nid *) 0 ;
  zval **args[3];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_set_nameid. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_set_nameid. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_sa_NameID_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_set_nameid. Expected SWIGTYPE_p_zx_sa_NameID_s");
    }
  }
  zxid_set_nameid(arg1,arg2,arg3);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_tgtnameid) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zval **args[2];
  zxid_nid *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_tgtnameid. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_tgtnameid. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  result = (zxid_nid *)zxid_get_tgtnameid(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sa_NameID_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_set_tgtnameid) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zxid_nid *arg3 = (zxid_nid *) 0 ;
  zval **args[3];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_set_tgtnameid. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_set_tgtnameid. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_sa_NameID_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_set_tgtnameid. Expected SWIGTYPE_p_zx_sa_NameID_s");
    }
  }
  zxid_set_tgtnameid(arg1,arg2,arg3);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_a7n) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zval **args[2];
  zxid_a7n *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_a7n. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_a7n. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  result = (zxid_a7n *)zxid_get_a7n(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sa_Assertion_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_set_a7n) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zxid_a7n *arg3 = (zxid_a7n *) 0 ;
  zval **args[3];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_set_a7n. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_set_a7n. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_sa_Assertion_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_set_a7n. Expected SWIGTYPE_p_zx_sa_Assertion_s");
    }
  }
  zxid_set_a7n(arg1,arg2,arg3);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_tgta7n) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zval **args[2];
  zxid_a7n *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 2 || zend_get_parameters_array_ex(2, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_tgta7n. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_get_tgta7n. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  result = (zxid_a7n *)zxid_get_tgta7n(arg1,arg2);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sa_Assertion_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_set_tgta7n) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  zxid_a7n *arg3 = (zxid_a7n *) 0 ;
  zval **args[3];
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_set_tgta7n. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_set_tgta7n. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zx_sa_Assertion_s, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_set_tgta7n. Expected SWIGTYPE_p_zx_sa_Assertion_s");
    }
  }
  zxid_set_tgta7n(arg1,arg2,arg3);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_map_identity_token) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  zval **args[4];
  zxid_tok *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_map_identity_token. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_map_identity_token. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  result = (zxid_tok *)zxid_map_identity_token(arg1,arg2,(char const *)arg3,arg4);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sec_Token_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_nidmap_identity_token) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_ses *arg2 = (zxid_ses *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  zval **args[4];
  zxid_tok *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_nidmap_identity_token. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_nidmap_identity_token. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  result = (zxid_tok *)zxid_nidmap_identity_token(arg1,arg2,(char const *)arg3,arg4);
  
  SWIG_SetPointerZval(return_value, (void *)result, SWIGTYPE_p_zx_sec_Token_s, 0);
  
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ps_accept_invite) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  zxid_ses *arg3 = (zxid_ses *) 0 ;
  int *arg4 = (int *) 0 ;
  int arg5 ;
  int tmp4 ;
  zval **args[5];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ps_accept_invite. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_ps_accept_invite. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_ps_accept_invite. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /* First Check for SWIG wrapped type */
  if ( ZVAL_IS_NULL( *args[3] ) ) {
    arg4 = 0;
  } else if ( PZVAL_IS_REF( *args[3] ) ) {
    /* Not swig wrapped type, so we check if it's a PHP reference type */
    /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
    convert_to_long_ex(args[3]);
    tmp4 = (int) Z_LVAL_PP(args[3]);
    /*@SWIG@*/;
    arg4 = &tmp4;
  } else {
    SWIG_PHP_Error( E_ERROR, SWIG_PHP_Arg_Error_Msg(4, Expected a reference) );
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[4]);
  arg5 = (int) Z_LVAL_PP(args[4]);
  /*@SWIG@*/;
  
  result = (char *)zxid_ps_accept_invite(arg1,arg2,arg3,arg4,arg5);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  ZVAL_LONG(*args[3], tmp4 );
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_ps_finalize_invite) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  zxid_cgi *arg2 = (zxid_cgi *) 0 ;
  zxid_ses *arg3 = (zxid_ses *) 0 ;
  int *arg4 = (int *) 0 ;
  int arg5 ;
  int tmp4 ;
  zval **args[5];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 5 || zend_get_parameters_array_ex(5, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_ps_finalize_invite. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[1], (void **) &arg2, SWIGTYPE_p_zxid_cgi, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 2 of zxid_ps_finalize_invite. Expected SWIGTYPE_p_zxid_cgi");
    }
  }
  {
    if(SWIG_ConvertPtr(*args[2], (void **) &arg3, SWIGTYPE_p_zxid_ses, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 3 of zxid_ps_finalize_invite. Expected SWIGTYPE_p_zxid_ses");
    }
  }
  
  /* First Check for SWIG wrapped type */
  if ( ZVAL_IS_NULL( *args[3] ) ) {
    arg4 = 0;
  } else if ( PZVAL_IS_REF( *args[3] ) ) {
    /* Not swig wrapped type, so we check if it's a PHP reference type */
    /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
    convert_to_long_ex(args[3]);
    tmp4 = (int) Z_LVAL_PP(args[3]);
    /*@SWIG@*/;
    arg4 = &tmp4;
  } else {
    SWIG_PHP_Error( E_ERROR, SWIG_PHP_Arg_Error_Msg(4, Expected a reference) );
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[4]);
  arg5 = (int) Z_LVAL_PP(args[4]);
  /*@SWIG@*/;
  
  result = (char *)zxid_ps_finalize_invite(arg1,arg2,arg3,arg4,arg5);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  ZVAL_LONG(*args[3], tmp4 );
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zxid_get_idpnid_at_eid) {
  zxid_conf *arg1 = (zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  zval **args[4];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zxid_conf, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zxid_get_idpnid_at_eid. Expected SWIGTYPE_p_zxid_conf");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[1])->type==IS_NULL) {
    arg2 = (char *) 0;
  } else {
    convert_to_string_ex(args[1]);
    arg2 = (char *) Z_STRVAL_PP(args[1]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[3]);
  arg4 = (int) Z_LVAL_PP(args[3]);
  /*@SWIG@*/;
  
  result = (char *)zxid_get_idpnid_at_eid(arg1,(char const *)arg2,(char const *)arg3,arg4);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_sha1_safe_base64) {
  char *arg1 = (char *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  zval **args[3];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 3 || zend_get_parameters_array_ex(3, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[0])->type==IS_NULL) {
    arg1 = (char *) 0;
  } else {
    convert_to_string_ex(args[0]);
    arg1 = (char *) Z_STRVAL_PP(args[0]);
  }
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  result = (char *)sha1_safe_base64(arg1,arg2,(char const *)arg3);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


ZEND_NAMED_FUNCTION(_wrap_zx_url_encode) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  int *arg4 = (int *) 0 ;
  zval **args[4];
  char *result = 0 ;
  
  SWIG_ResetError();
  if(ZEND_NUM_ARGS() != 4 || zend_get_parameters_array_ex(4, args) != SUCCESS) {
    WRONG_PARAM_COUNT;
  }
  
  {
    if(SWIG_ConvertPtr(*args[0], (void **) &arg1, SWIGTYPE_p_zx_ctx, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 1 of zx_url_encode. Expected SWIGTYPE_p_zx_ctx");
    }
  }
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,7,CONVERT_INT_IN@*/
  convert_to_long_ex(args[1]);
  arg2 = (int) Z_LVAL_PP(args[1]);
  /*@SWIG@*/;
  
  
  /*@SWIG:/usr/share/swig2.0/php/utils.i,62,CONVERT_STRING_IN@*/
  if ((*args[2])->type==IS_NULL) {
    arg3 = (char *) 0;
  } else {
    convert_to_string_ex(args[2]);
    arg3 = (char *) Z_STRVAL_PP(args[2]);
  }
  /*@SWIG@*/;
  
  {
    if(SWIG_ConvertPtr(*args[3], (void **) &arg4, SWIGTYPE_p_int, 0) < 0) {
      SWIG_PHP_Error(E_ERROR, "Type error in argument 4 of zx_url_encode. Expected SWIGTYPE_p_int");
    }
  }
  result = (char *)zx_url_encode(arg1,arg2,(char const *)arg3,arg4);
  {
    if(!result) {
      ZVAL_NULL(return_value);
    } else {
      ZVAL_STRING(return_value, (char *)result, 1);
    }
  }
  return;
fail:
  SWIG_FAIL();
}


static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_tas3_Status_s) {
  /* No destructor for simple type _p_zx_tas3_Status_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_sp_Status_s) {
  /* No destructor for simple type _p_zx_sp_Status_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_lu_Status_s) {
  /* No destructor for simple type _p_zx_lu_Status_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_EVP_MD) {
  /* No destructor for simple type _p_EVP_MD */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_sa_Attribute_s) {
  /* No destructor for simple type _p_zx_sa_Attribute_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_a_EndpointReference_s) {
  /* No destructor for simple type _p_zx_a_EndpointReference_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_char) {
  /* No destructor for simple type _p_char */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_p_char) {
  /* No destructor for simple type _p_p_char */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_ds_Reference_s) {
  /* No destructor for simple type _p_zx_ds_Reference_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zxid_obl_list) {
  __wrap_delete_zxid_obl_list(rsrc, SWIGTYPE_p_zxid_obl_list->name TSRMLS_CC);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_sec_Token_s) {
  /* No destructor for simple type _p_zx_sec_Token_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zxid_cgi) {
  /* No destructor for simple type _p_zxid_cgi */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_str) {
  __wrap_delete_zx_str(rsrc, SWIGTYPE_p_zx_str->name TSRMLS_CC);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_p_void) {
  /* No destructor for simple type _p_p_void */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_void) {
  /* No destructor for simple type _p_void */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_f_size_t__p_void) {
  /* No destructor for simple type _p_f_size_t__p_void */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_f_p_void_size_t__p_void) {
  /* No destructor for simple type _p_f_p_void_size_t__p_void */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_int) {
  /* No destructor for simple type _int */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_f_p_struct_zx_ctx_p_struct_zx_elem_s__int) {
  /* No destructor for simple type _p_f_p_struct_zx_ctx_p_struct_zx_elem_s__int */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_pthread_t) {
  /* No destructor for simple type _p_pthread_t */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zxid_perm) {
  __wrap_delete_zxid_perm(rsrc, SWIGTYPE_p_zxid_perm->name TSRMLS_CC);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zxid_conf) {
  /* No destructor for simple type _p_zxid_conf */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_at_tok) {
  __wrap_delete_zx_at_tok(rsrc, SWIGTYPE_p_zx_at_tok->name TSRMLS_CC);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zxid_invite) {
  __wrap_delete_zxid_invite(rsrc, SWIGTYPE_p_zxid_invite->name TSRMLS_CC);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_p_zx_ns_s) {
  /* No destructor for simple type _p_p_zx_ns_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_ns_s) {
  __wrap_delete_zx_ns_s(rsrc, SWIGTYPE_p_zx_ns_s->name TSRMLS_CC);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_sa_Assertion_s) {
  /* No destructor for simple type _p_zx_sa_Assertion_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_f_p_void__void) {
  /* No destructor for simple type _p_f_p_void__void */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_el_tok) {
  __wrap_delete_zx_el_tok(rsrc, SWIGTYPE_p_zx_el_tok->name TSRMLS_CC);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zxid_atsrc) {
  __wrap_delete_zxid_atsrc(rsrc, SWIGTYPE_p_zxid_atsrc->name TSRMLS_CC);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_sa11_Assertion_s) {
  /* No destructor for simple type _p_zx_sa11_Assertion_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_ff12_Assertion_s) {
  /* No destructor for simple type _p_zx_ff12_Assertion_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_sa_EncryptedAssertion_s) {
  /* No destructor for simple type _p_zx_sa_EncryptedAssertion_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_root_s) {
  /* No destructor for simple type _p_zx_root_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_md_EntityDescriptor_s) {
  /* No destructor for simple type _p_zx_md_EntityDescriptor_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_attr_s) {
  __wrap_delete_zx_attr_s(rsrc, SWIGTYPE_p_zx_attr_s->name TSRMLS_CC);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zxid_cstr_list) {
  __wrap_delete_zxid_cstr_list(rsrc, SWIGTYPE_p_zxid_cstr_list->name TSRMLS_CC);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zxid_ses) {
  /* No destructor for simple type _p_zxid_ses */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zxid_need) {
  __wrap_delete_zxid_need(rsrc, SWIGTYPE_p_zxid_need->name TSRMLS_CC);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_e_Body_s) {
  /* No destructor for simple type _p_zx_e_Body_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_ctx) {
  __wrap_delete_zx_ctx(rsrc, SWIGTYPE_p_zx_ctx->name TSRMLS_CC);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_xenc_EncryptedData_s) {
  /* No destructor for simple type _p_zx_xenc_EncryptedData_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_e_Envelope_s) {
  /* No destructor for simple type _p_zx_e_Envelope_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_lock) {
  __wrap_delete_zx_lock(rsrc, SWIGTYPE_p_zx_lock->name TSRMLS_CC);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_sa_NameID_s) {
  /* No destructor for simple type _p_zx_sa_NameID_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_timeval) {
  /* No destructor for simple type _p_timeval */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_sa_Issuer_s) {
  /* No destructor for simple type _p_zx_sa_Issuer_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_elem_s) {
  __wrap_delete_zx_elem_s(rsrc, SWIGTYPE_p_zx_elem_s->name TSRMLS_CC);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_el_desc) {
  __wrap_delete_zx_el_desc(rsrc, SWIGTYPE_p_zx_el_desc->name TSRMLS_CC);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zxid_psobj) {
  __wrap_delete_zxid_psobj(rsrc, SWIGTYPE_p_zxid_psobj->name TSRMLS_CC);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_time_t) {
  /* No destructor for simple type _p_time_t */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_sa_EncryptedID_s) {
  /* No destructor for simple type _p_zx_sa_EncryptedID_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_sp_NewEncryptedID_s) {
  /* No destructor for simple type _p_zx_sp_NewEncryptedID_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_stomp_hdr) {
  __wrap_delete_stomp_hdr(rsrc, SWIGTYPE_p_stomp_hdr->name TSRMLS_CC);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_e_Header_s) {
  /* No destructor for simple type _p_zx_e_Header_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zxid_bus_url) {
  __wrap_delete_zxid_bus_url(rsrc, SWIGTYPE_p_zxid_bus_url->name TSRMLS_CC);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_xenc_EncryptedKey_s) {
  /* No destructor for simple type _p_zx_xenc_EncryptedKey_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zxid_entity_s) {
  __wrap_delete_zxid_entity_s(rsrc, SWIGTYPE_p_zxid_entity_s->name TSRMLS_CC);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_int) {
  /* No destructor for simple type _p_int */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zxsig_ref) {
  __wrap_delete_zxsig_ref(rsrc, SWIGTYPE_p_zxsig_ref->name TSRMLS_CC);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zx_e_Fault_s) {
  /* No destructor for simple type _p_zx_e_Fault_s */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zxid_map) {
  __wrap_delete_zxid_map(rsrc, SWIGTYPE_p_zxid_map->name TSRMLS_CC);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_pthread_mutex_t) {
  /* No destructor for simple type _p_pthread_mutex_t */
  efree(rsrc->ptr);
}
static ZEND_RSRC_DTOR_FUNC(_wrap_destroy_p_zxid_attr) {
  __wrap_delete_zxid_attr(rsrc, SWIGTYPE_p_zxid_attr->name TSRMLS_CC);
}
/* end wrapper section */
/* class entry subsection */


/* entry subsection */
/* Every non-class user visible function must have an entry here */
static zend_function_entry zxid_functions[] = {
 SWIG_ZEND_NAMED_FE(zx_lock_ptmut_set,_wrap_zx_lock_ptmut_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_lock_ptmut_get,_wrap_zx_lock_ptmut_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_lock_func_set,_wrap_zx_lock_func_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_lock_func_get,_wrap_zx_lock_func_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_lock_line_set,_wrap_zx_lock_line_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_lock_line_get,_wrap_zx_lock_line_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_lock_thr_set,_wrap_zx_lock_thr_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_lock_thr_get,_wrap_zx_lock_thr_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zx_lock,_wrap_new_zx_lock,NULL)
 SWIG_ZEND_NAMED_FE(zx_ns_s_url_set,_wrap_zx_ns_s_url_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ns_s_url_get,_wrap_zx_ns_s_url_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ns_s_url_len_set,_wrap_zx_ns_s_url_len_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ns_s_url_len_get,_wrap_zx_ns_s_url_len_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ns_s_prefix_len_set,_wrap_zx_ns_s_prefix_len_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ns_s_prefix_len_get,_wrap_zx_ns_s_prefix_len_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ns_s_prefix_set,_wrap_zx_ns_s_prefix_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ns_s_prefix_get,_wrap_zx_ns_s_prefix_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ns_s_n_set,_wrap_zx_ns_s_n_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ns_s_n_get,_wrap_zx_ns_s_n_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ns_s_master_set,_wrap_zx_ns_s_master_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ns_s_master_get,_wrap_zx_ns_s_master_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ns_s_seen_set,_wrap_zx_ns_s_seen_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ns_s_seen_get,_wrap_zx_ns_s_seen_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ns_s_seen_n_set,_wrap_zx_ns_s_seen_n_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ns_s_seen_n_get,_wrap_zx_ns_s_seen_n_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ns_s_seen_p_set,_wrap_zx_ns_s_seen_p_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ns_s_seen_p_get,_wrap_zx_ns_s_seen_p_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ns_s_seen_pop_set,_wrap_zx_ns_s_seen_pop_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ns_s_seen_pop_get,_wrap_zx_ns_s_seen_pop_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ns_s_inc_n_set,_wrap_zx_ns_s_inc_n_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ns_s_inc_n_get,_wrap_zx_ns_s_inc_n_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zx_ns_s,_wrap_new_zx_ns_s,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_bas_set,_wrap_zx_ctx_bas_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_bas_get,_wrap_zx_ctx_bas_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_p_set,_wrap_zx_ctx_p_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_p_get,_wrap_zx_ctx_p_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_lim_set,_wrap_zx_ctx_lim_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_lim_get,_wrap_zx_ctx_lim_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_ns_tab_set,_wrap_zx_ctx_ns_tab_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_ns_tab_get,_wrap_zx_ctx_ns_tab_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_n_ns_set,_wrap_zx_ctx_n_ns_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_n_ns_get,_wrap_zx_ctx_n_ns_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_unknown_ns_set,_wrap_zx_ctx_unknown_ns_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_unknown_ns_get,_wrap_zx_ctx_unknown_ns_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_guard_seen_n_set,_wrap_zx_ctx_guard_seen_n_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_guard_seen_n_get,_wrap_zx_ctx_guard_seen_n_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_guard_seen_p_set,_wrap_zx_ctx_guard_seen_p_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_guard_seen_p_get,_wrap_zx_ctx_guard_seen_p_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_exclude_sig_set,_wrap_zx_ctx_exclude_sig_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_exclude_sig_get,_wrap_zx_ctx_exclude_sig_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_inc_ns_len_set,_wrap_zx_ctx_inc_ns_len_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_inc_ns_len_get,_wrap_zx_ctx_inc_ns_len_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_inc_ns_set,_wrap_zx_ctx_inc_ns_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_inc_ns_get,_wrap_zx_ctx_inc_ns_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_malloc_func_set,_wrap_zx_ctx_malloc_func_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_malloc_func_get,_wrap_zx_ctx_malloc_func_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_realloc_func_set,_wrap_zx_ctx_realloc_func_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_realloc_func_get,_wrap_zx_ctx_realloc_func_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_free_func_set,_wrap_zx_ctx_free_func_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_free_func_get,_wrap_zx_ctx_free_func_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_canon_inopt_set,_wrap_zx_ctx_canon_inopt_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_canon_inopt_get,_wrap_zx_ctx_canon_inopt_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_enc_tail_opt_set,_wrap_zx_ctx_enc_tail_opt_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_enc_tail_opt_get,_wrap_zx_ctx_enc_tail_opt_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_top1_set,_wrap_zx_ctx_top1_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_top1_get,_wrap_zx_ctx_top1_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_pad3_set,_wrap_zx_ctx_pad3_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_pad3_get,_wrap_zx_ctx_pad3_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_zx_errno_set,_wrap_zx_ctx_zx_errno_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_ctx_zx_errno_get,_wrap_zx_ctx_zx_errno_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zx_ctx,_wrap_new_zx_ctx,NULL)
 SWIG_ZEND_NAMED_FE(zx_str_n_set,_wrap_zx_str_n_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_str_n_get,_wrap_zx_str_n_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_str_tok_set,_wrap_zx_str_tok_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_str_tok_get,_wrap_zx_str_tok_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_str_len_set,_wrap_zx_str_len_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_str_len_get,_wrap_zx_str_len_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_str_s_set,_wrap_zx_str_s_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_str_s_get,_wrap_zx_str_s_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zx_str,_wrap_new_zx_str,NULL)
 SWIG_ZEND_NAMED_FE(zx_attr_s_g_set,_wrap_zx_attr_s_g_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_attr_s_g_get,_wrap_zx_attr_s_g_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_attr_s_ns_set,_wrap_zx_attr_s_ns_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_attr_s_ns_get,_wrap_zx_attr_s_ns_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_attr_s_name_len_set,_wrap_zx_attr_s_name_len_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_attr_s_name_len_get,_wrap_zx_attr_s_name_len_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_attr_s_name_set,_wrap_zx_attr_s_name_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_attr_s_name_get,_wrap_zx_attr_s_name_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zx_attr_s,_wrap_new_zx_attr_s,NULL)
 SWIG_ZEND_NAMED_FE(zx_elem_s_g_set,_wrap_zx_elem_s_g_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_elem_s_g_get,_wrap_zx_elem_s_g_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_elem_s_kids_set,_wrap_zx_elem_s_kids_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_elem_s_kids_get,_wrap_zx_elem_s_kids_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_elem_s_attr_set,_wrap_zx_elem_s_attr_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_elem_s_attr_get,_wrap_zx_elem_s_attr_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_elem_s_ns_set,_wrap_zx_elem_s_ns_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_elem_s_ns_get,_wrap_zx_elem_s_ns_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_elem_s_xmlns_set,_wrap_zx_elem_s_xmlns_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_elem_s_xmlns_get,_wrap_zx_elem_s_xmlns_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zx_elem_s,_wrap_new_zx_elem_s,NULL)
 SWIG_ZEND_NAMED_FE(zx_new_elem,_wrap_zx_new_elem,NULL)
 SWIG_ZEND_NAMED_FE(zx_new_str_elem,_wrap_zx_new_str_elem,NULL)
 SWIG_ZEND_NAMED_FE(zx_ref_len_elem,_wrap_zx_ref_len_elem,NULL)
 SWIG_ZEND_NAMED_FE(zx_ref_elem,_wrap_zx_ref_elem,NULL)
 SWIG_ZEND_NAMED_FE(zx_dup_len_elem,_wrap_zx_dup_len_elem,NULL)
 SWIG_ZEND_NAMED_FE(zx_dup_elem,_wrap_zx_dup_elem,NULL)
 SWIG_ZEND_NAMED_FE(zx_ref_len_attr,_wrap_zx_ref_len_attr,NULL)
 SWIG_ZEND_NAMED_FE(zx_ref_attr,_wrap_zx_ref_attr,NULL)
 SWIG_ZEND_NAMED_FE(zx_new_len_attr,_wrap_zx_new_len_attr,NULL)
 SWIG_ZEND_NAMED_FE(zx_dup_len_attr,_wrap_zx_dup_len_attr,NULL)
 SWIG_ZEND_NAMED_FE(zx_dup_attr,_wrap_zx_dup_attr,NULL)
 SWIG_ZEND_NAMED_FE(zx_attrf,_wrap_zx_attrf,NULL)
 SWIG_ZEND_NAMED_FE(zx_ref_str,_wrap_zx_ref_str,NULL)
 SWIG_ZEND_NAMED_FE(zx_ref_len_str,_wrap_zx_ref_len_str,NULL)
 SWIG_ZEND_NAMED_FE(zx_new_len_str,_wrap_zx_new_len_str,NULL)
 SWIG_ZEND_NAMED_FE(zx_dup_len_str,_wrap_zx_dup_len_str,NULL)
 SWIG_ZEND_NAMED_FE(zx_dup_str,_wrap_zx_dup_str,NULL)
 SWIG_ZEND_NAMED_FE(zx_dup_zx_str,_wrap_zx_dup_zx_str,NULL)
 SWIG_ZEND_NAMED_FE(zx_strf,_wrap_zx_strf,NULL)
 SWIG_ZEND_NAMED_FE(zx_alloc_sprintf,_wrap_zx_alloc_sprintf,NULL)
 SWIG_ZEND_NAMED_FE(zx_str_free,_wrap_zx_str_free,NULL)
 SWIG_ZEND_NAMED_FE(zx_str_to_c,_wrap_zx_str_to_c,NULL)
 SWIG_ZEND_NAMED_FE(zx_str_conv,_wrap_zx_str_conv,NULL)
 SWIG_ZEND_NAMED_FE(zx_str_cmp,_wrap_zx_str_cmp,NULL)
 SWIG_ZEND_NAMED_FE(zx_str_ends_in,_wrap_zx_str_ends_in,NULL)
 SWIG_ZEND_NAMED_FE(zx_memmem,_wrap_zx_memmem,NULL)
 SWIG_ZEND_NAMED_FE(zx_alloc,_wrap_zx_alloc,NULL)
 SWIG_ZEND_NAMED_FE(zx_zalloc,_wrap_zx_zalloc,NULL)
 SWIG_ZEND_NAMED_FE(zx_free,_wrap_zx_free,NULL)
 SWIG_ZEND_NAMED_FE(zx_dup_cstr,_wrap_zx_dup_cstr,NULL)
 SWIG_ZEND_NAMED_FE(zx_dup_len_cstr,_wrap_zx_dup_len_cstr,NULL)
 SWIG_ZEND_NAMED_FE(zx_reset_ns_ctx,_wrap_zx_reset_ns_ctx,NULL)
 SWIG_ZEND_NAMED_FE(zx_reset_ctx,_wrap_zx_reset_ctx,NULL)
 SWIG_ZEND_NAMED_FE(zx_init_ctx,_wrap_zx_init_ctx,NULL)
 SWIG_ZEND_NAMED_FE(zx_free_ctx,_wrap_zx_free_ctx,NULL)
 SWIG_ZEND_NAMED_FE(zx_at_tok_name_set,_wrap_zx_at_tok_name_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_at_tok_name_get,_wrap_zx_at_tok_name_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zx_at_tok,_wrap_new_zx_at_tok,NULL)
 SWIG_ZEND_NAMED_FE(zx_el_desc_n_set,_wrap_zx_el_desc_n_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_el_desc_n_get,_wrap_zx_el_desc_n_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_el_desc_tok_set,_wrap_zx_el_desc_tok_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_el_desc_tok_get,_wrap_zx_el_desc_tok_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_el_desc_siz_set,_wrap_zx_el_desc_siz_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_el_desc_siz_get,_wrap_zx_el_desc_siz_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_el_desc_at_dec_set,_wrap_zx_el_desc_at_dec_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_el_desc_at_dec_get,_wrap_zx_el_desc_at_dec_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_el_desc_el_dec_set,_wrap_zx_el_desc_el_dec_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_el_desc_el_dec_get,_wrap_zx_el_desc_el_dec_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_el_desc_el_order_get,_wrap_zx_el_desc_el_order_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zx_el_desc,_wrap_new_zx_el_desc,NULL)
 SWIG_ZEND_NAMED_FE(zx_el_tok_name_set,_wrap_zx_el_tok_name_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_el_tok_name_get,_wrap_zx_el_tok_name_get,NULL)
 SWIG_ZEND_NAMED_FE(zx_el_tok_n_set,_wrap_zx_el_tok_n_set,NULL)
 SWIG_ZEND_NAMED_FE(zx_el_tok_n_get,_wrap_zx_el_tok_n_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zx_el_tok,_wrap_new_zx_el_tok,NULL)
 SWIG_ZEND_NAMED_FE(zx_date_time_to_secs,_wrap_zx_date_time_to_secs,NULL)
 SWIG_ZEND_NAMED_FE(write2_or_append_lock_c_path,_wrap_write2_or_append_lock_c_path,NULL)
 SWIG_ZEND_NAMED_FE(zx_report_openssl_err,_wrap_zx_report_openssl_err,NULL)
 SWIG_ZEND_NAMED_FE(zx_dump_ns_tab,_wrap_zx_dump_ns_tab,NULL)
 SWIG_ZEND_NAMED_FE(zx_prefix_seen,_wrap_zx_prefix_seen,NULL)
 SWIG_ZEND_NAMED_FE(zx_prefix_seen_whine,_wrap_zx_prefix_seen_whine,NULL)
 SWIG_ZEND_NAMED_FE(zx_scan_xmlns,_wrap_zx_scan_xmlns,NULL)
 SWIG_ZEND_NAMED_FE(zx_see_elem_ns,_wrap_zx_see_elem_ns,NULL)
 SWIG_ZEND_NAMED_FE(zx_pop_seen,_wrap_zx_pop_seen,NULL)
 SWIG_ZEND_NAMED_FE(zx_format_parse_error,_wrap_zx_format_parse_error,NULL)
 SWIG_ZEND_NAMED_FE(zx_hmac_sha256,_wrap_zx_hmac_sha256,NULL)
 SWIG_ZEND_NAMED_FE(zx_raw_raw_digest2,_wrap_zx_raw_raw_digest2,NULL)
 SWIG_ZEND_NAMED_FE(zx_raw_digest2,_wrap_zx_raw_digest2,NULL)
 SWIG_ZEND_NAMED_FE(zx_raw_cipher,_wrap_zx_raw_cipher,NULL)
 SWIG_ZEND_NAMED_FE(zx_rsa_pub_enc,_wrap_zx_rsa_pub_enc,NULL)
 SWIG_ZEND_NAMED_FE(zx_rsa_pub_dec,_wrap_zx_rsa_pub_dec,NULL)
 SWIG_ZEND_NAMED_FE(zx_rsa_priv_dec,_wrap_zx_rsa_priv_dec,NULL)
 SWIG_ZEND_NAMED_FE(zx_rsa_priv_enc,_wrap_zx_rsa_priv_enc,NULL)
 SWIG_ZEND_NAMED_FE(zx_get_rsa_pub_from_cert,_wrap_zx_get_rsa_pub_from_cert,NULL)
 SWIG_ZEND_NAMED_FE(zx_rand,_wrap_zx_rand,NULL)
 SWIG_ZEND_NAMED_FE(zx_md5_crypt,_wrap_zx_md5_crypt,NULL)
 SWIG_ZEND_NAMED_FE(zx_add_kid,_wrap_zx_add_kid,NULL)
 SWIG_ZEND_NAMED_FE(zx_add_kid_before,_wrap_zx_add_kid_before,NULL)
 SWIG_ZEND_NAMED_FE(zx_add_kid_after_sa_issuer,_wrap_zx_add_kid_after_sa_Issuer,NULL)
 SWIG_ZEND_NAMED_FE(zx_replace_kid,_wrap_zx_replace_kid,NULL)
 SWIG_ZEND_NAMED_FE(zx_add_content,_wrap_zx_add_content,NULL)
 SWIG_ZEND_NAMED_FE(zx_ord_ins_at,_wrap_zx_ord_ins_at,NULL)
 SWIG_ZEND_NAMED_FE(zx_reverse_elem_lists,_wrap_zx_reverse_elem_lists,NULL)
 SWIG_ZEND_NAMED_FE(zx_len_xmlns_if_not_seen,_wrap_zx_len_xmlns_if_not_seen,NULL)
 SWIG_ZEND_NAMED_FE(zx_add_xmlns_if_not_seen,_wrap_zx_add_xmlns_if_not_seen,NULL)
 SWIG_ZEND_NAMED_FE(zx_enc_seen,_wrap_zx_enc_seen,NULL)
 SWIG_ZEND_NAMED_FE(zx_len_wo_any_elem,_wrap_zx_LEN_WO_any_elem,NULL)
 SWIG_ZEND_NAMED_FE(zx_enc_wo_any_elem,_wrap_zx_ENC_WO_any_elem,NULL)
 SWIG_ZEND_NAMED_FE(zx_easy_enc_elem,_wrap_zx_EASY_ENC_elem,NULL)
 SWIG_ZEND_NAMED_FE(zx_free_attr,_wrap_zx_free_attr,NULL)
 SWIG_ZEND_NAMED_FE(zx_free_elem,_wrap_zx_free_elem,NULL)
 SWIG_ZEND_NAMED_FE(zx_xml_parse_err,_wrap_zx_xml_parse_err,NULL)
 SWIG_ZEND_NAMED_FE(zx_xml_parse_dbg,_wrap_zx_xml_parse_dbg,NULL)
 SWIG_ZEND_NAMED_FE(zx_xmlns_detected,_wrap_zx_xmlns_detected,NULL)
 SWIG_ZEND_NAMED_FE(zx_in_inc_ns,_wrap_zx_in_inc_ns,NULL)
 SWIG_ZEND_NAMED_FE(zx_get_el_tok,_wrap_zx_get_el_tok,NULL)
 SWIG_ZEND_NAMED_FE(zx_prepare_dec_ctx,_wrap_zx_prepare_dec_ctx,NULL)
 SWIG_ZEND_NAMED_FE(zx_dec_zx_root,_wrap_zx_dec_zx_root,NULL)
 SWIG_ZEND_NAMED_FE(zx_dec_elem,_wrap_zx_DEC_elem,NULL)
 SWIG_ZEND_NAMED_FE(zx_el_desc_lookup,_wrap_zx_el_desc_lookup,NULL)
 SWIG_ZEND_NAMED_FE(zxid_entity_s_n_set,_wrap_zxid_entity_s_n_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_entity_s_n_get,_wrap_zxid_entity_s_n_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_entity_s_n_cdc_set,_wrap_zxid_entity_s_n_cdc_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_entity_s_n_cdc_get,_wrap_zxid_entity_s_n_cdc_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_entity_s_eid_set,_wrap_zxid_entity_s_eid_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_entity_s_eid_get,_wrap_zxid_entity_s_eid_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_entity_s_dpy_name_set,_wrap_zxid_entity_s_dpy_name_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_entity_s_dpy_name_get,_wrap_zxid_entity_s_dpy_name_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_entity_s_button_url_set,_wrap_zxid_entity_s_button_url_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_entity_s_button_url_get,_wrap_zxid_entity_s_button_url_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_entity_s_sha1_name_set,_wrap_zxid_entity_s_sha1_name_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_entity_s_sha1_name_get,_wrap_zxid_entity_s_sha1_name_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_entity_s_ed_set,_wrap_zxid_entity_s_ed_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_entity_s_ed_get,_wrap_zxid_entity_s_ed_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_entity_s_aamap_set,_wrap_zxid_entity_s_aamap_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_entity_s_aamap_get,_wrap_zxid_entity_s_aamap_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zxid_entity_s,_wrap_new_zxid_entity_s,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_magic_set,_wrap_zxid_conf_magic_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_magic_get,_wrap_zxid_conf_magic_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_ctx_set,_wrap_zxid_conf_ctx_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_ctx_get,_wrap_zxid_conf_ctx_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_cot_set,_wrap_zxid_conf_cot_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_cot_get,_wrap_zxid_conf_cot_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_cpath_supplied_set,_wrap_zxid_conf_cpath_supplied_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_cpath_supplied_get,_wrap_zxid_conf_cpath_supplied_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_cpath_len_set,_wrap_zxid_conf_cpath_len_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_cpath_len_get,_wrap_zxid_conf_cpath_len_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_cpath_set,_wrap_zxid_conf_cpath_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_cpath_get,_wrap_zxid_conf_cpath_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_burl_set,_wrap_zxid_conf_burl_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_burl_get,_wrap_zxid_conf_burl_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_non_standard_entityid_set,_wrap_zxid_conf_non_standard_entityid_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_non_standard_entityid_get,_wrap_zxid_conf_non_standard_entityid_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_redirect_hack_imposed_url_set,_wrap_zxid_conf_redirect_hack_imposed_url_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_redirect_hack_imposed_url_get,_wrap_zxid_conf_redirect_hack_imposed_url_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_redirect_hack_zxid_url_set,_wrap_zxid_conf_redirect_hack_zxid_url_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_redirect_hack_zxid_url_get,_wrap_zxid_conf_redirect_hack_zxid_url_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_redirect_hack_zxid_qs_set,_wrap_zxid_conf_redirect_hack_zxid_qs_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_redirect_hack_zxid_qs_get,_wrap_zxid_conf_redirect_hack_zxid_qs_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_cdc_url_set,_wrap_zxid_conf_cdc_url_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_cdc_url_get,_wrap_zxid_conf_cdc_url_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_md_authority_set,_wrap_zxid_conf_md_authority_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_md_authority_get,_wrap_zxid_conf_md_authority_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_cdc_choice_set,_wrap_zxid_conf_cdc_choice_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_cdc_choice_get,_wrap_zxid_conf_cdc_choice_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_md_fetch_set,_wrap_zxid_conf_md_fetch_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_md_fetch_get,_wrap_zxid_conf_md_fetch_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_md_populate_cache_set,_wrap_zxid_conf_md_populate_cache_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_md_populate_cache_get,_wrap_zxid_conf_md_populate_cache_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_md_cache_first_set,_wrap_zxid_conf_md_cache_first_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_md_cache_first_get,_wrap_zxid_conf_md_cache_first_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_md_cache_last_set,_wrap_zxid_conf_md_cache_last_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_md_cache_last_get,_wrap_zxid_conf_md_cache_last_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_auto_cert_set,_wrap_zxid_conf_auto_cert_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_auto_cert_get,_wrap_zxid_conf_auto_cert_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_ena_set,_wrap_zxid_conf_idp_ena_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_ena_get,_wrap_zxid_conf_idp_ena_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_imps_ena_set,_wrap_zxid_conf_imps_ena_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_imps_ena_get,_wrap_zxid_conf_imps_ena_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_as_ena_set,_wrap_zxid_conf_as_ena_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_as_ena_get,_wrap_zxid_conf_as_ena_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_pdp_ena_set,_wrap_zxid_conf_pdp_ena_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_pdp_ena_get,_wrap_zxid_conf_pdp_ena_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_authn_req_sign_set,_wrap_zxid_conf_authn_req_sign_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_authn_req_sign_get,_wrap_zxid_conf_authn_req_sign_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_want_authn_req_signed_set,_wrap_zxid_conf_want_authn_req_signed_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_want_authn_req_signed_get,_wrap_zxid_conf_want_authn_req_signed_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_want_sso_a7n_signed_set,_wrap_zxid_conf_want_sso_a7n_signed_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_want_sso_a7n_signed_get,_wrap_zxid_conf_want_sso_a7n_signed_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_sso_soap_sign_set,_wrap_zxid_conf_sso_soap_sign_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_sso_soap_sign_get,_wrap_zxid_conf_sso_soap_sign_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_sso_soap_resp_sign_set,_wrap_zxid_conf_sso_soap_resp_sign_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_sso_soap_resp_sign_get,_wrap_zxid_conf_sso_soap_resp_sign_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_sso_sign_set,_wrap_zxid_conf_sso_sign_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_sso_sign_get,_wrap_zxid_conf_sso_sign_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsc_sign_set,_wrap_zxid_conf_wsc_sign_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsc_sign_get,_wrap_zxid_conf_wsc_sign_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsp_sign_set,_wrap_zxid_conf_wsp_sign_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsp_sign_get,_wrap_zxid_conf_wsp_sign_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_nameid_enc_set,_wrap_zxid_conf_nameid_enc_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_nameid_enc_get,_wrap_zxid_conf_nameid_enc_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_post_a7n_enc_set,_wrap_zxid_conf_post_a7n_enc_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_post_a7n_enc_get,_wrap_zxid_conf_post_a7n_enc_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_di_allow_create_set,_wrap_zxid_conf_di_allow_create_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_di_allow_create_get,_wrap_zxid_conf_di_allow_create_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_di_nid_fmt_set,_wrap_zxid_conf_di_nid_fmt_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_di_nid_fmt_get,_wrap_zxid_conf_di_nid_fmt_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_di_a7n_enc_set,_wrap_zxid_conf_di_a7n_enc_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_di_a7n_enc_get,_wrap_zxid_conf_di_a7n_enc_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_show_conf_set,_wrap_zxid_conf_show_conf_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_show_conf_get,_wrap_zxid_conf_show_conf_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_sig_fatal_set,_wrap_zxid_conf_sig_fatal_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_sig_fatal_get,_wrap_zxid_conf_sig_fatal_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_nosig_fatal_set,_wrap_zxid_conf_nosig_fatal_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_nosig_fatal_get,_wrap_zxid_conf_nosig_fatal_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_msg_sig_ok_set,_wrap_zxid_conf_msg_sig_ok_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_msg_sig_ok_get,_wrap_zxid_conf_msg_sig_ok_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_timeout_fatal_set,_wrap_zxid_conf_timeout_fatal_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_timeout_fatal_get,_wrap_zxid_conf_timeout_fatal_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_audience_fatal_set,_wrap_zxid_conf_audience_fatal_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_audience_fatal_get,_wrap_zxid_conf_audience_fatal_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_dup_a7n_fatal_set,_wrap_zxid_conf_dup_a7n_fatal_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_dup_a7n_fatal_get,_wrap_zxid_conf_dup_a7n_fatal_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_dup_msg_fatal_set,_wrap_zxid_conf_dup_msg_fatal_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_dup_msg_fatal_get,_wrap_zxid_conf_dup_msg_fatal_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_relto_fatal_set,_wrap_zxid_conf_relto_fatal_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_relto_fatal_get,_wrap_zxid_conf_relto_fatal_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsp_nosig_fatal_set,_wrap_zxid_conf_wsp_nosig_fatal_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsp_nosig_fatal_get,_wrap_zxid_conf_wsp_nosig_fatal_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_notimestamp_fatal_set,_wrap_zxid_conf_notimestamp_fatal_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_notimestamp_fatal_get,_wrap_zxid_conf_notimestamp_fatal_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_canon_inopt_set,_wrap_zxid_conf_canon_inopt_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_canon_inopt_get,_wrap_zxid_conf_canon_inopt_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_enc_tail_opt_set,_wrap_zxid_conf_enc_tail_opt_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_enc_tail_opt_get,_wrap_zxid_conf_enc_tail_opt_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_enckey_opt_set,_wrap_zxid_conf_enckey_opt_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_enckey_opt_get,_wrap_zxid_conf_enckey_opt_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idpatopt_set,_wrap_zxid_conf_idpatopt_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idpatopt_get,_wrap_zxid_conf_idpatopt_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_list_meth_set,_wrap_zxid_conf_idp_list_meth_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_list_meth_get,_wrap_zxid_conf_idp_list_meth_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_cpn_ena_set,_wrap_zxid_conf_cpn_ena_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_cpn_ena_get,_wrap_zxid_conf_cpn_ena_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_affiliation_set,_wrap_zxid_conf_affiliation_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_affiliation_get,_wrap_zxid_conf_affiliation_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_nice_name_set,_wrap_zxid_conf_nice_name_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_nice_name_get,_wrap_zxid_conf_nice_name_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_button_url_set,_wrap_zxid_conf_button_url_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_button_url_get,_wrap_zxid_conf_button_url_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_pref_button_size_set,_wrap_zxid_conf_pref_button_size_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_pref_button_size_get,_wrap_zxid_conf_pref_button_size_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_org_name_set,_wrap_zxid_conf_org_name_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_org_name_get,_wrap_zxid_conf_org_name_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_locality_set,_wrap_zxid_conf_locality_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_locality_get,_wrap_zxid_conf_locality_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_state_set,_wrap_zxid_conf_state_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_state_get,_wrap_zxid_conf_state_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_country_set,_wrap_zxid_conf_country_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_country_get,_wrap_zxid_conf_country_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_contact_org_set,_wrap_zxid_conf_contact_org_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_contact_org_get,_wrap_zxid_conf_contact_org_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_contact_name_set,_wrap_zxid_conf_contact_name_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_contact_name_get,_wrap_zxid_conf_contact_name_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_contact_email_set,_wrap_zxid_conf_contact_email_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_contact_email_get,_wrap_zxid_conf_contact_email_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_contact_tel_set,_wrap_zxid_conf_contact_tel_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_contact_tel_get,_wrap_zxid_conf_contact_tel_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_fedusername_suffix_set,_wrap_zxid_conf_fedusername_suffix_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_fedusername_suffix_get,_wrap_zxid_conf_fedusername_suffix_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_ses_arch_dir_set,_wrap_zxid_conf_ses_arch_dir_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_ses_arch_dir_get,_wrap_zxid_conf_ses_arch_dir_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_ses_cookie_name_set,_wrap_zxid_conf_ses_cookie_name_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_ses_cookie_name_get,_wrap_zxid_conf_ses_cookie_name_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_ptm_cookie_name_set,_wrap_zxid_conf_ptm_cookie_name_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_ptm_cookie_name_get,_wrap_zxid_conf_ptm_cookie_name_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_ipport_set,_wrap_zxid_conf_ipport_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_ipport_get,_wrap_zxid_conf_ipport_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_load_cot_cache_set,_wrap_zxid_conf_load_cot_cache_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_load_cot_cache_get,_wrap_zxid_conf_load_cot_cache_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wspcgicmd_set,_wrap_zxid_conf_wspcgicmd_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wspcgicmd_get,_wrap_zxid_conf_wspcgicmd_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_anon_ok_set,_wrap_zxid_conf_anon_ok_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_anon_ok_get,_wrap_zxid_conf_anon_ok_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_optional_login_pat_set,_wrap_zxid_conf_optional_login_pat_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_optional_login_pat_get,_wrap_zxid_conf_optional_login_pat_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_required_authnctx_set,_wrap_zxid_conf_required_authnctx_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_required_authnctx_get,_wrap_zxid_conf_required_authnctx_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_issue_authnctx_set,_wrap_zxid_conf_issue_authnctx_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_issue_authnctx_get,_wrap_zxid_conf_issue_authnctx_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_pref_acs_binding_set,_wrap_zxid_conf_idp_pref_acs_binding_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_pref_acs_binding_get,_wrap_zxid_conf_idp_pref_acs_binding_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_mandatory_attr_set,_wrap_zxid_conf_mandatory_attr_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_mandatory_attr_get,_wrap_zxid_conf_mandatory_attr_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_before_slop_set,_wrap_zxid_conf_before_slop_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_before_slop_get,_wrap_zxid_conf_before_slop_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_after_slop_set,_wrap_zxid_conf_after_slop_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_after_slop_get,_wrap_zxid_conf_after_slop_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_timeskew_set,_wrap_zxid_conf_timeskew_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_timeskew_get,_wrap_zxid_conf_timeskew_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_a7nttl_set,_wrap_zxid_conf_a7nttl_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_a7nttl_get,_wrap_zxid_conf_a7nttl_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_pdp_url_set,_wrap_zxid_conf_pdp_url_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_pdp_url_get,_wrap_zxid_conf_pdp_url_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_pdp_call_url_set,_wrap_zxid_conf_pdp_call_url_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_pdp_call_url_get,_wrap_zxid_conf_pdp_call_url_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_xasp_vers_set,_wrap_zxid_conf_xasp_vers_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_xasp_vers_get,_wrap_zxid_conf_xasp_vers_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_trustpdp_url_set,_wrap_zxid_conf_trustpdp_url_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_trustpdp_url_get,_wrap_zxid_conf_trustpdp_url_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_defaultqs_set,_wrap_zxid_conf_defaultqs_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_defaultqs_get,_wrap_zxid_conf_defaultqs_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsp_pat_set,_wrap_zxid_conf_wsp_pat_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsp_pat_get,_wrap_zxid_conf_wsp_pat_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_uma_pat_set,_wrap_zxid_conf_uma_pat_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_uma_pat_get,_wrap_zxid_conf_uma_pat_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_sso_pat_set,_wrap_zxid_conf_sso_pat_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_sso_pat_get,_wrap_zxid_conf_sso_pat_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_mod_saml_attr_prefix_set,_wrap_zxid_conf_mod_saml_attr_prefix_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_mod_saml_attr_prefix_get,_wrap_zxid_conf_mod_saml_attr_prefix_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsc_to_hdr_set,_wrap_zxid_conf_wsc_to_hdr_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsc_to_hdr_get,_wrap_zxid_conf_wsc_to_hdr_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsc_replyto_hdr_set,_wrap_zxid_conf_wsc_replyto_hdr_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsc_replyto_hdr_get,_wrap_zxid_conf_wsc_replyto_hdr_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsc_action_hdr_set,_wrap_zxid_conf_wsc_action_hdr_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsc_action_hdr_get,_wrap_zxid_conf_wsc_action_hdr_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_soap_action_hdr_set,_wrap_zxid_conf_soap_action_hdr_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_soap_action_hdr_get,_wrap_zxid_conf_soap_action_hdr_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsc_soap_content_type_set,_wrap_zxid_conf_wsc_soap_content_type_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsc_soap_content_type_get,_wrap_zxid_conf_wsc_soap_content_type_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_need_set,_wrap_zxid_conf_need_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_need_get,_wrap_zxid_conf_need_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_want_set,_wrap_zxid_conf_want_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_want_get,_wrap_zxid_conf_want_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_attrsrc_set,_wrap_zxid_conf_attrsrc_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_attrsrc_get,_wrap_zxid_conf_attrsrc_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_aamap_set,_wrap_zxid_conf_aamap_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_aamap_get,_wrap_zxid_conf_aamap_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_inmap_set,_wrap_zxid_conf_inmap_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_inmap_get,_wrap_zxid_conf_inmap_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_outmap_set,_wrap_zxid_conf_outmap_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_outmap_get,_wrap_zxid_conf_outmap_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_pepmap_set,_wrap_zxid_conf_pepmap_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_pepmap_get,_wrap_zxid_conf_pepmap_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_pepmap_rqout_set,_wrap_zxid_conf_pepmap_rqout_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_pepmap_rqout_get,_wrap_zxid_conf_pepmap_rqout_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_pepmap_rqin_set,_wrap_zxid_conf_pepmap_rqin_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_pepmap_rqin_get,_wrap_zxid_conf_pepmap_rqin_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_pepmap_rsout_set,_wrap_zxid_conf_pepmap_rsout_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_pepmap_rsout_get,_wrap_zxid_conf_pepmap_rsout_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_pepmap_rsin_set,_wrap_zxid_conf_pepmap_rsin_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_pepmap_rsin_get,_wrap_zxid_conf_pepmap_rsin_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_localpdp_role_permit_set,_wrap_zxid_conf_localpdp_role_permit_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_localpdp_role_permit_get,_wrap_zxid_conf_localpdp_role_permit_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_localpdp_role_deny_set,_wrap_zxid_conf_localpdp_role_deny_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_localpdp_role_deny_get,_wrap_zxid_conf_localpdp_role_deny_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_localpdp_idpnid_permit_set,_wrap_zxid_conf_localpdp_idpnid_permit_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_localpdp_idpnid_permit_get,_wrap_zxid_conf_localpdp_idpnid_permit_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_localpdp_idpnid_deny_set,_wrap_zxid_conf_localpdp_idpnid_deny_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_localpdp_idpnid_deny_get,_wrap_zxid_conf_localpdp_idpnid_deny_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsc_localpdp_obl_pledge_set,_wrap_zxid_conf_wsc_localpdp_obl_pledge_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsc_localpdp_obl_pledge_get,_wrap_zxid_conf_wsc_localpdp_obl_pledge_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsp_localpdp_obl_req_set,_wrap_zxid_conf_wsp_localpdp_obl_req_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsp_localpdp_obl_req_get,_wrap_zxid_conf_wsp_localpdp_obl_req_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsp_localpdp_obl_emit_set,_wrap_zxid_conf_wsp_localpdp_obl_emit_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsp_localpdp_obl_emit_get,_wrap_zxid_conf_wsp_localpdp_obl_emit_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsc_localpdp_obl_accept_set,_wrap_zxid_conf_wsc_localpdp_obl_accept_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wsc_localpdp_obl_accept_get,_wrap_zxid_conf_wsc_localpdp_obl_accept_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_unix_grp_az_map_set,_wrap_zxid_conf_unix_grp_az_map_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_unix_grp_az_map_get,_wrap_zxid_conf_unix_grp_az_map_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_bootstrap_level_set,_wrap_zxid_conf_bootstrap_level_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_bootstrap_level_get,_wrap_zxid_conf_bootstrap_level_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_max_soap_retry_set,_wrap_zxid_conf_max_soap_retry_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_max_soap_retry_get,_wrap_zxid_conf_max_soap_retry_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_sel_start_set,_wrap_zxid_conf_idp_sel_start_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_sel_start_get,_wrap_zxid_conf_idp_sel_start_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_sel_new_idp_set,_wrap_zxid_conf_idp_sel_new_idp_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_sel_new_idp_get,_wrap_zxid_conf_idp_sel_new_idp_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_sel_our_eid_set,_wrap_zxid_conf_idp_sel_our_eid_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_sel_our_eid_get,_wrap_zxid_conf_idp_sel_our_eid_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_sel_tech_user_set,_wrap_zxid_conf_idp_sel_tech_user_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_sel_tech_user_get,_wrap_zxid_conf_idp_sel_tech_user_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_sel_tech_site_set,_wrap_zxid_conf_idp_sel_tech_site_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_sel_tech_site_get,_wrap_zxid_conf_idp_sel_tech_site_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_sel_footer_set,_wrap_zxid_conf_idp_sel_footer_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_sel_footer_get,_wrap_zxid_conf_idp_sel_footer_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_sel_end_set,_wrap_zxid_conf_idp_sel_end_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_sel_end_get,_wrap_zxid_conf_idp_sel_end_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_sel_page_set,_wrap_zxid_conf_idp_sel_page_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_sel_page_get,_wrap_zxid_conf_idp_sel_page_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_sel_templ_file_set,_wrap_zxid_conf_idp_sel_templ_file_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_sel_templ_file_get,_wrap_zxid_conf_idp_sel_templ_file_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_sel_templ_set,_wrap_zxid_conf_idp_sel_templ_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_sel_templ_get,_wrap_zxid_conf_idp_sel_templ_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_an_page_set,_wrap_zxid_conf_an_page_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_an_page_get,_wrap_zxid_conf_an_page_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_an_templ_file_set,_wrap_zxid_conf_an_templ_file_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_an_templ_file_get,_wrap_zxid_conf_an_templ_file_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_an_templ_set,_wrap_zxid_conf_an_templ_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_an_templ_get,_wrap_zxid_conf_an_templ_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_post_templ_file_set,_wrap_zxid_conf_post_templ_file_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_post_templ_file_get,_wrap_zxid_conf_post_templ_file_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_post_templ_set,_wrap_zxid_conf_post_templ_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_post_templ_get,_wrap_zxid_conf_post_templ_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_err_page_set,_wrap_zxid_conf_err_page_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_err_page_get,_wrap_zxid_conf_err_page_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_err_templ_file_set,_wrap_zxid_conf_err_templ_file_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_err_templ_file_get,_wrap_zxid_conf_err_templ_file_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_err_templ_set,_wrap_zxid_conf_err_templ_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_err_templ_get,_wrap_zxid_conf_err_templ_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_new_user_page_set,_wrap_zxid_conf_new_user_page_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_new_user_page_get,_wrap_zxid_conf_new_user_page_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_recover_passwd_set,_wrap_zxid_conf_recover_passwd_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_recover_passwd_get,_wrap_zxid_conf_recover_passwd_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_atsel_page_set,_wrap_zxid_conf_atsel_page_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_atsel_page_get,_wrap_zxid_conf_atsel_page_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_mgmt_start_set,_wrap_zxid_conf_mgmt_start_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_mgmt_start_get,_wrap_zxid_conf_mgmt_start_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_mgmt_logout_set,_wrap_zxid_conf_mgmt_logout_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_mgmt_logout_get,_wrap_zxid_conf_mgmt_logout_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_mgmt_defed_set,_wrap_zxid_conf_mgmt_defed_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_mgmt_defed_get,_wrap_zxid_conf_mgmt_defed_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_mgmt_footer_set,_wrap_zxid_conf_mgmt_footer_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_mgmt_footer_get,_wrap_zxid_conf_mgmt_footer_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_mgmt_end_set,_wrap_zxid_conf_mgmt_end_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_mgmt_end_get,_wrap_zxid_conf_mgmt_end_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_dbg_set,_wrap_zxid_conf_dbg_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_dbg_get,_wrap_zxid_conf_dbg_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wd_set,_wrap_zxid_conf_wd_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_wd_get,_wrap_zxid_conf_wd_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_bus_url_set,_wrap_zxid_conf_bus_url_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_bus_url_get,_wrap_zxid_conf_bus_url_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_bus_pw_set,_wrap_zxid_conf_bus_pw_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_bus_pw_get,_wrap_zxid_conf_bus_pw_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_log_err_set,_wrap_zxid_conf_log_err_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_log_err_get,_wrap_zxid_conf_log_err_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_log_act_set,_wrap_zxid_conf_log_act_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_log_act_get,_wrap_zxid_conf_log_act_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_log_issue_a7n_set,_wrap_zxid_conf_log_issue_a7n_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_log_issue_a7n_get,_wrap_zxid_conf_log_issue_a7n_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_log_issue_msg_set,_wrap_zxid_conf_log_issue_msg_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_log_issue_msg_get,_wrap_zxid_conf_log_issue_msg_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_log_rely_a7n_set,_wrap_zxid_conf_log_rely_a7n_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_log_rely_a7n_get,_wrap_zxid_conf_log_rely_a7n_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_log_rely_msg_set,_wrap_zxid_conf_log_rely_msg_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_log_rely_msg_get,_wrap_zxid_conf_log_rely_msg_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_log_err_in_act_set,_wrap_zxid_conf_log_err_in_act_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_log_err_in_act_get,_wrap_zxid_conf_log_err_in_act_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_log_act_in_err_set,_wrap_zxid_conf_log_act_in_err_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_log_act_in_err_get,_wrap_zxid_conf_log_act_in_err_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_log_sigfail_is_err_set,_wrap_zxid_conf_log_sigfail_is_err_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_log_sigfail_is_err_get,_wrap_zxid_conf_log_sigfail_is_err_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_log_level_set,_wrap_zxid_conf_log_level_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_log_level_get,_wrap_zxid_conf_log_level_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_user_local_set,_wrap_zxid_conf_user_local_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_user_local_get,_wrap_zxid_conf_user_local_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_redir_to_content_set,_wrap_zxid_conf_redir_to_content_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_redir_to_content_get,_wrap_zxid_conf_redir_to_content_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_remote_user_ena_set,_wrap_zxid_conf_remote_user_ena_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_remote_user_ena_get,_wrap_zxid_conf_remote_user_ena_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_show_tech_set,_wrap_zxid_conf_show_tech_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_show_tech_get,_wrap_zxid_conf_show_tech_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_bare_url_entityid_set,_wrap_zxid_conf_bare_url_entityid_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_bare_url_entityid_get,_wrap_zxid_conf_bare_url_entityid_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_loguser_set,_wrap_zxid_conf_loguser_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_loguser_get,_wrap_zxid_conf_loguser_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_az_opt_set,_wrap_zxid_conf_az_opt_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_az_opt_get,_wrap_zxid_conf_az_opt_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_valid_opt_set,_wrap_zxid_conf_valid_opt_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_valid_opt_get,_wrap_zxid_conf_valid_opt_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_pxy_ena_set,_wrap_zxid_conf_idp_pxy_ena_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_idp_pxy_ena_get,_wrap_zxid_conf_idp_pxy_ena_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_oaz_jwt_sigenc_alg_set,_wrap_zxid_conf_oaz_jwt_sigenc_alg_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_oaz_jwt_sigenc_alg_get,_wrap_zxid_conf_oaz_jwt_sigenc_alg_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_bus_rcpt_set,_wrap_zxid_conf_bus_rcpt_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_bus_rcpt_get,_wrap_zxid_conf_bus_rcpt_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_az_fail_mode_set,_wrap_zxid_conf_az_fail_mode_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_az_fail_mode_get,_wrap_zxid_conf_az_fail_mode_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_md_authority_ena_set,_wrap_zxid_conf_md_authority_ena_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_md_authority_ena_get,_wrap_zxid_conf_md_authority_ena_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_backwards_compat_ena_set,_wrap_zxid_conf_backwards_compat_ena_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_backwards_compat_ena_get,_wrap_zxid_conf_backwards_compat_ena_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_xmldsig_sig_meth_set,_wrap_zxid_conf_xmldsig_sig_meth_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_xmldsig_sig_meth_get,_wrap_zxid_conf_xmldsig_sig_meth_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_xmldsig_digest_algo_set,_wrap_zxid_conf_xmldsig_digest_algo_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_xmldsig_digest_algo_get,_wrap_zxid_conf_xmldsig_digest_algo_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_samlsig_digest_algo_set,_wrap_zxid_conf_samlsig_digest_algo_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_samlsig_digest_algo_get,_wrap_zxid_conf_samlsig_digest_algo_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_blobsig_digest_algo_set,_wrap_zxid_conf_blobsig_digest_algo_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_blobsig_digest_algo_get,_wrap_zxid_conf_blobsig_digest_algo_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zxid_conf,_wrap_new_zxid_conf,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_magic_set,_wrap_zxid_cgi_magic_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_magic_get,_wrap_zxid_cgi_magic_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_op_set,_wrap_zxid_cgi_op_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_op_get,_wrap_zxid_cgi_op_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_pr_ix_set,_wrap_zxid_cgi_pr_ix_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_pr_ix_get,_wrap_zxid_cgi_pr_ix_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_allow_create_set,_wrap_zxid_cgi_allow_create_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_allow_create_get,_wrap_zxid_cgi_allow_create_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_ispassive_set,_wrap_zxid_cgi_ispassive_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_ispassive_get,_wrap_zxid_cgi_ispassive_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_force_authn_set,_wrap_zxid_cgi_force_authn_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_force_authn_get,_wrap_zxid_cgi_force_authn_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_enc_hint_set,_wrap_zxid_cgi_enc_hint_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_enc_hint_get,_wrap_zxid_cgi_enc_hint_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_atselafter_set,_wrap_zxid_cgi_atselafter_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_atselafter_get,_wrap_zxid_cgi_atselafter_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_mob_set,_wrap_zxid_cgi_mob_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_mob_get,_wrap_zxid_cgi_mob_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_sid_set,_wrap_zxid_cgi_sid_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_sid_get,_wrap_zxid_cgi_sid_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_nid_set,_wrap_zxid_cgi_nid_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_nid_get,_wrap_zxid_cgi_nid_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_uid_set,_wrap_zxid_cgi_uid_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_uid_get,_wrap_zxid_cgi_uid_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_pw_set,_wrap_zxid_cgi_pw_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_pw_get,_wrap_zxid_cgi_pw_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_pin_set,_wrap_zxid_cgi_pin_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_pin_get,_wrap_zxid_cgi_pin_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_ssoreq_set,_wrap_zxid_cgi_ssoreq_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_ssoreq_get,_wrap_zxid_cgi_ssoreq_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_cdc_set,_wrap_zxid_cgi_cdc_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_cdc_get,_wrap_zxid_cgi_cdc_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_eid_set,_wrap_zxid_cgi_eid_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_eid_get,_wrap_zxid_cgi_eid_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_nid_fmt_set,_wrap_zxid_cgi_nid_fmt_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_nid_fmt_get,_wrap_zxid_cgi_nid_fmt_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_affil_set,_wrap_zxid_cgi_affil_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_affil_get,_wrap_zxid_cgi_affil_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_consent_set,_wrap_zxid_cgi_consent_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_consent_get,_wrap_zxid_cgi_consent_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_matching_rule_set,_wrap_zxid_cgi_matching_rule_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_matching_rule_get,_wrap_zxid_cgi_matching_rule_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_authn_ctx_set,_wrap_zxid_cgi_authn_ctx_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_authn_ctx_get,_wrap_zxid_cgi_authn_ctx_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_pxy_count_set,_wrap_zxid_cgi_pxy_count_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_pxy_count_get,_wrap_zxid_cgi_pxy_count_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_get_complete_set,_wrap_zxid_cgi_get_complete_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_get_complete_get,_wrap_zxid_cgi_get_complete_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_idppxylist_set,_wrap_zxid_cgi_idppxylist_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_idppxylist_get,_wrap_zxid_cgi_idppxylist_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_rs_set,_wrap_zxid_cgi_rs_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_rs_get,_wrap_zxid_cgi_rs_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_newnym_set,_wrap_zxid_cgi_newnym_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_newnym_get,_wrap_zxid_cgi_newnym_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_saml_art_set,_wrap_zxid_cgi_saml_art_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_saml_art_get,_wrap_zxid_cgi_saml_art_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_saml_resp_set,_wrap_zxid_cgi_saml_resp_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_saml_resp_get,_wrap_zxid_cgi_saml_resp_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_saml_req_set,_wrap_zxid_cgi_saml_req_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_saml_req_get,_wrap_zxid_cgi_saml_req_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_sigalg_set,_wrap_zxid_cgi_sigalg_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_sigalg_get,_wrap_zxid_cgi_sigalg_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_sig_set,_wrap_zxid_cgi_sig_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_sig_get,_wrap_zxid_cgi_sig_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_sigval_set,_wrap_zxid_cgi_sigval_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_sigval_get,_wrap_zxid_cgi_sigval_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_sigmsg_set,_wrap_zxid_cgi_sigmsg_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_sigmsg_get,_wrap_zxid_cgi_sigmsg_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_err_set,_wrap_zxid_cgi_err_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_err_get,_wrap_zxid_cgi_err_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_msg_set,_wrap_zxid_cgi_msg_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_msg_get,_wrap_zxid_cgi_msg_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_dbg_set,_wrap_zxid_cgi_dbg_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_dbg_get,_wrap_zxid_cgi_dbg_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_zxapp_set,_wrap_zxid_cgi_zxapp_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_zxapp_get,_wrap_zxid_cgi_zxapp_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_zxrfr_set,_wrap_zxid_cgi_zxrfr_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_zxrfr_get,_wrap_zxid_cgi_zxrfr_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_redirafter_set,_wrap_zxid_cgi_redirafter_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_redirafter_get,_wrap_zxid_cgi_redirafter_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_ok_set,_wrap_zxid_cgi_ok_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_ok_get,_wrap_zxid_cgi_ok_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_templ_set,_wrap_zxid_cgi_templ_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_templ_get,_wrap_zxid_cgi_templ_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_sp_eid_set,_wrap_zxid_cgi_sp_eid_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_sp_eid_get,_wrap_zxid_cgi_sp_eid_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_sp_dpy_name_set,_wrap_zxid_cgi_sp_dpy_name_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_sp_dpy_name_get,_wrap_zxid_cgi_sp_dpy_name_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_sp_button_url_set,_wrap_zxid_cgi_sp_button_url_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_sp_button_url_get,_wrap_zxid_cgi_sp_button_url_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_rest_set,_wrap_zxid_cgi_rest_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_rest_get,_wrap_zxid_cgi_rest_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_response_type_set,_wrap_zxid_cgi_response_type_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_response_type_get,_wrap_zxid_cgi_response_type_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_client_id_set,_wrap_zxid_cgi_client_id_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_client_id_get,_wrap_zxid_cgi_client_id_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_scope_set,_wrap_zxid_cgi_scope_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_scope_get,_wrap_zxid_cgi_scope_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_redirect_uri_set,_wrap_zxid_cgi_redirect_uri_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_redirect_uri_get,_wrap_zxid_cgi_redirect_uri_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_nonce_set,_wrap_zxid_cgi_nonce_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_nonce_get,_wrap_zxid_cgi_nonce_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_state_set,_wrap_zxid_cgi_state_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_state_get,_wrap_zxid_cgi_state_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_display_set,_wrap_zxid_cgi_display_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_display_get,_wrap_zxid_cgi_display_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_prompt_set,_wrap_zxid_cgi_prompt_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_prompt_get,_wrap_zxid_cgi_prompt_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_access_token_set,_wrap_zxid_cgi_access_token_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_access_token_get,_wrap_zxid_cgi_access_token_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_refresh_token_set,_wrap_zxid_cgi_refresh_token_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_refresh_token_get,_wrap_zxid_cgi_refresh_token_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_token_type_set,_wrap_zxid_cgi_token_type_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_token_type_get,_wrap_zxid_cgi_token_type_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_grant_type_set,_wrap_zxid_cgi_grant_type_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_grant_type_get,_wrap_zxid_cgi_grant_type_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_code_set,_wrap_zxid_cgi_code_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_code_get,_wrap_zxid_cgi_code_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_id_token_set,_wrap_zxid_cgi_id_token_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_id_token_get,_wrap_zxid_cgi_id_token_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_expires_in_set,_wrap_zxid_cgi_expires_in_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_expires_in_get,_wrap_zxid_cgi_expires_in_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_iss_set,_wrap_zxid_cgi_iss_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_iss_get,_wrap_zxid_cgi_iss_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_user_id_set,_wrap_zxid_cgi_user_id_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_user_id_get,_wrap_zxid_cgi_user_id_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_aud_set,_wrap_zxid_cgi_aud_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_aud_get,_wrap_zxid_cgi_aud_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_exp_set,_wrap_zxid_cgi_exp_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_exp_get,_wrap_zxid_cgi_exp_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_iso29115_set,_wrap_zxid_cgi_iso29115_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_iso29115_get,_wrap_zxid_cgi_iso29115_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_schema_set,_wrap_zxid_cgi_schema_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_schema_get,_wrap_zxid_cgi_schema_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_id_set,_wrap_zxid_cgi_id_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_id_get,_wrap_zxid_cgi_id_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_inv_set,_wrap_zxid_cgi_inv_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_inv_get,_wrap_zxid_cgi_inv_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_pcode_set,_wrap_zxid_cgi_pcode_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_pcode_get,_wrap_zxid_cgi_pcode_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_skin_set,_wrap_zxid_cgi_skin_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_skin_get,_wrap_zxid_cgi_skin_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_action_url_set,_wrap_zxid_cgi_action_url_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_action_url_get,_wrap_zxid_cgi_action_url_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_uri_path_set,_wrap_zxid_cgi_uri_path_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_uri_path_get,_wrap_zxid_cgi_uri_path_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_qs_set,_wrap_zxid_cgi_qs_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_qs_get,_wrap_zxid_cgi_qs_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_post_set,_wrap_zxid_cgi_post_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_post_get,_wrap_zxid_cgi_post_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_idp_list_set,_wrap_zxid_cgi_idp_list_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cgi_idp_list_get,_wrap_zxid_cgi_idp_list_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zxid_cgi,_wrap_new_zxid_cgi,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_magic_set,_wrap_zxid_ses_magic_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_magic_get,_wrap_zxid_ses_magic_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_sid_set,_wrap_zxid_ses_sid_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_sid_get,_wrap_zxid_ses_sid_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_uid_set,_wrap_zxid_ses_uid_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_uid_get,_wrap_zxid_ses_uid_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_nid_set,_wrap_zxid_ses_nid_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_nid_get,_wrap_zxid_ses_nid_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_tgt_set,_wrap_zxid_ses_tgt_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_tgt_get,_wrap_zxid_ses_tgt_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_sesix_set,_wrap_zxid_ses_sesix_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_sesix_get,_wrap_zxid_ses_sesix_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_ipport_set,_wrap_zxid_ses_ipport_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_ipport_get,_wrap_zxid_ses_ipport_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_wsc_msgid_set,_wrap_zxid_ses_wsc_msgid_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_wsc_msgid_get,_wrap_zxid_ses_wsc_msgid_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_wsp_msgid_set,_wrap_zxid_ses_wsp_msgid_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_wsp_msgid_get,_wrap_zxid_ses_wsp_msgid_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_an_ctx_set,_wrap_zxid_ses_an_ctx_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_an_ctx_get,_wrap_zxid_ses_an_ctx_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_nidfmt_set,_wrap_zxid_ses_nidfmt_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_nidfmt_get,_wrap_zxid_ses_nidfmt_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_tgtfmt_set,_wrap_zxid_ses_tgtfmt_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_tgtfmt_get,_wrap_zxid_ses_tgtfmt_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_sigres_set,_wrap_zxid_ses_sigres_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_sigres_get,_wrap_zxid_ses_sigres_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_ssores_set,_wrap_zxid_ses_ssores_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_ssores_get,_wrap_zxid_ses_ssores_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_sso_a7n_path_set,_wrap_zxid_ses_sso_a7n_path_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_sso_a7n_path_get,_wrap_zxid_ses_sso_a7n_path_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_tgt_a7n_path_set,_wrap_zxid_ses_tgt_a7n_path_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_tgt_a7n_path_get,_wrap_zxid_ses_tgt_a7n_path_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_setcookie_set,_wrap_zxid_ses_setcookie_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_setcookie_get,_wrap_zxid_ses_setcookie_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_setptmcookie_set,_wrap_zxid_ses_setptmcookie_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_setptmcookie_get,_wrap_zxid_ses_setptmcookie_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_cookie_set,_wrap_zxid_ses_cookie_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_cookie_get,_wrap_zxid_ses_cookie_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_rs_set,_wrap_zxid_ses_rs_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_rs_get,_wrap_zxid_ses_rs_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_rcvd_usagedir_set,_wrap_zxid_ses_rcvd_usagedir_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_rcvd_usagedir_get,_wrap_zxid_ses_rcvd_usagedir_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_an_instant_set,_wrap_zxid_ses_an_instant_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_an_instant_get,_wrap_zxid_ses_an_instant_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_nameid_set,_wrap_zxid_ses_nameid_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_nameid_get,_wrap_zxid_ses_nameid_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_tgtnameid_set,_wrap_zxid_ses_tgtnameid_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_tgtnameid_get,_wrap_zxid_ses_tgtnameid_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_a7n_set,_wrap_zxid_ses_a7n_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_a7n_get,_wrap_zxid_ses_a7n_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_tgta7n_set,_wrap_zxid_ses_tgta7n_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_tgta7n_get,_wrap_zxid_ses_tgta7n_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_jwt_set,_wrap_zxid_ses_jwt_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_jwt_get,_wrap_zxid_ses_jwt_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_tgtjwt_set,_wrap_zxid_ses_tgtjwt_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_tgtjwt_get,_wrap_zxid_ses_tgtjwt_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_a7n11_set,_wrap_zxid_ses_a7n11_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_a7n11_get,_wrap_zxid_ses_a7n11_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_tgta7n11_set,_wrap_zxid_ses_tgta7n11_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_tgta7n11_get,_wrap_zxid_ses_tgta7n11_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_a7n12_set,_wrap_zxid_ses_a7n12_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_a7n12_get,_wrap_zxid_ses_a7n12_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_tgta7n12_set,_wrap_zxid_ses_tgta7n12_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_tgta7n12_get,_wrap_zxid_ses_tgta7n12_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_call_invoktok_set,_wrap_zxid_ses_call_invoktok_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_call_invoktok_get,_wrap_zxid_ses_call_invoktok_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_call_tgttok_set,_wrap_zxid_ses_call_tgttok_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_call_tgttok_get,_wrap_zxid_ses_call_tgttok_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_deleg_di_epr_set,_wrap_zxid_ses_deleg_di_epr_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_deleg_di_epr_get,_wrap_zxid_ses_deleg_di_epr_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_curflt_set,_wrap_zxid_ses_curflt_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_curflt_get,_wrap_zxid_ses_curflt_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_curstatus_set,_wrap_zxid_ses_curstatus_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_curstatus_get,_wrap_zxid_ses_curstatus_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_issuer_set,_wrap_zxid_ses_issuer_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_issuer_get,_wrap_zxid_ses_issuer_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_srcts_set,_wrap_zxid_ses_srcts_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_srcts_get,_wrap_zxid_ses_srcts_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_sesbuf_set,_wrap_zxid_ses_sesbuf_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_sesbuf_get,_wrap_zxid_ses_sesbuf_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_sso_a7n_buf_set,_wrap_zxid_ses_sso_a7n_buf_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_sso_a7n_buf_get,_wrap_zxid_ses_sso_a7n_buf_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_at_set,_wrap_zxid_ses_at_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_at_get,_wrap_zxid_ses_at_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_access_token_set,_wrap_zxid_ses_access_token_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_access_token_get,_wrap_zxid_ses_access_token_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_refresh_token_set,_wrap_zxid_ses_refresh_token_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_refresh_token_get,_wrap_zxid_ses_refresh_token_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_token_type_set,_wrap_zxid_ses_token_type_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_token_type_get,_wrap_zxid_ses_token_type_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_id_token_set,_wrap_zxid_ses_id_token_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_id_token_get,_wrap_zxid_ses_id_token_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_expires_in_set,_wrap_zxid_ses_expires_in_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_expires_in_get,_wrap_zxid_ses_expires_in_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_client_id_set,_wrap_zxid_ses_client_id_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_client_id_get,_wrap_zxid_ses_client_id_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_client_secret_set,_wrap_zxid_ses_client_secret_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_client_secret_get,_wrap_zxid_ses_client_secret_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_rpt_set,_wrap_zxid_ses_rpt_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_rpt_get,_wrap_zxid_ses_rpt_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zxid_ses,_wrap_new_zxid_ses,NULL)
 SWIG_ZEND_NAMED_FE(zxid_attr_n_set,_wrap_zxid_attr_n_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_attr_n_get,_wrap_zxid_attr_n_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_attr_nv_set,_wrap_zxid_attr_nv_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_attr_nv_get,_wrap_zxid_attr_nv_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_attr_name_set,_wrap_zxid_attr_name_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_attr_name_get,_wrap_zxid_attr_name_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_attr_val_set,_wrap_zxid_attr_val_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_attr_val_get,_wrap_zxid_attr_val_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_attr_map_val_set,_wrap_zxid_attr_map_val_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_attr_map_val_get,_wrap_zxid_attr_map_val_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_attr_orig_set,_wrap_zxid_attr_orig_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_attr_orig_get,_wrap_zxid_attr_orig_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_attr_issuer_set,_wrap_zxid_attr_issuer_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_attr_issuer_get,_wrap_zxid_attr_issuer_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zxid_attr,_wrap_new_zxid_attr,NULL)
 SWIG_ZEND_NAMED_FE(zxid_need_n_set,_wrap_zxid_need_n_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_need_n_get,_wrap_zxid_need_n_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_need_at_set,_wrap_zxid_need_at_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_need_at_get,_wrap_zxid_need_at_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_need_usage_set,_wrap_zxid_need_usage_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_need_usage_get,_wrap_zxid_need_usage_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_need_retent_set,_wrap_zxid_need_retent_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_need_retent_get,_wrap_zxid_need_retent_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_need_oblig_set,_wrap_zxid_need_oblig_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_need_oblig_get,_wrap_zxid_need_oblig_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_need_ext_set,_wrap_zxid_need_ext_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_need_ext_get,_wrap_zxid_need_ext_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zxid_need,_wrap_new_zxid_need,NULL)
 SWIG_ZEND_NAMED_FE(zxid_map_n_set,_wrap_zxid_map_n_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_map_n_get,_wrap_zxid_map_n_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_map_rule_set,_wrap_zxid_map_rule_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_map_rule_get,_wrap_zxid_map_rule_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_map_ns_set,_wrap_zxid_map_ns_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_map_ns_get,_wrap_zxid_map_ns_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_map_src_set,_wrap_zxid_map_src_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_map_src_get,_wrap_zxid_map_src_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_map_dst_set,_wrap_zxid_map_dst_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_map_dst_get,_wrap_zxid_map_dst_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_map_ext_set,_wrap_zxid_map_ext_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_map_ext_get,_wrap_zxid_map_ext_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zxid_map,_wrap_new_zxid_map,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cstr_list_n_set,_wrap_zxid_cstr_list_n_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cstr_list_n_get,_wrap_zxid_cstr_list_n_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cstr_list_s_set,_wrap_zxid_cstr_list_s_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_cstr_list_s_get,_wrap_zxid_cstr_list_s_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zxid_cstr_list,_wrap_new_zxid_cstr_list,NULL)
 SWIG_ZEND_NAMED_FE(zxid_obl_list_n_set,_wrap_zxid_obl_list_n_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_obl_list_n_get,_wrap_zxid_obl_list_n_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_obl_list_name_set,_wrap_zxid_obl_list_name_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_obl_list_name_get,_wrap_zxid_obl_list_name_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_obl_list_vals_set,_wrap_zxid_obl_list_vals_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_obl_list_vals_get,_wrap_zxid_obl_list_vals_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zxid_obl_list,_wrap_new_zxid_obl_list,NULL)
 SWIG_ZEND_NAMED_FE(stomp_hdr_len_set,_wrap_stomp_hdr_len_set,NULL)
 SWIG_ZEND_NAMED_FE(stomp_hdr_len_get,_wrap_stomp_hdr_len_get,NULL)
 SWIG_ZEND_NAMED_FE(stomp_hdr_body_set,_wrap_stomp_hdr_body_set,NULL)
 SWIG_ZEND_NAMED_FE(stomp_hdr_body_get,_wrap_stomp_hdr_body_get,NULL)
 SWIG_ZEND_NAMED_FE(stomp_hdr_host_set,_wrap_stomp_hdr_host_set,NULL)
 SWIG_ZEND_NAMED_FE(stomp_hdr_host_get,_wrap_stomp_hdr_host_get,NULL)
 SWIG_ZEND_NAMED_FE(stomp_hdr_vers_set,_wrap_stomp_hdr_vers_set,NULL)
 SWIG_ZEND_NAMED_FE(stomp_hdr_vers_get,_wrap_stomp_hdr_vers_get,NULL)
 SWIG_ZEND_NAMED_FE(stomp_hdr_login_set,_wrap_stomp_hdr_login_set,NULL)
 SWIG_ZEND_NAMED_FE(stomp_hdr_login_get,_wrap_stomp_hdr_login_get,NULL)
 SWIG_ZEND_NAMED_FE(stomp_hdr_pw_set,_wrap_stomp_hdr_pw_set,NULL)
 SWIG_ZEND_NAMED_FE(stomp_hdr_pw_get,_wrap_stomp_hdr_pw_get,NULL)
 SWIG_ZEND_NAMED_FE(stomp_hdr_dest_set,_wrap_stomp_hdr_dest_set,NULL)
 SWIG_ZEND_NAMED_FE(stomp_hdr_dest_get,_wrap_stomp_hdr_dest_get,NULL)
 SWIG_ZEND_NAMED_FE(stomp_hdr_end_of_pdu_set,_wrap_stomp_hdr_end_of_pdu_set,NULL)
 SWIG_ZEND_NAMED_FE(stomp_hdr_end_of_pdu_get,_wrap_stomp_hdr_end_of_pdu_get,NULL)
 SWIG_ZEND_NAMED_FE(new_stomp_hdr,_wrap_new_stomp_hdr,NULL)
 SWIG_ZEND_NAMED_FE(zxid_bus_url_n_set,_wrap_zxid_bus_url_n_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_bus_url_n_get,_wrap_zxid_bus_url_n_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_bus_url_s_set,_wrap_zxid_bus_url_s_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_bus_url_s_get,_wrap_zxid_bus_url_s_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_bus_url_eid_set,_wrap_zxid_bus_url_eid_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_bus_url_eid_get,_wrap_zxid_bus_url_eid_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_bus_url_fd_set,_wrap_zxid_bus_url_fd_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_bus_url_fd_get,_wrap_zxid_bus_url_fd_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_bus_url_m_set,_wrap_zxid_bus_url_m_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_bus_url_m_get,_wrap_zxid_bus_url_m_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_bus_url_ap_set,_wrap_zxid_bus_url_ap_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_bus_url_ap_get,_wrap_zxid_bus_url_ap_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_bus_url_cur_rcpt_set,_wrap_zxid_bus_url_cur_rcpt_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_bus_url_cur_rcpt_get,_wrap_zxid_bus_url_cur_rcpt_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_bus_url_scalingpart_set,_wrap_zxid_bus_url_scalingpart_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_bus_url_scalingpart_get,_wrap_zxid_bus_url_scalingpart_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_bus_url_pad1_set,_wrap_zxid_bus_url_pad1_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_bus_url_pad1_get,_wrap_zxid_bus_url_pad1_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_bus_url_pad2_set,_wrap_zxid_bus_url_pad2_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_bus_url_pad2_get,_wrap_zxid_bus_url_pad2_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_bus_url_pad3_set,_wrap_zxid_bus_url_pad3_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_bus_url_pad3_get,_wrap_zxid_bus_url_pad3_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zxid_bus_url,_wrap_new_zxid_bus_url,NULL)
 SWIG_ZEND_NAMED_FE(zxid_atsrc_n_set,_wrap_zxid_atsrc_n_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_atsrc_n_get,_wrap_zxid_atsrc_n_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_atsrc_at_set,_wrap_zxid_atsrc_at_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_atsrc_at_get,_wrap_zxid_atsrc_at_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_atsrc_ns_set,_wrap_zxid_atsrc_ns_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_atsrc_ns_get,_wrap_zxid_atsrc_ns_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_atsrc_weight_set,_wrap_zxid_atsrc_weight_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_atsrc_weight_get,_wrap_zxid_atsrc_weight_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_atsrc_url_set,_wrap_zxid_atsrc_url_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_atsrc_url_get,_wrap_zxid_atsrc_url_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_atsrc_aapml_set,_wrap_zxid_atsrc_aapml_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_atsrc_aapml_get,_wrap_zxid_atsrc_aapml_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_atsrc_otherlim_set,_wrap_zxid_atsrc_otherlim_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_atsrc_otherlim_get,_wrap_zxid_atsrc_otherlim_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_atsrc_ext_set,_wrap_zxid_atsrc_ext_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_atsrc_ext_get,_wrap_zxid_atsrc_ext_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zxid_atsrc,_wrap_new_zxid_atsrc,NULL)
 SWIG_ZEND_NAMED_FE(zxid_perm_n_set,_wrap_zxid_perm_n_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_perm_n_get,_wrap_zxid_perm_n_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_perm_eid_set,_wrap_zxid_perm_eid_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_perm_eid_get,_wrap_zxid_perm_eid_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_perm_qs_set,_wrap_zxid_perm_qs_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_perm_qs_get,_wrap_zxid_perm_qs_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zxid_perm,_wrap_new_zxid_perm,NULL)
 SWIG_ZEND_NAMED_FE(zxid_psobj_psobj_set,_wrap_zxid_psobj_psobj_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_psobj_psobj_get,_wrap_zxid_psobj_psobj_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_psobj_uid_set,_wrap_zxid_psobj_uid_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_psobj_uid_get,_wrap_zxid_psobj_uid_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_psobj_idpnid_set,_wrap_zxid_psobj_idpnid_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_psobj_idpnid_get,_wrap_zxid_psobj_idpnid_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_psobj_dispname_set,_wrap_zxid_psobj_dispname_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_psobj_dispname_get,_wrap_zxid_psobj_dispname_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_psobj_tags_set,_wrap_zxid_psobj_tags_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_psobj_tags_get,_wrap_zxid_psobj_tags_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_psobj_invids_set,_wrap_zxid_psobj_invids_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_psobj_invids_get,_wrap_zxid_psobj_invids_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_psobj_perms_set,_wrap_zxid_psobj_perms_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_psobj_perms_get,_wrap_zxid_psobj_perms_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_psobj_child_set,_wrap_zxid_psobj_child_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_psobj_child_get,_wrap_zxid_psobj_child_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_psobj_nodetype_set,_wrap_zxid_psobj_nodetype_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_psobj_nodetype_get,_wrap_zxid_psobj_nodetype_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_psobj_create_secs_set,_wrap_zxid_psobj_create_secs_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_psobj_create_secs_get,_wrap_zxid_psobj_create_secs_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_psobj_mod_secs_set,_wrap_zxid_psobj_mod_secs_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_psobj_mod_secs_get,_wrap_zxid_psobj_mod_secs_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zxid_psobj,_wrap_new_zxid_psobj,NULL)
 SWIG_ZEND_NAMED_FE(zxid_invite_invid_set,_wrap_zxid_invite_invid_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_invite_invid_get,_wrap_zxid_invite_invid_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_invite_uid_set,_wrap_zxid_invite_uid_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_invite_uid_get,_wrap_zxid_invite_uid_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_invite_desc_set,_wrap_zxid_invite_desc_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_invite_desc_get,_wrap_zxid_invite_desc_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_invite_psobj_set,_wrap_zxid_invite_psobj_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_invite_psobj_get,_wrap_zxid_invite_psobj_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_invite_ps2spredir_set,_wrap_zxid_invite_ps2spredir_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_invite_ps2spredir_get,_wrap_zxid_invite_ps2spredir_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_invite_obj_set,_wrap_zxid_invite_obj_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_invite_obj_get,_wrap_zxid_invite_obj_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_invite_perms_set,_wrap_zxid_invite_perms_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_invite_perms_get,_wrap_zxid_invite_perms_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_invite_maxusage_set,_wrap_zxid_invite_maxusage_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_invite_maxusage_get,_wrap_zxid_invite_maxusage_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_invite_usage_set,_wrap_zxid_invite_usage_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_invite_usage_get,_wrap_zxid_invite_usage_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_invite_starts_set,_wrap_zxid_invite_starts_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_invite_starts_get,_wrap_zxid_invite_starts_get,NULL)
 SWIG_ZEND_NAMED_FE(zxid_invite_expires_set,_wrap_zxid_invite_expires_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_invite_expires_get,_wrap_zxid_invite_expires_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zxid_invite,_wrap_new_zxid_invite,NULL)
 SWIG_ZEND_NAMED_FE(zxid_simple,_wrap_zxid_simple,NULL)
 SWIG_ZEND_NAMED_FE(zxid_idp_list,_wrap_zxid_idp_list,NULL)
 SWIG_ZEND_NAMED_FE(zxid_idp_select,_wrap_zxid_idp_select,NULL)
 SWIG_ZEND_NAMED_FE(zxid_fed_mgmt,_wrap_zxid_fed_mgmt,NULL)
 SWIG_ZEND_NAMED_FE(zxid_new_conf_to_cf,_wrap_zxid_new_conf_to_cf,NULL)
 SWIG_ZEND_NAMED_FE(zxid_simple_cf,_wrap_zxid_simple_cf,NULL)
 SWIG_ZEND_NAMED_FE(zxid_idp_list_cf,_wrap_zxid_idp_list_cf,NULL)
 SWIG_ZEND_NAMED_FE(zxid_idp_select_cf,_wrap_zxid_idp_select_cf,NULL)
 SWIG_ZEND_NAMED_FE(zxid_fed_mgmt_cf,_wrap_zxid_fed_mgmt_cf,NULL)
 SWIG_ZEND_NAMED_FE(zxid_conf_to_cf_len,_wrap_zxid_conf_to_cf_len,NULL)
 SWIG_ZEND_NAMED_FE(zxid_simple_len,_wrap_zxid_simple_len,NULL)
 SWIG_ZEND_NAMED_FE(zxid_simple_show_idp_sel,_wrap_zxid_simple_show_idp_sel,NULL)
 SWIG_ZEND_NAMED_FE(zxid_idp_list_len,_wrap_zxid_idp_list_len,NULL)
 SWIG_ZEND_NAMED_FE(zxid_idp_list_cf_cgi,_wrap_zxid_idp_list_cf_cgi,NULL)
 SWIG_ZEND_NAMED_FE(zxid_idp_select_len,_wrap_zxid_idp_select_len,NULL)
 SWIG_ZEND_NAMED_FE(zxid_fed_mgmt_len,_wrap_zxid_fed_mgmt_len,NULL)
 SWIG_ZEND_NAMED_FE(zxid_idp_select_zxstr_cf,_wrap_zxid_idp_select_zxstr_cf,NULL)
 SWIG_ZEND_NAMED_FE(zxid_simple_show_err,_wrap_zxid_simple_show_err,NULL)
 SWIG_ZEND_NAMED_FE(zxid_simple_ses_active_cf,_wrap_zxid_simple_ses_active_cf,NULL)
 SWIG_ZEND_NAMED_FE(zxid_simple_no_ses_cf,_wrap_zxid_simple_no_ses_cf,NULL)
 SWIG_ZEND_NAMED_FE(zxid_simple_cf_ses,_wrap_zxid_simple_cf_ses,NULL)
 SWIG_ZEND_NAMED_FE(zxid_template_page_cf,_wrap_zxid_template_page_cf,NULL)
 SWIG_ZEND_NAMED_FE(zxsig_ref_sref_set,_wrap_zxsig_ref_sref_set,NULL)
 SWIG_ZEND_NAMED_FE(zxsig_ref_sref_get,_wrap_zxsig_ref_sref_get,NULL)
 SWIG_ZEND_NAMED_FE(zxsig_ref_blob_set,_wrap_zxsig_ref_blob_set,NULL)
 SWIG_ZEND_NAMED_FE(zxsig_ref_blob_get,_wrap_zxsig_ref_blob_get,NULL)
 SWIG_ZEND_NAMED_FE(zxsig_ref_id_set,_wrap_zxsig_ref_id_set,NULL)
 SWIG_ZEND_NAMED_FE(zxsig_ref_id_get,_wrap_zxsig_ref_id_get,NULL)
 SWIG_ZEND_NAMED_FE(zxsig_ref_canon_set,_wrap_zxsig_ref_canon_set,NULL)
 SWIG_ZEND_NAMED_FE(zxsig_ref_canon_get,_wrap_zxsig_ref_canon_get,NULL)
 SWIG_ZEND_NAMED_FE(zxsig_ref_pop_seen_set,_wrap_zxsig_ref_pop_seen_set,NULL)
 SWIG_ZEND_NAMED_FE(zxsig_ref_pop_seen_get,_wrap_zxsig_ref_pop_seen_get,NULL)
 SWIG_ZEND_NAMED_FE(new_zxsig_ref,_wrap_new_zxsig_ref,NULL)
 SWIG_ZEND_NAMED_FE(zxenc_privkey_dec,_wrap_zxenc_privkey_dec,NULL)
 SWIG_ZEND_NAMED_FE(zxenc_symkey_enc,_wrap_zxenc_symkey_enc,NULL)
 SWIG_ZEND_NAMED_FE(zxenc_symkey_dec,_wrap_zxenc_symkey_dec,NULL)
 SWIG_ZEND_NAMED_FE(zxlog_write_line,_wrap_zxlog_write_line,NULL)
 SWIG_ZEND_NAMED_FE(zxlog_dup_check,_wrap_zxlog_dup_check,NULL)
 SWIG_ZEND_NAMED_FE(zxlog_blob,_wrap_zxlog_blob,NULL)
 SWIG_ZEND_NAMED_FE(zxlog,_wrap_zxlog,NULL)
 SWIG_ZEND_NAMED_FE(zxlogwsp,_wrap_zxlogwsp,NULL)
 SWIG_ZEND_NAMED_FE(zxlogusr,_wrap_zxlogusr,NULL)
 SWIG_ZEND_NAMED_FE(errmac_debug_xml_blob,_wrap_errmac_debug_xml_blob,NULL)
 SWIG_ZEND_NAMED_FE(zxbus_mint_receipt,_wrap_zxbus_mint_receipt,NULL)
 SWIG_ZEND_NAMED_FE(zxbus_verify_receipt,_wrap_zxbus_verify_receipt,NULL)
 SWIG_ZEND_NAMED_FE(zxbus_persist_msg,_wrap_zxbus_persist_msg,NULL)
 SWIG_ZEND_NAMED_FE(zxbus_open_bus_url,_wrap_zxbus_open_bus_url,NULL)
 SWIG_ZEND_NAMED_FE(zxbus_close,_wrap_zxbus_close,NULL)
 SWIG_ZEND_NAMED_FE(zxbus_close_all,_wrap_zxbus_close_all,NULL)
 SWIG_ZEND_NAMED_FE(zxbus_send_cmdf,_wrap_zxbus_send_cmdf,NULL)
 SWIG_ZEND_NAMED_FE(zxbus_send_cmd,_wrap_zxbus_send_cmd,NULL)
 SWIG_ZEND_NAMED_FE(zxbus_send,_wrap_zxbus_send,NULL)
 SWIG_ZEND_NAMED_FE(zxbus_read_stomp,_wrap_zxbus_read_stomp,NULL)
 SWIG_ZEND_NAMED_FE(zxbus_ack_msg,_wrap_zxbus_ack_msg,NULL)
 SWIG_ZEND_NAMED_FE(zxbus_listen_msg,_wrap_zxbus_listen_msg,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_ent_file,_wrap_zxid_get_ent_file,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_ent_cache,_wrap_zxid_get_ent_cache,NULL)
 SWIG_ZEND_NAMED_FE(zxid_write_ent_to_cache,_wrap_zxid_write_ent_to_cache,NULL)
 SWIG_ZEND_NAMED_FE(zxid_parse_meta,_wrap_zxid_parse_meta,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_meta_ss,_wrap_zxid_get_meta_ss,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_meta,_wrap_zxid_get_meta,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_ent_ss,_wrap_zxid_get_ent_ss,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_ent,_wrap_zxid_get_ent,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_ent_by_succinct_id,_wrap_zxid_get_ent_by_succinct_id,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_ent_by_sha1_name,_wrap_zxid_get_ent_by_sha1_name,NULL)
 SWIG_ZEND_NAMED_FE(zxid_load_cot_cache,_wrap_zxid_load_cot_cache,NULL)
 SWIG_ZEND_NAMED_FE(zxid_sp_meta,_wrap_zxid_sp_meta,NULL)
 SWIG_ZEND_NAMED_FE(zxid_send_sp_meta,_wrap_zxid_send_sp_meta,NULL)
 SWIG_ZEND_NAMED_FE(zxid_sp_carml,_wrap_zxid_sp_carml,NULL)
 SWIG_ZEND_NAMED_FE(zxid_my_ent_id,_wrap_zxid_my_ent_id,NULL)
 SWIG_ZEND_NAMED_FE(zxid_my_ent_id_cstr,_wrap_zxid_my_ent_id_cstr,NULL)
 SWIG_ZEND_NAMED_FE(zxid_my_ent_id_attr,_wrap_zxid_my_ent_id_attr,NULL)
 SWIG_ZEND_NAMED_FE(zxid_my_cdc_url,_wrap_zxid_my_cdc_url,NULL)
 SWIG_ZEND_NAMED_FE(zxid_my_issuer,_wrap_zxid_my_issuer,NULL)
 SWIG_ZEND_NAMED_FE(zxid_issuer,_wrap_zxid_issuer,NULL)
 SWIG_ZEND_NAMED_FE(zxid_set_opt,_wrap_zxid_set_opt,NULL)
 SWIG_ZEND_NAMED_FE(zxid_set_opt_cstr,_wrap_zxid_set_opt_cstr,NULL)
 SWIG_ZEND_NAMED_FE(zxid_url_set,_wrap_zxid_url_set,NULL)
 SWIG_ZEND_NAMED_FE(zxid_init_conf,_wrap_zxid_init_conf,NULL)
 SWIG_ZEND_NAMED_FE(zxid_free_conf,_wrap_zxid_free_conf,NULL)
 SWIG_ZEND_NAMED_FE(zxid_init_conf_ctx,_wrap_zxid_init_conf_ctx,NULL)
 SWIG_ZEND_NAMED_FE(zxid_new_conf,_wrap_zxid_new_conf,NULL)
 SWIG_ZEND_NAMED_FE(zxid_parse_conf_raw,_wrap_zxid_parse_conf_raw,NULL)
 SWIG_ZEND_NAMED_FE(zxid_parse_conf,_wrap_zxid_parse_conf,NULL)
 SWIG_ZEND_NAMED_FE(zxid_mk_self_sig_cert,_wrap_zxid_mk_self_sig_cert,NULL)
 SWIG_ZEND_NAMED_FE(zxid_mk_at_cert,_wrap_zxid_mk_at_cert,NULL)
 SWIG_ZEND_NAMED_FE(zxid_show_conf,_wrap_zxid_show_conf,NULL)
 SWIG_ZEND_NAMED_FE(zxid_parse_cgi,_wrap_zxid_parse_cgi,NULL)
 SWIG_ZEND_NAMED_FE(zxid_new_cgi,_wrap_zxid_new_cgi,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_sid_from_cookie,_wrap_zxid_get_sid_from_cookie,NULL)
 SWIG_ZEND_NAMED_FE(zxid_alloc_ses,_wrap_zxid_alloc_ses,NULL)
 SWIG_ZEND_NAMED_FE(zxid_fetch_ses,_wrap_zxid_fetch_ses,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_ses,_wrap_zxid_get_ses,NULL)
 SWIG_ZEND_NAMED_FE(zxid_put_ses,_wrap_zxid_put_ses,NULL)
 SWIG_ZEND_NAMED_FE(zxid_del_ses,_wrap_zxid_del_ses,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_ses_sso_a7n,_wrap_zxid_get_ses_sso_a7n,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_ses_idp,_wrap_zxid_get_ses_idp,NULL)
 SWIG_ZEND_NAMED_FE(zxid_find_ses,_wrap_zxid_find_ses,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_to_ldif,_wrap_zxid_ses_to_ldif,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_to_json,_wrap_zxid_ses_to_json,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_to_qs,_wrap_zxid_ses_to_qs,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ses_to_pool,_wrap_zxid_ses_to_pool,NULL)
 SWIG_ZEND_NAMED_FE(zxid_add_attr_to_ses,_wrap_zxid_add_attr_to_ses,NULL)
 SWIG_ZEND_NAMED_FE(zxid_add_qs2ses,_wrap_zxid_add_qs2ses,NULL)
 SWIG_ZEND_NAMED_FE(zxid_user_sha1_name,_wrap_zxid_user_sha1_name,NULL)
 SWIG_ZEND_NAMED_FE(zxid_put_user,_wrap_zxid_put_user,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_user_nameid,_wrap_zxid_get_user_nameid,NULL)
 SWIG_ZEND_NAMED_FE(zxid_user_change_nameid,_wrap_zxid_user_change_nameid,NULL)
 SWIG_ZEND_NAMED_FE(zxid_pw_authn,_wrap_zxid_pw_authn,NULL)
 SWIG_ZEND_NAMED_FE(zxid_http_cli,_wrap_zxid_http_cli,NULL)
 SWIG_ZEND_NAMED_FE(zxid_soap_call_raw,_wrap_zxid_soap_call_raw,NULL)
 SWIG_ZEND_NAMED_FE(zxid_soap_call_hdr_body,_wrap_zxid_soap_call_hdr_body,NULL)
 SWIG_ZEND_NAMED_FE(zxid_soap_cgi_resp_body,_wrap_zxid_soap_cgi_resp_body,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_last_content_type,_wrap_zxid_get_last_content_type,NULL)
 SWIG_ZEND_NAMED_FE(zxid_version,_wrap_zxid_version,NULL)
 SWIG_ZEND_NAMED_FE(zxid_version_str,_wrap_zxid_version_str,NULL)
 SWIG_ZEND_NAMED_FE(zx_easy_enc_elem_opt,_wrap_zx_easy_enc_elem_opt,NULL)
 SWIG_ZEND_NAMED_FE(zx_easy_enc_elem_sig,_wrap_zx_easy_enc_elem_sig,NULL)
 SWIG_ZEND_NAMED_FE(zxid_date_time,_wrap_zxid_date_time,NULL)
 SWIG_ZEND_NAMED_FE(zxid_mk_id,_wrap_zxid_mk_id,NULL)
 SWIG_ZEND_NAMED_FE(zxid_date_time_attr,_wrap_zxid_date_time_attr,NULL)
 SWIG_ZEND_NAMED_FE(zxid_mk_id_attr,_wrap_zxid_mk_id_attr,NULL)
 SWIG_ZEND_NAMED_FE(zxid_saml2_post_enc,_wrap_zxid_saml2_post_enc,NULL)
 SWIG_ZEND_NAMED_FE(zxid_saml2_redir_enc,_wrap_zxid_saml2_redir_enc,NULL)
 SWIG_ZEND_NAMED_FE(zxid_saml2_redir_url,_wrap_zxid_saml2_redir_url,NULL)
 SWIG_ZEND_NAMED_FE(zxid_saml2_redir,_wrap_zxid_saml2_redir,NULL)
 SWIG_ZEND_NAMED_FE(zxid_saml2_resp_redir,_wrap_zxid_saml2_resp_redir,NULL)
 SWIG_ZEND_NAMED_FE(zxid_saml_ok,_wrap_zxid_saml_ok,NULL)
 SWIG_ZEND_NAMED_FE(zxid_decrypt_nameid,_wrap_zxid_decrypt_nameid,NULL)
 SWIG_ZEND_NAMED_FE(zxid_decrypt_newnym,_wrap_zxid_decrypt_newnym,NULL)
 SWIG_ZEND_NAMED_FE(zxid_extract_body,_wrap_zxid_extract_body,NULL)
 SWIG_ZEND_NAMED_FE(zx_get_symkey,_wrap_zx_get_symkey,NULL)
 SWIG_ZEND_NAMED_FE(zxid_idp_soap,_wrap_zxid_idp_soap,NULL)
 SWIG_ZEND_NAMED_FE(zxid_sp_soap,_wrap_zxid_sp_soap,NULL)
 SWIG_ZEND_NAMED_FE(zxid_extract_issuer,_wrap_zxid_extract_issuer,NULL)
 SWIG_ZEND_NAMED_FE(zxid_decode_redir_or_post,_wrap_zxid_decode_redir_or_post,NULL)
 SWIG_ZEND_NAMED_FE(zxid_dec_a7n,_wrap_zxid_dec_a7n,NULL)
 SWIG_ZEND_NAMED_FE(zxid_sp_deref_art,_wrap_zxid_sp_deref_art,NULL)
 SWIG_ZEND_NAMED_FE(zxid_as_call_ses,_wrap_zxid_as_call_ses,NULL)
 SWIG_ZEND_NAMED_FE(zxid_as_call,_wrap_zxid_as_call,NULL)
 SWIG_ZEND_NAMED_FE(zxid_start_sso_url,_wrap_zxid_start_sso_url,NULL)
 SWIG_ZEND_NAMED_FE(zxid_sp_slo_soap,_wrap_zxid_sp_slo_soap,NULL)
 SWIG_ZEND_NAMED_FE(zxid_sp_slo_redir,_wrap_zxid_sp_slo_redir,NULL)
 SWIG_ZEND_NAMED_FE(zxid_sp_mni_soap,_wrap_zxid_sp_mni_soap,NULL)
 SWIG_ZEND_NAMED_FE(zxid_sp_mni_redir,_wrap_zxid_sp_mni_redir,NULL)
 SWIG_ZEND_NAMED_FE(zxid_az_cf_ses,_wrap_zxid_az_cf_ses,NULL)
 SWIG_ZEND_NAMED_FE(zxid_az_cf,_wrap_zxid_az_cf,NULL)
 SWIG_ZEND_NAMED_FE(zxid_az,_wrap_zxid_az,NULL)
 SWIG_ZEND_NAMED_FE(zxid_az_base_cf_ses,_wrap_zxid_az_base_cf_ses,NULL)
 SWIG_ZEND_NAMED_FE(zxid_az_base_cf,_wrap_zxid_az_base_cf,NULL)
 SWIG_ZEND_NAMED_FE(zxid_az_base,_wrap_zxid_az_base,NULL)
 SWIG_ZEND_NAMED_FE(zxid_find_attribute,_wrap_zxid_find_attribute,NULL)
 SWIG_ZEND_NAMED_FE(zxid_mk_status,_wrap_zxid_mk_Status,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ok,_wrap_zxid_OK,NULL)
 SWIG_ZEND_NAMED_FE(zxid_mk_oauth_az_req,_wrap_zxid_mk_oauth_az_req,NULL)
 SWIG_ZEND_NAMED_FE(zxid_mk_jwks,_wrap_zxid_mk_jwks,NULL)
 SWIG_ZEND_NAMED_FE(zxid_mk_oauth2_dyn_cli_reg_req,_wrap_zxid_mk_oauth2_dyn_cli_reg_req,NULL)
 SWIG_ZEND_NAMED_FE(zxid_mk_oauth2_dyn_cli_reg_res,_wrap_zxid_mk_oauth2_dyn_cli_reg_res,NULL)
 SWIG_ZEND_NAMED_FE(zxid_mk_oauth2_rsrc_reg_req,_wrap_zxid_mk_oauth2_rsrc_reg_req,NULL)
 SWIG_ZEND_NAMED_FE(zxid_mk_oauth2_rsrc_reg_res,_wrap_zxid_mk_oauth2_rsrc_reg_res,NULL)
 SWIG_ZEND_NAMED_FE(zxid_oauth_get_well_known_item,_wrap_zxid_oauth_get_well_known_item,NULL)
 SWIG_ZEND_NAMED_FE(zxid_oauth_dynclireg_client,_wrap_zxid_oauth_dynclireg_client,NULL)
 SWIG_ZEND_NAMED_FE(zxid_oauth_rsrcreg_client,_wrap_zxid_oauth_rsrcreg_client,NULL)
 SWIG_ZEND_NAMED_FE(zxid_oauth_call_rpt_endpoint,_wrap_zxid_oauth_call_rpt_endpoint,NULL)
 SWIG_ZEND_NAMED_FE(zxid_oauth_call_az_endpoint,_wrap_zxid_oauth_call_az_endpoint,NULL)
 SWIG_ZEND_NAMED_FE(zxid_oidc_as_call,_wrap_zxid_oidc_as_call,NULL)
 SWIG_ZEND_NAMED_FE(zxid_mk_lu_status,_wrap_zxid_mk_lu_Status,NULL)
 SWIG_ZEND_NAMED_FE(zxid_mk_tas3_status,_wrap_zxid_mk_tas3_status,NULL)
 SWIG_ZEND_NAMED_FE(zxid_mk_fault,_wrap_zxid_mk_fault,NULL)
 SWIG_ZEND_NAMED_FE(zxid_mk_fault_zx_str,_wrap_zxid_mk_fault_zx_str,NULL)
 SWIG_ZEND_NAMED_FE(zxid_set_fault,_wrap_zxid_set_fault,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_fault,_wrap_zxid_get_fault,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_tas3_fault_sc1,_wrap_zxid_get_tas3_fault_sc1,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_tas3_fault_sc2,_wrap_zxid_get_tas3_fault_sc2,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_tas3_fault_comment,_wrap_zxid_get_tas3_fault_comment,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_tas3_fault_ref,_wrap_zxid_get_tas3_fault_ref,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_tas3_fault_actor,_wrap_zxid_get_tas3_fault_actor,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_fault_status,_wrap_zxid_get_fault_status,NULL)
 SWIG_ZEND_NAMED_FE(zxid_set_tas3_status,_wrap_zxid_set_tas3_status,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_tas3_status,_wrap_zxid_get_tas3_status,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_tas3_status_sc1,_wrap_zxid_get_tas3_status_sc1,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_tas3_status_sc2,_wrap_zxid_get_tas3_status_sc2,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_tas3_status_comment,_wrap_zxid_get_tas3_status_comment,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_tas3_status_ref,_wrap_zxid_get_tas3_status_ref,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_tas3_status_ctlpt,_wrap_zxid_get_tas3_status_ctlpt,NULL)
 SWIG_ZEND_NAMED_FE(zxid_wsp_validate_env,_wrap_zxid_wsp_validate_env,NULL)
 SWIG_ZEND_NAMED_FE(zxid_wsp_validate,_wrap_zxid_wsp_validate,NULL)
 SWIG_ZEND_NAMED_FE(zxid_wsp_decorate,_wrap_zxid_wsp_decorate,NULL)
 SWIG_ZEND_NAMED_FE(zxid_wsp_decoratef,_wrap_zxid_wsp_decoratef,NULL)
 SWIG_ZEND_NAMED_FE(zxid_wsf_decor,_wrap_zxid_wsf_decor,NULL)
 SWIG_ZEND_NAMED_FE(zxid_call,_wrap_zxid_call,NULL)
 SWIG_ZEND_NAMED_FE(zxid_callf,_wrap_zxid_callf,NULL)
 SWIG_ZEND_NAMED_FE(zxid_call_epr,_wrap_zxid_call_epr,NULL)
 SWIG_ZEND_NAMED_FE(zxid_callf_epr,_wrap_zxid_callf_epr,NULL)
 SWIG_ZEND_NAMED_FE(zxid_wsc_prepare_call,_wrap_zxid_wsc_prepare_call,NULL)
 SWIG_ZEND_NAMED_FE(zxid_wsc_prepare_callf,_wrap_zxid_wsc_prepare_callf,NULL)
 SWIG_ZEND_NAMED_FE(zxid_wsc_valid_resp,_wrap_zxid_wsc_valid_resp,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_epr,_wrap_zxid_get_epr,NULL)
 SWIG_ZEND_NAMED_FE(zxid_find_epr,_wrap_zxid_find_epr,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_epr_address,_wrap_zxid_get_epr_address,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_epr_entid,_wrap_zxid_get_epr_entid,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_epr_desc,_wrap_zxid_get_epr_desc,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_epr_tas3_trust,_wrap_zxid_get_epr_tas3_trust,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_epr_secmech,_wrap_zxid_get_epr_secmech,NULL)
 SWIG_ZEND_NAMED_FE(zxid_set_epr_secmech,_wrap_zxid_set_epr_secmech,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_epr_token,_wrap_zxid_get_epr_token,NULL)
 SWIG_ZEND_NAMED_FE(zxid_set_epr_token,_wrap_zxid_set_epr_token,NULL)
 SWIG_ZEND_NAMED_FE(zxid_new_epr,_wrap_zxid_new_epr,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_delegated_discovery_epr,_wrap_zxid_get_delegated_discovery_epr,NULL)
 SWIG_ZEND_NAMED_FE(zxid_set_delegated_discovery_epr,_wrap_zxid_set_delegated_discovery_epr,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_call_invoktok,_wrap_zxid_get_call_invoktok,NULL)
 SWIG_ZEND_NAMED_FE(zxid_set_call_invoktok,_wrap_zxid_set_call_invoktok,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_call_tgttok,_wrap_zxid_get_call_tgttok,NULL)
 SWIG_ZEND_NAMED_FE(zxid_set_call_tgttok,_wrap_zxid_set_call_tgttok,NULL)
 SWIG_ZEND_NAMED_FE(zxid_epr2str,_wrap_zxid_epr2str,NULL)
 SWIG_ZEND_NAMED_FE(zxid_token2str,_wrap_zxid_token2str,NULL)
 SWIG_ZEND_NAMED_FE(zxid_str2token,_wrap_zxid_str2token,NULL)
 SWIG_ZEND_NAMED_FE(zxid_a7n2str,_wrap_zxid_a7n2str,NULL)
 SWIG_ZEND_NAMED_FE(zxid_str2a7n,_wrap_zxid_str2a7n,NULL)
 SWIG_ZEND_NAMED_FE(zxid_nid2str,_wrap_zxid_nid2str,NULL)
 SWIG_ZEND_NAMED_FE(zxid_str2nid,_wrap_zxid_str2nid,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_nameid,_wrap_zxid_get_nameid,NULL)
 SWIG_ZEND_NAMED_FE(zxid_set_nameid,_wrap_zxid_set_nameid,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_tgtnameid,_wrap_zxid_get_tgtnameid,NULL)
 SWIG_ZEND_NAMED_FE(zxid_set_tgtnameid,_wrap_zxid_set_tgtnameid,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_a7n,_wrap_zxid_get_a7n,NULL)
 SWIG_ZEND_NAMED_FE(zxid_set_a7n,_wrap_zxid_set_a7n,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_tgta7n,_wrap_zxid_get_tgta7n,NULL)
 SWIG_ZEND_NAMED_FE(zxid_set_tgta7n,_wrap_zxid_set_tgta7n,NULL)
 SWIG_ZEND_NAMED_FE(zxid_map_identity_token,_wrap_zxid_map_identity_token,NULL)
 SWIG_ZEND_NAMED_FE(zxid_nidmap_identity_token,_wrap_zxid_nidmap_identity_token,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ps_accept_invite,_wrap_zxid_ps_accept_invite,NULL)
 SWIG_ZEND_NAMED_FE(zxid_ps_finalize_invite,_wrap_zxid_ps_finalize_invite,NULL)
 SWIG_ZEND_NAMED_FE(zxid_get_idpnid_at_eid,_wrap_zxid_get_idpnid_at_eid,NULL)
 SWIG_ZEND_NAMED_FE(sha1_safe_base64,_wrap_sha1_safe_base64,NULL)
 SWIG_ZEND_NAMED_FE(zx_url_encode,_wrap_zx_url_encode,NULL)
 SWIG_ZEND_NAMED_FE(swig_zxid_alter_newobject,_wrap_swig_zxid_alter_newobject,NULL)
 SWIG_ZEND_NAMED_FE(swig_zxid_get_newobject,_wrap_swig_zxid_get_newobject,NULL)
{NULL, NULL, NULL}
};

/* init section */
#if ZEND_MODULE_API_NO <= 20090626
#undef ZEND_MODULE_BUILD_ID
#define ZEND_MODULE_BUILD_ID (char*)"API" ZEND_TOSTR(ZEND_MODULE_API_NO) ZEND_BUILD_TS ZEND_BUILD_DEBUG ZEND_BUILD_SYSTEM ZEND_BUILD_EXTRA
#endif
zend_module_entry zxid_module_entry = {
    STANDARD_MODULE_HEADER,
    (char*)"zxid",
    zxid_functions,
    PHP_MINIT(zxid),
    PHP_MSHUTDOWN(zxid),
    PHP_RINIT(zxid),
    PHP_RSHUTDOWN(zxid),
    PHP_MINFO(zxid),
    NO_VERSION_YET,
    STANDARD_MODULE_PROPERTIES
};
zend_module_entry* SWIG_module_entry = &zxid_module_entry;

#ifdef __cplusplus
extern "C" {
#endif
SWIGEXPORT zend_module_entry *get_module(void) { return &zxid_module_entry; }
#ifdef __cplusplus
}
#endif

#define SWIG_php_minit PHP_MINIT_FUNCTION(zxid)
/* -----------------------------------------------------------------------------
 * Type initialization:
 * This problem is tough by the requirement that no dynamic
 * memory is used. Also, since swig_type_info structures store pointers to
 * swig_cast_info structures and swig_cast_info structures store pointers back
 * to swig_type_info structures, we need some lookup code at initialization.
 * The idea is that swig generates all the structures that are needed.
 * The runtime then collects these partially filled structures.
 * The SWIG_InitializeModule function takes these initial arrays out of
 * swig_module, and does all the lookup, filling in the swig_module.types
 * array with the correct data and linking the correct swig_cast_info
 * structures together.
 *
 * The generated swig_type_info structures are assigned staticly to an initial
 * array. We just loop through that array, and handle each type individually.
 * First we lookup if this type has been already loaded, and if so, use the
 * loaded structure instead of the generated one. Then we have to fill in the
 * cast linked list. The cast data is initially stored in something like a
 * two-dimensional array. Each row corresponds to a type (there are the same
 * number of rows as there are in the swig_type_initial array). Each entry in
 * a column is one of the swig_cast_info structures for that type.
 * The cast_initial array is actually an array of arrays, because each row has
 * a variable number of columns. So to actually build the cast linked list,
 * we find the array of casts associated with the type, and loop through it
 * adding the casts to the list. The one last trick we need to do is making
 * sure the type pointer in the swig_cast_info struct is correct.
 *
 * First off, we lookup the cast->type name to see if it is already loaded.
 * There are three cases to handle:
 *  1) If the cast->type has already been loaded AND the type we are adding
 *     casting info to has not been loaded (it is in this module), THEN we
 *     replace the cast->type pointer with the type pointer that has already
 *     been loaded.
 *  2) If BOTH types (the one we are adding casting info to, and the
 *     cast->type) are loaded, THEN the cast info has already been loaded by
 *     the previous module so we just ignore it.
 *  3) Finally, if cast->type has not already been loaded, then we add that
 *     swig_cast_info to the linked list (because the cast->type) pointer will
 *     be correct.
 * ----------------------------------------------------------------------------- */

#ifdef __cplusplus
extern "C" {
#if 0
} /* c-mode */
#endif
#endif

#if 0
#define SWIGRUNTIME_DEBUG
#endif


SWIGRUNTIME void
SWIG_InitializeModule(void *clientdata) {
  size_t i;
  swig_module_info *module_head, *iter;
  int found, init;

  /* check to see if the circular list has been setup, if not, set it up */
  if (swig_module.next==0) {
    /* Initialize the swig_module */
    swig_module.type_initial = swig_type_initial;
    swig_module.cast_initial = swig_cast_initial;
    swig_module.next = &swig_module;
    init = 1;
  } else {
    init = 0;
  }

  /* Try and load any already created modules */
  module_head = SWIG_GetModule(clientdata);
  if (!module_head) {
    /* This is the first module loaded for this interpreter */
    /* so set the swig module into the interpreter */
    SWIG_SetModule(clientdata, &swig_module);
    module_head = &swig_module;
  } else {
    /* the interpreter has loaded a SWIG module, but has it loaded this one? */
    found=0;
    iter=module_head;
    do {
      if (iter==&swig_module) {
        found=1;
        break;
      }
      iter=iter->next;
    } while (iter!= module_head);

    /* if the is found in the list, then all is done and we may leave */
    if (found) return;
    /* otherwise we must add out module into the list */
    swig_module.next = module_head->next;
    module_head->next = &swig_module;
  }

  /* When multiple interpreters are used, a module could have already been initialized in
     a different interpreter, but not yet have a pointer in this interpreter.
     In this case, we do not want to continue adding types... everything should be
     set up already */
  if (init == 0) return;

  /* Now work on filling in swig_module.types */
#ifdef SWIGRUNTIME_DEBUG
  printf("SWIG_InitializeModule: size %d\n", swig_module.size);
#endif
  for (i = 0; i < swig_module.size; ++i) {
    swig_type_info *type = 0;
    swig_type_info *ret;
    swig_cast_info *cast;

#ifdef SWIGRUNTIME_DEBUG
    printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
#endif

    /* if there is another module already loaded */
    if (swig_module.next != &swig_module) {
      type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
    }
    if (type) {
      /* Overwrite clientdata field */
#ifdef SWIGRUNTIME_DEBUG
      printf("SWIG_InitializeModule: found type %s\n", type->name);
#endif
      if (swig_module.type_initial[i]->clientdata) {
	type->clientdata = swig_module.type_initial[i]->clientdata;
#ifdef SWIGRUNTIME_DEBUG
      printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
#endif
      }
    } else {
      type = swig_module.type_initial[i];
    }

    /* Insert casting types */
    cast = swig_module.cast_initial[i];
    while (cast->type) {

      /* Don't need to add information already in the list */
      ret = 0;
#ifdef SWIGRUNTIME_DEBUG
      printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
#endif
      if (swig_module.next != &swig_module) {
        ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
#ifdef SWIGRUNTIME_DEBUG
	if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
#endif
      }
      if (ret) {
	if (type == swig_module.type_initial[i]) {
#ifdef SWIGRUNTIME_DEBUG
	  printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
#endif
	  cast->type = ret;
	  ret = 0;
	} else {
	  /* Check for casting already in the list */
	  swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
#ifdef SWIGRUNTIME_DEBUG
	  if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
#endif
	  if (!ocast) ret = 0;
	}
      }

      if (!ret) {
#ifdef SWIGRUNTIME_DEBUG
	printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
#endif
        if (type->cast) {
          type->cast->prev = cast;
          cast->next = type->cast;
        }
        type->cast = cast;
      }
      cast++;
    }
    /* Set entry in modules->types array equal to the type */
    swig_module.types[i] = type;
  }
  swig_module.types[i] = 0;

#ifdef SWIGRUNTIME_DEBUG
  printf("**** SWIG_InitializeModule: Cast List ******\n");
  for (i = 0; i < swig_module.size; ++i) {
    int j = 0;
    swig_cast_info *cast = swig_module.cast_initial[i];
    printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
    while (cast->type) {
      printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
      cast++;
      ++j;
    }
  printf("---- Total casts: %d\n",j);
  }
  printf("**** SWIG_InitializeModule: Cast List ******\n");
#endif
}

/* This function will propagate the clientdata field of type to
* any new swig_type_info structures that have been added into the list
* of equivalent types.  It is like calling
* SWIG_TypeClientData(type, clientdata) a second time.
*/
SWIGRUNTIME void
SWIG_PropagateClientData(void) {
  size_t i;
  swig_cast_info *equiv;
  static int init_run = 0;

  if (init_run) return;
  init_run = 1;

  for (i = 0; i < swig_module.size; i++) {
    if (swig_module.types[i]->clientdata) {
      equiv = swig_module.types[i]->cast;
      while (equiv) {
        if (!equiv->converter) {
          if (equiv->type && !equiv->type->clientdata)
            SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
        }
        equiv = equiv->next;
      }
    }
  }
}

#ifdef __cplusplus
#if 0
{ /* c-mode */
#endif
}
#endif


  SWIG_php_minit {
    SWIG_InitializeModule(0);

/* oinit subsection */
ZEND_INIT_MODULE_GLOBALS(zxid, zxid_init_globals, zxid_destroy_globals);

/* Register resource destructors for pointer types */
le_swig__p_zx_tas3_Status_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_tas3_Status_s,NULL,(char *)(SWIGTYPE_p_zx_tas3_Status_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_tas3_Status_s,&le_swig__p_zx_tas3_Status_s);
le_swig__p_zx_sp_Status_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_sp_Status_s,NULL,(char *)(SWIGTYPE_p_zx_sp_Status_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_sp_Status_s,&le_swig__p_zx_sp_Status_s);
le_swig__p_zx_lu_Status_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_lu_Status_s,NULL,(char *)(SWIGTYPE_p_zx_lu_Status_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_lu_Status_s,&le_swig__p_zx_lu_Status_s);
le_swig__p_EVP_MD=zend_register_list_destructors_ex(_wrap_destroy_p_EVP_MD,NULL,(char *)(SWIGTYPE_p_EVP_MD->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_EVP_MD,&le_swig__p_EVP_MD);
le_swig__p_zx_sa_Attribute_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_sa_Attribute_s,NULL,(char *)(SWIGTYPE_p_zx_sa_Attribute_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_sa_Attribute_s,&le_swig__p_zx_sa_Attribute_s);
le_swig__p_zx_a_EndpointReference_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_a_EndpointReference_s,NULL,(char *)(SWIGTYPE_p_zx_a_EndpointReference_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_a_EndpointReference_s,&le_swig__p_zx_a_EndpointReference_s);
le_swig__p_char=zend_register_list_destructors_ex(_wrap_destroy_p_char,NULL,(char *)(SWIGTYPE_p_char->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_char,&le_swig__p_char);
le_swig__p_p_char=zend_register_list_destructors_ex(_wrap_destroy_p_p_char,NULL,(char *)(SWIGTYPE_p_p_char->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_p_char,&le_swig__p_p_char);
le_swig__p_zx_ds_Reference_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_ds_Reference_s,NULL,(char *)(SWIGTYPE_p_zx_ds_Reference_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_ds_Reference_s,&le_swig__p_zx_ds_Reference_s);
le_swig__p_zxid_obl_list=zend_register_list_destructors_ex(_wrap_destroy_p_zxid_obl_list,NULL,(char *)(SWIGTYPE_p_zxid_obl_list->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zxid_obl_list,&le_swig__p_zxid_obl_list);
le_swig__p_zx_sec_Token_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_sec_Token_s,NULL,(char *)(SWIGTYPE_p_zx_sec_Token_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_sec_Token_s,&le_swig__p_zx_sec_Token_s);
le_swig__p_zxid_cgi=zend_register_list_destructors_ex(_wrap_destroy_p_zxid_cgi,NULL,(char *)(SWIGTYPE_p_zxid_cgi->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zxid_cgi,&le_swig__p_zxid_cgi);
le_swig__p_zx_str=zend_register_list_destructors_ex(_wrap_destroy_p_zx_str,NULL,(char *)(SWIGTYPE_p_zx_str->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_str,&le_swig__p_zx_str);
le_swig__p_p_void=zend_register_list_destructors_ex(_wrap_destroy_p_p_void,NULL,(char *)(SWIGTYPE_p_p_void->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_p_void,&le_swig__p_p_void);
le_swig__p_void=zend_register_list_destructors_ex(_wrap_destroy_p_void,NULL,(char *)(SWIGTYPE_p_void->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_void,&le_swig__p_void);
le_swig__p_f_size_t__p_void=zend_register_list_destructors_ex(_wrap_destroy_p_f_size_t__p_void,NULL,(char *)(SWIGTYPE_p_f_size_t__p_void->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_f_size_t__p_void,&le_swig__p_f_size_t__p_void);
le_swig__p_f_p_void_size_t__p_void=zend_register_list_destructors_ex(_wrap_destroy_p_f_p_void_size_t__p_void,NULL,(char *)(SWIGTYPE_p_f_p_void_size_t__p_void->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_f_p_void_size_t__p_void,&le_swig__p_f_p_void_size_t__p_void);
le_swig__int=zend_register_list_destructors_ex(_wrap_destroy_int,NULL,(char *)(SWIGTYPE_int->name),module_number);
SWIG_TypeClientData(SWIGTYPE_int,&le_swig__int);
le_swig__p_f_p_struct_zx_ctx_p_struct_zx_elem_s__int=zend_register_list_destructors_ex(_wrap_destroy_p_f_p_struct_zx_ctx_p_struct_zx_elem_s__int,NULL,(char *)(SWIGTYPE_p_f_p_struct_zx_ctx_p_struct_zx_elem_s__int->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_f_p_struct_zx_ctx_p_struct_zx_elem_s__int,&le_swig__p_f_p_struct_zx_ctx_p_struct_zx_elem_s__int);
le_swig__p_pthread_t=zend_register_list_destructors_ex(_wrap_destroy_p_pthread_t,NULL,(char *)(SWIGTYPE_p_pthread_t->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_pthread_t,&le_swig__p_pthread_t);
le_swig__p_zxid_perm=zend_register_list_destructors_ex(_wrap_destroy_p_zxid_perm,NULL,(char *)(SWIGTYPE_p_zxid_perm->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zxid_perm,&le_swig__p_zxid_perm);
le_swig__p_zxid_conf=zend_register_list_destructors_ex(_wrap_destroy_p_zxid_conf,NULL,(char *)(SWIGTYPE_p_zxid_conf->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zxid_conf,&le_swig__p_zxid_conf);
le_swig__p_zx_at_tok=zend_register_list_destructors_ex(_wrap_destroy_p_zx_at_tok,NULL,(char *)(SWIGTYPE_p_zx_at_tok->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_at_tok,&le_swig__p_zx_at_tok);
le_swig__p_zxid_invite=zend_register_list_destructors_ex(_wrap_destroy_p_zxid_invite,NULL,(char *)(SWIGTYPE_p_zxid_invite->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zxid_invite,&le_swig__p_zxid_invite);
le_swig__p_p_zx_ns_s=zend_register_list_destructors_ex(_wrap_destroy_p_p_zx_ns_s,NULL,(char *)(SWIGTYPE_p_p_zx_ns_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_p_zx_ns_s,&le_swig__p_p_zx_ns_s);
le_swig__p_zx_ns_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_ns_s,NULL,(char *)(SWIGTYPE_p_zx_ns_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_ns_s,&le_swig__p_zx_ns_s);
le_swig__p_zx_sa_Assertion_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_sa_Assertion_s,NULL,(char *)(SWIGTYPE_p_zx_sa_Assertion_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_sa_Assertion_s,&le_swig__p_zx_sa_Assertion_s);
le_swig__p_f_p_void__void=zend_register_list_destructors_ex(_wrap_destroy_p_f_p_void__void,NULL,(char *)(SWIGTYPE_p_f_p_void__void->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_f_p_void__void,&le_swig__p_f_p_void__void);
le_swig__p_zx_el_tok=zend_register_list_destructors_ex(_wrap_destroy_p_zx_el_tok,NULL,(char *)(SWIGTYPE_p_zx_el_tok->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_el_tok,&le_swig__p_zx_el_tok);
le_swig__p_zxid_atsrc=zend_register_list_destructors_ex(_wrap_destroy_p_zxid_atsrc,NULL,(char *)(SWIGTYPE_p_zxid_atsrc->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zxid_atsrc,&le_swig__p_zxid_atsrc);
le_swig__p_zx_sa11_Assertion_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_sa11_Assertion_s,NULL,(char *)(SWIGTYPE_p_zx_sa11_Assertion_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_sa11_Assertion_s,&le_swig__p_zx_sa11_Assertion_s);
le_swig__p_zx_ff12_Assertion_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_ff12_Assertion_s,NULL,(char *)(SWIGTYPE_p_zx_ff12_Assertion_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_ff12_Assertion_s,&le_swig__p_zx_ff12_Assertion_s);
le_swig__p_zx_sa_EncryptedAssertion_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_sa_EncryptedAssertion_s,NULL,(char *)(SWIGTYPE_p_zx_sa_EncryptedAssertion_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_sa_EncryptedAssertion_s,&le_swig__p_zx_sa_EncryptedAssertion_s);
le_swig__p_zx_root_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_root_s,NULL,(char *)(SWIGTYPE_p_zx_root_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_root_s,&le_swig__p_zx_root_s);
le_swig__p_zx_md_EntityDescriptor_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_md_EntityDescriptor_s,NULL,(char *)(SWIGTYPE_p_zx_md_EntityDescriptor_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_md_EntityDescriptor_s,&le_swig__p_zx_md_EntityDescriptor_s);
le_swig__p_zx_attr_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_attr_s,NULL,(char *)(SWIGTYPE_p_zx_attr_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_attr_s,&le_swig__p_zx_attr_s);
le_swig__p_zxid_cstr_list=zend_register_list_destructors_ex(_wrap_destroy_p_zxid_cstr_list,NULL,(char *)(SWIGTYPE_p_zxid_cstr_list->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zxid_cstr_list,&le_swig__p_zxid_cstr_list);
le_swig__p_zxid_ses=zend_register_list_destructors_ex(_wrap_destroy_p_zxid_ses,NULL,(char *)(SWIGTYPE_p_zxid_ses->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zxid_ses,&le_swig__p_zxid_ses);
le_swig__p_zxid_need=zend_register_list_destructors_ex(_wrap_destroy_p_zxid_need,NULL,(char *)(SWIGTYPE_p_zxid_need->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zxid_need,&le_swig__p_zxid_need);
le_swig__p_zx_e_Body_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_e_Body_s,NULL,(char *)(SWIGTYPE_p_zx_e_Body_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_e_Body_s,&le_swig__p_zx_e_Body_s);
le_swig__p_zx_ctx=zend_register_list_destructors_ex(_wrap_destroy_p_zx_ctx,NULL,(char *)(SWIGTYPE_p_zx_ctx->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_ctx,&le_swig__p_zx_ctx);
le_swig__p_zx_xenc_EncryptedData_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_xenc_EncryptedData_s,NULL,(char *)(SWIGTYPE_p_zx_xenc_EncryptedData_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_xenc_EncryptedData_s,&le_swig__p_zx_xenc_EncryptedData_s);
le_swig__p_zx_e_Envelope_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_e_Envelope_s,NULL,(char *)(SWIGTYPE_p_zx_e_Envelope_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_e_Envelope_s,&le_swig__p_zx_e_Envelope_s);
le_swig__p_zx_lock=zend_register_list_destructors_ex(_wrap_destroy_p_zx_lock,NULL,(char *)(SWIGTYPE_p_zx_lock->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_lock,&le_swig__p_zx_lock);
le_swig__p_zx_sa_NameID_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_sa_NameID_s,NULL,(char *)(SWIGTYPE_p_zx_sa_NameID_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_sa_NameID_s,&le_swig__p_zx_sa_NameID_s);
le_swig__p_timeval=zend_register_list_destructors_ex(_wrap_destroy_p_timeval,NULL,(char *)(SWIGTYPE_p_timeval->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_timeval,&le_swig__p_timeval);
le_swig__p_zx_sa_Issuer_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_sa_Issuer_s,NULL,(char *)(SWIGTYPE_p_zx_sa_Issuer_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_sa_Issuer_s,&le_swig__p_zx_sa_Issuer_s);
le_swig__p_zx_elem_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_elem_s,NULL,(char *)(SWIGTYPE_p_zx_elem_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_elem_s,&le_swig__p_zx_elem_s);
le_swig__p_zx_el_desc=zend_register_list_destructors_ex(_wrap_destroy_p_zx_el_desc,NULL,(char *)(SWIGTYPE_p_zx_el_desc->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_el_desc,&le_swig__p_zx_el_desc);
le_swig__p_zxid_psobj=zend_register_list_destructors_ex(_wrap_destroy_p_zxid_psobj,NULL,(char *)(SWIGTYPE_p_zxid_psobj->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zxid_psobj,&le_swig__p_zxid_psobj);
le_swig__p_time_t=zend_register_list_destructors_ex(_wrap_destroy_p_time_t,NULL,(char *)(SWIGTYPE_p_time_t->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_time_t,&le_swig__p_time_t);
le_swig__p_zx_sa_EncryptedID_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_sa_EncryptedID_s,NULL,(char *)(SWIGTYPE_p_zx_sa_EncryptedID_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_sa_EncryptedID_s,&le_swig__p_zx_sa_EncryptedID_s);
le_swig__p_zx_sp_NewEncryptedID_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_sp_NewEncryptedID_s,NULL,(char *)(SWIGTYPE_p_zx_sp_NewEncryptedID_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_sp_NewEncryptedID_s,&le_swig__p_zx_sp_NewEncryptedID_s);
le_swig__p_stomp_hdr=zend_register_list_destructors_ex(_wrap_destroy_p_stomp_hdr,NULL,(char *)(SWIGTYPE_p_stomp_hdr->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_stomp_hdr,&le_swig__p_stomp_hdr);
le_swig__p_zx_e_Header_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_e_Header_s,NULL,(char *)(SWIGTYPE_p_zx_e_Header_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_e_Header_s,&le_swig__p_zx_e_Header_s);
le_swig__p_zxid_bus_url=zend_register_list_destructors_ex(_wrap_destroy_p_zxid_bus_url,NULL,(char *)(SWIGTYPE_p_zxid_bus_url->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zxid_bus_url,&le_swig__p_zxid_bus_url);
le_swig__p_zx_xenc_EncryptedKey_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_xenc_EncryptedKey_s,NULL,(char *)(SWIGTYPE_p_zx_xenc_EncryptedKey_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_xenc_EncryptedKey_s,&le_swig__p_zx_xenc_EncryptedKey_s);
le_swig__p_zxid_entity_s=zend_register_list_destructors_ex(_wrap_destroy_p_zxid_entity_s,NULL,(char *)(SWIGTYPE_p_zxid_entity_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zxid_entity_s,&le_swig__p_zxid_entity_s);
le_swig__p_int=zend_register_list_destructors_ex(_wrap_destroy_p_int,NULL,(char *)(SWIGTYPE_p_int->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_int,&le_swig__p_int);
le_swig__p_zxsig_ref=zend_register_list_destructors_ex(_wrap_destroy_p_zxsig_ref,NULL,(char *)(SWIGTYPE_p_zxsig_ref->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zxsig_ref,&le_swig__p_zxsig_ref);
le_swig__p_zx_e_Fault_s=zend_register_list_destructors_ex(_wrap_destroy_p_zx_e_Fault_s,NULL,(char *)(SWIGTYPE_p_zx_e_Fault_s->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zx_e_Fault_s,&le_swig__p_zx_e_Fault_s);
le_swig__p_zxid_map=zend_register_list_destructors_ex(_wrap_destroy_p_zxid_map,NULL,(char *)(SWIGTYPE_p_zxid_map->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zxid_map,&le_swig__p_zxid_map);
le_swig__p_pthread_mutex_t=zend_register_list_destructors_ex(_wrap_destroy_p_pthread_mutex_t,NULL,(char *)(SWIGTYPE_p_pthread_mutex_t->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_pthread_mutex_t,&le_swig__p_pthread_mutex_t);
le_swig__p_zxid_attr=zend_register_list_destructors_ex(_wrap_destroy_p_zxid_attr,NULL,(char *)(SWIGTYPE_p_zxid_attr->name),module_number);
SWIG_TypeClientData(SWIGTYPE_p_zxid_attr,&le_swig__p_zxid_attr);
CG(active_class_entry) = NULL;
/* end oinit subsection */

/* cinit subsection */
SWIG_LONG_CONSTANT(ZX_TOK_NO_ATTR, (-7));
SWIG_LONG_CONSTANT(ZX_TOK_ATTR_ERR, (-6));
SWIG_LONG_CONSTANT(ZX_TOK_XMLNS, (-4));
SWIG_LONG_CONSTANT(ZX_TOK_DATA, 0x0000fffd);
SWIG_LONG_CONSTANT(ZX_TOK_ATTR_NOT_FOUND, 0x0000fffe);
SWIG_LONG_CONSTANT(ZX_TOK_TOK_NOT_FOUND, 0x0000ffff);
SWIG_LONG_CONSTANT(ZX_TOK_NS_NOT_FOUND, 0x00ff0000);
SWIG_LONG_CONSTANT(ZX_TOK_NOT_FOUND, 0x00ffffff);
SWIG_LONG_CONSTANT(ZX_TOK_TOK_MASK, 0x0000ffff);
SWIG_LONG_CONSTANT(ZX_TOK_NS_MASK, 0x00ff0000);
SWIG_LONG_CONSTANT(ZX_TOK_NS_SHIFT, 16);
SWIG_LONG_CONSTANT(ZX_TOK_FLAGS_MASK, 0xff000000);
SWIG_LONG_CONSTANT(ZX_SYMKEY_LEN, 20);
SWIG_STRING_CONSTANT(SIG_ALGO_RSA_SHA1_URLENC, "http://www.w3.org/2000/09/xmldsig%23rsa-sha1");
SWIG_STRING_CONSTANT(SIG_ALGO_RSA_SHA224_URLENC, "http://www.w3.org/2001/04/xmldsig-more%23rsa-sha224");
SWIG_STRING_CONSTANT(SIG_ALGO_RSA_SHA256_URLENC, "http://www.w3.org/2001/04/xmldsig-more%23rsa-sha256");
SWIG_STRING_CONSTANT(SIG_ALGO_RSA_SHA384_URLENC, "http://www.w3.org/2001/04/xmldsig-more%23rsa-sha384");
SWIG_STRING_CONSTANT(SIG_ALGO_RSA_SHA512_URLENC, "http://www.w3.org/2001/04/xmldsig-more%23rsa-sha512");
SWIG_STRING_CONSTANT(SIG_ALGO_DSA_SHA1_URLENC, "http://www.w3.org/2000/09/xmldsig%23dsa-sha1");
SWIG_STRING_CONSTANT(SIG_ALGO_DSA_SHA224_URLENC, "http://www.w3.org/2001/04/xmldsig-more%23dsa-sha224");
SWIG_STRING_CONSTANT(SIG_ALGO_DSA_SHA256_URLENC, "http://www.w3.org/2001/04/xmldsig-more%23dsa-sha256");
SWIG_STRING_CONSTANT(SIG_ALGO_DSA_SHA384_URLENC, "http://www.w3.org/2001/04/xmldsig-more%23dsa-sha384");
SWIG_STRING_CONSTANT(SIG_ALGO_DSA_SHA512_URLENC, "http://www.w3.org/2001/04/xmldsig-more%23dsa-sha512");
SWIG_STRING_CONSTANT(SIG_ALGO_ECDSA_SHA1_URLENC, "http://www.w3.org/2001/04/xmldsig-more%23ecdsa-sha1");
SWIG_STRING_CONSTANT(SIG_ALGO_ECDSA_SHA224_URLENC, "http://www.w3.org/2001/04/xmldsig-more%23ecdsa-sha224");
SWIG_STRING_CONSTANT(SIG_ALGO_ECDSA_SHA256_URLENC, "http://www.w3.org/2001/04/xmldsig-more%23ecdsa-sha256");
SWIG_STRING_CONSTANT(SIG_ALGO_ECDSA_SHA384_URLENC, "http://www.w3.org/2001/04/xmldsig-more%23ecdsa-sha384");
SWIG_STRING_CONSTANT(SIG_ALGO_ECDSA_SHA512_URLENC, "http://www.w3.org/2001/04/xmldsig-more%23ecdsa-sha512");
SWIG_STRING_CONSTANT(SIG_ALGO_RSA_SHA1, "http://www.w3.org/2000/09/xmldsig#rsa-sha1");
SWIG_STRING_CONSTANT(SIG_ALGO_RSA_SHA224, "http://www.w3.org/2001/04/xmldsig-more#rsa-sha224");
SWIG_STRING_CONSTANT(SIG_ALGO_RSA_SHA256, "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256");
SWIG_STRING_CONSTANT(SIG_ALGO_RSA_SHA384, "http://www.w3.org/2001/04/xmldsig-more#rsa-sha384");
SWIG_STRING_CONSTANT(SIG_ALGO_RSA_SHA512, "http://www.w3.org/2001/04/xmldsig-more#rsa-sha512");
SWIG_STRING_CONSTANT(SIG_ALGO_DSA_SHA1, "http://www.w3.org/2000/09/xmldsig#dsa-sha1");
SWIG_STRING_CONSTANT(SIG_ALGO_DSA_SHA224, "http://www.w3.org/2009/xmldsig11#dsa-sha224");
SWIG_STRING_CONSTANT(SIG_ALGO_DSA_SHA256, "http://www.w3.org/2009/xmldsig11#dsa-sha256");
SWIG_STRING_CONSTANT(SIG_ALGO_DSA_SHA384, "http://www.w3.org/2009/xmldsig11#dsa-sha384");
SWIG_STRING_CONSTANT(SIG_ALGO_DSA_SHA512, "http://www.w3.org/2009/xmldsig11#dsa-sha512");
SWIG_STRING_CONSTANT(SIG_ALGO_ECDSA_SHA1, "http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1");
SWIG_STRING_CONSTANT(SIG_ALGO_ECDSA_SHA224, "http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha224");
SWIG_STRING_CONSTANT(SIG_ALGO_ECDSA_SHA256, "http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256");
SWIG_STRING_CONSTANT(SIG_ALGO_ECDSA_SHA384, "http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384");
SWIG_STRING_CONSTANT(SIG_ALGO_ECDSA_SHA512, "http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512");
SWIG_STRING_CONSTANT(DIGEST_ALGO_SHA1, "http://www.w3.org/2000/09/xmldsig#sha1");
SWIG_STRING_CONSTANT(DIGEST_ALGO_SHA224, "http://www.w3.org/2001/04/xmldsig-more#sha224");
SWIG_STRING_CONSTANT(DIGEST_ALGO_SHA256, "http://www.w3.org/2001/04/xmlenc#sha256");
SWIG_STRING_CONSTANT(DIGEST_ALGO_SHA384, "http://www.w3.org/2001/04/xmldsig-more#sha384");
SWIG_STRING_CONSTANT(DIGEST_ALGO_SHA512, "http://www.w3.org/2001/04/xmlenc#sha512");
SWIG_STRING_CONSTANT(SIG_ALGO, "http://www.w3.org/2000/09/xmldsig#rsa-sha1");
SWIG_STRING_CONSTANT(SIG_ALGO_URLENC, "http://www.w3.org/2000/09/xmldsig%23rsa-sha1");
SWIG_LONG_CONSTANT(SIG_SIZE, 1024);
SWIG_STRING_CONSTANT(DIGEST_ALGO, "http://www.w3.org/2000/09/xmldsig#sha1");
SWIG_STRING_CONSTANT(CANON_ALGO, "http://www.w3.org/2001/10/xml-exc-c14n#");
SWIG_STRING_CONSTANT(ENVELOPED_ALGO, "http://www.w3.org/2000/09/xmldsig#enveloped-signature");
SWIG_STRING_CONSTANT(ENC_ALGO_TRIPLEDES_CBC, "http://www.w3.org/2001/04/xmlenc#tripledes-cbc");
SWIG_STRING_CONSTANT(ENC_ALGO_AES128_CBC, "http://www.w3.org/2001/04/xmlenc#aes128-cbc");
SWIG_STRING_CONSTANT(ENC_ALGO_AES192_CBC, "http://www.w3.org/2001/04/xmlenc#aes192-cbc");
SWIG_STRING_CONSTANT(ENC_ALGO_AES256_CBC, "http://www.w3.org/2001/04/xmlenc#aes256-cbc");
SWIG_STRING_CONSTANT(ENC_ALGO_AES256_GCM, "http://www.w3.org/2001/04/xmlenc11#aes256-gcm");
SWIG_STRING_CONSTANT(ENC_ALGO, "http://www.w3.org/2001/04/xmlenc11#aes256-gcm");
SWIG_STRING_CONSTANT(ENC_KEYTRAN_RSA_1_5, "http://www.w3.org/2001/04/xmlenc#rsa-1_5");
SWIG_STRING_CONSTANT(ENC_KEYTRAN_RSA_OAEP, "http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p");
SWIG_STRING_CONSTANT(ENC_KEYTRAN_ALGO, "http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p");
SWIG_STRING_CONSTANT(ENC_ENCKEY_METH, "http://www.w3.org/2001/04/xmlenc#EncryptedKey");
SWIG_STRING_CONSTANT(ENC_TYPE_ELEMENT, "http://www.w3.org/2001/04/xmlenc#Element");
SWIG_STRING_CONSTANT(ENC_TYPE_CONTENT, "http://www.w3.org/2001/04/xmlenc#Content");
SWIG_STRING_CONSTANT(ZXID_PATH, "/var/zxid/");
SWIG_STRING_CONSTANT(ZXID_CONF_FILE, "zxid.conf");
SWIG_STRING_CONSTANT(ZXID_CONF_PATH, "/var/zxid/zxid.conf");
SWIG_STRING_CONSTANT(ZXID_PATH_OPT, "ZXPATH");
SWIG_STRING_CONSTANT(ZXID_ENV_PREFIX, "ZXID_");
SWIG_LONG_CONSTANT(ZXID_CONF_MAGIC, 0x900dc07f);
SWIG_LONG_CONSTANT(ZXID_CGI_MAGIC, 0x900d0c91);
SWIG_LONG_CONSTANT(ZXID_SES_MAGIC, 0x900d05e5);
SWIG_LONG_CONSTANT(ZXID_MAP_RULE_RENAME, 0x00);
SWIG_LONG_CONSTANT(ZXID_MAP_RULE_DEL, 0x01);
SWIG_LONG_CONSTANT(ZXID_MAP_RULE_RESET, 0x02);
SWIG_LONG_CONSTANT(ZXID_MAP_RULE_FEIDEDEC, 0x03);
SWIG_LONG_CONSTANT(ZXID_MAP_RULE_FEIDEENC, 0x04);
SWIG_LONG_CONSTANT(ZXID_MAP_RULE_UNSB64_INF, 0x05);
SWIG_LONG_CONSTANT(ZXID_MAP_RULE_DEF_SB64, 0x06);
SWIG_LONG_CONSTANT(ZXID_MAP_RULE_UNSB64, 0x07);
SWIG_LONG_CONSTANT(ZXID_MAP_RULE_SB64, 0x08);
SWIG_LONG_CONSTANT(ZXID_MAP_RULE_ENC_MASK, 0x0f);
SWIG_LONG_CONSTANT(ZXID_MAP_RULE_WRAP_A7N, 0x10);
SWIG_LONG_CONSTANT(ZXID_MAP_RULE_WRAP_X509, 0x20);
SWIG_LONG_CONSTANT(ZXID_MAP_RULE_WRAP_FILE, 0x30);
SWIG_LONG_CONSTANT(ZXID_MAP_RULE_WRAP_MASK, 0x30);
SWIG_LONG_CONSTANT(ZXID_PSOBJ_BUDDY, 0);
SWIG_LONG_CONSTANT(ZXID_PSOBJ_COLLECTION, 1);
SWIG_STRING_CONSTANT(ZXID_SES_DIR, "ses/");
SWIG_STRING_CONSTANT(ZXID_USER_DIR, "user/");
SWIG_STRING_CONSTANT(ZXID_UID_DIR, "uid/");
SWIG_STRING_CONSTANT(ZXID_NID_DIR, "nid/");
SWIG_STRING_CONSTANT(ZXID_PEM_DIR, "pem/");
SWIG_STRING_CONSTANT(ZXID_COT_DIR, "cot/");
SWIG_STRING_CONSTANT(ZXID_DIMD_DIR, "dimd/");
SWIG_STRING_CONSTANT(ZXID_INV_DIR, "inv/");
SWIG_STRING_CONSTANT(ZXID_LOG_DIR, "log/");
SWIG_STRING_CONSTANT(ZXID_PCODE_DIR, "pcode/");
SWIG_STRING_CONSTANT(ZXID_DCR_DIR, "dcr/");
SWIG_STRING_CONSTANT(ZXID_RSR_DIR, "rsr/");
SWIG_LONG_CONSTANT(ZXID_MAX_USER, (256));
SWIG_LONG_CONSTANT(ZXID_INIT_MD_BUF, (8*1024-1));
SWIG_LONG_CONSTANT(ZXID_INIT_SOAP_BUF, (8*1024-1));
SWIG_LONG_CONSTANT(ZXID_MAX_CURL_BUF, (10*1024*1024-1));
SWIG_LONG_CONSTANT(ZXID_MAX_EID, (1024));
SWIG_LONG_CONSTANT(ZXID_MAX_DIR, (4*1024));
SWIG_LONG_CONSTANT(ZXID_MAX_SP_NAME_BUF, (1024));
SWIG_LONG_CONSTANT(ZXID_AUTO_EXIT, 0x01);
SWIG_LONG_CONSTANT(ZXID_AUTO_REDIR, 0x02);
SWIG_LONG_CONSTANT(ZXID_AUTO_SOAPC, 0x04);
SWIG_LONG_CONSTANT(ZXID_AUTO_SOAPH, 0x08);
SWIG_LONG_CONSTANT(ZXID_AUTO_METAC, 0x10);
SWIG_LONG_CONSTANT(ZXID_AUTO_METAH, 0x20);
SWIG_LONG_CONSTANT(ZXID_AUTO_LOGINC, 0x40);
SWIG_LONG_CONSTANT(ZXID_AUTO_LOGINH, 0x80);
SWIG_LONG_CONSTANT(ZXID_AUTO_MGMTC, 0x100);
SWIG_LONG_CONSTANT(ZXID_AUTO_MGMTH, 0x200);
SWIG_LONG_CONSTANT(ZXID_AUTO_FORMF, 0x400);
SWIG_LONG_CONSTANT(ZXID_AUTO_FORMT, 0x800);
SWIG_LONG_CONSTANT(ZXID_AUTO_ALL, 0xfff);
SWIG_LONG_CONSTANT(ZXID_AUTO_DEBUG, 0x1000);
SWIG_LONG_CONSTANT(ZXID_AUTO_FMTQ, 0x2000);
SWIG_LONG_CONSTANT(ZXID_AUTO_FMTJ, 0x4000);
SWIG_LONG_CONSTANT(ZXID_SSO_SIGN_A7N, 0x01);
SWIG_LONG_CONSTANT(ZXID_SSO_SIGN_RESP, 0x02);
SWIG_LONG_CONSTANT(ZXID_SSO_SIGN_A7N_SIMPLE, 0x04);
SWIG_LONG_CONSTANT(ZXID_SIGN_HDR, 0x01);
SWIG_LONG_CONSTANT(ZXID_SIGN_BDY, 0x02);
SWIG_LONG_CONSTANT(ZXSIG_OK, 0);
SWIG_LONG_CONSTANT(ZXSIG_BAD_DALGO, 1);
SWIG_LONG_CONSTANT(ZXSIG_DIGEST_LEN, 2);
SWIG_LONG_CONSTANT(ZXSIG_BAD_DIGEST, 3);
SWIG_LONG_CONSTANT(ZXSIG_BAD_SALGO, 4);
SWIG_LONG_CONSTANT(ZXSIG_BAD_CERT, 5);
SWIG_LONG_CONSTANT(ZXSIG_VFY_FAIL, 6);
SWIG_LONG_CONSTANT(ZXSIG_NO_SIG, 7);
SWIG_LONG_CONSTANT(ZXSIG_TIMEOUT, 8);
SWIG_LONG_CONSTANT(ZXSIG_AUDIENCE, 9);
SWIG_STRING_CONSTANT(ZXBUS_CH_DIR, "ch/");
SWIG_STRING_CONSTANT(ZXLOG_RELY_DIR, "rely/");
SWIG_STRING_CONSTANT(ZXLOG_ISSUE_DIR, "issue/");
SWIG_STRING_CONSTANT(ZXLOG_A7N_KIND, "/a7n/");
SWIG_STRING_CONSTANT(ZXLOG_JWT_KIND, "/jwt/");
SWIG_STRING_CONSTANT(ZXLOG_AZC_KIND, "/azc/");
SWIG_STRING_CONSTANT(ZXLOG_MSG_KIND, "/msg/");
SWIG_STRING_CONSTANT(ZXLOG_WIR_KIND, "/wir/");
SWIG_LONG_CONSTANT(ZXID_DAP_SCOPE_BASE, 0);
SWIG_LONG_CONSTANT(ZXID_DAP_SCOPE_SINGLE, 1);
SWIG_LONG_CONSTANT(ZXID_DAP_SCOPE_SUBTREE, 2);
SWIG_LONG_CONSTANT(ZXID_CDC_CHOICE_ALWAYS_FIRST, 1);
SWIG_LONG_CONSTANT(ZXID_CDC_CHOICE_ALWAYS_LAST, 2);
SWIG_LONG_CONSTANT(ZXID_CDC_CHOICE_ALWAYS_ONLY, 3);
SWIG_LONG_CONSTANT(ZXID_CDC_CHOICE_UI_PREF, 4);
SWIG_LONG_CONSTANT(ZXID_CDC_CHOICE_UI_NOPREF, 5);
SWIG_LONG_CONSTANT(ZXID_CDC_CHOICE_UI_ONLY_CDC, 6);
SWIG_LONG_CONSTANT(ZXID_DEFAULT_PR_IX, 0);
SWIG_LONG_CONSTANT(ZXID_SAML2_ART, 1);
SWIG_LONG_CONSTANT(ZXID_SAML2_POST, 2);
SWIG_LONG_CONSTANT(ZXID_SAML2_SOAP, 3);
SWIG_LONG_CONSTANT(ZXID_SAML2_PAOS, 4);
SWIG_LONG_CONSTANT(ZXID_SAML2_POST_SIMPLE_SIGN, 5);
SWIG_LONG_CONSTANT(ZXID_SAML2_REDIR, 6);
SWIG_LONG_CONSTANT(ZXID_SAML2_URI, 7);
SWIG_LONG_CONSTANT(ZXID_OIDC1_CODE, 8);
SWIG_LONG_CONSTANT(ZXID_OIDC1_ID_TOK_TOK, 9);
SWIG_LONG_CONSTANT(ZXID_SLO_SVC, 1);
SWIG_LONG_CONSTANT(ZXID_MNI_SVC, 2);
SWIG_LONG_CONSTANT(ZXID_ACS_SVC, 3);
SWIG_LONG_CONSTANT(ZXID_SEC_MECH_NULL, 1);
SWIG_LONG_CONSTANT(ZXID_SEC_MECH_BEARER, 2);
SWIG_LONG_CONSTANT(ZXID_SEC_MECH_SAML, 3);
SWIG_LONG_CONSTANT(ZXID_SEC_MECH_X509, 4);
SWIG_LONG_CONSTANT(ZXID_SEC_MECH_PEERS, 5);
SWIG_LONG_CONSTANT(ZXID_FAIL, 0);
SWIG_LONG_CONSTANT(ZXID_OK, 1);
SWIG_LONG_CONSTANT(ZXID_REDIR_OK, 2);
SWIG_LONG_CONSTANT(ZXID_SSO_OK, 3);
SWIG_LONG_CONSTANT(ZXID_IDP_REQ, 4);
SWIG_STRING_CONSTANT(SAML2_PROTO, "urn:oasis:names:tc:SAML:2.0:protocol");
SWIG_STRING_CONSTANT(SAML2_VERSION, "2.0");
SWIG_STRING_CONSTANT(SAML2_SC_SUCCESS, "urn:oasis:names:tc:SAML:2.0:status:Success");
SWIG_STRING_CONSTANT(SAML2_SC_REQUESTER, "urn:oasis:names:tc:SAML:2.0:status:Requester");
SWIG_STRING_CONSTANT(SAML2_SC_RESPONDER, "urn:oasis:names:tc:SAML:2.0:status:Responder");
SWIG_STRING_CONSTANT(SAML2_SC_VERSION, "urn:oasis:names:tc:SAML:2.0:status:VersionMismatch");
SWIG_STRING_CONSTANT(SAML2_SC_AUTHNFAIL, "urn:oasis:names:tc:SAML:2.0:status:AuthnFailed");
SWIG_STRING_CONSTANT(SAML2_SC_INVATTRNV, "urn:oasis:names:tc:SAML:2.0:status:InvalidAttrnameOrValue");
SWIG_STRING_CONSTANT(SAML2_SC_INVNIDPOL, "urn:oasis:names:tc:SAML:2.0:status:InvalidNameIDPolicy");
SWIG_STRING_CONSTANT(SAML2_SC_NOAUTNCTX, "urn:oasis:names:tc:SAML:2.0:status:NoAuthnContext");
SWIG_STRING_CONSTANT(SAML2_SC_NOAVALIDP, "urn:oasis:names:tc:SAML:2.0:status:NoAvailableIDP");
SWIG_STRING_CONSTANT(SAML2_SC_NOPASSIVE, "urn:oasis:names:tc:SAML:2.0:status:NoPassive");
SWIG_STRING_CONSTANT(SAML2_SC_NOSUPPIDP, "urn:oasis:names:tc:SAML:2.0:status:NoSupportedIDP");
SWIG_STRING_CONSTANT(SAML2_SC_PARLOGOUT, "urn:oasis:names:tc:SAML:2.0:status:PartialLogout");
SWIG_STRING_CONSTANT(SAML2_SC_PROXYCEXC, "urn:oasis:names:tc:SAML:2.0:status:ProxyCountExceeded");
SWIG_STRING_CONSTANT(SAML2_SC_REQDENIED, "urn:oasis:names:tc:SAML:2.0:status:RequestDenied");
SWIG_STRING_CONSTANT(SAML2_SC_REQUNSUPP, "urn:oasis:names:tc:SAML:2.0:status:RequestUnsupported");
SWIG_STRING_CONSTANT(SAML2_SC_REQVERDEP, "urn:oasis:names:tc:SAML:2.0:status:RequestVersionDeprecated");
SWIG_STRING_CONSTANT(SAML2_SC_REQVERHIG, "urn:oasis:names:tc:SAML:2.0:status:RequestVersionTooHigh");
SWIG_STRING_CONSTANT(SAML2_SC_REQVERLOW, "urn:oasis:names:tc:SAML:2.0:status:RequestVersionTooLow");
SWIG_STRING_CONSTANT(SAML2_SC_RESONRECG, "urn:oasis:names:tc:SAML:2.0:status:ResourceNotRecognized");
SWIG_STRING_CONSTANT(SAML2_SC_TOOMNYRES, "urn:oasis:names:tc:SAML:2.0:status:TooManyResponses");
SWIG_STRING_CONSTANT(SAML2_SC_UNKATTPRO, "urn:oasis:names:tc:SAML:2.0:status:UnknownAttributeProfile");
SWIG_STRING_CONSTANT(SAML2_SC_UNKPRNCPL, "urn:oasis:names:tc:SAML:2.0:status:UnknownPrincipal");
SWIG_STRING_CONSTANT(SAML2_SC_UNSUPPBIN, "urn:oasis:names:tc:SAML:2.0:status:UnsupportedBinding");
SWIG_STRING_CONSTANT(SAML_AUTHCTX_PASSWORDPROTECTED, "urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport");
SWIG_STRING_CONSTANT(SAML_AUTHCTX_PASSWORD, "urn:oasis:names:tc:SAML:2.0:ac:classes:Password");
SWIG_STRING_CONSTANT(SAML_AUTHCTX_SSL_TLS_CERT, "urn:oasis:names:tc:SAML:2.0:ac:classes:TLSClient");
SWIG_STRING_CONSTANT(SAML_AUTHCTX_PREVSESS, "urn:oasis:names:tc:SAML:2.0:ac:classes:PreviousSession");
SWIG_STRING_CONSTANT(SAML_AUTHCTX_UNSPCFD, "urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified");
SWIG_STRING_CONSTANT(SAML_AUTHCTX_INPROT, "urn:oasis:names:tc:SAML:2.0:ac:classes:InternetProtocol");
SWIG_STRING_CONSTANT(SAML2_UNSPECIFIED_NID_FMT, "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified");
SWIG_STRING_CONSTANT(SAML2_EMAILADDR_NID_FMT, "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress");
SWIG_STRING_CONSTANT(SAML2_X509_NID_FMT, "urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName");
SWIG_STRING_CONSTANT(SAML2_WINDOMAINQN_NID_FMT, "urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName");
SWIG_STRING_CONSTANT(SAML2_KERBEROS_NID_FMT, "urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos");
SWIG_STRING_CONSTANT(SAML2_ENTITY_NID_FMT, "urn:oasis:names:tc:SAML:2.0:nameid-format:entity");
SWIG_STRING_CONSTANT(SAML2_PERSISTENT_NID_FMT, "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent");
SWIG_STRING_CONSTANT(SAML2_TRANSIENT_NID_FMT, "urn:oasis:names:tc:SAML:2.0:nameid-format:transient");
SWIG_STRING_CONSTANT(SAML2_SSO_BRWS, "urn:oasis:names:tc:SAML:2.0:profiles:SSO:browser");
SWIG_STRING_CONSTANT(SAML2_SSO_ECP, "urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp");
SWIG_STRING_CONSTANT(SAML2_SLO, "urn:oasis:names:tc:SAML:2.0:profiles:SSO:logout");
SWIG_STRING_CONSTANT(SAML2_NIREG, "urn:oasis:names:tc:SAML:2.0:profiles:SSO:nameid-mgmt");
SWIG_STRING_CONSTANT(SAML2_NIMAP, "urn:oasis:names:tc:SAML:2.0:profiles:SSO:nameidmapping");
SWIG_STRING_CONSTANT(SAML2_ARTIFACT, "urn:oasis:names:tc:SAML:2.0:profiles:SSO:artifact");
SWIG_STRING_CONSTANT(SAML2_QUERY, "urn:oasis:names:tc:SAML:2.0:profiles:SSO:query");
SWIG_STRING_CONSTANT(SAML2_PAOS, "urn:oasis:names:tc:SAML:2.0:bindings:PAOS");
SWIG_STRING_CONSTANT(SAML2_SOAP, "urn:oasis:names:tc:SAML:2.0:bindings:SOAP");
SWIG_STRING_CONSTANT(SAML2_REDIR, "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect");
SWIG_STRING_CONSTANT(SAML2_ART, "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact");
SWIG_STRING_CONSTANT(SAML2_POST, "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST");
SWIG_STRING_CONSTANT(SAML2_POST_SIMPLE_SIGN, "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign");
SWIG_STRING_CONSTANT(SAML2_URI, "urn:oasis:names:tc:SAML:2.0:bindings:URI");
SWIG_STRING_CONSTANT(OAUTH2_REDIR, "urn:zxid:OAUTH:2.0:bindings:HTTP-Redirect");
SWIG_STRING_CONSTANT(SAML2_AP_BASIC, "urn:oasis:names:tc:SAML:2.0:profiles:attribute:basic");
SWIG_STRING_CONSTANT(SAML2_AP_X500, "urn:oasis:names:tc:SAML:2.0:profiles:attribute:X500");
SWIG_STRING_CONSTANT(SAML2_AP_UUID, "urn:oasis:names:tc:SAML:2.0:profiles:attribute:UUID");
SWIG_STRING_CONSTANT(SAML2_AP_DCE, "urn:oasis:names:tc:SAML:2.0:profiles:attribute:DCE");
SWIG_STRING_CONSTANT(SAML2_AP_XACML, "urn:oasis:names:tc:SAML:2.0:profiles:attribute:XACML");
SWIG_STRING_CONSTANT(ATTRNAME_UNSPECIFIED, "urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified");
SWIG_STRING_CONSTANT(ATTRNAME_BASIC, "urn:oasis:names:tc:SAML:2.0:attrname-format:basic");
SWIG_STRING_CONSTANT(SOAP_ACTOR_NEXT, "http://schemas.xmlsoap.org/soap/actor/next");
SWIG_STRING_CONSTANT(SAML2_BEARER, "urn:oasis:names:tc:SAML:2.0:cm:bearer");
SWIG_STRING_CONSTANT(SAML2_SOAP_ACTION, "http://www.oasis-open.org/committees/security");
SWIG_STRING_CONSTANT(ACTION_RW, "urn:oasis:names:tc:SAML:1.0:action:rwedc");
SWIG_STRING_CONSTANT(ACTION_RWN, "urn:oasis:names:tc:SAML:1.0:action:rwedc-negation");
SWIG_STRING_CONSTANT(ACTION_GHPP, "urn:oasis:names:tc:SAML:1.0:action:ghpp");
SWIG_STRING_CONSTANT(ACTION_UNIX, "urn:oasis:names:tc:SAML:1.0:action:unix");
SWIG_STRING_CONSTANT(PAOS_CONTENT, "application/vnd.paos+xml");
/* end cinit subsection */

    return SUCCESS;
}

PHP_RINIT_FUNCTION(zxid)
{
/* rinit section */

/* vinit subsection */
/* end vinit subsection */

    return SUCCESS;
}

PHP_MSHUTDOWN_FUNCTION(zxid)
{
/* shutdown section */
#ifdef ZTS
    ts_free_id(zxid_globals_id);
#endif
    return SUCCESS;
}

PHP_RSHUTDOWN_FUNCTION(zxid)
{
/* rshutdown section */

    return SUCCESS;
}

PHP_MINFO_FUNCTION(zxid)
{
}
/* end init section */
