/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.29
 * 
 * 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. 
 * ----------------------------------------------------------------------------- */

/* -----------------------------------------------------------------------------
 *  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)
#   if (__SUNPRO_CC <= 0x560)
#     define SWIGTEMPLATEDISAMBIGUATOR template
#   else
#     define SWIGTEMPLATEDISAMBIGUATOR 
#   endif
# 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 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)
# define _CRT_SECURE_NO_DEPRECATE
#endif


/* Fix for jlong on some versions of gcc on Windows */
#if defined(__GNUC__) && !defined(__INTELC__)
  typedef long long __int64;
#endif

/* Fix for jlong on 64-bit x86 Solaris */
#if defined(__x86_64)
# ifdef _LP64
#   undef _LP64
# endif
#endif

#include <jni.h>
#include <stdlib.h>
#include <string.h>


/* Support for throwing Java exceptions */
typedef enum {
  SWIG_JavaOutOfMemoryError = 1, 
  SWIG_JavaIOException, 
  SWIG_JavaRuntimeException, 
  SWIG_JavaIndexOutOfBoundsException,
  SWIG_JavaArithmeticException,
  SWIG_JavaIllegalArgumentException,
  SWIG_JavaNullPointerException,
  SWIG_JavaDirectorPureVirtual,
  SWIG_JavaUnknownError
} SWIG_JavaExceptionCodes;

typedef struct {
  SWIG_JavaExceptionCodes code;
  const char *java_exception;
} SWIG_JavaExceptions_t;


static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionCodes code, const char *msg) {
  jclass excep;
  static const SWIG_JavaExceptions_t java_exceptions[] = {
    { SWIG_JavaOutOfMemoryError, "java/lang/OutOfMemoryError" },
    { SWIG_JavaIOException, "java/io/IOException" },
    { SWIG_JavaRuntimeException, "java/lang/RuntimeException" },
    { SWIG_JavaIndexOutOfBoundsException, "java/lang/IndexOutOfBoundsException" },
    { SWIG_JavaArithmeticException, "java/lang/ArithmeticException" },
    { SWIG_JavaIllegalArgumentException, "java/lang/IllegalArgumentException" },
    { SWIG_JavaNullPointerException, "java/lang/NullPointerException" },
    { SWIG_JavaDirectorPureVirtual, "java/lang/RuntimeException" },
    { SWIG_JavaUnknownError,  "java/lang/UnknownError" },
    { (SWIG_JavaExceptionCodes)0,  "java/lang/UnknownError" } };
  const SWIG_JavaExceptions_t *except_ptr = java_exceptions;

  while (except_ptr->code != code && except_ptr->code)
    except_ptr++;

  (*jenv)->ExceptionClear(jenv);
  excep = (*jenv)->FindClass(jenv, except_ptr->java_exception);
  if (excep)
    (*jenv)->ThrowNew(jenv, excep, msg);
}


/* Contract support */

#define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, msg); return nullreturn; } else



#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"



#ifdef __cplusplus
extern "C" {
#endif

JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXERR_1EOF_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x0001;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXERR_1MISMATCH_1CLOSE_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x0002;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXERR_1BAD_1ATTR_1NS_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x0004;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXERR_1BAD_1ELEM_1NS_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x0008;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXERR_1MISSING_1ATTR_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x0010;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXERR_1EXTRA_1ATTR_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x0020;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXERR_1MISSING_1ELEM_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x0040;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXERR_1EXTRA_1ELEM_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x0080;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXERR_1ELEM_1ORDER_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x0100;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXERR_1BAD_1NS_1PREFIX_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x0200;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXERR_1TAG_1NOT_1CLOSED_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x0400;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXERR_1MASK_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x7fff;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXERR_1ATTR_1FLAG_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x8000;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  arg2 = *(struct zx_ns_s **)&jarg2; 
  if (arg1) (arg1)->n = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  result = (struct zx_ns_s *) ((arg1)->n);
  *(struct zx_ns_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1m_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  arg2 = *(struct zx_ns_s **)&jarg2; 
  if (arg1) (arg1)->m = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1m_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  result = (struct zx_ns_s *) ((arg1)->m);
  *(struct zx_ns_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1seen_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  arg2 = *(struct zx_ns_s **)&jarg2; 
  if (arg1) (arg1)->seen = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1seen_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  result = (struct zx_ns_s *) ((arg1)->seen);
  *(struct zx_ns_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1seen_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  arg2 = *(struct zx_ns_s **)&jarg2; 
  if (arg1) (arg1)->seen_n = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1seen_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  result = (struct zx_ns_s *) ((arg1)->seen_n);
  *(struct zx_ns_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1seen_1p_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  arg2 = *(struct zx_ns_s **)&jarg2; 
  if (arg1) (arg1)->seen_p = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1seen_1p_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  result = (struct zx_ns_s *) ((arg1)->seen_p);
  *(struct zx_ns_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1seen_1pop_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  arg2 = *(struct zx_ns_s **)&jarg2; 
  if (arg1) (arg1)->seen_pop = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1seen_1pop_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  result = (struct zx_ns_s *) ((arg1)->seen_pop);
  *(struct zx_ns_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1inc_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  arg2 = *(struct zx_ns_s **)&jarg2; 
  if (arg1) (arg1)->inc_n = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1inc_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  result = (struct zx_ns_s *) ((arg1)->inc_n);
  *(struct zx_ns_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1prefix_1len_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  arg2 = (int)jarg2; 
  if (arg1) (arg1)->prefix_len = arg2;
  
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1prefix_1len_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jint jresult = 0 ;
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  result = (int) ((arg1)->prefix_len);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1prefix_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->prefix) free((char*)arg1->prefix);
    if (arg2) {
      arg1->prefix = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->prefix,arg2);
    } else {
      arg1->prefix = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1prefix_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  result = (char *) ((arg1)->prefix);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1url_1len_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  arg2 = (int)jarg2; 
  if (arg1) (arg1)->url_len = arg2;
  
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1url_1len_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jint jresult = 0 ;
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  result = (int) ((arg1)->url_len);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1url_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->url) free((char*)arg1->url);
    if (arg2) {
      arg1->url = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->url,arg2);
    } else {
      arg1->url = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1url_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  result = (char *) ((arg1)->url);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zx_1ns_1s(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  struct zx_ns_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (struct zx_ns_s *)(struct zx_ns_s *) calloc(1, sizeof(struct zx_ns_s));
  *(struct zx_ns_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zx_1ns_1s(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  free((char *) arg1);
  
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1base_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->base) free((char*)arg1->base);
    if (arg2) {
      arg1->base = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->base,arg2);
    } else {
      arg1->base = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1base_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  result = (char *) ((arg1)->base);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1p_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->p) free((char*)arg1->p);
    if (arg2) {
      arg1->p = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->p,arg2);
    } else {
      arg1->p = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1p_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  result = (char *) ((arg1)->p);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1lim_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->lim) free((char*)arg1->lim);
    if (arg2) {
      arg1->lim = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->lim,arg2);
    } else {
      arg1->lim = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1lim_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  result = (char *) ((arg1)->lim);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1ns_1tab_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_ns_s **)&jarg2; 
  if (arg1) (arg1)->ns_tab = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1ns_1tab_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  result = (struct zx_ns_s *) ((arg1)->ns_tab);
  *(struct zx_ns_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1unknown_1ns_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_ns_s **)&jarg2; 
  if (arg1) (arg1)->unknown_ns = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1unknown_1ns_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  result = (struct zx_ns_s *) ((arg1)->unknown_ns);
  *(struct zx_ns_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1guard_1seen_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_ns_s **)&jarg2; 
  if (arg1) (arg1)->guard_seen_n = *arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1guard_1seen_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  result = (struct zx_ns_s *)& ((arg1)->guard_seen_n);
  *(struct zx_ns_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1guard_1seen_1p_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_ns_s **)&jarg2; 
  if (arg1) (arg1)->guard_seen_p = *arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1guard_1seen_1p_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  result = (struct zx_ns_s *)& ((arg1)->guard_seen_p);
  *(struct zx_ns_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1exclude_1sig_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  void *arg2 = (void *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(void **)&jarg2; 
  if (arg1) (arg1)->exclude_sig = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1exclude_1sig_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  void *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  result = (void *) ((arg1)->exclude_sig);
  *(void **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1inc_1ns_1len_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_ns_s **)&jarg2; 
  if (arg1) (arg1)->inc_ns_len = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1inc_1ns_1len_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  result = (struct zx_ns_s *) ((arg1)->inc_ns_len);
  *(struct zx_ns_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1inc_1ns_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_ns_s **)&jarg2; 
  if (arg1) (arg1)->inc_ns = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1inc_1ns_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  result = (struct zx_ns_s *) ((arg1)->inc_ns);
  *(struct zx_ns_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1malloc_1func_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  void *(*arg2)(size_t) = (void *(*)(size_t)) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(void *(**)(size_t))&jarg2; 
  if (arg1) (arg1)->malloc_func = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1malloc_1func_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  void *(*result)(size_t) = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  result = (void *(*)(size_t)) ((arg1)->malloc_func);
  *(void *(**)(size_t))&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1realloc_1func_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  void *(*arg2)(void *,size_t) = (void *(*)(void *,size_t)) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(void *(**)(void *,size_t))&jarg2; 
  if (arg1) (arg1)->realloc_func = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1realloc_1func_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  void *(*result)(void *,size_t) = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  result = (void *(*)(void *,size_t)) ((arg1)->realloc_func);
  *(void *(**)(void *,size_t))&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1free_1func_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  void (*arg2)(void *) = (void (*)(void *)) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(void (**)(void *))&jarg2; 
  if (arg1) (arg1)->free_func = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1free_1func_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  void (*result)(void *) = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  result = (void (*)(void *)) ((arg1)->free_func);
  *(void (**)(void *))&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zx_1ctx(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  struct zx_ctx *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (struct zx_ctx *)(struct zx_ctx *) calloc(1, sizeof(struct zx_ctx));
  *(struct zx_ctx **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zx_1ctx(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  free((char *) arg1);
  
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1node_1s_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_node_s *arg1 = (struct zx_node_s *) 0 ;
  struct zx_node_s *arg2 = (struct zx_node_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_node_s **)&jarg1; 
  arg2 = *(struct zx_node_s **)&jarg2; 
  if (arg1) (arg1)->n = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1node_1s_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_node_s *arg1 = (struct zx_node_s *) 0 ;
  struct zx_node_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_node_s **)&jarg1; 
  result = (struct zx_node_s *) ((arg1)->n);
  *(struct zx_node_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1node_1s_1wo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_node_s *arg1 = (struct zx_node_s *) 0 ;
  struct zx_node_s *arg2 = (struct zx_node_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_node_s **)&jarg1; 
  arg2 = *(struct zx_node_s **)&jarg2; 
  if (arg1) (arg1)->wo = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1node_1s_1wo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_node_s *arg1 = (struct zx_node_s *) 0 ;
  struct zx_node_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_node_s **)&jarg1; 
  result = (struct zx_node_s *) ((arg1)->wo);
  *(struct zx_node_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1node_1s_1ns_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_node_s *arg1 = (struct zx_node_s *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_node_s **)&jarg1; 
  arg2 = *(struct zx_ns_s **)&jarg2; 
  if (arg1) (arg1)->ns = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1node_1s_1ns_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_node_s *arg1 = (struct zx_node_s *) 0 ;
  struct zx_ns_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_node_s **)&jarg1; 
  result = (struct zx_ns_s *) ((arg1)->ns);
  *(struct zx_ns_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1node_1s_1tok_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jshort jarg2) {
  struct zx_node_s *arg1 = (struct zx_node_s *) 0 ;
  short arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_node_s **)&jarg1; 
  arg2 = (short)jarg2; 
  if (arg1) (arg1)->tok = arg2;
  
}


JNIEXPORT jshort JNICALL Java_zxidjava_zxidjniJNI_zx_1node_1s_1tok_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jshort jresult = 0 ;
  struct zx_node_s *arg1 = (struct zx_node_s *) 0 ;
  short result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_node_s **)&jarg1; 
  result = (short) ((arg1)->tok);
  jresult = (jshort)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1node_1s_1err_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jshort jarg2) {
  struct zx_node_s *arg1 = (struct zx_node_s *) 0 ;
  short arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_node_s **)&jarg1; 
  arg2 = (short)jarg2; 
  if (arg1) (arg1)->err = arg2;
  
}


JNIEXPORT jshort JNICALL Java_zxidjava_zxidjniJNI_zx_1node_1s_1err_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jshort jresult = 0 ;
  struct zx_node_s *arg1 = (struct zx_node_s *) 0 ;
  short result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_node_s **)&jarg1; 
  result = (short) ((arg1)->err);
  jresult = (jshort)result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zx_1node_1s(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  struct zx_node_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (struct zx_node_s *)(struct zx_node_s *) calloc(1, sizeof(struct zx_node_s));
  *(struct zx_node_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zx_1node_1s(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  struct zx_node_s *arg1 = (struct zx_node_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_node_s **)&jarg1; 
  free((char *) arg1);
  
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1elem_1s_1g_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  struct zx_node_s *arg2 = (struct zx_node_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_elem_s **)&jarg1; 
  arg2 = *(struct zx_node_s **)&jarg2; 
  if (arg1) (arg1)->g = *arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1elem_1s_1g_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  struct zx_node_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_elem_s **)&jarg1; 
  result = (struct zx_node_s *)& ((arg1)->g);
  *(struct zx_node_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1elem_1s_1kids_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_elem_s **)&jarg1; 
  arg2 = *(struct zx_elem_s **)&jarg2; 
  if (arg1) (arg1)->kids = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1elem_1s_1kids_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  struct zx_elem_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_elem_s **)&jarg1; 
  result = (struct zx_elem_s *) ((arg1)->kids);
  *(struct zx_elem_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1elem_1s_1any_1attr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  struct zx_any_attr_s *arg2 = (struct zx_any_attr_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_elem_s **)&jarg1; 
  arg2 = *(struct zx_any_attr_s **)&jarg2; 
  if (arg1) (arg1)->any_attr = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1elem_1s_1any_1attr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  struct zx_any_attr_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_elem_s **)&jarg1; 
  result = (struct zx_any_attr_s *) ((arg1)->any_attr);
  *(struct zx_any_attr_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1elem_1s_1any_1elem_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  struct zx_any_elem_s *arg2 = (struct zx_any_elem_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_elem_s **)&jarg1; 
  arg2 = *(struct zx_any_elem_s **)&jarg2; 
  if (arg1) (arg1)->any_elem = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1elem_1s_1any_1elem_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  struct zx_any_elem_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_elem_s **)&jarg1; 
  result = (struct zx_any_elem_s *) ((arg1)->any_elem);
  *(struct zx_any_elem_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1elem_1s_1xmlns_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_elem_s **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  if (arg1) (arg1)->xmlns = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1elem_1s_1xmlns_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_elem_s **)&jarg1; 
  result = (struct zx_str *) ((arg1)->xmlns);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1elem_1s_1content_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_elem_s **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  if (arg1) (arg1)->content = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1elem_1s_1content_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_elem_s **)&jarg1; 
  result = (struct zx_str *) ((arg1)->content);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zx_1elem_1s(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  struct zx_elem_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (struct zx_elem_s *)(struct zx_elem_s *) calloc(1, sizeof(struct zx_elem_s));
  *(struct zx_elem_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zx_1elem_1s(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_elem_s **)&jarg1; 
  free((char *) arg1);
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1new_1simple_1elem(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zx_elem_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  result = (struct zx_elem_s *)zx_new_simple_elem(arg1,arg2);
  *(struct zx_elem_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ref_1len_1simple_1elem(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  struct zx_elem_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  
  // The following jstring casts could probably be avoided with proper use of typemaps
  arg2 = (*jenv)->GetStringUTFLength(jenv, (jstring)jarg2);
  arg3 = (char*)(*jenv)->GetStringUTFChars(jenv, (jstring)jarg2, 0);
  // *** Whether we can free, or not, the obtained string depends
  //     on whether the zxid API will take reference to the string.
  
  result = (struct zx_elem_s *)zx_ref_len_simple_elem(arg1,arg2,arg3);
  *(struct zx_elem_s **)&jresult = result; 
  (*jenv)->ReleaseStringUTFChars(jenv, (jstring)jarg2, arg3);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ref_1simple_1elem(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zx_elem_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (struct zx_elem_s *)zx_ref_simple_elem(arg1,arg2);
  *(struct zx_elem_s **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1dup_1len_1simple_1elem(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  struct zx_elem_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  
  // The following jstring casts could probably be avoided with proper use of typemaps
  arg2 = (*jenv)->GetStringUTFLength(jenv, (jstring)jarg2);
  arg3 = (char*)(*jenv)->GetStringUTFChars(jenv, (jstring)jarg2, 0);
  // *** Whether we can free, or not, the obtained string depends
  //     on whether the zxid API will take reference to the string.
  
  result = (struct zx_elem_s *)zx_dup_len_simple_elem(arg1,arg2,arg3);
  *(struct zx_elem_s **)&jresult = result; 
  (*jenv)->ReleaseStringUTFChars(jenv, (jstring)jarg2, arg3);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1dup_1simple_1elem(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zx_elem_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (struct zx_elem_s *)zx_dup_simple_elem(arg1,arg2);
  *(struct zx_elem_s **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1str_1g_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  struct zx_node_s *arg2 = (struct zx_node_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_str **)&jarg1; 
  arg2 = *(struct zx_node_s **)&jarg2; 
  if (arg1) (arg1)->g = *arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1str_1g_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  struct zx_node_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_str **)&jarg1; 
  result = (struct zx_node_s *)& ((arg1)->g);
  *(struct zx_node_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1str_1len_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_str **)&jarg1; 
  arg2 = (int)jarg2; 
  if (arg1) (arg1)->len = arg2;
  
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1str_1len_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jint jresult = 0 ;
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_str **)&jarg1; 
  result = (int) ((arg1)->len);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1str_1s_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_str **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->s) free((char*)arg1->s);
    if (arg2) {
      arg1->s = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->s,arg2);
    } else {
      arg1->s = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1str_1s_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_str **)&jarg1; 
  result = (char *) ((arg1)->s);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zx_1str(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (struct zx_str *)(struct zx_str *) calloc(1, sizeof(struct zx_str));
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zx_1str(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_str **)&jarg1; 
  free((char *) arg1);
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ref_1str(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (struct zx_str *)zx_ref_str(arg1,arg2);
  *(struct zx_str **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ref_1len_1str(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  
  // The following jstring casts could probably be avoided with proper use of typemaps
  arg2 = (*jenv)->GetStringUTFLength(jenv, (jstring)jarg2);
  arg3 = (char*)(*jenv)->GetStringUTFChars(jenv, (jstring)jarg2, 0);
  // *** Whether we can free, or not, the obtained string depends
  //     on whether the zxid API will take reference to the string.
  
  result = (struct zx_str *)zx_ref_len_str(arg1,arg2,arg3);
  *(struct zx_str **)&jresult = result; 
  (*jenv)->ReleaseStringUTFChars(jenv, (jstring)jarg2, arg3);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1new_1len_1str(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = (int)jarg2; 
  result = (struct zx_str *)zx_new_len_str(arg1,arg2);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1dup_1str(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (struct zx_str *)zx_dup_str(arg1,arg2);
  *(struct zx_str **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1dup_1len_1str(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  
  // The following jstring casts could probably be avoided with proper use of typemaps
  arg2 = (*jenv)->GetStringUTFLength(jenv, (jstring)jarg2);
  arg3 = (char*)(*jenv)->GetStringUTFChars(jenv, (jstring)jarg2, 0);
  // *** Whether we can free, or not, the obtained string depends
  //     on whether the zxid API will take reference to the string.
  
  result = (struct zx_str *)zx_dup_len_str(arg1,arg2,arg3);
  *(struct zx_str **)&jresult = result; 
  (*jenv)->ReleaseStringUTFChars(jenv, (jstring)jarg2, arg3);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1alloc_1sprintf(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) {
  jstring jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int *arg2 = (int *) 0 ;
  char *arg3 = (char *) 0 ;
  void *arg4 = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(int **)&jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  result = (char *)zx_alloc_sprintf(arg1,arg2,arg3,arg4);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1strf(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  void *arg3 = 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (struct zx_str *)zx_strf(arg1,arg2,arg3);
  *(struct zx_str **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1str_1free(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  zx_str_free(arg1,arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1str_1to_1c(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jstring jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  result = (char *)zx_str_to_c(arg1,arg2);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1str_1conv(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  int *arg2 = (int *) 0 ;
  char **arg3 = (char **) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_str **)&jarg1; 
  arg2 = *(int **)&jarg2; 
  arg3 = *(char ***)&jarg3; 
  zx_str_conv(arg1,arg2,arg3);
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1str_1ends_1in(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3) {
  jint jresult = 0 ;
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_str **)&jarg1; 
  arg2 = (int)jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  result = (int)zx_str_ends_in(arg1,arg2,arg3);
  jresult = (jint)result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1any_1elem_1s_1gg_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_any_elem_s *arg1 = (struct zx_any_elem_s *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_any_elem_s **)&jarg1; 
  arg2 = *(struct zx_elem_s **)&jarg2; 
  if (arg1) (arg1)->gg = *arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1any_1elem_1s_1gg_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_any_elem_s *arg1 = (struct zx_any_elem_s *) 0 ;
  struct zx_elem_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_any_elem_s **)&jarg1; 
  result = (struct zx_elem_s *)& ((arg1)->gg);
  *(struct zx_elem_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1any_1elem_1s_1name_1len_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  struct zx_any_elem_s *arg1 = (struct zx_any_elem_s *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_any_elem_s **)&jarg1; 
  arg2 = (int)jarg2; 
  if (arg1) (arg1)->name_len = arg2;
  
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1any_1elem_1s_1name_1len_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jint jresult = 0 ;
  struct zx_any_elem_s *arg1 = (struct zx_any_elem_s *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_any_elem_s **)&jarg1; 
  result = (int) ((arg1)->name_len);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1any_1elem_1s_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zx_any_elem_s *arg1 = (struct zx_any_elem_s *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_any_elem_s **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->name) free((char*)arg1->name);
    if (arg2) {
      arg1->name = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->name,arg2);
    } else {
      arg1->name = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1any_1elem_1s_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zx_any_elem_s *arg1 = (struct zx_any_elem_s *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_any_elem_s **)&jarg1; 
  result = (char *) ((arg1)->name);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zx_1any_1elem_1s(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  struct zx_any_elem_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (struct zx_any_elem_s *)(struct zx_any_elem_s *) calloc(1, sizeof(struct zx_any_elem_s));
  *(struct zx_any_elem_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zx_1any_1elem_1s(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  struct zx_any_elem_s *arg1 = (struct zx_any_elem_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_any_elem_s **)&jarg1; 
  free((char *) arg1);
  
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1any_1attr_1s_1ss_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_any_attr_s *arg1 = (struct zx_any_attr_s *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_any_attr_s **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  if (arg1) (arg1)->ss = *arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1any_1attr_1s_1ss_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_any_attr_s *arg1 = (struct zx_any_attr_s *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_any_attr_s **)&jarg1; 
  result = (struct zx_str *)& ((arg1)->ss);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1any_1attr_1s_1name_1len_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  struct zx_any_attr_s *arg1 = (struct zx_any_attr_s *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_any_attr_s **)&jarg1; 
  arg2 = (int)jarg2; 
  if (arg1) (arg1)->name_len = arg2;
  
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1any_1attr_1s_1name_1len_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jint jresult = 0 ;
  struct zx_any_attr_s *arg1 = (struct zx_any_attr_s *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_any_attr_s **)&jarg1; 
  result = (int) ((arg1)->name_len);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1any_1attr_1s_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zx_any_attr_s *arg1 = (struct zx_any_attr_s *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_any_attr_s **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->name) free((char*)arg1->name);
    if (arg2) {
      arg1->name = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->name,arg2);
    } else {
      arg1->name = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1any_1attr_1s_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zx_any_attr_s *arg1 = (struct zx_any_attr_s *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_any_attr_s **)&jarg1; 
  result = (char *) ((arg1)->name);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zx_1any_1attr_1s(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  struct zx_any_attr_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (struct zx_any_attr_s *)(struct zx_any_attr_s *) calloc(1, sizeof(struct zx_any_attr_s));
  *(struct zx_any_attr_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zx_1any_1attr_1s(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  struct zx_any_attr_s *arg1 = (struct zx_any_attr_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_any_attr_s **)&jarg1; 
  free((char *) arg1);
  
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1memmem(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2, jstring jarg3, jint jarg4) {
  jstring jresult = 0 ;
  char *arg1 = (char *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  arg2 = (int)jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = (int)jarg4; 
  result = (char *)zx_memmem(arg1,arg2,arg3,arg4);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1alloc(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  void *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = (int)jarg2; 
  result = (void *)zx_alloc(arg1,arg2);
  *(void **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1zalloc(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  void *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = (int)jarg2; 
  result = (void *)zx_zalloc(arg1,arg2);
  *(void **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1free(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  void *arg2 = (void *) 0 ;
  void *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(void **)&jarg2; 
  result = (void *)zx_free(arg1,arg2);
  *(void **)&jresult = result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1dup_1cstr(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jstring jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (char *)zx_dup_cstr(arg1,arg2);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1reset_1ctx(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  zx_reset_ctx(arg1);
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1init_1ctx(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  struct zx_ctx *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (struct zx_ctx *)zx_init_ctx();
  *(struct zx_ctx **)&jresult = result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZX_1TOK_1XMLNS_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) (-4);
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZX_1TOK_1DATA_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) (-3);
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZX_1TOK_1NOT_1FOUND_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) (-2);
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1tok_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zx_tok *arg1 = (struct zx_tok *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_tok **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg2) {
      arg1->name = (char const *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->name,arg2);
    } else {
      arg1->name = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1tok_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zx_tok *arg1 = (struct zx_tok *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_tok **)&jarg1; 
  result = (char *) ((arg1)->name);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1tok_1prefix_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zx_tok *arg1 = (struct zx_tok *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_tok **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg2) {
      arg1->prefix = (char const *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->prefix,arg2);
    } else {
      arg1->prefix = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1tok_1prefix_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zx_tok *arg1 = (struct zx_tok *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_tok **)&jarg1; 
  result = (char *) ((arg1)->prefix);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1tok_1ns_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_tok *arg1 = (struct zx_tok *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_tok **)&jarg1; 
  arg2 = *(struct zx_ns_s **)&jarg2; 
  if (arg1) (arg1)->ns = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1tok_1ns_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_tok *arg1 = (struct zx_tok *) 0 ;
  struct zx_ns_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_tok **)&jarg1; 
  result = (struct zx_ns_s *) ((arg1)->ns);
  *(struct zx_ns_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zx_1tok(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  struct zx_tok *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (struct zx_tok *)(struct zx_tok *) calloc(1, sizeof(struct zx_tok));
  *(struct zx_tok **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zx_1tok(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  struct zx_tok *arg1 = (struct zx_tok *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_tok **)&jarg1; 
  free((char *) arg1);
  
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1date_1time_1to_1secs(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jint jresult = 0 ;
  char *arg1 = (char *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  result = (int)zx_date_time_to_secs(arg1);
  jresult = (jint)result; 
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_write2_1or_1append_1lock_1c_1path(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2, jstring jarg3, jint jarg4, jstring jarg5, jstring jarg6, jint jarg7, jint jarg8) {
  jint jresult = 0 ;
  char *arg1 = (char *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  char *arg6 = (char *) 0 ;
  int arg7 ;
  int arg8 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  arg2 = (int)jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = (int)jarg4; 
  arg5 = 0;
  if (jarg5) {
    arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
    if (!arg5) return 0;
  }
  arg6 = 0;
  if (jarg6) {
    arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
    if (!arg6) return 0;
  }
  arg7 = (int)jarg7; 
  arg8 = (int)jarg8; 
  result = (int)write2_or_append_lock_c_path(arg1,arg2,arg3,arg4,arg5,(char const *)arg6,arg7,arg8);
  jresult = (jint)result; 
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, arg5);
  if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, arg6);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1report_1openssl_1error(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jint jresult = 0 ;
  char *arg1 = (char *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  result = (int)zx_report_openssl_error((char const *)arg1);
  jresult = (jint)result; 
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1fix_1any_1elem_1dec(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jint jarg4) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_any_elem_s *arg2 = (struct zx_any_elem_s *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_any_elem_s **)&jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return ;
  }
  arg4 = (int)jarg4; 
  zx_fix_any_elem_dec(arg1,arg2,arg3,arg4);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1locate_1ns_1by_1prefix(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  struct zx_ns_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = (int)jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  result = (struct zx_ns_s *)zx_locate_ns_by_prefix(arg1,arg2,arg3);
  *(struct zx_ns_s **)&jresult = result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1is_1ns_1prefix(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3) {
  jint jresult = 0 ;
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  arg2 = (int)jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  result = (int)zx_is_ns_prefix(arg1,arg2,arg3);
  jresult = (jint)result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1prefix_1seen(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  struct zx_ns_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = (int)jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  result = (struct zx_ns_s *)zx_prefix_seen(arg1,arg2,arg3);
  *(struct zx_ns_s **)&jresult = result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1prefix_1seen_1whine(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3, jstring jarg4, jint jarg5) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  int arg5 ;
  struct zx_ns_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = (int)jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  arg5 = (int)jarg5; 
  result = (struct zx_ns_s *)zx_prefix_seen_whine(arg1,arg2,arg3,arg4,arg5);
  *(struct zx_ns_s **)&jresult = result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1scan_1xmlns(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  result = (struct zx_ns_s *)zx_scan_xmlns(arg1);
  *(struct zx_ns_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1pop_1seen(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  zx_pop_seen(arg1);
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1raw_1cipher(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jint jarg3, jlong jarg4, jint jarg5, jint jarg7, jstring jarg8) {
  jlong jresult = 0 ;
  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 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = (int)jarg3; 
  arg4 = *(struct zx_str **)&jarg4; 
  
  // The following jstring casts could probably be avoided with proper use of typemaps
  arg5 = (*jenv)->GetStringUTFLength(jenv, (jstring)jarg5);
  arg6 = (char*)(*jenv)->GetStringUTFChars(jenv, (jstring)jarg5, 0);
  // *** Whether we can free, or not, the obtained string depends
  //     on whether the zxid API will take reference to the string.
  
  arg7 = (int)jarg7; 
  arg8 = 0;
  if (jarg8) {
    arg8 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg8, 0);
    if (!arg8) return 0;
  }
  result = (struct zx_str *)zx_raw_cipher(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
  *(struct zx_str **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  (*jenv)->ReleaseStringUTFChars(jenv, (jstring)jarg5, arg6);
  if (arg8) (*jenv)->ReleaseStringUTFChars(jenv, jarg8, arg8);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1rsa_1pub_1enc(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jint jarg4) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  void **arg3 = (void **) 0 ;
  int arg4 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  arg3 = *(void ***)&jarg3; 
  arg4 = (int)jarg4; 
  result = (struct zx_str *)zx_rsa_pub_enc(arg1,arg2,arg3,arg4);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1rsa_1pub_1dec(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jint jarg4) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  void **arg3 = (void **) 0 ;
  int arg4 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  arg3 = *(void ***)&jarg3; 
  arg4 = (int)jarg4; 
  result = (struct zx_str *)zx_rsa_pub_dec(arg1,arg2,arg3,arg4);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1rsa_1priv_1dec(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jint jarg4) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  void **arg3 = (void **) 0 ;
  int arg4 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  arg3 = *(void ***)&jarg3; 
  arg4 = (int)jarg4; 
  result = (struct zx_str *)zx_rsa_priv_dec(arg1,arg2,arg3,arg4);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1rsa_1priv_1enc(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jint jarg4) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  void **arg3 = (void **) 0 ;
  int arg4 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  arg3 = *(void ***)&jarg3; 
  arg4 = (int)jarg4; 
  result = (struct zx_str *)zx_rsa_priv_enc(arg1,arg2,arg3,arg4);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1get_1rsa_1pub_1from_1cert(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  X509 *arg1 = (X509 *) 0 ;
  char *arg2 = (char *) 0 ;
  void **result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(X509 **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (void **)zx_get_rsa_pub_from_cert(arg1,arg2);
  *(void ***)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1rand(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2) {
  char *arg1 = (char *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return ;
  }
  arg2 = (int)jarg2; 
  zx_rand(arg1,arg2);
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1tok_1by_1ns(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jstring jarg4, jlong jarg5) {
  jlong jresult = 0 ;
  struct zx_tok *arg1 = (struct zx_tok *) 0 ;
  struct zx_tok *arg2 = (struct zx_tok *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  struct zx_ns_s *arg5 = (struct zx_ns_s *) 0 ;
  struct zx_tok *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_tok **)&jarg1; 
  arg2 = *(struct zx_tok **)&jarg2; 
  arg3 = (int)jarg3; 
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  arg5 = *(struct zx_ns_s **)&jarg5; 
  result = (struct zx_tok *)zx_tok_by_ns((struct zx_tok const *)arg1,(struct zx_tok const *)arg2,arg3,arg4,arg5);
  *(struct zx_tok **)&jresult = result; 
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1len_1xmlns_1if_1not_1seen(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jint jresult = 0 ;
  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 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_ns_s **)&jarg2; 
  arg3 = *(struct zx_ns_s ***)&jarg3; 
  result = (int)zx_len_xmlns_if_not_seen(arg1,arg2,arg3);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1enc_1xmlns_1if_1not_1seen(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3, jlong jarg4) {
  jstring jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zx_ns_s *arg3 = (struct zx_ns_s *) 0 ;
  struct zx_ns_s **arg4 = (struct zx_ns_s **) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = *(struct zx_ns_s **)&jarg3; 
  arg4 = *(struct zx_ns_s ***)&jarg4; 
  result = (char *)zx_enc_xmlns_if_not_seen(arg1,arg2,arg3,arg4);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1add_1xmlns_1if_1not_1seen(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  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 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_ns_s **)&jarg2; 
  arg3 = *(struct zx_ns_s ***)&jarg3; 
  zx_add_xmlns_if_not_seen(arg1,arg2,arg3);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1enc_1seen(JNIEnv *jenv, jclass jcls, jstring jarg1, jlong jarg2) {
  jstring jresult = 0 ;
  char *arg1 = (char *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  arg2 = *(struct zx_ns_s **)&jarg2; 
  result = (char *)zx_enc_seen(arg1,arg2);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1len_1so_1common(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jint jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_elem_s **)&jarg2; 
  result = (int)zx_len_so_common(arg1,arg2);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1len_1wo_1common(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jint jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_elem_s **)&jarg2; 
  result = (int)zx_len_wo_common(arg1,arg2);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1enc_1unknown_1attrs(JNIEnv *jenv, jclass jcls, jstring jarg1, jlong jarg2) {
  jstring jresult = 0 ;
  char *arg1 = (char *) 0 ;
  struct zx_any_attr_s *arg2 = (struct zx_any_attr_s *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  arg2 = *(struct zx_any_attr_s **)&jarg2; 
  result = (char *)zx_enc_unknown_attrs(arg1,arg2);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1enc_1so_1unknown_1elems_1and_1content(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3) {
  jstring jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zx_elem_s *arg3 = (struct zx_elem_s *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = *(struct zx_elem_s **)&jarg3; 
  result = (char *)zx_enc_so_unknown_elems_and_content(arg1,arg2,arg3);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1easy_1enc_1common(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jint jarg4) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = (int)jarg4; 
  result = (struct zx_str *)zx_easy_enc_common(arg1,arg2,arg3,arg4);
  *(struct zx_str **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1attr_1so_1len(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  jint jresult = 0 ;
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  int arg2 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_str **)&jarg1; 
  arg2 = (int)jarg2; 
  result = (int)zx_attr_so_len(arg1,arg2);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1attr_1so_1enc(JNIEnv *jenv, jclass jcls, jstring jarg1, jlong jarg2, jstring jarg3, jint jarg4) {
  jstring jresult = 0 ;
  char *arg1 = (char *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  arg2 = *(struct zx_str **)&jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = (int)jarg4; 
  result = (char *)zx_attr_so_enc(arg1,arg2,arg3,arg4);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1attr_1wo_1len(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  jint jresult = 0 ;
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  int arg2 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_str **)&jarg1; 
  arg2 = (int)jarg2; 
  result = (int)zx_attr_wo_len(arg1,arg2);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1attr_1wo_1enc(JNIEnv *jenv, jclass jcls, jstring jarg1, jlong jarg2, jstring jarg3, jint jarg4) {
  jstring jresult = 0 ;
  char *arg1 = (char *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  arg2 = *(struct zx_str **)&jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = (int)jarg4; 
  result = (char *)zx_attr_wo_enc(arg1,arg2,arg3,arg4);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1free_1attr(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  int arg3 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  arg3 = (int)jarg3; 
  zx_free_attr(arg1,arg2,arg3);
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1free_1elem_1common(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  int arg3 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_elem_s **)&jarg2; 
  arg3 = (int)jarg3; 
  zx_free_elem_common(arg1,arg2,arg3);
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1free_1simple_1elems(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  int arg3 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_elem_s **)&jarg2; 
  arg3 = (int)jarg3; 
  zx_free_simple_elems(arg1,arg2,arg3);
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1prepare_1dec_1ctx(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_ns_s **)&jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return ;
  }
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return ;
  }
  zx_prepare_dec_ctx(arg1,arg2,arg3,arg4);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1scan_1data(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jint jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_elem_s **)&jarg2; 
  result = (int)zx_scan_data(arg1,arg2);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1scan_1pi_1or_1comment(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jint jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  result = (int)zx_scan_pi_or_comment(arg1);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1dec_1unknown_1attr(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4, jint jarg5, jint jarg6) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  int arg5 ;
  int arg6 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_elem_s **)&jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  arg5 = (int)jarg5; 
  arg6 = (int)jarg6; 
  result = (struct zx_str *)zx_dec_unknown_attr(arg1,arg2,arg3,arg4,arg5,arg6);
  *(struct zx_str **)&jresult = result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1dec_1attr_1val(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jstring jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char **arg2 = (char **) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(char ***)&jarg2; 
  result = (char *)zx_dec_attr_val(arg1,arg2);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1xml_1parse_1err(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2, jstring jarg3, jstring jarg4) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char arg2 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = (char)jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return ;
  }
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return ;
  }
  zx_xml_parse_err(arg1,arg2,(char const *)arg3,(char const *)arg4);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1len_1inc_1ns(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jint jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s **arg2 = (struct zx_ns_s **) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_ns_s ***)&jarg2; 
  result = (int)zx_len_inc_ns(arg1,arg2);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1add_1inc_1ns(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  struct zx_ns_s **arg2 = (struct zx_ns_s **) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(struct zx_ns_s ***)&jarg2; 
  zx_add_inc_ns(arg1,arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1enc_1inc_1ns(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3) {
  jstring jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zx_ns_s **arg3 = (struct zx_ns_s **) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = *(struct zx_ns_s ***)&jarg3; 
  result = (char *)zx_enc_inc_ns(arg1,arg2,arg3);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1RSA_1SHA1_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/2000/09/xmldsig#rsa-sha1";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1DSA_1SHA1_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/2000/09/xmldsig#dsa-sha1";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/2000/09/xmldsig#rsa-sha1";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_DIGEST_1ALGO_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/2000/09/xmldsig#sha1";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_CANON_1ALGO_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/2001/10/xml-exc-c14n#";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENVELOPED_1ALGO_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/2000/09/xmldsig#enveloped-signature";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENC_1ALGO_1TRIPLEDES_1CBC_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/2001/04/xmlenc#tripledes-cbc";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENC_1ALGO_1AES128_1CBC_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/2001/04/xmlenc#aes128-cbc";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENC_1ALGO_1AES192_1CBC_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/2001/04/xmlenc#aes192-cbc";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENC_1ALGO_1AES256_1CBC_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/2001/04/xmlenc#aes256-cbc";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENC_1ALGO_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/2001/04/xmlenc#aes128-cbc";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENC_1KEYTRAN_1RSA_11_15_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/2001/04/xmlenc#rsa-1_5";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENC_1KEYTRAN_1RSA_1OAEP_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENC_1KEYTRAN_1ALGO_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/2001/04/xmlenc#rsa-1_5";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENC_1ENCKEY_1METH_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/2001/04/xmlenc#EncryptedKey";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENC_1TYPE_1ELEMENT_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/2001/04/xmlenc#Element";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENC_1TYPE_1CONTENT_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/2001/04/xmlenc#Content";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1CONF_1MAGIC_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x900dc07f;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1CGI_1MAGIC_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x900d0c91;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SES_1MAGIC_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x900d05e5;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1magic_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  unsigned int arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  if (arg1) (arg1)->magic = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1magic_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (unsigned int) ((arg1)->magic);
  jresult = (jlong)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1ctx_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_ctx *arg2 = (struct zx_ctx *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_ctx **)&jarg2; 
  if (arg1) (arg1)->ctx = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1ctx_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_ctx *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (struct zx_ctx *) ((arg1)->ctx);
  *(struct zx_ctx **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1cot_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_entity *arg2 = (struct zxid_entity *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_entity **)&jarg2; 
  if (arg1) (arg1)->cot = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1cot_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_entity *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (struct zxid_entity *) ((arg1)->cot);
  *(struct zxid_entity **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1path_1supplied_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (int)jarg2; 
  if (arg1) (arg1)->path_supplied = arg2;
  
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1path_1supplied_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (int) ((arg1)->path_supplied);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1path_1len_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (int)jarg2; 
  if (arg1) (arg1)->path_len = arg2;
  
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1path_1len_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (int) ((arg1)->path_len);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1path_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->path) free((char*)arg1->path);
    if (arg2) {
      arg1->path = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->path,arg2);
    } else {
      arg1->path = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1path_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->path);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1url_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->url) free((char*)arg1->url);
    if (arg2) {
      arg1->url = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->url,arg2);
    } else {
      arg1->url = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1url_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->url);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1non_1standard_1entityid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->non_standard_entityid) free((char*)arg1->non_standard_entityid);
    if (arg2) {
      arg1->non_standard_entityid = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->non_standard_entityid,arg2);
    } else {
      arg1->non_standard_entityid = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1non_1standard_1entityid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->non_standard_entityid);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1redirect_1hack_1imposed_1url_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->redirect_hack_imposed_url) free((char*)arg1->redirect_hack_imposed_url);
    if (arg2) {
      arg1->redirect_hack_imposed_url = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->redirect_hack_imposed_url,arg2);
    } else {
      arg1->redirect_hack_imposed_url = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1redirect_1hack_1imposed_1url_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->redirect_hack_imposed_url);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1redirect_1hack_1zxid_1url_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->redirect_hack_zxid_url) free((char*)arg1->redirect_hack_zxid_url);
    if (arg2) {
      arg1->redirect_hack_zxid_url = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->redirect_hack_zxid_url,arg2);
    } else {
      arg1->redirect_hack_zxid_url = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1redirect_1hack_1zxid_1url_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->redirect_hack_zxid_url);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1redirect_1hack_1zxid_1qs_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->redirect_hack_zxid_qs) free((char*)arg1->redirect_hack_zxid_qs);
    if (arg2) {
      arg1->redirect_hack_zxid_qs = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->redirect_hack_zxid_qs,arg2);
    } else {
      arg1->redirect_hack_zxid_qs = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1redirect_1hack_1zxid_1qs_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->redirect_hack_zxid_qs);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1cdc_1url_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->cdc_url) free((char*)arg1->cdc_url);
    if (arg2) {
      arg1->cdc_url = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->cdc_url,arg2);
    } else {
      arg1->cdc_url = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1cdc_1url_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->cdc_url);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1cdc_1choice_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->cdc_choice = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1cdc_1choice_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->cdc_choice);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1md_1fetch_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->md_fetch = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1md_1fetch_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->md_fetch);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1md_1populate_1cache_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->md_populate_cache = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1md_1populate_1cache_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->md_populate_cache);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1md_1cache_1first_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->md_cache_first = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1md_1cache_1first_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->md_cache_first);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1md_1cache_1last_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->md_cache_last = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1md_1cache_1last_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->md_cache_last);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1auto_1cert_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->auto_cert = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1auto_1cert_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->auto_cert);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1user_1local_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->user_local = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1user_1local_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->user_local);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1ena_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->idp_ena = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1ena_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->idp_ena);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pdp_1ena_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->pdp_ena = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pdp_1ena_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->pdp_ena);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1want_1authn_1req_1signed_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->want_authn_req_signed = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1want_1authn_1req_1signed_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->want_authn_req_signed);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1authn_1req_1sign_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->authn_req_sign = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1authn_1req_1sign_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->authn_req_sign);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1want_1sso_1a7n_1signed_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->want_sso_a7n_signed = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1want_1sso_1a7n_1signed_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->want_sso_a7n_signed);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1sso_1soap_1sign_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->sso_soap_sign = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1sso_1soap_1sign_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->sso_soap_sign);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1sso_1soap_1resp_1sign_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->sso_soap_resp_sign = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1sso_1soap_1resp_1sign_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->sso_soap_resp_sign);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1sso_1sign_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->sso_sign = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1sso_1sign_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->sso_sign);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1nameid_1enc_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->nameid_enc = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1nameid_1enc_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->nameid_enc);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1post_1a7n_1enc_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->post_a7n_enc = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1post_1a7n_1enc_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->post_a7n_enc);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1affiliation_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->affiliation) free((char*)arg1->affiliation);
    if (arg2) {
      arg1->affiliation = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->affiliation,arg2);
    } else {
      arg1->affiliation = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1affiliation_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->affiliation);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1nice_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->nice_name) free((char*)arg1->nice_name);
    if (arg2) {
      arg1->nice_name = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->nice_name,arg2);
    } else {
      arg1->nice_name = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1nice_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->nice_name);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1ses_1arch_1dir_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->ses_arch_dir) free((char*)arg1->ses_arch_dir);
    if (arg2) {
      arg1->ses_arch_dir = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->ses_arch_dir,arg2);
    } else {
      arg1->ses_arch_dir = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1ses_1arch_1dir_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->ses_arch_dir);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1ses_1cookie_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->ses_cookie_name) free((char*)arg1->ses_cookie_name);
    if (arg2) {
      arg1->ses_cookie_name = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->ses_cookie_name,arg2);
    } else {
      arg1->ses_cookie_name = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1ses_1cookie_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->ses_cookie_name);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1ipport_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->ipport) free((char*)arg1->ipport);
    if (arg2) {
      arg1->ipport = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->ipport,arg2);
    } else {
      arg1->ipport = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1ipport_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->ipport);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1err_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->log_err = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1err_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->log_err);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1act_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->log_act = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1act_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->log_act);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1issue_1a7n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->log_issue_a7n = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1issue_1a7n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->log_issue_a7n);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1issue_1msg_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->log_issue_msg = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1issue_1msg_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->log_issue_msg);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1rely_1a7n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->log_rely_a7n = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1rely_1a7n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->log_rely_a7n);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1rely_1msg_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->log_rely_msg = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1rely_1msg_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->log_rely_msg);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1err_1in_1act_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->log_err_in_act = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1err_1in_1act_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->log_err_in_act);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1act_1in_1err_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->log_act_in_err = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1act_1in_1err_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->log_act_in_err);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1sigfail_1is_1err_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->log_sigfail_is_err = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1sigfail_1is_1err_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->log_sigfail_is_err);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1level_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->log_level = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1level_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->log_level);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1sig_1fatal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->sig_fatal = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1sig_1fatal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->sig_fatal);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1nosig_1fatal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->nosig_fatal = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1nosig_1fatal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->nosig_fatal);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1msg_1sig_1ok_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->msg_sig_ok = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1msg_1sig_1ok_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->msg_sig_ok);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1timeout_1fatal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->timeout_fatal = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1timeout_1fatal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->timeout_fatal);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1audience_1fatal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->audience_fatal = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1audience_1fatal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->audience_fatal);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1dup_1a7n_1fatal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->dup_a7n_fatal = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1dup_1a7n_1fatal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->dup_a7n_fatal);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1dup_1msg_1fatal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->dup_msg_fatal = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1dup_1msg_1fatal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->dup_msg_fatal);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1redir_1to_1content_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->redir_to_content = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1redir_1to_1content_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->redir_to_content);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1remote_1user_1ena_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->remote_user_ena = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1remote_1user_1ena_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char) ((arg1)->remote_user_ena);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1anon_1ok_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->anon_ok) free((char*)arg1->anon_ok);
    if (arg2) {
      arg1->anon_ok = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->anon_ok,arg2);
    } else {
      arg1->anon_ok = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1anon_1ok_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->anon_ok);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1required_1authnctx_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char **arg2 = (char **) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(char ***)&jarg2; 
  if (arg1) (arg1)->required_authnctx = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1required_1authnctx_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char **result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char **) ((arg1)->required_authnctx);
  *(char ***)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1issue_1authnctx_1pw_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->issue_authnctx_pw) free((char*)arg1->issue_authnctx_pw);
    if (arg2) {
      arg1->issue_authnctx_pw = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->issue_authnctx_pw,arg2);
    } else {
      arg1->issue_authnctx_pw = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1issue_1authnctx_1pw_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->issue_authnctx_pw);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1pref_1acs_1binding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->idp_pref_acs_binding) free((char*)arg1->idp_pref_acs_binding);
    if (arg2) {
      arg1->idp_pref_acs_binding = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->idp_pref_acs_binding,arg2);
    } else {
      arg1->idp_pref_acs_binding = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1pref_1acs_1binding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->idp_pref_acs_binding);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1before_1slop_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (int)jarg2; 
  if (arg1) (arg1)->before_slop = arg2;
  
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1before_1slop_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (int) ((arg1)->before_slop);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1after_1slop_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (int)jarg2; 
  if (arg1) (arg1)->after_slop = arg2;
  
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1after_1slop_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (int) ((arg1)->after_slop);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1timeskew_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (int)jarg2; 
  if (arg1) (arg1)->timeskew = arg2;
  
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1timeskew_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (int) ((arg1)->timeskew);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1a7nttl_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (int)jarg2; 
  if (arg1) (arg1)->a7nttl = arg2;
  
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1a7nttl_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (int) ((arg1)->a7nttl);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pdp_1url_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->pdp_url) free((char*)arg1->pdp_url);
    if (arg2) {
      arg1->pdp_url = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->pdp_url,arg2);
    } else {
      arg1->pdp_url = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pdp_1url_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->pdp_url);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1need_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_need *arg2 = (struct zxid_need *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_need **)&jarg2; 
  if (arg1) (arg1)->need = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1need_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_need *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (struct zxid_need *) ((arg1)->need);
  *(struct zxid_need **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1want_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_need *arg2 = (struct zxid_need *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_need **)&jarg2; 
  if (arg1) (arg1)->want = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1want_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_need *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (struct zxid_need *) ((arg1)->want);
  *(struct zxid_need **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1attrsrc_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_atsrc *arg2 = (struct zxid_atsrc *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_atsrc **)&jarg2; 
  if (arg1) (arg1)->attrsrc = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1attrsrc_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_atsrc *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (struct zxid_atsrc *) ((arg1)->attrsrc);
  *(struct zxid_atsrc **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1inmap_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_map *arg2 = (struct zxid_map *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_map **)&jarg2; 
  if (arg1) (arg1)->inmap = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1inmap_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_map *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (struct zxid_map *) ((arg1)->inmap);
  *(struct zxid_map **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1outmap_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_map *arg2 = (struct zxid_map *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_map **)&jarg2; 
  if (arg1) (arg1)->outmap = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1outmap_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_map *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (struct zxid_map *) ((arg1)->outmap);
  *(struct zxid_map **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pepmap_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_map *arg2 = (struct zxid_map *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_map **)&jarg2; 
  if (arg1) (arg1)->pepmap = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pepmap_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_map *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (struct zxid_map *) ((arg1)->pepmap);
  *(struct zxid_map **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1localpdp_1role_1permit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cstr_list *arg2 = (struct zxid_cstr_list *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cstr_list **)&jarg2; 
  if (arg1) (arg1)->localpdp_role_permit = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1localpdp_1role_1permit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cstr_list *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (struct zxid_cstr_list *) ((arg1)->localpdp_role_permit);
  *(struct zxid_cstr_list **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1localpdp_1role_1deny_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cstr_list *arg2 = (struct zxid_cstr_list *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cstr_list **)&jarg2; 
  if (arg1) (arg1)->localpdp_role_deny = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1localpdp_1role_1deny_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cstr_list *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (struct zxid_cstr_list *) ((arg1)->localpdp_role_deny);
  *(struct zxid_cstr_list **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1localpdp_1idpnid_1permit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cstr_list *arg2 = (struct zxid_cstr_list *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cstr_list **)&jarg2; 
  if (arg1) (arg1)->localpdp_idpnid_permit = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1localpdp_1idpnid_1permit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cstr_list *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (struct zxid_cstr_list *) ((arg1)->localpdp_idpnid_permit);
  *(struct zxid_cstr_list **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1localpdp_1idpnid_1deny_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cstr_list *arg2 = (struct zxid_cstr_list *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cstr_list **)&jarg2; 
  if (arg1) (arg1)->localpdp_idpnid_deny = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1localpdp_1idpnid_1deny_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cstr_list *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (struct zxid_cstr_list *) ((arg1)->localpdp_idpnid_deny);
  *(struct zxid_cstr_list **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1max_1soap_1retry_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (int)jarg2; 
  if (arg1) (arg1)->max_soap_retry = arg2;
  
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1max_1soap_1retry_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (int) ((arg1)->max_soap_retry);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1defaultqs_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->defaultqs) free((char*)arg1->defaultqs);
    if (arg2) {
      arg1->defaultqs = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->defaultqs,arg2);
    } else {
      arg1->defaultqs = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1defaultqs_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->defaultqs);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mod_1saml_1attr_1prefix_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->mod_saml_attr_prefix) free((char*)arg1->mod_saml_attr_prefix);
    if (arg2) {
      arg1->mod_saml_attr_prefix = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->mod_saml_attr_prefix,arg2);
    } else {
      arg1->mod_saml_attr_prefix = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mod_1saml_1attr_1prefix_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->mod_saml_attr_prefix);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1page_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->idp_sel_page) free((char*)arg1->idp_sel_page);
    if (arg2) {
      arg1->idp_sel_page = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->idp_sel_page,arg2);
    } else {
      arg1->idp_sel_page = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1page_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->idp_sel_page);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1start_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->idp_sel_start) free((char*)arg1->idp_sel_start);
    if (arg2) {
      arg1->idp_sel_start = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->idp_sel_start,arg2);
    } else {
      arg1->idp_sel_start = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1start_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->idp_sel_start);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1new_1idp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->idp_sel_new_idp) free((char*)arg1->idp_sel_new_idp);
    if (arg2) {
      arg1->idp_sel_new_idp = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->idp_sel_new_idp,arg2);
    } else {
      arg1->idp_sel_new_idp = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1new_1idp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->idp_sel_new_idp);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1our_1eid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->idp_sel_our_eid) free((char*)arg1->idp_sel_our_eid);
    if (arg2) {
      arg1->idp_sel_our_eid = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->idp_sel_our_eid,arg2);
    } else {
      arg1->idp_sel_our_eid = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1our_1eid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->idp_sel_our_eid);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1tech_1user_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->idp_sel_tech_user) free((char*)arg1->idp_sel_tech_user);
    if (arg2) {
      arg1->idp_sel_tech_user = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->idp_sel_tech_user,arg2);
    } else {
      arg1->idp_sel_tech_user = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1tech_1user_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->idp_sel_tech_user);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1tech_1site_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->idp_sel_tech_site) free((char*)arg1->idp_sel_tech_site);
    if (arg2) {
      arg1->idp_sel_tech_site = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->idp_sel_tech_site,arg2);
    } else {
      arg1->idp_sel_tech_site = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1tech_1site_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->idp_sel_tech_site);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1footer_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->idp_sel_footer) free((char*)arg1->idp_sel_footer);
    if (arg2) {
      arg1->idp_sel_footer = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->idp_sel_footer,arg2);
    } else {
      arg1->idp_sel_footer = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1footer_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->idp_sel_footer);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1end_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->idp_sel_end) free((char*)arg1->idp_sel_end);
    if (arg2) {
      arg1->idp_sel_end = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->idp_sel_end,arg2);
    } else {
      arg1->idp_sel_end = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1end_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->idp_sel_end);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1an_1page_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->an_page) free((char*)arg1->an_page);
    if (arg2) {
      arg1->an_page = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->an_page,arg2);
    } else {
      arg1->an_page = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1an_1page_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->an_page);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1an_1start_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->an_start) free((char*)arg1->an_start);
    if (arg2) {
      arg1->an_start = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->an_start,arg2);
    } else {
      arg1->an_start = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1an_1start_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->an_start);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1an_1our_1eid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->an_our_eid) free((char*)arg1->an_our_eid);
    if (arg2) {
      arg1->an_our_eid = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->an_our_eid,arg2);
    } else {
      arg1->an_our_eid = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1an_1our_1eid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->an_our_eid);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1an_1tech_1user_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->an_tech_user) free((char*)arg1->an_tech_user);
    if (arg2) {
      arg1->an_tech_user = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->an_tech_user,arg2);
    } else {
      arg1->an_tech_user = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1an_1tech_1user_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->an_tech_user);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1an_1tech_1site_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->an_tech_site) free((char*)arg1->an_tech_site);
    if (arg2) {
      arg1->an_tech_site = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->an_tech_site,arg2);
    } else {
      arg1->an_tech_site = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1an_1tech_1site_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->an_tech_site);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1an_1footer_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->an_footer) free((char*)arg1->an_footer);
    if (arg2) {
      arg1->an_footer = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->an_footer,arg2);
    } else {
      arg1->an_footer = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1an_1footer_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->an_footer);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1an_1end_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->an_end) free((char*)arg1->an_end);
    if (arg2) {
      arg1->an_end = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->an_end,arg2);
    } else {
      arg1->an_end = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1an_1end_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->an_end);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mgmt_1start_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->mgmt_start) free((char*)arg1->mgmt_start);
    if (arg2) {
      arg1->mgmt_start = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->mgmt_start,arg2);
    } else {
      arg1->mgmt_start = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mgmt_1start_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->mgmt_start);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mgmt_1logout_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->mgmt_logout) free((char*)arg1->mgmt_logout);
    if (arg2) {
      arg1->mgmt_logout = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->mgmt_logout,arg2);
    } else {
      arg1->mgmt_logout = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mgmt_1logout_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->mgmt_logout);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mgmt_1defed_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->mgmt_defed) free((char*)arg1->mgmt_defed);
    if (arg2) {
      arg1->mgmt_defed = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->mgmt_defed,arg2);
    } else {
      arg1->mgmt_defed = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mgmt_1defed_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->mgmt_defed);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mgmt_1footer_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->mgmt_footer) free((char*)arg1->mgmt_footer);
    if (arg2) {
      arg1->mgmt_footer = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->mgmt_footer,arg2);
    } else {
      arg1->mgmt_footer = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mgmt_1footer_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->mgmt_footer);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mgmt_1end_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->mgmt_end) free((char*)arg1->mgmt_end);
    if (arg2) {
      arg1->mgmt_end = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->mgmt_end,arg2);
    } else {
      arg1->mgmt_end = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mgmt_1end_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->mgmt_end);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1dbg_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->dbg) free((char*)arg1->dbg);
    if (arg2) {
      arg1->dbg = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->dbg,arg2);
    } else {
      arg1->dbg = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1dbg_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (char *) ((arg1)->dbg);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1conf(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  struct zxid_conf *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (struct zxid_conf *)(struct zxid_conf *) calloc(1, sizeof(struct zxid_conf));
  *(struct zxid_conf **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1conf(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  free((char *) arg1);
  
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1magic_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  unsigned int arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  if (arg1) (arg1)->magic = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1magic_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (unsigned int) ((arg1)->magic);
  jresult = (jlong)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1op_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->op = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1op_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char) ((arg1)->op);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1pr_1ix_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->pr_ix = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1pr_1ix_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char) ((arg1)->pr_ix);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1allow_1create_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->allow_create = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1allow_1create_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char) ((arg1)->allow_create);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1ispassive_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->ispassive = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1ispassive_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char) ((arg1)->ispassive);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1force_1authn_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->force_authn = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1force_1authn_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char) ((arg1)->force_authn);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1enc_1hint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->enc_hint = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1enc_1hint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char) ((arg1)->enc_hint);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->sid) free((char*)arg1->sid);
    if (arg2) {
      arg1->sid = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->sid,arg2);
    } else {
      arg1->sid = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->sid);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1nid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->nid) free((char*)arg1->nid);
    if (arg2) {
      arg1->nid = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->nid,arg2);
    } else {
      arg1->nid = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1nid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->nid);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1uid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->uid) free((char*)arg1->uid);
    if (arg2) {
      arg1->uid = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->uid,arg2);
    } else {
      arg1->uid = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1uid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->uid);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1pw_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->pw) free((char*)arg1->pw);
    if (arg2) {
      arg1->pw = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->pw,arg2);
    } else {
      arg1->pw = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1pw_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->pw);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1ssoreq_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->ssoreq) free((char*)arg1->ssoreq);
    if (arg2) {
      arg1->ssoreq = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->ssoreq,arg2);
    } else {
      arg1->ssoreq = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1ssoreq_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->ssoreq);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1cdc_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->cdc) free((char*)arg1->cdc);
    if (arg2) {
      arg1->cdc = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->cdc,arg2);
    } else {
      arg1->cdc = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1cdc_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->cdc);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1eid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->eid) free((char*)arg1->eid);
    if (arg2) {
      arg1->eid = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->eid,arg2);
    } else {
      arg1->eid = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1eid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->eid);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1nid_1fmt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->nid_fmt) free((char*)arg1->nid_fmt);
    if (arg2) {
      arg1->nid_fmt = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->nid_fmt,arg2);
    } else {
      arg1->nid_fmt = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1nid_1fmt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->nid_fmt);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1affil_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->affil) free((char*)arg1->affil);
    if (arg2) {
      arg1->affil = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->affil,arg2);
    } else {
      arg1->affil = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1affil_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->affil);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1consent_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->consent) free((char*)arg1->consent);
    if (arg2) {
      arg1->consent = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->consent,arg2);
    } else {
      arg1->consent = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1consent_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->consent);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1matching_1rule_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->matching_rule) free((char*)arg1->matching_rule);
    if (arg2) {
      arg1->matching_rule = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->matching_rule,arg2);
    } else {
      arg1->matching_rule = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1matching_1rule_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->matching_rule);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1authn_1ctx_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->authn_ctx) free((char*)arg1->authn_ctx);
    if (arg2) {
      arg1->authn_ctx = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->authn_ctx,arg2);
    } else {
      arg1->authn_ctx = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1authn_1ctx_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->authn_ctx);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1pxy_1count_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->pxy_count) free((char*)arg1->pxy_count);
    if (arg2) {
      arg1->pxy_count = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->pxy_count,arg2);
    } else {
      arg1->pxy_count = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1pxy_1count_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->pxy_count);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1get_1complete_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->get_complete) free((char*)arg1->get_complete);
    if (arg2) {
      arg1->get_complete = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->get_complete,arg2);
    } else {
      arg1->get_complete = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1get_1complete_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->get_complete);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1idppxylist_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->idppxylist) free((char*)arg1->idppxylist);
    if (arg2) {
      arg1->idppxylist = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->idppxylist,arg2);
    } else {
      arg1->idppxylist = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1idppxylist_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->idppxylist);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1rs_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->rs) free((char*)arg1->rs);
    if (arg2) {
      arg1->rs = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->rs,arg2);
    } else {
      arg1->rs = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1rs_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->rs);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1newnym_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->newnym) free((char*)arg1->newnym);
    if (arg2) {
      arg1->newnym = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->newnym,arg2);
    } else {
      arg1->newnym = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1newnym_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->newnym);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1saml_1art_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->saml_art) free((char*)arg1->saml_art);
    if (arg2) {
      arg1->saml_art = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->saml_art,arg2);
    } else {
      arg1->saml_art = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1saml_1art_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->saml_art);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1saml_1resp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->saml_resp) free((char*)arg1->saml_resp);
    if (arg2) {
      arg1->saml_resp = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->saml_resp,arg2);
    } else {
      arg1->saml_resp = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1saml_1resp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->saml_resp);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1saml_1req_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->saml_req) free((char*)arg1->saml_req);
    if (arg2) {
      arg1->saml_req = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->saml_req,arg2);
    } else {
      arg1->saml_req = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1saml_1req_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->saml_req);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sigalg_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->sigalg) free((char*)arg1->sigalg);
    if (arg2) {
      arg1->sigalg = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->sigalg,arg2);
    } else {
      arg1->sigalg = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sigalg_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->sigalg);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sig_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->sig) free((char*)arg1->sig);
    if (arg2) {
      arg1->sig = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->sig,arg2);
    } else {
      arg1->sig = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sig_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->sig);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sigval_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->sigval) free((char*)arg1->sigval);
    if (arg2) {
      arg1->sigval = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->sigval,arg2);
    } else {
      arg1->sigval = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sigval_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->sigval);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sigmsg_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->sigmsg) free((char*)arg1->sigmsg);
    if (arg2) {
      arg1->sigmsg = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->sigmsg,arg2);
    } else {
      arg1->sigmsg = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sigmsg_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->sigmsg);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1err_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->err) free((char*)arg1->err);
    if (arg2) {
      arg1->err = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->err,arg2);
    } else {
      arg1->err = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1err_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->err);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1msg_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->msg) free((char*)arg1->msg);
    if (arg2) {
      arg1->msg = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->msg,arg2);
    } else {
      arg1->msg = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1msg_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->msg);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1dbg_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->dbg) free((char*)arg1->dbg);
    if (arg2) {
      arg1->dbg = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->dbg,arg2);
    } else {
      arg1->dbg = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1dbg_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->dbg);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1zxapp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->zxapp) free((char*)arg1->zxapp);
    if (arg2) {
      arg1->zxapp = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->zxapp,arg2);
    } else {
      arg1->zxapp = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1zxapp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->zxapp);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1zxrfr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->zxrfr) free((char*)arg1->zxrfr);
    if (arg2) {
      arg1->zxrfr = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->zxrfr,arg2);
    } else {
      arg1->zxrfr = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1zxrfr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->zxrfr);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1ok_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->ok) free((char*)arg1->ok);
    if (arg2) {
      arg1->ok = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->ok,arg2);
    } else {
      arg1->ok = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1ok_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (char *) ((arg1)->ok);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1idp_1list_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  struct zxid_entity *arg2 = (struct zxid_entity *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = *(struct zxid_entity **)&jarg2; 
  if (arg1) (arg1)->idp_list = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1idp_1list_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  struct zxid_entity *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  result = (struct zxid_entity *) ((arg1)->idp_list);
  *(struct zxid_entity **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1cgi(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  struct zxid_cgi *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (struct zxid_cgi *)(struct zxid_cgi *) calloc(1, sizeof(struct zxid_cgi));
  *(struct zxid_cgi **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1cgi(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  free((char *) arg1);
  
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1magic_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  unsigned int arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  if (arg1) (arg1)->magic = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1magic_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  result = (unsigned int) ((arg1)->magic);
  jresult = (jlong)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->sid) free((char*)arg1->sid);
    if (arg2) {
      arg1->sid = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->sid,arg2);
    } else {
      arg1->sid = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  result = (char *) ((arg1)->sid);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1uid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->uid) free((char*)arg1->uid);
    if (arg2) {
      arg1->uid = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->uid,arg2);
    } else {
      arg1->uid = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1uid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  result = (char *) ((arg1)->uid);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1nid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->nid) free((char*)arg1->nid);
    if (arg2) {
      arg1->nid = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->nid,arg2);
    } else {
      arg1->nid = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1nid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  result = (char *) ((arg1)->nid);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sesix_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->sesix) free((char*)arg1->sesix);
    if (arg2) {
      arg1->sesix = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->sesix,arg2);
    } else {
      arg1->sesix = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sesix_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  result = (char *) ((arg1)->sesix);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1an_1ctx_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->an_ctx) free((char*)arg1->an_ctx);
    if (arg2) {
      arg1->an_ctx = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->an_ctx,arg2);
    } else {
      arg1->an_ctx = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1an_1ctx_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  result = (char *) ((arg1)->an_ctx);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1nidfmt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->nidfmt = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1nidfmt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  result = (char) ((arg1)->nidfmt);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sigres_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->sigres = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sigres_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  result = (char) ((arg1)->sigres);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1pad2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->pad2 = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1pad2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  result = (char) ((arg1)->pad2);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1pad3_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  arg2 = (char)jarg2; 
  if (arg1) (arg1)->pad3 = arg2;
  
}


JNIEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1pad3_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jchar jresult = 0 ;
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  result = (char) ((arg1)->pad3);
  jresult = (jchar)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sso_1a7n_1path_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->sso_a7n_path) free((char*)arg1->sso_a7n_path);
    if (arg2) {
      arg1->sso_a7n_path = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->sso_a7n_path,arg2);
    } else {
      arg1->sso_a7n_path = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sso_1a7n_1path_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  result = (char *) ((arg1)->sso_a7n_path);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1setcookie_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->setcookie) free((char*)arg1->setcookie);
    if (arg2) {
      arg1->setcookie = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->setcookie,arg2);
    } else {
      arg1->setcookie = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1setcookie_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  result = (char *) ((arg1)->setcookie);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1cookie_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->cookie) free((char*)arg1->cookie);
    if (arg2) {
      arg1->cookie = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->cookie,arg2);
    } else {
      arg1->cookie = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1cookie_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  result = (char *) ((arg1)->cookie);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1rs_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->rs) free((char*)arg1->rs);
    if (arg2) {
      arg1->rs = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->rs,arg2);
    } else {
      arg1->rs = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1rs_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  result = (char *) ((arg1)->rs);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1nameid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  struct zx_sa_NameID_s *arg2 = (struct zx_sa_NameID_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  arg2 = *(struct zx_sa_NameID_s **)&jarg2; 
  if (arg1) (arg1)->nameid = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1nameid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  struct zx_sa_NameID_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  result = (struct zx_sa_NameID_s *) ((arg1)->nameid);
  *(struct zx_sa_NameID_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1a7n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  struct zx_sa_Assertion_s *arg2 = (struct zx_sa_Assertion_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  arg2 = *(struct zx_sa_Assertion_s **)&jarg2; 
  if (arg1) (arg1)->a7n = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1a7n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  struct zx_sa_Assertion_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  result = (struct zx_sa_Assertion_s *) ((arg1)->a7n);
  *(struct zx_sa_Assertion_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1a7n11_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  struct zx_sa11_Assertion_s *arg2 = (struct zx_sa11_Assertion_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  arg2 = *(struct zx_sa11_Assertion_s **)&jarg2; 
  if (arg1) (arg1)->a7n11 = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1a7n11_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  struct zx_sa11_Assertion_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  result = (struct zx_sa11_Assertion_s *) ((arg1)->a7n11);
  *(struct zx_sa11_Assertion_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1a7n12_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  struct zx_ff12_Assertion_s *arg2 = (struct zx_ff12_Assertion_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  arg2 = *(struct zx_ff12_Assertion_s **)&jarg2; 
  if (arg1) (arg1)->a7n12 = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1a7n12_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  struct zx_ff12_Assertion_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  result = (struct zx_ff12_Assertion_s *) ((arg1)->a7n12);
  *(struct zx_ff12_Assertion_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sesbuf_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->sesbuf) free((char*)arg1->sesbuf);
    if (arg2) {
      arg1->sesbuf = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->sesbuf,arg2);
    } else {
      arg1->sesbuf = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sesbuf_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  result = (char *) ((arg1)->sesbuf);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sso_1a7n_1buf_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->sso_a7n_buf) free((char*)arg1->sso_a7n_buf);
    if (arg2) {
      arg1->sso_a7n_buf = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->sso_a7n_buf,arg2);
    } else {
      arg1->sso_a7n_buf = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sso_1a7n_1buf_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  result = (char *) ((arg1)->sso_a7n_buf);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1at_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  struct zxid_attr *arg2 = (struct zxid_attr *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  arg2 = *(struct zxid_attr **)&jarg2; 
  if (arg1) (arg1)->at = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1at_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  struct zxid_attr *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  result = (struct zxid_attr *) ((arg1)->at);
  *(struct zxid_attr **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1ses(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  struct zxid_ses *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (struct zxid_ses *)(struct zxid_ses *) calloc(1, sizeof(struct zxid_ses));
  *(struct zxid_ses **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1ses(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_ses **)&jarg1; 
  free((char *) arg1);
  
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  struct zxid_attr *arg2 = (struct zxid_attr *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_attr **)&jarg1; 
  arg2 = *(struct zxid_attr **)&jarg2; 
  if (arg1) (arg1)->n = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  struct zxid_attr *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_attr **)&jarg1; 
  result = (struct zxid_attr *) ((arg1)->n);
  *(struct zxid_attr **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1nv_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  struct zxid_attr *arg2 = (struct zxid_attr *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_attr **)&jarg1; 
  arg2 = *(struct zxid_attr **)&jarg2; 
  if (arg1) (arg1)->nv = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1nv_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  struct zxid_attr *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_attr **)&jarg1; 
  result = (struct zxid_attr *) ((arg1)->nv);
  *(struct zxid_attr **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_attr **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->name) free((char*)arg1->name);
    if (arg2) {
      arg1->name = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->name,arg2);
    } else {
      arg1->name = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_attr **)&jarg1; 
  result = (char *) ((arg1)->name);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1val_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_attr **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->val) free((char*)arg1->val);
    if (arg2) {
      arg1->val = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->val,arg2);
    } else {
      arg1->val = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1val_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_attr **)&jarg1; 
  result = (char *) ((arg1)->val);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1map_1val_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_attr **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  if (arg1) (arg1)->map_val = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1map_1val_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_attr **)&jarg1; 
  result = (struct zx_str *) ((arg1)->map_val);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1orig_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  struct zx_sa_Attribute_s *arg2 = (struct zx_sa_Attribute_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_attr **)&jarg1; 
  arg2 = *(struct zx_sa_Attribute_s **)&jarg2; 
  if (arg1) (arg1)->orig = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1orig_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  struct zx_sa_Attribute_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_attr **)&jarg1; 
  result = (struct zx_sa_Attribute_s *) ((arg1)->orig);
  *(struct zx_sa_Attribute_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1issuer_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_attr **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  if (arg1) (arg1)->issuer = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1issuer_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_attr **)&jarg1; 
  result = (struct zx_str *) ((arg1)->issuer);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1attr(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  struct zxid_attr *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (struct zxid_attr *)(struct zxid_attr *) calloc(1, sizeof(struct zxid_attr));
  *(struct zxid_attr **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1attr(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_attr **)&jarg1; 
  free((char *) arg1);
  
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  struct zxid_need *arg2 = (struct zxid_need *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_need **)&jarg1; 
  arg2 = *(struct zxid_need **)&jarg2; 
  if (arg1) (arg1)->n = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  struct zxid_need *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_need **)&jarg1; 
  result = (struct zxid_need *) ((arg1)->n);
  *(struct zxid_need **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1at_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  struct zxid_attr *arg2 = (struct zxid_attr *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_need **)&jarg1; 
  arg2 = *(struct zxid_attr **)&jarg2; 
  if (arg1) (arg1)->at = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1at_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  struct zxid_attr *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_need **)&jarg1; 
  result = (struct zxid_attr *) ((arg1)->at);
  *(struct zxid_attr **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1usage_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_need **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->usage) free((char*)arg1->usage);
    if (arg2) {
      arg1->usage = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->usage,arg2);
    } else {
      arg1->usage = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1usage_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_need **)&jarg1; 
  result = (char *) ((arg1)->usage);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1retent_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_need **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->retent) free((char*)arg1->retent);
    if (arg2) {
      arg1->retent = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->retent,arg2);
    } else {
      arg1->retent = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1retent_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_need **)&jarg1; 
  result = (char *) ((arg1)->retent);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1oblig_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_need **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->oblig) free((char*)arg1->oblig);
    if (arg2) {
      arg1->oblig = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->oblig,arg2);
    } else {
      arg1->oblig = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1oblig_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_need **)&jarg1; 
  result = (char *) ((arg1)->oblig);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1ext_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_need **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->ext) free((char*)arg1->ext);
    if (arg2) {
      arg1->ext = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->ext,arg2);
    } else {
      arg1->ext = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1ext_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_need **)&jarg1; 
  result = (char *) ((arg1)->ext);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1need(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  struct zxid_need *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (struct zxid_need *)(struct zxid_need *) calloc(1, sizeof(struct zxid_need));
  *(struct zxid_need **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1need(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_need **)&jarg1; 
  free((char *) arg1);
  
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  struct zxid_map *arg2 = (struct zxid_map *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_map **)&jarg1; 
  arg2 = *(struct zxid_map **)&jarg2; 
  if (arg1) (arg1)->n = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  struct zxid_map *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_map **)&jarg1; 
  result = (struct zxid_map *) ((arg1)->n);
  *(struct zxid_map **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1rule_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_map **)&jarg1; 
  arg2 = (int)jarg2; 
  if (arg1) (arg1)->rule = arg2;
  
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1rule_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jint jresult = 0 ;
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_map **)&jarg1; 
  result = (int) ((arg1)->rule);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1ns_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_map **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->ns) free((char*)arg1->ns);
    if (arg2) {
      arg1->ns = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->ns,arg2);
    } else {
      arg1->ns = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1ns_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_map **)&jarg1; 
  result = (char *) ((arg1)->ns);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1src_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_map **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->src) free((char*)arg1->src);
    if (arg2) {
      arg1->src = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->src,arg2);
    } else {
      arg1->src = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1src_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_map **)&jarg1; 
  result = (char *) ((arg1)->src);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1dst_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_map **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->dst) free((char*)arg1->dst);
    if (arg2) {
      arg1->dst = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->dst,arg2);
    } else {
      arg1->dst = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1dst_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_map **)&jarg1; 
  result = (char *) ((arg1)->dst);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1ext_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_map **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->ext) free((char*)arg1->ext);
    if (arg2) {
      arg1->ext = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->ext,arg2);
    } else {
      arg1->ext = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1ext_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_map **)&jarg1; 
  result = (char *) ((arg1)->ext);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1map(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  struct zxid_map *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (struct zxid_map *)(struct zxid_map *) calloc(1, sizeof(struct zxid_map));
  *(struct zxid_map **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1map(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_map **)&jarg1; 
  free((char *) arg1);
  
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cstr_1list_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_cstr_list *arg1 = (struct zxid_cstr_list *) 0 ;
  struct zxid_cstr_list *arg2 = (struct zxid_cstr_list *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cstr_list **)&jarg1; 
  arg2 = *(struct zxid_cstr_list **)&jarg2; 
  if (arg1) (arg1)->n = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1cstr_1list_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_cstr_list *arg1 = (struct zxid_cstr_list *) 0 ;
  struct zxid_cstr_list *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cstr_list **)&jarg1; 
  result = (struct zxid_cstr_list *) ((arg1)->n);
  *(struct zxid_cstr_list **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cstr_1list_1s_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_cstr_list *arg1 = (struct zxid_cstr_list *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cstr_list **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->s) free((char*)arg1->s);
    if (arg2) {
      arg1->s = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->s,arg2);
    } else {
      arg1->s = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cstr_1list_1s_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_cstr_list *arg1 = (struct zxid_cstr_list *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cstr_list **)&jarg1; 
  result = (char *) ((arg1)->s);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1cstr_1list(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  struct zxid_cstr_list *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (struct zxid_cstr_list *)(struct zxid_cstr_list *) calloc(1, sizeof(struct zxid_cstr_list));
  *(struct zxid_cstr_list **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1cstr_1list(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  struct zxid_cstr_list *arg1 = (struct zxid_cstr_list *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cstr_list **)&jarg1; 
  free((char *) arg1);
  
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAP_1RULE_1RENAME_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAP_1RULE_1DEL_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 1;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAP_1RULE_1RESET_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 2;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAP_1RULE_1FEIDEDEC_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 3;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAP_1RULE_1FEIDEENC_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 4;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAP_1RULE_1UNSB64_1INF_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 5;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAP_1RULE_1DEF_1SB64_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 6;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAP_1RULE_1UNSB64_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 7;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAP_1RULE_1SB64_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 8;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  struct zxid_atsrc *arg2 = (struct zxid_atsrc *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_atsrc **)&jarg1; 
  arg2 = *(struct zxid_atsrc **)&jarg2; 
  if (arg1) (arg1)->n = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  struct zxid_atsrc *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_atsrc **)&jarg1; 
  result = (struct zxid_atsrc *) ((arg1)->n);
  *(struct zxid_atsrc **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1at_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  struct zxid_attr *arg2 = (struct zxid_attr *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_atsrc **)&jarg1; 
  arg2 = *(struct zxid_attr **)&jarg2; 
  if (arg1) (arg1)->at = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1at_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  struct zxid_attr *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_atsrc **)&jarg1; 
  result = (struct zxid_attr *) ((arg1)->at);
  *(struct zxid_attr **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1ns_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_atsrc **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->ns) free((char*)arg1->ns);
    if (arg2) {
      arg1->ns = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->ns,arg2);
    } else {
      arg1->ns = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1ns_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_atsrc **)&jarg1; 
  result = (char *) ((arg1)->ns);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1weight_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_atsrc **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->weight) free((char*)arg1->weight);
    if (arg2) {
      arg1->weight = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->weight,arg2);
    } else {
      arg1->weight = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1weight_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_atsrc **)&jarg1; 
  result = (char *) ((arg1)->weight);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1url_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_atsrc **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->url) free((char*)arg1->url);
    if (arg2) {
      arg1->url = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->url,arg2);
    } else {
      arg1->url = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1url_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_atsrc **)&jarg1; 
  result = (char *) ((arg1)->url);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1aapml_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_atsrc **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->aapml) free((char*)arg1->aapml);
    if (arg2) {
      arg1->aapml = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->aapml,arg2);
    } else {
      arg1->aapml = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1aapml_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_atsrc **)&jarg1; 
  result = (char *) ((arg1)->aapml);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1otherlim_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_atsrc **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->otherlim) free((char*)arg1->otherlim);
    if (arg2) {
      arg1->otherlim = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->otherlim,arg2);
    } else {
      arg1->otherlim = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1otherlim_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_atsrc **)&jarg1; 
  result = (char *) ((arg1)->otherlim);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1ext_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_atsrc **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->ext) free((char*)arg1->ext);
    if (arg2) {
      arg1->ext = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->ext,arg2);
    } else {
      arg1->ext = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1ext_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_atsrc **)&jarg1; 
  result = (char *) ((arg1)->ext);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1atsrc(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  struct zxid_atsrc *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (struct zxid_atsrc *)(struct zxid_atsrc *) calloc(1, sizeof(struct zxid_atsrc));
  *(struct zxid_atsrc **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1atsrc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_atsrc **)&jarg1; 
  free((char *) arg1);
  
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SES_1DIR_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "ses/";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1USER_1DIR_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "user/";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1UID_1DIR_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "uid/";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1PEM_1DIR_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "pem/";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1COT_1DIR_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "cot/";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAX_1USER_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) (256);
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAX_1MD_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) (64*1024);
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAX_1SOAP_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) (64*1024);
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAX_1EID_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) (1024);
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAX_1DIR_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) (4*1024);
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_entity *arg1 = (struct zxid_entity *) 0 ;
  struct zxid_entity *arg2 = (struct zxid_entity *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_entity **)&jarg1; 
  arg2 = *(struct zxid_entity **)&jarg2; 
  if (arg1) (arg1)->n = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_entity *arg1 = (struct zxid_entity *) 0 ;
  struct zxid_entity *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_entity **)&jarg1; 
  result = (struct zxid_entity *) ((arg1)->n);
  *(struct zxid_entity **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1n_1cdc_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_entity *arg1 = (struct zxid_entity *) 0 ;
  struct zxid_entity *arg2 = (struct zxid_entity *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_entity **)&jarg1; 
  arg2 = *(struct zxid_entity **)&jarg2; 
  if (arg1) (arg1)->n_cdc = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1n_1cdc_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_entity *arg1 = (struct zxid_entity *) 0 ;
  struct zxid_entity *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_entity **)&jarg1; 
  result = (struct zxid_entity *) ((arg1)->n_cdc);
  *(struct zxid_entity **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1eid_1len_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  struct zxid_entity *arg1 = (struct zxid_entity *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_entity **)&jarg1; 
  arg2 = (int)jarg2; 
  if (arg1) (arg1)->eid_len = arg2;
  
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1eid_1len_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jint jresult = 0 ;
  struct zxid_entity *arg1 = (struct zxid_entity *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_entity **)&jarg1; 
  result = (int) ((arg1)->eid_len);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1eid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_entity *arg1 = (struct zxid_entity *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_entity **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->eid) free((char*)arg1->eid);
    if (arg2) {
      arg1->eid = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->eid,arg2);
    } else {
      arg1->eid = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1eid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_entity *arg1 = (struct zxid_entity *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_entity **)&jarg1; 
  result = (char *) ((arg1)->eid);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1sha1_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_entity *arg1 = (struct zxid_entity *) 0 ;
  char *arg2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_entity **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg2) strncpy(arg1->sha1_name,arg2,28);
    else arg1->sha1_name[0] = 0;
  }
  
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1sha1_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_entity *arg1 = (struct zxid_entity *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_entity **)&jarg1; 
  result = (char *)(char *) ((arg1)->sha1_name);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1tls_1cert_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_entity *arg1 = (struct zxid_entity *) 0 ;
  X509 *arg2 = (X509 *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_entity **)&jarg1; 
  arg2 = *(X509 **)&jarg2; 
  if (arg1) (arg1)->tls_cert = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1tls_1cert_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_entity *arg1 = (struct zxid_entity *) 0 ;
  X509 *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_entity **)&jarg1; 
  result = (X509 *) ((arg1)->tls_cert);
  *(X509 **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1sign_1cert_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_entity *arg1 = (struct zxid_entity *) 0 ;
  X509 *arg2 = (X509 *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_entity **)&jarg1; 
  arg2 = *(X509 **)&jarg2; 
  if (arg1) (arg1)->sign_cert = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1sign_1cert_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_entity *arg1 = (struct zxid_entity *) 0 ;
  X509 *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_entity **)&jarg1; 
  result = (X509 *) ((arg1)->sign_cert);
  *(X509 **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1enc_1cert_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_entity *arg1 = (struct zxid_entity *) 0 ;
  X509 *arg2 = (X509 *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_entity **)&jarg1; 
  arg2 = *(X509 **)&jarg2; 
  if (arg1) (arg1)->enc_cert = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1enc_1cert_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_entity *arg1 = (struct zxid_entity *) 0 ;
  X509 *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_entity **)&jarg1; 
  result = (X509 *) ((arg1)->enc_cert);
  *(X509 **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1ed_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_entity *arg1 = (struct zxid_entity *) 0 ;
  struct zx_md_EntityDescriptor_s *arg2 = (struct zx_md_EntityDescriptor_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_entity **)&jarg1; 
  arg2 = *(struct zx_md_EntityDescriptor_s **)&jarg2; 
  if (arg1) (arg1)->ed = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1ed_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_entity *arg1 = (struct zxid_entity *) 0 ;
  struct zx_md_EntityDescriptor_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_entity **)&jarg1; 
  result = (struct zx_md_EntityDescriptor_s *) ((arg1)->ed);
  *(struct zx_md_EntityDescriptor_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1entity(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  struct zxid_entity *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (struct zxid_entity *)(struct zxid_entity *) calloc(1, sizeof(struct zxid_entity));
  *(struct zxid_entity **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1entity(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  struct zxid_entity *arg1 = (struct zxid_entity *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_entity **)&jarg1; 
  free((char *) arg1);
  
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1EXIT_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x01;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1REDIR_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x02;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1SOAPC_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x04;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1SOAPH_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x08;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1METAC_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x10;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1METAH_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x20;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1LOGINC_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x40;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1LOGINH_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x80;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1MGMTC_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x100;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1MGMTH_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x200;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1FORMF_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x400;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1FORMT_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x800;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1ALL_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0xfff;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1DEBUG_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x1000;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1FMTQ_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x2000;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1FMTJ_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x4000;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1simple(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2, jint jarg3) {
  jstring jresult = 0 ;
  char *arg1 = (char *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = (int)jarg3; 
  result = (char *)zxid_simple(arg1,arg2,arg3);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1list(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2) {
  jstring jresult = 0 ;
  char *arg1 = (char *) 0 ;
  int arg2 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  arg2 = (int)jarg2; 
  result = (char *)zxid_idp_list(arg1,arg2);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1select(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2) {
  jstring jresult = 0 ;
  char *arg1 = (char *) 0 ;
  int arg2 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  arg2 = (int)jarg2; 
  result = (char *)zxid_idp_select(arg1,arg2);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1fed_1mgmt(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2, jint jarg3) {
  jstring jresult = 0 ;
  char *arg1 = (char *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = (int)jarg3; 
  result = (char *)zxid_fed_mgmt(arg1,arg2,arg3);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1new_1conf_1to_1cf(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  char *arg1 = (char *) 0 ;
  struct zxid_conf *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  result = (struct zxid_conf *)zxid_new_conf_to_cf(arg1);
  *(struct zxid_conf **)&jresult = result; 
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1simple_1cf(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3, jlong jarg4, jint jarg5) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  int *arg4 = (int *) 0 ;
  int arg5 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (int)jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = *(int **)&jarg4; 
  arg5 = (int)jarg5; 
  result = (char *)zxid_simple_cf(arg1,arg2,arg3,arg4,arg5);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1list_1cf(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int *arg2 = (int *) 0 ;
  int arg3 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(int **)&jarg2; 
  arg3 = (int)jarg3; 
  result = (char *)zxid_idp_list_cf(arg1,arg2,arg3);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1select_1cf(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int *arg2 = (int *) 0 ;
  int arg3 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(int **)&jarg2; 
  arg3 = (int)jarg3; 
  result = (char *)zxid_idp_select_cf(arg1,arg2,arg3);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1fed_1mgmt_1cf(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jstring jarg4, jint jarg5) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int *arg2 = (int *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  int arg5 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(int **)&jarg2; 
  arg3 = (int)jarg3; 
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  arg5 = (int)jarg5; 
  result = (char *)zxid_fed_mgmt_cf(arg1,arg2,arg3,arg4,arg5);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1to_1cf_1len(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (int)jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  result = (int)zxid_conf_to_cf_len(arg1,arg2,arg3);
  jresult = (jint)result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1simple_1len(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jint jarg3, jstring jarg4, jlong jarg5, jint jarg6) {
  jstring jresult = 0 ;
  int arg1 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  int *arg5 = (int *) 0 ;
  int arg6 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (int)jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = (int)jarg3; 
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  arg5 = *(int **)&jarg5; 
  arg6 = (int)jarg6; 
  result = (char *)zxid_simple_len(arg1,arg2,arg3,arg4,arg5,arg6);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1list_1len(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jlong jarg3, jint jarg4) {
  jstring jresult = 0 ;
  int arg1 ;
  char *arg2 = (char *) 0 ;
  int *arg3 = (int *) 0 ;
  int arg4 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (int)jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = *(int **)&jarg3; 
  arg4 = (int)jarg4; 
  result = (char *)zxid_idp_list_len(arg1,arg2,arg3,arg4);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1select_1len(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jlong jarg3, jint jarg4) {
  jstring jresult = 0 ;
  int arg1 ;
  char *arg2 = (char *) 0 ;
  int *arg3 = (int *) 0 ;
  int arg4 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (int)jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = *(int **)&jarg3; 
  arg4 = (int)jarg4; 
  result = (char *)zxid_idp_select_len(arg1,arg2,arg3,arg4);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1fed_1mgmt_1len(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jlong jarg3, jstring jarg4, jint jarg5) {
  jstring jresult = 0 ;
  int arg1 ;
  char *arg2 = (char *) 0 ;
  int *arg3 = (int *) 0 ;
  char *arg4 = (char *) 0 ;
  int arg5 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (int)jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = *(int **)&jarg3; 
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  arg5 = (int)jarg5; 
  result = (char *)zxid_fed_mgmt_len(arg1,arg2,arg3,arg4,arg5);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1select_1zxstr_1cf(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int arg2 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (int)jarg2; 
  result = (struct zx_str *)zxid_idp_select_zxstr_cf(arg1,arg2);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1simple_1ab_1pep(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jint jarg4) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_ses *arg2 = (struct zxid_ses *) 0 ;
  int *arg3 = (int *) 0 ;
  int arg4 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_ses **)&jarg2; 
  arg3 = *(int **)&jarg3; 
  arg4 = (int)jarg4; 
  result = (char *)zxid_simple_ab_pep(arg1,arg2,arg3,arg4);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1simple_1ses_1active_1cf(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jint jarg5) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  int *arg4 = (int *) 0 ;
  int arg5 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  arg4 = *(int **)&jarg4; 
  arg5 = (int)jarg5; 
  result = (char *)zxid_simple_ses_active_cf(arg1,arg2,arg3,arg4,arg5);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1simple_1no_1ses_1cf(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jint jarg5) {
  jstring jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  int *arg4 = (int *) 0 ;
  int arg5 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  arg4 = *(int **)&jarg4; 
  arg5 = (int)jarg5; 
  result = (char *)zxid_simple_no_ses_cf(arg1,arg2,arg3,arg4,arg5);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SSO_1SIGN_1A7N_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x01;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SSO_1SIGN_1RESP_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x02;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SSO_1SIGN_1A7N_1SIMPLE_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x04;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxsig_1ref_1sref_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
  struct zx_ds_Reference_s *arg2 = (struct zx_ds_Reference_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxsig_ref **)&jarg1; 
  arg2 = *(struct zx_ds_Reference_s **)&jarg2; 
  if (arg1) (arg1)->sref = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxsig_1ref_1sref_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
  struct zx_ds_Reference_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxsig_ref **)&jarg1; 
  result = (struct zx_ds_Reference_s *) ((arg1)->sref);
  *(struct zx_ds_Reference_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxsig_1ref_1blob_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
  struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxsig_ref **)&jarg1; 
  arg2 = *(struct zx_elem_s **)&jarg2; 
  if (arg1) (arg1)->blob = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxsig_1ref_1blob_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
  struct zx_elem_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxsig_ref **)&jarg1; 
  result = (struct zx_elem_s *) ((arg1)->blob);
  *(struct zx_elem_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxsig_1ref_1id_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxsig_ref **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  if (arg1) (arg1)->id = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxsig_1ref_1id_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxsig_ref **)&jarg1; 
  result = (struct zx_str *) ((arg1)->id);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxsig_1ref_1canon_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxsig_ref **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  if (arg1) (arg1)->canon = arg2;
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxsig_1ref_1canon_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxsig_ref **)&jarg1; 
  result = (struct zx_str *) ((arg1)->canon);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxsig_1ref(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  struct zxsig_ref *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (struct zxsig_ref *)(struct zxsig_ref *) calloc(1, sizeof(struct zxsig_ref));
  *(struct zxsig_ref **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxsig_1ref(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxsig_ref **)&jarg1; 
  free((char *) arg1);
  
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXSIG_1OK_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXSIG_1BAD_1DALGO_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 1;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXSIG_1DIGEST_1LEN_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 2;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXSIG_1BAD_1DIGEST_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 3;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXSIG_1BAD_1SALGO_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 4;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXSIG_1BAD_1CERT_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 5;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXSIG_1VFY_1FAIL_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 6;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXSIG_1NO_1SIG_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 7;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXSIG_1TIMEOUT_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 8;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXSIG_1AUDIENCE_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 9;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxsig_1sign(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jlong jarg3, jlong jarg4, jlong jarg5) {
  jlong jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  struct zxsig_ref *arg3 = (struct zxsig_ref *) 0 ;
  X509 *arg4 = (X509 *) 0 ;
  void **arg5 = (void **) 0 ;
  struct zx_ds_Signature_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = (int)jarg2; 
  arg3 = *(struct zxsig_ref **)&jarg3; 
  arg4 = *(X509 **)&jarg4; 
  arg5 = *(void ***)&jarg5; 
  result = (struct zx_ds_Signature_s *)zxsig_sign(arg1,arg2,arg3,arg4,arg5);
  *(struct zx_ds_Signature_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxsig_1validate(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jint jarg4, jlong jarg5) {
  jint jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  X509 *arg2 = (X509 *) 0 ;
  struct zx_ds_Signature_s *arg3 = (struct zx_ds_Signature_s *) 0 ;
  int arg4 ;
  struct zxsig_ref *arg5 = (struct zxsig_ref *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = *(X509 **)&jarg2; 
  arg3 = *(struct zx_ds_Signature_s **)&jarg3; 
  arg4 = (int)jarg4; 
  arg5 = *(struct zxsig_ref **)&jarg5; 
  result = (int)zxsig_validate(arg1,arg2,arg3,arg4,arg5);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxsig_1data_1rsa_1sha1(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3, jlong jarg4, jlong jarg5, jstring jarg6) {
  jint jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  char **arg4 = (char **) 0 ;
  void **arg5 = (void **) 0 ;
  char *arg6 = (char *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = (int)jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = *(char ***)&jarg4; 
  arg5 = *(void ***)&jarg5; 
  arg6 = 0;
  if (jarg6) {
    arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
    if (!arg6) return 0;
  }
  result = (int)zxsig_data_rsa_sha1(arg1,arg2,arg3,arg4,arg5,arg6);
  jresult = (jint)result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, arg6);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxsig_1verify_1data_1rsa_1sha1(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jint jarg3, jstring jarg4, jlong jarg5, jstring jarg6) {
  jint jresult = 0 ;
  int arg1 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  X509 *arg5 = (X509 *) 0 ;
  char *arg6 = (char *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (int)jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = (int)jarg3; 
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  arg5 = *(X509 **)&jarg5; 
  arg6 = 0;
  if (jarg6) {
    arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
    if (!arg6) return 0;
  }
  result = (int)zxsig_verify_data_rsa_sha1(arg1,arg2,arg3,arg4,arg5,arg6);
  jresult = (jint)result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, arg6);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxenc_1symkey_1dec(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_xenc_EncryptedData_s *arg2 = (struct zx_xenc_EncryptedData_s *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_xenc_EncryptedData_s **)&jarg2; 
  arg3 = *(struct zx_str **)&jarg3; 
  result = (struct zx_str *)zxenc_symkey_dec(arg1,arg2,arg3);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxenc_1privkey_1dec(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct 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 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_xenc_EncryptedData_s **)&jarg2; 
  arg3 = *(struct zx_xenc_EncryptedKey_s **)&jarg3; 
  result = (struct zx_str *)zxenc_privkey_dec(arg1,arg2,arg3);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxenc_1symkey_1enc(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct 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 ;
  struct zx_xenc_EncryptedData_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  arg3 = *(struct zx_str **)&jarg3; 
  arg4 = *(struct zx_str **)&jarg4; 
  arg5 = *(struct zx_str **)&jarg5; 
  result = (struct zx_xenc_EncryptedData_s *)zxenc_symkey_enc(arg1,arg2,arg3,arg4,arg5);
  *(struct zx_xenc_EncryptedData_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxenc_1pubkey_1enc(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jstring jarg5) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zx_xenc_EncryptedKey_s **arg3 = (struct zx_xenc_EncryptedKey_s **) 0 ;
  X509 *arg4 = (X509 *) 0 ;
  char *arg5 = (char *) 0 ;
  struct zx_xenc_EncryptedData_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  arg3 = *(struct zx_xenc_EncryptedKey_s ***)&jarg3; 
  arg4 = *(X509 **)&jarg4; 
  arg5 = 0;
  if (jarg5) {
    arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
    if (!arg5) return 0;
  }
  result = (struct zx_xenc_EncryptedData_s *)zxenc_pubkey_enc(arg1,arg2,arg3,arg4,arg5);
  *(struct zx_xenc_EncryptedData_s **)&jresult = result; 
  if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, arg5);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXLOG_1RELY_1DIR_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "rely/";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXLOG_1ISSUE_1DIR_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "issue/";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXLOG_1A7N_1KIND_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "/a7n/";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXLOG_1MSG_1KIND_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "/msg/";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXLOG_1WIR_1KIND_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "/wir/";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxlog_1write_1line(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jint jarg3, jint jarg4, jstring jarg5) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  arg3 = (int)jarg3; 
  arg4 = (int)jarg4; 
  arg5 = 0;
  if (jarg5) {
    arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
    if (!arg5) return ;
  }
  zxlog_write_line(arg1,arg2,arg3,arg4,arg5);
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, arg5);
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxlog_1path(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jstring jarg4, jstring jarg5, jint jarg6) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  int arg6 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  arg3 = *(struct zx_str **)&jarg3; 
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  arg5 = 0;
  if (jarg5) {
    arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
    if (!arg5) return 0;
  }
  arg6 = (int)jarg6; 
  result = (struct zx_str *)zxlog_path(arg1,arg2,arg3,arg4,arg5,arg6);
  *(struct zx_str **)&jresult = result; 
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, arg5);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxlog_1dup_1check(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  char *arg3 = (char *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  result = (int)zxlog_dup_check(arg1,arg2,arg3);
  jresult = (jint)result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxlog_1blob(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jlong jarg3, jlong jarg4, jstring jarg5) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct 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 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (int)jarg2; 
  arg3 = *(struct zx_str **)&jarg3; 
  arg4 = *(struct zx_str **)&jarg4; 
  arg5 = 0;
  if (jarg5) {
    arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
    if (!arg5) return 0;
  }
  result = (int)zxlog_blob(arg1,arg2,arg3,arg4,arg5);
  jresult = (jint)result; 
  if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, arg5);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxlog(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jstring jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jlong jarg8, jstring jarg9, jstring jarg10, jstring jarg11, jstring jarg12, jstring jarg13) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct 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 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct timeval **)&jarg2; 
  arg3 = *(struct timeval **)&jarg3; 
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  arg5 = *(struct zx_str **)&jarg5; 
  arg6 = *(struct zx_str **)&jarg6; 
  arg7 = *(struct zx_str **)&jarg7; 
  arg8 = *(struct zx_str **)&jarg8; 
  arg9 = 0;
  if (jarg9) {
    arg9 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg9, 0);
    if (!arg9) return 0;
  }
  arg10 = 0;
  if (jarg10) {
    arg10 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg10, 0);
    if (!arg10) return 0;
  }
  arg11 = 0;
  if (jarg11) {
    arg11 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg11, 0);
    if (!arg11) return 0;
  }
  arg12 = 0;
  if (jarg12) {
    arg12 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg12, 0);
    if (!arg12) return 0;
  }
  arg13 = 0;
  if (jarg13) {
    arg13 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg13, 0);
    if (!arg13) return 0;
  }
  result = (int)zxlog(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14);
  jresult = (jint)result; 
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  if (arg9) (*jenv)->ReleaseStringUTFChars(jenv, jarg9, arg9);
  if (arg10) (*jenv)->ReleaseStringUTFChars(jenv, jarg10, arg10);
  if (arg11) (*jenv)->ReleaseStringUTFChars(jenv, jarg11, arg11);
  if (arg12) (*jenv)->ReleaseStringUTFChars(jenv, jarg12, arg12);
  if (arg13) (*jenv)->ReleaseStringUTFChars(jenv, jarg13, arg13);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1ent_1from_1file(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zxid_entity *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (struct zxid_entity *)zxid_get_ent_from_file(arg1,arg2);
  *(struct zxid_entity **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1ent_1from_1cache(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zxid_entity *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  result = (struct zxid_entity *)zxid_get_ent_from_cache(arg1,arg2);
  *(struct zxid_entity **)&jresult = result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1write_1ent_1to_1cache(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_entity *arg2 = (struct zxid_entity *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_entity **)&jarg2; 
  result = (int)zxid_write_ent_to_cache(arg1,arg2);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1parse_1meta(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char **arg2 = (char **) 0 ;
  char *arg3 = (char *) 0 ;
  struct zxid_entity *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(char ***)&jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  result = (struct zxid_entity *)zxid_parse_meta(arg1,arg2,arg3);
  *(struct zxid_entity **)&jresult = result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1meta_1ss(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zxid_entity *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  result = (struct zxid_entity *)zxid_get_meta_ss(arg1,arg2);
  *(struct zxid_entity **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1meta(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zxid_entity *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (struct zxid_entity *)zxid_get_meta(arg1,arg2);
  *(struct zxid_entity **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1ent_1ss(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zxid_entity *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  result = (struct zxid_entity *)zxid_get_ent_ss(arg1,arg2);
  *(struct zxid_entity **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1ent(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zxid_entity *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (struct zxid_entity *)zxid_get_ent(arg1,arg2);
  *(struct zxid_entity **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1ent_1by_1succinct_1id(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zxid_entity *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (struct zxid_entity *)zxid_get_ent_by_succinct_id(arg1,arg2);
  *(struct zxid_entity **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1ent_1by_1sha1_1name(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zxid_entity *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (struct zxid_entity *)zxid_get_ent_by_sha1_name(arg1,arg2);
  *(struct zxid_entity **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1load_1cot_1cache(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_entity *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (struct zxid_entity *)zxid_load_cot_cache(arg1);
  *(struct zxid_entity **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1key_1info(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  X509 *arg2 = (X509 *) 0 ;
  struct zx_ds_KeyInfo_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(X509 **)&jarg2; 
  result = (struct zx_ds_KeyInfo_s *)zxid_key_info(arg1,arg2);
  *(struct zx_ds_KeyInfo_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1key_1desc(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  X509 *arg3 = (X509 *) 0 ;
  struct zx_md_KeyDescriptor_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = *(X509 **)&jarg3; 
  result = (struct zx_md_KeyDescriptor_s *)zxid_key_desc(arg1,arg2,arg3);
  *(struct zx_md_KeyDescriptor_s **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ar_1desc(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jstring jarg4) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  struct zx_md_ArtifactResolutionService_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  result = (struct zx_md_ArtifactResolutionService_s *)zxid_ar_desc(arg1,arg2,arg3,arg4);
  *(struct zx_md_ArtifactResolutionService_s **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1sso_1desc(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jstring jarg4) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  struct zx_md_SingleSignOnService_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  result = (struct zx_md_SingleSignOnService_s *)zxid_sso_desc(arg1,arg2,arg3,arg4);
  *(struct zx_md_SingleSignOnService_s **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1slo_1desc(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jstring jarg4) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  struct zx_md_SingleLogoutService_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  result = (struct zx_md_SingleLogoutService_s *)zxid_slo_desc(arg1,arg2,arg3,arg4);
  *(struct zx_md_SingleLogoutService_s **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mni_1desc(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jstring jarg4) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  struct zx_md_ManageNameIDService_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  result = (struct zx_md_ManageNameIDService_s *)zxid_mni_desc(arg1,arg2,arg3,arg4);
  *(struct zx_md_ManageNameIDService_s **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ac_1desc(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jstring jarg4) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  struct zx_md_AssertionConsumerService_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  result = (struct zx_md_AssertionConsumerService_s *)zxid_ac_desc(arg1,arg2,arg3,arg4);
  *(struct zx_md_AssertionConsumerService_s **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1sso_1desc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_md_IDPSSODescriptor_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (struct zx_md_IDPSSODescriptor_s *)zxid_idp_sso_desc(arg1);
  *(struct zx_md_IDPSSODescriptor_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1sso_1desc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_md_SPSSODescriptor_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (struct zx_md_SPSSODescriptor_s *)zxid_sp_sso_desc(arg1);
  *(struct zx_md_SPSSODescriptor_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1meta(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  result = (struct zx_str *)zxid_sp_meta(arg1,arg2);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1send_1sp_1meta(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  result = (int)zxid_send_sp_meta(arg1,arg2);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1carml(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (struct zx_str *)zxid_sp_carml(arg1);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1my_1entity_1id(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (struct zx_str *)zxid_my_entity_id(arg1);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1my_1cdc_1url(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (struct zx_str *)zxid_my_cdc_url(arg1);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1my_1issuer(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_sa_Issuer_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (struct zx_sa_Issuer_s *)zxid_my_issuer(arg1);
  *(struct zx_sa_Issuer_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1sha1_1file(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return ;
  }
  zxid_sha1_file(arg1,arg2,arg3);
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1extract_1cert(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  char *arg1 = (char *) 0 ;
  char *arg2 = (char *) 0 ;
  X509 *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (X509 *)zxid_extract_cert(arg1,arg2);
  *(X509 **)&jresult = result; 
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1extract_1private_1key(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  char *arg1 = (char *) 0 ;
  char *arg2 = (char *) 0 ;
  void **result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (void **)zxid_extract_private_key(arg1,arg2);
  *(void ***)&jresult = result; 
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1read_1cert(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  X509 *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (X509 *)zxid_read_cert(arg1,arg2);
  *(X509 **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1read_1private_1key(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  void **result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (void **)zxid_read_private_key(arg1,arg2);
  *(void ***)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1set_1opt(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jint jarg3) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int arg2 ;
  int arg3 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (int)jarg2; 
  arg3 = (int)jarg3; 
  result = (int)zxid_set_opt(arg1,arg2,arg3);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1url_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  zxid_url_set(arg1,arg2);
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1init_1conf(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (int)zxid_init_conf(arg1,arg2);
  jresult = (jint)result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1init_1conf_1ctx(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zxid_conf *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (struct zxid_conf *)zxid_init_conf_ctx(arg1,arg2);
  *(struct zxid_conf **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1new_1conf(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  char *arg1 = (char *) 0 ;
  struct zxid_conf *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  result = (struct zxid_conf *)zxid_new_conf(arg1);
  *(struct zxid_conf **)&jresult = result; 
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1parse_1conf_1raw(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (int)jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  result = (int)zxid_parse_conf_raw(arg1,arg2,arg3);
  jresult = (jint)result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1parse_1conf(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (int)zxid_parse_conf(arg1,arg2);
  jresult = (jint)result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1self_1sig_1cert(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3, jstring jarg4, jstring jarg5) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = (int)jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  arg5 = 0;
  if (jarg5) {
    arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
    if (!arg5) return 0;
  }
  result = (int)zxid_mk_self_sig_cert(arg1,arg2,arg3,arg4,arg5);
  jresult = (jint)result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, arg5);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1load_1map(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_map *arg2 = (struct zxid_map *) 0 ;
  char *arg3 = (char *) 0 ;
  struct zxid_map *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_map **)&jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  result = (struct zxid_map *)zxid_load_map(arg1,arg2,arg3);
  *(struct zxid_map **)&jresult = result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1load_1need(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_need *arg2 = (struct zxid_need *) 0 ;
  char *arg3 = (char *) 0 ;
  struct zxid_need *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_need **)&jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  result = (struct zxid_need *)zxid_load_need(arg1,arg2,arg3);
  *(struct zxid_need **)&jresult = result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1load_1atsrc(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_atsrc *arg2 = (struct zxid_atsrc *) 0 ;
  char *arg3 = (char *) 0 ;
  struct zxid_atsrc *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_atsrc **)&jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  result = (struct zxid_atsrc *)zxid_load_atsrc(arg1,arg2,arg3);
  *(struct zxid_atsrc **)&jresult = result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1new_1at(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jstring jarg4, jint jarg5, jstring jarg6, jstring jarg7) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_attr *arg2 = (struct zxid_attr *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  int arg5 ;
  char *arg6 = (char *) 0 ;
  char *arg7 = (char *) 0 ;
  struct zxid_attr *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_attr **)&jarg2; 
  arg3 = (int)jarg3; 
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  arg5 = (int)jarg5; 
  arg6 = 0;
  if (jarg6) {
    arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
    if (!arg6) return 0;
  }
  arg7 = 0;
  if (jarg7) {
    arg7 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg7, 0);
    if (!arg7) return 0;
  }
  result = (struct zxid_attr *)zxid_new_at(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
  *(struct zxid_attr **)&jresult = result; 
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, arg6);
  if (arg7) (*jenv)->ReleaseStringUTFChars(jenv, jarg7, arg7);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1load_1cstr_1list(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cstr_list *arg2 = (struct zxid_cstr_list *) 0 ;
  char *arg3 = (char *) 0 ;
  struct zxid_cstr_list *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cstr_list **)&jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  result = (struct zxid_cstr_list *)zxid_load_cstr_list(arg1,arg2,arg3);
  *(struct zxid_cstr_list **)&jresult = result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1is_1needed(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  struct zxid_need *arg1 = (struct zxid_need *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zxid_need *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_need **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (struct zxid_need *)zxid_is_needed(arg1,arg2);
  *(struct zxid_need **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1find_1map(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  struct zxid_map *arg1 = (struct zxid_map *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zxid_map *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_map **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (struct zxid_map *)zxid_find_map(arg1,arg2);
  *(struct zxid_map **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1find_1cstr_1list(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  struct zxid_cstr_list *arg1 = (struct zxid_cstr_list *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zxid_cstr_list *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cstr_list **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (struct zxid_cstr_list *)zxid_find_cstr_list(arg1,arg2);
  *(struct zxid_cstr_list **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1find_1at(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zxid_attr *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_attr **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (struct zxid_attr *)zxid_find_at(arg1,arg2);
  *(struct zxid_attr **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1parse_1cgi(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jint jresult = 0 ;
  struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
  char *arg2 = (char *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_cgi **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (int)zxid_parse_cgi(arg1,arg2);
  jresult = (jint)result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1new_1cgi(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zxid_cgi *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (struct zxid_cgi *)zxid_new_cgi(arg1,arg2);
  *(struct zxid_cgi **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1sid_1from_1cookie(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  char *arg3 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return ;
  }
  zxid_get_sid_from_cookie(arg1,arg2,(char const *)arg3);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1fetch_1ses(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zxid_ses *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (struct zxid_ses *)zxid_fetch_ses(arg1,arg2);
  *(struct zxid_ses **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1ses(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_ses *arg2 = (struct zxid_ses *) 0 ;
  char *arg3 = (char *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_ses **)&jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  result = (int)zxid_get_ses(arg1,arg2,arg3);
  jresult = (jint)result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1put_1ses(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_ses *arg2 = (struct zxid_ses *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_ses **)&jarg2; 
  result = (int)zxid_put_ses(arg1,arg2);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1del_1ses(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_ses *arg2 = (struct zxid_ses *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_ses **)&jarg2; 
  result = (int)zxid_del_ses(arg1,arg2);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1ses_1sso_1a7n(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_ses *arg2 = (struct zxid_ses *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_ses **)&jarg2; 
  result = (int)zxid_get_ses_sso_a7n(arg1,arg2);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1ses_1idp(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_ses *arg2 = (struct zxid_ses *) 0 ;
  struct zxid_entity *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_ses **)&jarg2; 
  result = (struct zxid_entity *)zxid_get_ses_idp(arg1,arg2);
  *(struct zxid_entity **)&jresult = result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1find_1ses(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_ses *arg2 = (struct zxid_ses *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  struct zx_str *arg4 = (struct zx_str *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_ses **)&jarg2; 
  arg3 = *(struct zx_str **)&jarg3; 
  arg4 = *(struct zx_str **)&jarg4; 
  result = (int)zxid_find_ses(arg1,arg2,arg3,arg4);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1pool_1to_1ldif(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_attr *arg2 = (struct zxid_attr *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_attr **)&jarg2; 
  result = (struct zx_str *)zxid_pool_to_ldif(arg1,arg2);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1pool_1to_1json(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_attr *arg2 = (struct zxid_attr *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_attr **)&jarg2; 
  result = (struct zx_str *)zxid_pool_to_json(arg1,arg2);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1pool_1to_1qs(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_attr *arg2 = (struct zxid_attr *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_attr **)&jarg2; 
  result = (struct zx_str *)zxid_pool_to_qs(arg1,arg2);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1to_1pool(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_ses *arg2 = (struct zxid_ses *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_ses **)&jarg2; 
  zxid_ses_to_pool(arg1,arg2);
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1add_1attr_1to_1pool(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jlong jarg4) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_ses *arg2 = (struct zxid_ses *) 0 ;
  char *arg3 = (char *) 0 ;
  struct zx_str *arg4 = (struct zx_str *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_ses **)&jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return ;
  }
  arg4 = *(struct zx_str **)&jarg4; 
  zxid_add_attr_to_pool(arg1,arg2,arg3,arg4);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1parse_1mni(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  char **arg3 = (char **) 0 ;
  struct zx_sa_NameID_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = *(char ***)&jarg3; 
  result = (struct zx_sa_NameID_s *)zxid_parse_mni(arg1,arg2,arg3);
  *(struct zx_sa_NameID_s **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1put_1user(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jstring jarg6) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct 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 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  arg3 = *(struct zx_str **)&jarg3; 
  arg4 = *(struct zx_str **)&jarg4; 
  arg5 = *(struct zx_str **)&jarg5; 
  arg6 = 0;
  if (jarg6) {
    arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
    if (!arg6) return 0;
  }
  result = (int)zxid_put_user(arg1,arg2,arg3,arg4,arg5,arg6);
  jresult = (jint)result; 
  if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, arg6);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1user_1nameid(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_sa_NameID_s *arg2 = (struct zx_sa_NameID_s *) 0 ;
  struct zx_sa_NameID_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_sa_NameID_s **)&jarg2; 
  result = (struct zx_sa_NameID_s *)zxid_get_user_nameid(arg1,arg2);
  *(struct zx_sa_NameID_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1user_1change_1nameid(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_sa_NameID_s *arg2 = (struct zx_sa_NameID_s *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_sa_NameID_s **)&jarg2; 
  arg3 = *(struct zx_str **)&jarg3; 
  zxid_user_change_nameid(arg1,arg2,arg3);
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1pw_1authn(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  result = (int)zxid_pw_authn(arg1,arg2,arg3);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1version(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int)zxid_version();
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1version_1str(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *)zxid_version_str();
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1date_1time(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  time_t arg2 ;
  struct zx_str *result = 0 ;
  time_t *argp2 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  argp2 = *(time_t **)&jarg2; 
  if (!argp2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null time_t");
    return 0;
  }
  arg2 = *argp2; 
  result = (struct zx_str *)zxid_date_time(arg1,arg2);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1id(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jint jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = (int)jarg3; 
  result = (struct zx_str *)zxid_mk_id(arg1,arg2,arg3);
  *(struct zx_str **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1soap_1call_1raw(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  struct zx_root_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  arg3 = *(struct zx_str **)&jarg3; 
  result = (struct zx_root_s *)zxid_soap_call_raw(arg1,arg2,arg3);
  *(struct zx_root_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1lecp_1check(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  result = (struct zx_str *)zxid_lecp_check(arg1,arg2);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1cdc_1read(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  result = (int)zxid_cdc_read(arg1,arg2);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1cdc_1check(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  result = (int)zxid_cdc_check(arg1,arg2);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1soap_1call_1envelope(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zx_e_Envelope_s *arg3 = (struct zx_e_Envelope_s *) 0 ;
  struct zx_root_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  arg3 = *(struct zx_e_Envelope_s **)&jarg3; 
  result = (struct zx_root_s *)zxid_soap_call_envelope(arg1,arg2,arg3);
  *(struct zx_root_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1soap_1call_1hdr_1body(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct 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 ;
  struct zx_root_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  arg3 = *(struct zx_e_Header_s **)&jarg3; 
  arg4 = *(struct zx_e_Body_s **)&jarg4; 
  result = (struct zx_root_s *)zxid_soap_call_hdr_body(arg1,arg2,arg3,arg4);
  *(struct zx_root_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1soap_1call_1body(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zx_e_Body_s *arg3 = (struct zx_e_Body_s *) 0 ;
  struct zx_root_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  arg3 = *(struct zx_e_Body_s **)&jarg3; 
  result = (struct zx_root_s *)zxid_soap_call_body(arg1,arg2,arg3);
  *(struct zx_root_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1soap_1cgi_1resp_1body(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_e_Body_s *arg2 = (struct zx_e_Body_s *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_e_Body_s **)&jarg2; 
  result = (int)zxid_soap_cgi_resp_body(arg1,arg2);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1saml2_1post_1enc(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3, jstring jarg4, jint jarg5, jlong jarg6) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct 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 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = *(struct zx_str **)&jarg3; 
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  arg5 = (int)jarg5; 
  arg6 = *(struct zx_str **)&jarg6; 
  result = (struct zx_str *)zxid_saml2_post_enc(arg1,arg2,arg3,arg4,arg5,arg6);
  *(struct zx_str **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1saml2_1redir_1enc(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3, jstring jarg4) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  char *arg4 = (char *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = *(struct zx_str **)&jarg3; 
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  result = (struct zx_str *)zxid_saml2_redir_enc(arg1,arg2,arg3,arg4);
  *(struct zx_str **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1saml2_1redir_1url(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jstring jarg4) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  char *arg4 = (char *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  arg3 = *(struct zx_str **)&jarg3; 
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  result = (struct zx_str *)zxid_saml2_redir_url(arg1,arg2,arg3,arg4);
  *(struct zx_str **)&jresult = result; 
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1saml2_1redir(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jstring jarg4) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  char *arg4 = (char *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  arg3 = *(struct zx_str **)&jarg3; 
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  result = (struct zx_str *)zxid_saml2_redir(arg1,arg2,arg3,arg4);
  *(struct zx_str **)&jresult = result; 
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1saml2_1resp_1redir(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jstring jarg4) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  char *arg4 = (char *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  arg3 = *(struct zx_str **)&jarg3; 
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  result = (struct zx_str *)zxid_saml2_resp_redir(arg1,arg2,arg3,arg4);
  *(struct zx_str **)&jresult = result; 
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1saml_1ok(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jstring jarg4) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zx_sp_Status_s *arg3 = (struct zx_sp_Status_s *) 0 ;
  char *arg4 = (char *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zx_sp_Status_s **)&jarg3; 
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  result = (int)zxid_saml_ok(arg1,arg2,arg3,arg4);
  jresult = (jint)result; 
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1decrypt_1nameid(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_sa_NameID_s *arg2 = (struct zx_sa_NameID_s *) 0 ;
  struct zx_sa_EncryptedID_s *arg3 = (struct zx_sa_EncryptedID_s *) 0 ;
  struct zx_sa_NameID_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_sa_NameID_s **)&jarg2; 
  arg3 = *(struct zx_sa_EncryptedID_s **)&jarg3; 
  result = (struct zx_sa_NameID_s *)zxid_decrypt_nameid(arg1,arg2,arg3);
  *(struct zx_sa_NameID_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1decrypt_1newnym(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zx_sp_NewEncryptedID_s *arg3 = (struct zx_sp_NewEncryptedID_s *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  arg3 = *(struct zx_sp_NewEncryptedID_s **)&jarg3; 
  result = (struct zx_str *)zxid_decrypt_newnym(arg1,arg2,arg3);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1chk_1sig(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jstring jarg7) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  struct zx_elem_s *arg4 = (struct zx_elem_s *) 0 ;
  struct zx_ds_Signature_s *arg5 = (struct zx_ds_Signature_s *) 0 ;
  struct zx_sa_Issuer_s *arg6 = (struct zx_sa_Issuer_s *) 0 ;
  char *arg7 = (char *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  arg4 = *(struct zx_elem_s **)&jarg4; 
  arg5 = *(struct zx_ds_Signature_s **)&jarg5; 
  arg6 = *(struct zx_sa_Issuer_s **)&jarg6; 
  arg7 = 0;
  if (jarg7) {
    arg7 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg7, 0);
    if (!arg7) return 0;
  }
  result = (int)zxid_chk_sig(arg1,arg2,arg3,arg4,arg5,arg6,(char const *)arg7);
  jresult = (jint)result; 
  if (arg7) (*jenv)->ReleaseStringUTFChars(jenv, jarg7, arg7);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1val(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_map *arg2 = (struct zxid_map *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_map **)&jarg2; 
  arg3 = *(struct zx_str **)&jarg3; 
  result = (struct zx_str *)zxid_map_val(arg1,arg2,arg3);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1loc_1raw(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jint jarg4, jstring jarg5, jint jarg6) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_entity *arg3 = (struct zxid_entity *) 0 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  int arg6 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_entity **)&jarg3; 
  arg4 = (int)jarg4; 
  arg5 = 0;
  if (jarg5) {
    arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
    if (!arg5) return 0;
  }
  arg6 = (int)jarg6; 
  result = (struct zx_str *)zxid_idp_loc_raw(arg1,arg2,arg3,arg4,arg5,arg6);
  *(struct zx_str **)&jresult = result; 
  if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, arg5);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1loc(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jint jarg5, jstring jarg6) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  struct zxid_entity *arg4 = (struct zxid_entity *) 0 ;
  int arg5 ;
  char *arg6 = (char *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  arg4 = *(struct zxid_entity **)&jarg4; 
  arg5 = (int)jarg5; 
  arg6 = 0;
  if (jarg6) {
    arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
    if (!arg6) return 0;
  }
  result = (struct zx_str *)zxid_idp_loc(arg1,arg2,arg3,arg4,arg5,arg6);
  *(struct zx_str **)&jresult = result; 
  if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, arg6);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1soap(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jint jarg5, jlong jarg6) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  struct zxid_entity *arg4 = (struct zxid_entity *) 0 ;
  int arg5 ;
  struct zx_e_Body_s *arg6 = (struct zx_e_Body_s *) 0 ;
  struct zx_root_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  arg4 = *(struct zxid_entity **)&jarg4; 
  arg5 = (int)jarg5; 
  arg6 = *(struct zx_e_Body_s **)&jarg6; 
  result = (struct zx_root_s *)zxid_idp_soap(arg1,arg2,arg3,arg4,arg5,arg6);
  *(struct zx_root_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1loc_1by_1index_1raw(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jint jarg4, jlong jarg5, jlong jarg6) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_entity *arg3 = (struct zxid_entity *) 0 ;
  int arg4 ;
  struct zx_str *arg5 = (struct zx_str *) 0 ;
  int *arg6 = (int *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_entity **)&jarg3; 
  arg4 = (int)jarg4; 
  arg5 = *(struct zx_str **)&jarg5; 
  arg6 = *(int **)&jarg6; 
  result = (struct zx_str *)zxid_sp_loc_by_index_raw(arg1,arg2,arg3,arg4,arg5,arg6);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1loc_1raw(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jint jarg4, jstring jarg5, jint jarg6) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_entity *arg3 = (struct zxid_entity *) 0 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  int arg6 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_entity **)&jarg3; 
  arg4 = (int)jarg4; 
  arg5 = 0;
  if (jarg5) {
    arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
    if (!arg5) return 0;
  }
  arg6 = (int)jarg6; 
  result = (struct zx_str *)zxid_sp_loc_raw(arg1,arg2,arg3,arg4,arg5,arg6);
  *(struct zx_str **)&jresult = result; 
  if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, arg5);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1loc(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jint jarg5, jstring jarg6) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  struct zxid_entity *arg4 = (struct zxid_entity *) 0 ;
  int arg5 ;
  char *arg6 = (char *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  arg4 = *(struct zxid_entity **)&jarg4; 
  arg5 = (int)jarg5; 
  arg6 = 0;
  if (jarg6) {
    arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
    if (!arg6) return 0;
  }
  result = (struct zx_str *)zxid_sp_loc(arg1,arg2,arg3,arg4,arg5,arg6);
  *(struct zx_str **)&jresult = result; 
  if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, arg6);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1soap(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jint jarg5, jlong jarg6) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  struct zxid_entity *arg4 = (struct zxid_entity *) 0 ;
  int arg5 ;
  struct zx_e_Body_s *arg6 = (struct zx_e_Body_s *) 0 ;
  struct zx_root_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  arg4 = *(struct zxid_entity **)&jarg4; 
  arg5 = (int)jarg5; 
  arg6 = *(struct zx_e_Body_s **)&jarg6; 
  result = (struct zx_root_s *)zxid_sp_soap(arg1,arg2,arg3,arg4,arg5,arg6);
  *(struct zx_root_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1decode_1redir_1or_1post(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  struct zx_root_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  result = (struct zx_root_s *)zxid_decode_redir_or_post(arg1,arg2,arg3);
  *(struct zx_root_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1dispatch(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  result = (struct zx_str *)zxid_sp_dispatch(arg1,arg2,arg3);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1soap_1dispatch(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  struct zx_root_s *arg4 = (struct zx_root_s *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  arg4 = *(struct zx_root_s **)&jarg4; 
  result = (int)zxid_sp_soap_dispatch(arg1,arg2,arg3,arg4);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1soap_1parse(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jint jarg4, jstring jarg5) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  arg4 = (int)jarg4; 
  arg5 = 0;
  if (jarg5) {
    arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
    if (!arg5) return 0;
  }
  result = (int)zxid_sp_soap_parse(arg1,arg2,arg3,arg4,arg5);
  jresult = (jint)result; 
  if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, arg5);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1dispatch(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  result = (struct zx_str *)zxid_idp_dispatch(arg1,arg2,arg3);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1soap_1dispatch(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  struct zx_root_s *arg4 = (struct zx_root_s *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  arg4 = *(struct zx_root_s **)&jarg4; 
  result = (int)zxid_idp_soap_dispatch(arg1,arg2,arg3,arg4);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1soap_1parse(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jint jarg4, jstring jarg5) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  arg4 = (int)jarg4; 
  arg5 = 0;
  if (jarg5) {
    arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
    if (!arg5) return 0;
  }
  result = (int)zxid_idp_soap_parse(arg1,arg2,arg3,arg4,arg5);
  jresult = (jint)result; 
  if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, arg5);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1add_1ldif_1attributes(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jstring jarg4, jstring jarg5) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_sa_Attribute_s *arg2 = (struct zx_sa_Attribute_s *) 0 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  struct zx_sa_Attribute_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_sa_Attribute_s **)&jarg2; 
  arg3 = (int)jarg3; 
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  arg5 = 0;
  if (jarg5) {
    arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
    if (!arg5) return 0;
  }
  result = (struct zx_sa_Attribute_s *)zxid_add_ldif_attributes(arg1,arg2,arg3,arg4,arg5);
  *(struct zx_sa_Attribute_s **)&jresult = result; 
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, arg5);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1sso(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  struct zx_sp_AuthnRequest_s *arg4 = (struct zx_sp_AuthnRequest_s *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  arg4 = *(struct zx_sp_AuthnRequest_s **)&jarg4; 
  result = (struct zx_str *)zxid_idp_sso(arg1,arg2,arg3,arg4);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1pick_1sso_1profile(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_entity *arg3 = (struct zxid_entity *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_entity **)&jarg3; 
  result = (int)zxid_pick_sso_profile(arg1,arg2,arg3);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1start_1sso(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  result = (int)zxid_start_sso(arg1,arg2);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1start_1sso_1url(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  result = (struct zx_str *)zxid_start_sso_url(arg1,arg2);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1start_1sso_1location(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  result = (struct zx_str *)zxid_start_sso_location(arg1,arg2);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1deref_1art(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  result = (int)zxid_sp_deref_art(arg1,arg2,arg3);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1sso_1finalize(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  struct zx_sa_Assertion_s *arg4 = (struct zx_sa_Assertion_s *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  arg4 = *(struct zx_sa_Assertion_s **)&jarg4; 
  result = (int)zxid_sp_sso_finalize(arg1,arg2,arg3,arg4);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1anon_1finalize(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  result = (int)zxid_sp_anon_finalize(arg1,arg2,arg3);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1saml2_1map_1nid_1fmt(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jstring jresult = 0 ;
  char *arg1 = (char *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  result = (char *)zxid_saml2_map_nid_fmt(arg1);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1saml2_1map_1protocol_1binding(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jstring jresult = 0 ;
  char *arg1 = (char *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  result = (char *)zxid_saml2_map_protocol_binding(arg1);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1protocol_1binding_1map_1saml2(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jint jresult = 0 ;
  struct zx_str *arg1 = (struct zx_str *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_str **)&jarg1; 
  result = (int)zxid_protocol_binding_map_saml2(arg1);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1saml2_1map_1authn_1ctx(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jstring jresult = 0 ;
  char *arg1 = (char *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  result = (char *)zxid_saml2_map_authn_ctx(arg1);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1issuer(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  char *arg3 = (char *) 0 ;
  struct zx_sa_Issuer_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  result = (struct zx_sa_Issuer_s *)zxid_issuer(arg1,arg2,arg3);
  *(struct zx_sa_Issuer_s **)&jresult = result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1sigres_1map(JNIEnv *jenv, jclass jcls, jint jarg1, jlong jarg2, jlong jarg3) {
  int arg1 ;
  char **arg2 = (char **) 0 ;
  char **arg3 = (char **) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (int)jarg1; 
  arg2 = *(char ***)&jarg2; 
  arg3 = *(char ***)&jarg3; 
  zxid_sigres_map(arg1,arg2,arg3);
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1validate_1conditions(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  struct zx_sa_Assertion_s *arg4 = (struct zx_sa_Assertion_s *) 0 ;
  struct zx_str *arg5 = (struct zx_str *) 0 ;
  struct timeval *arg6 = (struct timeval *) 0 ;
  char **arg7 = (char **) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  arg4 = *(struct zx_sa_Assertion_s **)&jarg4; 
  arg5 = *(struct zx_str **)&jarg5; 
  arg6 = *(struct timeval **)&jarg6; 
  arg7 = *(char ***)&jarg7; 
  result = (int)zxid_validate_conditions(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1slo_1soap(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  result = (int)zxid_sp_slo_soap(arg1,arg2,arg3);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1slo_1redir(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  result = (struct zx_str *)zxid_sp_slo_redir(arg1,arg2,arg3);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1slo_1do(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  struct zx_sp_LogoutRequest_s *arg4 = (struct zx_sp_LogoutRequest_s *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  arg4 = *(struct zx_sp_LogoutRequest_s **)&jarg4; 
  result = (int)zxid_sp_slo_do(arg1,arg2,arg3,arg4);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1slo_1do(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  struct zx_sp_LogoutRequest_s *arg4 = (struct zx_sp_LogoutRequest_s *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  arg4 = *(struct zx_sp_LogoutRequest_s **)&jarg4; 
  result = (int)zxid_idp_slo_do(arg1,arg2,arg3,arg4);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1slo_1resp_1redir(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zx_sp_LogoutRequest_s *arg3 = (struct zx_sp_LogoutRequest_s *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zx_sp_LogoutRequest_s **)&jarg3; 
  result = (struct zx_str *)zxid_slo_resp_redir(arg1,arg2,arg3);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1mni_1soap(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  struct zx_str *arg4 = (struct zx_str *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  arg4 = *(struct zx_str **)&jarg4; 
  result = (int)zxid_sp_mni_soap(arg1,arg2,arg3,arg4);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1mni_1redir(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  struct zx_str *arg4 = (struct zx_str *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  arg4 = *(struct zx_str **)&jarg4; 
  result = (struct zx_str *)zxid_sp_mni_redir(arg1,arg2,arg3,arg4);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mni_1do(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  struct zx_sp_ManageNameIDRequest_s *arg4 = (struct zx_sp_ManageNameIDRequest_s *) 0 ;
  struct zx_sp_ManageNameIDResponse_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  arg4 = *(struct zx_sp_ManageNameIDRequest_s **)&jarg4; 
  result = (struct zx_sp_ManageNameIDResponse_s *)zxid_mni_do(arg1,arg2,arg3,arg4);
  *(struct zx_sp_ManageNameIDResponse_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mni_1do_1ss(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  struct zx_sp_ManageNameIDRequest_s *arg4 = (struct zx_sp_ManageNameIDRequest_s *) 0 ;
  struct zx_str *arg5 = (struct zx_str *) 0 ;
  struct zx_str *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  arg4 = *(struct zx_sp_ManageNameIDRequest_s **)&jarg4; 
  arg5 = *(struct zx_str **)&jarg5; 
  result = (struct zx_str *)zxid_mni_do_ss(arg1,arg2,arg3,arg4,arg5);
  *(struct zx_str **)&jresult = result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1pep_1az_1soap(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zxid_ses *arg3 = (struct zxid_ses *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  arg3 = *(struct zxid_ses **)&jarg3; 
  result = (int)zxid_pep_az_soap(arg1,arg2,arg3);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1find_1attribute(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3, jint jarg4, jstring jarg5, jint jarg6, jstring jarg7, jint jarg8) {
  jlong jresult = 0 ;
  struct zx_sa_Assertion_s *arg1 = (struct zx_sa_Assertion_s *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  int arg6 ;
  char *arg7 = (char *) 0 ;
  int arg8 ;
  struct zx_sa_Attribute_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_sa_Assertion_s **)&jarg1; 
  arg2 = (int)jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = (int)jarg4; 
  arg5 = 0;
  if (jarg5) {
    arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
    if (!arg5) return 0;
  }
  arg6 = (int)jarg6; 
  arg7 = 0;
  if (jarg7) {
    arg7 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg7, 0);
    if (!arg7) return 0;
  }
  arg8 = (int)jarg8; 
  result = (struct zx_sa_Attribute_s *)zxid_find_attribute(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
  *(struct zx_sa_Attribute_s **)&jresult = result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, arg5);
  if (arg7) (*jenv)->ReleaseStringUTFChars(jenv, jarg7, arg7);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1authn_1req(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_cgi *arg2 = (struct zxid_cgi *) 0 ;
  struct zx_sp_AuthnRequest_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_cgi **)&jarg2; 
  result = (struct zx_sp_AuthnRequest_s *)zxid_mk_authn_req(arg1,arg2);
  *(struct zx_sp_AuthnRequest_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1art_1deref(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_entity *arg2 = (struct zxid_entity *) 0 ;
  char *arg3 = (char *) 0 ;
  struct zx_sp_ArtifactResolve_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_entity **)&jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  result = (struct zx_sp_ArtifactResolve_s *)zxid_mk_art_deref(arg1,arg2,arg3);
  *(struct zx_sp_ArtifactResolve_s **)&jresult = result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1Status(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jstring jarg4) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  struct zx_sp_Status_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  result = (struct zx_sp_Status_s *)zxid_mk_Status(arg1,arg2,arg3,arg4);
  *(struct zx_sp_Status_s **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1OK(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_sp_Status_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (struct zx_sp_Status_s *)zxid_OK(arg1);
  *(struct zx_sp_Status_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1enc_1id(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_sa_NameID_s *arg2 = (struct zx_sa_NameID_s *) 0 ;
  struct zxid_entity *arg3 = (struct zxid_entity *) 0 ;
  struct zx_sa_EncryptedID_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_sa_NameID_s **)&jarg2; 
  arg3 = *(struct zxid_entity **)&jarg3; 
  result = (struct zx_sa_EncryptedID_s *)zxid_mk_enc_id(arg1,arg2,arg3);
  *(struct zx_sa_EncryptedID_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1enc_1a7n(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_sa_Assertion_s *arg2 = (struct zx_sa_Assertion_s *) 0 ;
  struct zxid_entity *arg3 = (struct zxid_entity *) 0 ;
  struct zx_sa_EncryptedAssertion_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_sa_Assertion_s **)&jarg2; 
  arg3 = *(struct zxid_entity **)&jarg3; 
  result = (struct zx_sa_EncryptedAssertion_s *)zxid_mk_enc_a7n(arg1,arg2,arg3);
  *(struct zx_sa_EncryptedAssertion_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1logout(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_sa_NameID_s *arg2 = (struct zx_sa_NameID_s *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  struct zxid_entity *arg4 = (struct zxid_entity *) 0 ;
  struct zx_sp_LogoutRequest_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_sa_NameID_s **)&jarg2; 
  arg3 = *(struct zx_str **)&jarg3; 
  arg4 = *(struct zxid_entity **)&jarg4; 
  result = (struct zx_sp_LogoutRequest_s *)zxid_mk_logout(arg1,arg2,arg3,arg4);
  *(struct zx_sp_LogoutRequest_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1logout_1resp(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_sp_Status_s *arg2 = (struct zx_sp_Status_s *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  struct zx_sp_LogoutResponse_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_sp_Status_s **)&jarg2; 
  arg3 = *(struct zx_str **)&jarg3; 
  result = (struct zx_sp_LogoutResponse_s *)zxid_mk_logout_resp(arg1,arg2,arg3);
  *(struct zx_sp_LogoutResponse_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1mni(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_sa_NameID_s *arg2 = (struct zx_sa_NameID_s *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  struct zxid_entity *arg4 = (struct zxid_entity *) 0 ;
  struct zx_sp_ManageNameIDRequest_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_sa_NameID_s **)&jarg2; 
  arg3 = *(struct zx_str **)&jarg3; 
  arg4 = *(struct zxid_entity **)&jarg4; 
  result = (struct zx_sp_ManageNameIDRequest_s *)zxid_mk_mni(arg1,arg2,arg3,arg4);
  *(struct zx_sp_ManageNameIDRequest_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1mni_1resp(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_sp_Status_s *arg2 = (struct zx_sp_Status_s *) 0 ;
  struct zx_str *arg3 = (struct zx_str *) 0 ;
  struct zx_sp_ManageNameIDResponse_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_sp_Status_s **)&jarg2; 
  arg3 = *(struct zx_str **)&jarg3; 
  result = (struct zx_sp_ManageNameIDResponse_s *)zxid_mk_mni_resp(arg1,arg2,arg3);
  *(struct zx_sp_ManageNameIDResponse_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1a7n(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zx_sa_Subject_s *arg3 = (struct zx_sa_Subject_s *) 0 ;
  struct zx_sa_AuthnStatement_s *arg4 = (struct zx_sa_AuthnStatement_s *) 0 ;
  struct zx_sa_AttributeStatement_s *arg5 = (struct zx_sa_AttributeStatement_s *) 0 ;
  struct zx_xasa_XACMLAuthzDecisionStatement_s *arg6 = (struct zx_xasa_XACMLAuthzDecisionStatement_s *) 0 ;
  struct zx_sa_Assertion_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  arg3 = *(struct zx_sa_Subject_s **)&jarg3; 
  arg4 = *(struct zx_sa_AuthnStatement_s **)&jarg4; 
  arg5 = *(struct zx_sa_AttributeStatement_s **)&jarg5; 
  arg6 = *(struct zx_xasa_XACMLAuthzDecisionStatement_s **)&jarg6; 
  result = (struct zx_sa_Assertion_s *)zxid_mk_a7n(arg1,arg2,arg3,arg4,arg5,arg6);
  *(struct zx_sa_Assertion_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1subj(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_entity *arg2 = (struct zxid_entity *) 0 ;
  struct zx_sa_NameID_s *arg3 = (struct zx_sa_NameID_s *) 0 ;
  struct zx_sa_Subject_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_entity **)&jarg2; 
  arg3 = *(struct zx_sa_NameID_s **)&jarg3; 
  result = (struct zx_sa_Subject_s *)zxid_mk_subj(arg1,arg2,arg3);
  *(struct zx_sa_Subject_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1an_1stmt(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_ses *arg2 = (struct zxid_ses *) 0 ;
  struct zx_sa_AuthnStatement_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_ses **)&jarg2; 
  result = (struct zx_sa_AuthnStatement_s *)zxid_mk_an_stmt(arg1,arg2);
  *(struct zx_sa_AuthnStatement_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1saml_1resp(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_sp_Response_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  result = (struct zx_sp_Response_s *)zxid_mk_saml_resp(arg1);
  *(struct zx_sp_Response_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1xacml_1resp(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zx_xac_Response_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (struct zx_xac_Response_s *)zxid_mk_xacml_resp(arg1,arg2);
  *(struct zx_xac_Response_s **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1xacml_1simple_1at(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_xac_Attribute_s *arg2 = (struct zx_xac_Attribute_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 ;
  struct zx_str *arg6 = (struct zx_str *) 0 ;
  struct zx_xac_Attribute_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_xac_Attribute_s **)&jarg2; 
  arg3 = *(struct zx_str **)&jarg3; 
  arg4 = *(struct zx_str **)&jarg4; 
  arg5 = *(struct zx_str **)&jarg5; 
  arg6 = *(struct zx_str **)&jarg6; 
  result = (struct zx_xac_Attribute_s *)zxid_mk_xacml_simple_at(arg1,arg2,arg3,arg4,arg5,arg6);
  *(struct zx_xac_Attribute_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1az(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_xac_Attribute_s *arg2 = (struct zx_xac_Attribute_s *) 0 ;
  struct zx_xac_Attribute_s *arg3 = (struct zx_xac_Attribute_s *) 0 ;
  struct zx_xac_Attribute_s *arg4 = (struct zx_xac_Attribute_s *) 0 ;
  struct zx_xac_Attribute_s *arg5 = (struct zx_xac_Attribute_s *) 0 ;
  struct zx_xasp_XACMLAuthzDecisionQuery_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_xac_Attribute_s **)&jarg2; 
  arg3 = *(struct zx_xac_Attribute_s **)&jarg3; 
  arg4 = *(struct zx_xac_Attribute_s **)&jarg4; 
  arg5 = *(struct zx_xac_Attribute_s **)&jarg5; 
  result = (struct zx_xasp_XACMLAuthzDecisionQuery_s *)zxid_mk_az(arg1,arg2,arg3,arg4,arg5);
  *(struct zx_xasp_XACMLAuthzDecisionQuery_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1attribute(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  struct zx_sa_Attribute_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  result = (struct zx_sa_Attribute_s *)zxid_mk_attribute(arg1,arg2,arg3);
  *(struct zx_sa_Attribute_s **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1di_1query(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  struct zx_di_Query_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (struct zx_di_Query_s *)zxid_mk_di_query(arg1,arg2);
  *(struct zx_di_Query_s **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1addr(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_str *arg2 = (struct zx_str *) 0 ;
  struct zx_a_Address_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_str **)&jarg2; 
  result = (struct zx_a_Address_s *)zxid_mk_addr(arg1,arg2);
  *(struct zx_a_Address_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1dap_1select(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jstring jarg4, jint jarg5, jint jarg6, jint jarg7, jint jarg8, jint jarg9) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  int arg5 ;
  int arg6 ;
  int arg7 ;
  int arg8 ;
  int arg9 ;
  struct zx_dap_Select_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  arg5 = (int)jarg5; 
  arg6 = (int)jarg6; 
  arg7 = (int)jarg7; 
  arg8 = (int)jarg8; 
  arg9 = (int)jarg9; 
  result = (struct zx_dap_Select_s *)zxid_mk_dap_select(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
  *(struct zx_dap_Select_s **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1dap_1query_1item(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4, jstring jarg5, jstring jarg6, jint jarg7, jint jarg8, jint jarg9, jstring jarg10, jstring jarg11, jstring jarg12) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_dap_Select_s *arg2 = (struct zx_dap_Select_s *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  char *arg6 = (char *) 0 ;
  int arg7 ;
  int arg8 ;
  int arg9 ;
  char *arg10 = (char *) 0 ;
  char *arg11 = (char *) 0 ;
  char *arg12 = (char *) 0 ;
  struct zx_dap_QueryItem_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_dap_Select_s **)&jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  arg5 = 0;
  if (jarg5) {
    arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
    if (!arg5) return 0;
  }
  arg6 = 0;
  if (jarg6) {
    arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
    if (!arg6) return 0;
  }
  arg7 = (int)jarg7; 
  arg8 = (int)jarg8; 
  arg9 = (int)jarg9; 
  arg10 = 0;
  if (jarg10) {
    arg10 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg10, 0);
    if (!arg10) return 0;
  }
  arg11 = 0;
  if (jarg11) {
    arg11 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg11, 0);
    if (!arg11) return 0;
  }
  arg12 = 0;
  if (jarg12) {
    arg12 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg12, 0);
    if (!arg12) return 0;
  }
  result = (struct zx_dap_QueryItem_s *)zxid_mk_dap_query_item(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
  *(struct zx_dap_QueryItem_s **)&jresult = result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, arg5);
  if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, arg6);
  if (arg10) (*jenv)->ReleaseStringUTFChars(jenv, jarg10, arg10);
  if (arg11) (*jenv)->ReleaseStringUTFChars(jenv, jarg11, arg11);
  if (arg12) (*jenv)->ReleaseStringUTFChars(jenv, jarg12, arg12);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1dap_1testop(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jstring jarg4, jint jarg5, jint jarg6, jint jarg7, jint jarg8, jint jarg9) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  int arg5 ;
  int arg6 ;
  int arg7 ;
  int arg8 ;
  int arg9 ;
  struct zx_dap_TestOp_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  arg5 = (int)jarg5; 
  arg6 = (int)jarg6; 
  arg7 = (int)jarg7; 
  arg8 = (int)jarg8; 
  arg9 = (int)jarg9; 
  result = (struct zx_dap_TestOp_s *)zxid_mk_dap_testop(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
  *(struct zx_dap_TestOp_s **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1dap_1test_1item(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_dap_TestOp_s *arg2 = (struct zx_dap_TestOp_s *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  struct zx_dap_TestItem_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_dap_TestOp_s **)&jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  result = (struct zx_dap_TestItem_s *)zxid_mk_dap_test_item(arg1,arg2,arg3,arg4);
  *(struct zx_dap_TestItem_s **)&jresult = result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1dap_1resquery(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4, jstring jarg5, jstring jarg6, jint jarg7, jstring jarg8) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_dap_Select_s *arg2 = (struct zx_dap_Select_s *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  char *arg6 = (char *) 0 ;
  int arg7 ;
  char *arg8 = (char *) 0 ;
  struct zx_dap_ResultQuery_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_dap_Select_s **)&jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  arg5 = 0;
  if (jarg5) {
    arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
    if (!arg5) return 0;
  }
  arg6 = 0;
  if (jarg6) {
    arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
    if (!arg6) return 0;
  }
  arg7 = (int)jarg7; 
  arg8 = 0;
  if (jarg8) {
    arg8 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg8, 0);
    if (!arg8) return 0;
  }
  result = (struct zx_dap_ResultQuery_s *)zxid_mk_dap_resquery(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
  *(struct zx_dap_ResultQuery_s **)&jresult = result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, arg5);
  if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, arg6);
  if (arg8) (*jenv)->ReleaseStringUTFChars(jenv, jarg8, arg8);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1dap_1subscription(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jlong jarg4, jstring jarg5, jstring jarg6, jstring jarg7, jstring jarg8, jint jarg9, jstring jarg10, jstring jarg11) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  struct zx_dap_ResultQuery_s *arg4 = (struct zx_dap_ResultQuery_s *) 0 ;
  char *arg5 = (char *) 0 ;
  char *arg6 = (char *) 0 ;
  char *arg7 = (char *) 0 ;
  char *arg8 = (char *) 0 ;
  int arg9 ;
  char *arg10 = (char *) 0 ;
  char *arg11 = (char *) 0 ;
  struct zx_dap_Subscription_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = *(struct zx_dap_ResultQuery_s **)&jarg4; 
  arg5 = 0;
  if (jarg5) {
    arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
    if (!arg5) return 0;
  }
  arg6 = 0;
  if (jarg6) {
    arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
    if (!arg6) return 0;
  }
  arg7 = 0;
  if (jarg7) {
    arg7 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg7, 0);
    if (!arg7) return 0;
  }
  arg8 = 0;
  if (jarg8) {
    arg8 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg8, 0);
    if (!arg8) return 0;
  }
  arg9 = (int)jarg9; 
  arg10 = 0;
  if (jarg10) {
    arg10 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg10, 0);
    if (!arg10) return 0;
  }
  arg11 = 0;
  if (jarg11) {
    arg11 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg11, 0);
    if (!arg11) return 0;
  }
  result = (struct zx_dap_Subscription_s *)zxid_mk_dap_subscription(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
  *(struct zx_dap_Subscription_s **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, arg5);
  if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, arg6);
  if (arg7) (*jenv)->ReleaseStringUTFChars(jenv, jarg7, arg7);
  if (arg8) (*jenv)->ReleaseStringUTFChars(jenv, jarg8, arg8);
  if (arg10) (*jenv)->ReleaseStringUTFChars(jenv, jarg10, arg10);
  if (arg11) (*jenv)->ReleaseStringUTFChars(jenv, jarg11, arg11);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1dap_1query(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zx_dap_TestItem_s *arg2 = (struct zx_dap_TestItem_s *) 0 ;
  struct zx_dap_QueryItem_s *arg3 = (struct zx_dap_QueryItem_s *) 0 ;
  struct zx_dap_Subscription_s *arg4 = (struct zx_dap_Subscription_s *) 0 ;
  struct zx_dap_Query_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zx_dap_TestItem_s **)&jarg2; 
  arg3 = *(struct zx_dap_QueryItem_s **)&jarg3; 
  arg4 = *(struct zx_dap_Subscription_s **)&jarg4; 
  result = (struct zx_dap_Query_s *)zxid_mk_dap_query(arg1,arg2,arg3,arg4);
  *(struct zx_dap_Query_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1sec_1mech(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jint jresult = 0 ;
  struct zx_a_EndpointReference_s *arg1 = (struct zx_a_EndpointReference_s *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_a_EndpointReference_s **)&jarg1; 
  result = (int)zxid_map_sec_mech(arg1);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1wsc_1call(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_ses *arg2 = (struct zxid_ses *) 0 ;
  struct zx_a_EndpointReference_s *arg3 = (struct zx_a_EndpointReference_s *) 0 ;
  struct zx_e_Envelope_s *arg4 = (struct zx_e_Envelope_s *) 0 ;
  struct zx_e_Envelope_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_ses **)&jarg2; 
  arg3 = *(struct zx_a_EndpointReference_s **)&jarg3; 
  arg4 = *(struct zx_e_Envelope_s **)&jarg4; 
  result = (struct zx_e_Envelope_s *)zxid_wsc_call(arg1,arg2,arg3,arg4);
  *(struct zx_e_Envelope_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1new_1envf(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  void *arg3 = 0 ;
  struct zx_e_Envelope_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (struct zx_e_Envelope_s *)zxid_new_envf(arg1,arg2,arg3);
  *(struct zx_e_Envelope_s **)&jresult = result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1callf(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_ses *arg2 = (struct zxid_ses *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  void *arg5 = 0 ;
  struct zx_e_Envelope_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_ses **)&jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  result = (struct zx_e_Envelope_s *)zxid_callf(arg1,arg2,arg3,arg4,arg5);
  *(struct zx_e_Envelope_s **)&jresult = result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1nice_1sha1(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jint jarg3, jlong jarg4, jlong jarg5) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  struct zx_str *arg4 = (struct zx_str *) 0 ;
  struct zx_str *arg5 = (struct zx_str *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = (int)jarg3; 
  arg4 = *(struct zx_str **)&jarg4; 
  arg5 = *(struct zx_str **)&jarg5; 
  result = (int)zxid_nice_sha1(arg1,arg2,arg3,arg4,arg5);
  jresult = (jint)result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1epr_1path(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jstring jarg4, jint jarg5, jlong jarg6, jlong jarg7) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  int arg5 ;
  struct zx_str *arg6 = (struct zx_str *) 0 ;
  struct zx_str *arg7 = (struct zx_str *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  arg5 = (int)jarg5; 
  arg6 = *(struct zx_str **)&jarg6; 
  arg7 = *(struct zx_str **)&jarg7; 
  result = (int)zxid_epr_path(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
  jresult = (jint)result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1epr(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jint jarg4) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_ses *arg2 = (struct zxid_ses *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  struct zx_a_EndpointReference_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_ses **)&jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = (int)jarg4; 
  result = (struct zx_a_EndpointReference_s *)zxid_get_epr(arg1,arg2,arg3,arg4);
  *(struct zx_a_EndpointReference_s **)&jresult = result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1find_1epr(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jint jarg4) {
  jlong jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_ses *arg2 = (struct zxid_ses *) 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  struct zx_a_EndpointReference_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_ses **)&jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = (int)jarg4; 
  result = (struct zx_a_EndpointReference_s *)zxid_find_epr(arg1,arg2,arg3,arg4);
  *(struct zx_a_EndpointReference_s **)&jresult = result; 
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1cache_1epr(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jint jresult = 0 ;
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_ses *arg2 = (struct zxid_ses *) 0 ;
  struct zx_a_EndpointReference_s *arg3 = (struct zx_a_EndpointReference_s *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_ses **)&jarg2; 
  arg3 = *(struct zx_a_EndpointReference_s **)&jarg3; 
  result = (int)zxid_cache_epr(arg1,arg2,arg3);
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1snarf_1eprs_1from_1ses(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
  struct zxid_ses *arg2 = (struct zxid_ses *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_conf **)&jarg1; 
  arg2 = *(struct zxid_ses **)&jarg2; 
  zxid_snarf_eprs_from_ses(arg1,arg2);
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1DAP_1SCOPE_1BASE_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1DAP_1SCOPE_1SINGLE_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 1;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1DAP_1SCOPE_1SUBTREE_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 2;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1CDC_1CHOICE_1ALWAYS_1FIRST_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 1;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1CDC_1CHOICE_1ALWAYS_1LAST_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 2;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1CDC_1CHOICE_1ALWAYS_1ONLY_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 3;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1CDC_1CHOICE_1UI_1PREF_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 4;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1CDC_1CHOICE_1UI_1NOPREF_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 5;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1CDC_1CHOICE_1UI_1ONLY_1CDC_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 6;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SAML2_1ART_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 1;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SAML2_1POST_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 2;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SAML2_1PAOS_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 3;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SAML2_1SOAP_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 4;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SAML2_1POST_1SIMPLE_1SIGN_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 5;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SAML2_1REDIR_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 6;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SAML2_1URI_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 7;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SLO_1SVC_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 1;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MNI_1SVC_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 2;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1ACS_1SVC_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 3;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SEC_1MECH_1NULL_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SEC_1MECH_1BEARER_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 1;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SEC_1MECH_1SAML_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 2;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SEC_1MECH_1X509_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 3;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SEC_1MECH_1PEERS_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 4;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1FAIL_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1OK_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 1;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1REDIR_1OK_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 2;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SSO_1OK_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 3;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1IDP_1REQ_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 4;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1TRUE_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "1";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1FALSE_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "0";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_CRLF_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "\r\n";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_CRLF2_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "\r\n\r\n";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_std_1basis_164_1set(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  char *arg1 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return ;
  }
  {
    if (arg1) strncpy(std_basis_64,arg1,64);
    else std_basis_64[0] = 0;
  }
  
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_std_1basis_164_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *)(char *)std_basis_64;
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_safe_1basis_164_1set(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  char *arg1 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return ;
  }
  {
    if (arg1) strncpy(safe_basis_64,arg1,64);
    else safe_basis_64[0] = 0;
  }
  
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_safe_1basis_164_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *)(char *)safe_basis_64;
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1std_1index_164_1set(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  unsigned char *arg1 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(unsigned char **)&jarg1; 
  {
    size_t ii;
    unsigned char *b = (unsigned char *) zx_std_index_64;
    for (ii = 0; ii < (size_t)256; ii++) b[ii] = *((unsigned char *) arg1 + ii);
  }
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1std_1index_164_1get(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  unsigned char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (unsigned char *)(unsigned char *)zx_std_index_64;
  *(unsigned char **)&jresult = result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_base64_1fancy_1raw(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2, jstring jarg3, jstring jarg4, jint jarg5, jint jarg6, jstring jarg7, jchar jarg8) {
  jstring jresult = 0 ;
  char *arg1 = (char *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  int arg5 ;
  int arg6 ;
  char *arg7 = (char *) 0 ;
  char arg8 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  arg2 = (int)jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  arg5 = (int)jarg5; 
  arg6 = (int)jarg6; 
  arg7 = 0;
  if (jarg7) {
    arg7 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg7, 0);
    if (!arg7) return 0;
  }
  arg8 = (char)jarg8; 
  result = (char *)base64_fancy_raw(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  if (arg7) (*jenv)->ReleaseStringUTFChars(jenv, jarg7, arg7);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_unbase64_1raw(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2, jstring jarg3, jlong jarg4) {
  jstring jresult = 0 ;
  char *arg1 = (char *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  unsigned char *arg4 = (unsigned char *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = *(unsigned char **)&jarg4; 
  result = (char *)unbase64_raw(arg1,arg2,arg3,arg4);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_sha1_1safe_1base64(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2, jstring jarg3) {
  jstring jresult = 0 ;
  char *arg1 = (char *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  arg2 = (int)jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  result = (char *)sha1_safe_base64(arg1,arg2,arg3);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1zlib_1raw_1deflate(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3, jlong jarg4) {
  jstring jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  int *arg4 = (int *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = (int)jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = *(int **)&jarg4; 
  result = (char *)zx_zlib_raw_deflate(arg1,arg2,arg3,arg4);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1zlib_1raw_1inflate(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3, jlong jarg4) {
  jstring jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  int *arg4 = (int *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = (int)jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = *(int **)&jarg4; 
  result = (char *)zx_zlib_raw_inflate(arg1,arg2,arg3,arg4);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1url_1encode_1len(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2) {
  jint jresult = 0 ;
  int arg1 ;
  char *arg2 = (char *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (int)jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (int)zx_url_encode_len(arg1,arg2);
  jresult = (jint)result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1url_1encode_1raw(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jstring jarg3) {
  jstring jresult = 0 ;
  int arg1 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (int)jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  result = (char *)zx_url_encode_raw(arg1,arg2,arg3);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1url_1encode(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3, jlong jarg4) {
  jstring jresult = 0 ;
  struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  int *arg4 = (int *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ctx **)&jarg1; 
  arg2 = (int)jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = *(int **)&jarg4; 
  result = (char *)zx_url_encode(arg1,arg2,arg3,arg4);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_read_1all(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jstring jarg3, jstring jarg4) {
  jint jresult = 0 ;
  int arg1 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  void *arg5 = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (int)jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  result = (int)read_all(arg1,arg2,(char const *)arg3,arg4,arg5);
  jresult = (jint)result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_name_1from_1path(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2, jstring jarg3) {
  jint jresult = 0 ;
  char *arg1 = (char *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  void *arg4 = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  arg2 = (int)jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  result = (int)name_from_path(arg1,arg2,arg3,arg4);
  jresult = (jint)result; 
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_open_1fd_1from_1path(JNIEnv *jenv, jclass jcls, jint jarg1, jint jarg2, jstring jarg3, jstring jarg4) {
  jlong jresult = 0 ;
  int arg1 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  void *arg5 = 0 ;
  fdtype result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (int)jarg1; 
  arg2 = (int)jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  result = open_fd_from_path(arg1,arg2,arg3,arg4,arg5);
  {
    fdtype * resultptr = (fdtype *) malloc(sizeof(fdtype));
    memmove(resultptr, &result, sizeof(fdtype));
    *(fdtype **)&jresult = resultptr;
  }
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_read_1all_1fd(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jint jarg3, jlong jarg4) {
  jint jresult = 0 ;
  fdtype arg1 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  int *arg4 = (int *) 0 ;
  int result;
  fdtype *argp1 ;
  
  (void)jenv;
  (void)jcls;
  argp1 = *(fdtype **)&jarg1; 
  if (!argp1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null fdtype");
    return 0;
  }
  arg1 = *argp1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = (int)jarg3; 
  arg4 = *(int **)&jarg4; 
  result = (int)read_all_fd(arg1,arg2,arg3,arg4);
  jresult = (jint)result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_write_1all_1fd(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jint jarg3) {
  jint jresult = 0 ;
  fdtype arg1 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  int result;
  fdtype *argp1 ;
  
  (void)jenv;
  (void)jcls;
  argp1 = *(fdtype **)&jarg1; 
  if (!argp1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null fdtype");
    return 0;
  }
  arg1 = *argp1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = (int)jarg3; 
  result = (int)write_all_fd(arg1,arg2,arg3);
  jresult = (jint)result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_write_1all_1path_1fmt(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2, jstring jarg3, jstring jarg4, jstring jarg5, jstring jarg6, jstring jarg7) {
  jint jresult = 0 ;
  char *arg1 = (char *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  char *arg6 = (char *) 0 ;
  char *arg7 = (char *) 0 ;
  void *arg8 = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
    if (!arg1) return 0;
  }
  arg2 = (int)jarg2; 
  arg3 = 0;
  if (jarg3) {
    arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
    if (!arg3) return 0;
  }
  arg4 = 0;
  if (jarg4) {
    arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
    if (!arg4) return 0;
  }
  arg5 = 0;
  if (jarg5) {
    arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
    if (!arg5) return 0;
  }
  arg6 = 0;
  if (jarg6) {
    arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
    if (!arg6) return 0;
  }
  arg7 = 0;
  if (jarg7) {
    arg7 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg7, 0);
    if (!arg7) return 0;
  }
  result = (int)write_all_path_fmt(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
  jresult = (jint)result; 
  if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, arg1);
  if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, arg3);
  if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, arg4);
  if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, arg5);
  if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, arg6);
  if (arg7) (*jenv)->ReleaseStringUTFChars(jenv, jarg7, arg7);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_close_1file(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  jint jresult = 0 ;
  fdtype arg1 ;
  char *arg2 = (char *) 0 ;
  int result;
  fdtype *argp1 ;
  
  (void)jenv;
  (void)jcls;
  argp1 = *(fdtype **)&jarg1; 
  if (!argp1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null fdtype");
    return 0;
  }
  arg1 = *argp1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return 0;
  }
  result = (int)close_file(arg1,(char const *)arg2);
  jresult = (jint)result; 
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1curl_1ctx_1p_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_curl_ctx *arg1 = (struct zxid_curl_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_curl_ctx **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->p) free((char*)arg1->p);
    if (arg2) {
      arg1->p = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->p,arg2);
    } else {
      arg1->p = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1curl_1ctx_1p_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_curl_ctx *arg1 = (struct zxid_curl_ctx *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_curl_ctx **)&jarg1; 
  result = (char *) ((arg1)->p);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1curl_1ctx_1lim_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
  struct zxid_curl_ctx *arg1 = (struct zxid_curl_ctx *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_curl_ctx **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
    if (!arg2) return ;
  }
  {
    if (arg1->lim) free((char*)arg1->lim);
    if (arg2) {
      arg1->lim = (char *) malloc(strlen(arg2)+1);
      strcpy((char*)arg1->lim,arg2);
    } else {
      arg1->lim = 0;
    }
  }
  if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, arg2);
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1curl_1ctx_1lim_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jstring jresult = 0 ;
  struct zxid_curl_ctx *arg1 = (struct zxid_curl_ctx *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_curl_ctx **)&jarg1; 
  result = (char *) ((arg1)->lim);
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1curl_1ctx(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  struct zxid_curl_ctx *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (struct zxid_curl_ctx *)(struct zxid_curl_ctx *) calloc(1, sizeof(struct zxid_curl_ctx));
  *(struct zxid_curl_ctx **)&jresult = result; 
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1curl_1ctx(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  struct zxid_curl_ctx *arg1 = (struct zxid_curl_ctx *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zxid_curl_ctx **)&jarg1; 
  free((char *) arg1);
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1curl_1write_1data(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4) {
  jlong jresult = 0 ;
  void *arg1 = (void *) 0 ;
  size_t arg2 ;
  size_t arg3 ;
  void *arg4 = (void *) 0 ;
  size_t result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(void **)&jarg1; 
  arg2 = (size_t)jarg2; 
  arg3 = (size_t)jarg3; 
  arg4 = *(void **)&jarg4; 
  result = zxid_curl_write_data(arg1,arg2,arg3,arg4);
  jresult = (jlong)result; 
  return jresult;
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1curl_1read_1data(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4) {
  jlong jresult = 0 ;
  void *arg1 = (void *) 0 ;
  size_t arg2 ;
  size_t arg3 ;
  void *arg4 = (void *) 0 ;
  size_t result;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(void **)&jarg1; 
  arg2 = (size_t)jarg2; 
  arg3 = (size_t)jarg3; 
  arg4 = *(void **)&jarg4; 
  result = zxid_curl_read_data(arg1,arg2,arg3,arg4);
  jresult = (jlong)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1PROTO_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:protocol";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1VERSION_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "2.0";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1SUCCESS_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:status:Success";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1REQUESTER_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:status:Requester";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1RESPONDER_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:status:Responder";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1VERSION_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:status:VersionMismatch";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1AUTHNFAIL_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:status:AuthnFailed";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1INVATTRNV_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:status:InvalidAttrnameOrValue";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1INVNIDPOL_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:status:InvalidNameIDPolicy";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1NOAUTNCTX_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:status:NoAuthnContext";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1NOAVALIDP_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:status:NoAvailableIDP";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1NOPASSIVE_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:status:NoPassive";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1NOSUPPIDP_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:status:NoSupportedIDP";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1PARLOGOUT_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:status:PartialLogout";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1PROXYCEXC_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:status:ProxyCountExceeded";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1REQDENIED_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:status:RequestDenied";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1REQUNSUPP_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:status:RequestUnsupported";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1REQVERDEP_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:status:RequestVersionDeprecated";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1REQVERHIG_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:status:RequestVersionTooHigh";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1REQVERLOW_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:status:RequestVersionTooLow";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1RESONRECG_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:status:ResourceNotRecognized";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1TOOMNYRES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:status:TooManyResponses";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1UNKATTPRO_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:status:UnknownAttributeProfile";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1UNKPRNCPL_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:status:UnknownPrincipal";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1UNSUPPBIN_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:status:UnsupportedBinding";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML_1AUTHCTX_1PASSWORDPROTECTED_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML_1AUTHCTX_1PASSWORD_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:ac:classes:Password";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML_1AUTHCTX_1SSL_1TLS_1CERT_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:ac:classes:TLSClient";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML_1AUTHCTX_1PREVSESS_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:ac:classes:PreviousSession";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML_1AUTHCTX_1UNSPCFD_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML_1AUTHCTX_1INPROT_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:ac:classes:InternetProtocol";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1UNSPECIFIED_1NID_1FMT_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1EMAILADDR_1NID_1FMT_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1X509_1NID_1FMT_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1WINDOMAINQN_1NID_1FMT_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1KERBEROS_1NID_1FMT_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1ENTITY_1NID_1FMT_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:nameid-format:entity";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1PERSISTENT_1NID_1FMT_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1TRANSIENT_1NID_1FMT_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:nameid-format:transient";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SSO_1BRWS_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:profiles:SSO:browser";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SSO_1ECP_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SLO_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:profiles:SSO:logout";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1NIREG_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:profiles:SSO:nameid-mgmt";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1NIMAP_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:profiles:SSO:nameidmapping";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1ARTIFACT_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:profiles:SSO:artifact";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1QUERY_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:profiles:SSO:query";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1PAOS_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:bindings:PAOS";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SOAP_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:bindings:SOAP";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1REDIR_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1ART_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1POST_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1POST_1SIMPLE_1SIGN_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1URI_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:bindings:URI";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1AP_1BASIC_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:profiles:attribute:basic";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1AP_1X500_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:profiles:attribute:X500";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1AP_1UUID_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:profiles:attribute:UUID";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1AP_1DCE_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:profiles:attribute:DCE";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1AP_1XACML_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:profiles:attribute:XACML";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ATTRNAME_1UNSPECIFIED_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ATTRNAME_1BASIC_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:attrname-format:basic";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SOAP_1ACTOR_1NEXT_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://schemas.xmlsoap.org/soap/actor/next";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1BEARER_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:cm:bearer";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SOAP_1ACTION_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.oasis-open.org/committees/security";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACTION_1RW_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:1.0:action:rwedc";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACTION_1RWN_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:1.0:action:rwedc-negation";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACTION_1GHPP_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:1.0:action:ghpp";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACTION_1UNIX_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:1.0:action:unix";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_PAOS_1CONTENT_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "application/vnd.paos+xml";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1SA_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:sa:2006-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1IMS_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ims:2006-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1LIB_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:iff:2003-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1SASL_1REQ_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:sa:2006-08:SASLRequest";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1SASL_1RES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:sa:2006-08:SASLResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_PWTRUNCATE_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:sa:pw:truncate";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_PWLOWERCASE_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:sa:pw:lowercase";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_PWUPPERCASE_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:sa:pw:uppercase";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_PWSELECT_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:sa:pw:select";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1SUBS_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ssos:2006-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1SUBSREF_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ssos:2006-08:ref";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SUBS_1OPT_1NOSUBSCIB_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:subs:noSubscribe";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SUBS_1OPT_1NOQUESUBS_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:subs:noQuerySubscriptions";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SUBS_1END_1EXPIRED_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:dst:endreason:expired";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SUBS_1END_1DELETED_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:dst:endreason:resourcedeleted";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1DI_1RO_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "DiscoveryResourceOffering";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF20_1DI_1RO_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:disco:2005-11:DiscoveryEPR";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_IMPLIED_1RSC_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:isf:implied-resource";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1DISCO_11_11_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:disco:2003-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1DISCO_1EXT_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:disco:2004-04";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1DISCO_12_10_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:disco:2006-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1SBF_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:sb";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1QUE_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:disco:2006-08:Query";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1QUE_1RES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:disco:2006-08:QueryResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1ASSO_1QUE_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:disco:2006-08:SvcMDAssociationQuery";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1ASSO_1QUE_1RES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:disco:2006-08:SvcMDAssociationQueryResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1ASSO_1ADD_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:disco:2006-08:SvcMDAssociationAdd";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1ASSO_1ADD_1RES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:disco:2006-08:SvcMDAssociationAddResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1ASSO_1DEL_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:disco:2006-08:SvcMDAssociationDelete";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1ASSO_1DEL_1RES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:disco:2006-08:SvcMDAssociationDeleteResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1SVCMD_1QUE_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:disco:2006-08:SvcMDQuery";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1SVCMD_1QUE_1RES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:disco:2006-08:SvcMDQueryResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1SVCMD_1REG_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:disco:2006-08:SvcMDRegister";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1SVCMD_1REG_1RES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:disco:2006-08:SvcMDRegisterResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1SVCMD_1REP_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:disco:2006-08:SvcMDReplace";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1SVCMD_1REP_1RES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:disco:2006-08:SvcMDReplaceResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1SVCMD_1DEL_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:disco:2006-08:SvcMDDelete";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1SVCMD_1DEL_1RES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:disco:2006-08:SvcMDDeleteResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1GL_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-gl:2005-07";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_GL_1OPT_1SHAPE_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-gl:shape";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_GL_1OPT_1SPEED_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-gl:speed";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_GL_1OPT_1DIRECTION_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-gl:direction";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_GL_1OPT_1HEADING_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-gl:heading";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_GL_1OPT_1ALT_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-gl:alt";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_GL_1OPT_1CIVIL_1DATA_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-gl:civil-data";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_GL_1OPT_1AC_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-gl:areacomparison";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_GL_1OPT_1AC_1ONLY_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-gl:onlyareacomparison";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_GL_1OPT_1ACC_1HIGH_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-gl:accuracy:high";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_GL_1OPT_1ACC_1MEDIUM_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-gl:accuracy:medium";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_GL_1OPT_1ACC_1LOW_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-gl:accuracy:low";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1IS11_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:is:2003-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1IS20_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:is:2006-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1IREQ_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:is:2006-08:InteractionRequest";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1IRES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:is:2006-08:InteractionResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPT_1PP_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-pp";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPT_1PP_1INAME_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-pp:informalName";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPT_1PP_1CN_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-pp:cn";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPT_1PP_1LEG_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-pp:legal";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPT_1PP_1ADD_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-pp:address";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPTC_1PP_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-pp:can";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPTC_1PP_1INAME_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-pp:can:informalName";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPTC_1PP_1CN_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-pp:can:cn";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPTC_1PP_1LEG_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-pp:can:legal";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPTC_1PP_1ADD_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-pp:can:address";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPT_1MULT_1QI_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:dst:multipleQueryItems";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPT_1MULT_1MI_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:dst:multipleModification";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1PP_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-pp:2003-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_PS_1COL_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:collection";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_PS_1ENT_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:entity";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1PS_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1ADDENT_1REQ_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:AddEntityRequest";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1ADDENT_1RES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:AddEntityResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1ADDKENT_1REQ_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:AddKnownEntityRequest";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1ADDKENT_1RES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:AddKnownEntityResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1REMENT_1REQ_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:RemoveEntityRequest";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1REMENT_1RES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:RemoveEntityResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1ADDCOL_1REQ_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:AddCollectionRequest";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1ADDCOL_1RES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:AddCollectionResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1REMCOL_1REQ_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:RemoveCollectionRequest";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1REMCOL_1RES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:RemoveCollectionResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1ADDTOCOL_1REQ_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:AddToCollectionRequest";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1ADDTOCOL_1RES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:AddToCollectionResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1REMFROMCOL_1REQ_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:RemoveFromCollectionRequest";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1REMFROMCOL_1RES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:RemoveFromCollectionResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1LISTMEM_1REQ_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:ListMembersRequest";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1LISTMEM_1RES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:ListMembersResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1GETOBJ_1REQ_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:GetObjectInfoRequest";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1GETOBJ_1RES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:GetObjectInfoResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1SETOBJ_1REQ_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:SetObjectInfoRequest";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1SETOBJ_1RES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:SetObjectInfoResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1QUEOBJ_1REQ_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:QueryObjectsRequest";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1QUEOBJ_1RES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:AueryObjectsResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1TESTMEM_1REQ_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:TestMembershipRequest";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1TESTMEM_1RES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:TestMembershipResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1RSLVID_1REQ_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:ResolveIdentifierRequest";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1RSLVID_1RES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:ResolveIdentifierResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1NOTIFY_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:Notify";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1NOTIFY_1RES_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08:NotifyResponse";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1SEC_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2006-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TOKNUSG_1SEC_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:tokenusage:2006-08:SecurityToken";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TOKNUSG_1TID_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:tokenusage:2006-08:TargetIdentity";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TOKNUSG_1IID_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:tokenusage:2006-08:InvocationIdentity";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF10_1SEC_1MECH_1NULL_1BEARER_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2004-04:null:Bearer";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF10_1SEC_1MECH_1TLS_1BEARER_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2004-04:TLS:Bearer";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1NULL_1NULL_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2003-08:null:null";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1TLS_1NULL_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2003-08:TLS:null";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1CLTLS_1NULL_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2003-08:ClientTLS:null";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1NULL_1BEARER_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2005-02:null:Bearer";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1TLS_1BEARER_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2005-02:TLS:Bearer";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1CLTLS_1BEARER_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2005-02:ClientTLS:Bearer";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1NULL_1X509_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2005-02:null:X509";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1TLS_1X509_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2005-02:TLS:X509";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1CLTLS_1X509_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2005-02:ClientTLS:X509";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1NULL_1SAML_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2005-02:null:SAML";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1TLS_1SAML_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2005-02:TLS:SAML";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1CLTLS_1SAML_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2005-02:ClientTLS:SAML";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF20_1SEC_1MECH_1NULL_1NULL_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2005-02:null:null";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF20_1SEC_1MECH_1TLS_1NULL_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2005-02:TLS:null";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF20_1SEC_1MECH_1NULL_1BEARER_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2005-02:null:Bearer";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF20_1SEC_1MECH_1TLS_1BEARER_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2005-02:TLS:Bearer";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF20_1SEC_1MECH_1NULL_1SAML2_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2006-08:null:SAMLV2";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF20_1SEC_1MECH_1TLS_1SAML2_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2006-08:TLS:SAMLV2";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF20_1SEC_1MECH_1CLTLS_1SAML2_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2006-08:ClientTLS:SAMLV2";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF20_1SEC_1MECH_1CLTLS_1PEERS2_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2006-08:ClientTLS:peerSAMLV2";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1TOK_1PROFILE_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV2.0";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAMLID_1TOK_1PROFILE_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLID";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSS_1X509_1TOKEN_1PROFILE_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SB_1EPUPD_1COMP_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:sb:2006-08:EndpointUpdate:Complete";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SB_1EPUPD_1PART_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:sb:2006-08:EndpointUpdate:Partial";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SB_1EPUPD_1NOCH_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:sb:2006-08:EndpointUpdate:NoChange";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1CSM_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-csm:2006-02";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1LU_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:util:2006-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1HLO_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-hlo:2006-08:dst-2.1";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_DST_1ACC_1CHALLENGE_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:dst:acc:challenge";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1CXP_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-cxp:2005-10:dst-2.1";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1LIB_1MD_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:metadata:2003-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1AC_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ac:2003-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_LIBERTY_1NAMEID_1FMT_1FED_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:iff:nameid:federated";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_LIBERTY_1NAMEID_1FMT_1ONE_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:iff:nameid:one-time";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_LIBERTY_1NAMEID_1FMT_1ENC_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:iff:nameid:encrypted";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_LIBERTY_1NAMEID_1FMT_1ENT_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:iff:nameid:entityID";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1PAOS_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:paos:2003-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_PAOS_1HDR_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "ver=\"urn:liberty:paos:2003-08\"; \"urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp\"";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_LIBERTY_1ENA_1HDR_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "LIBV=urn:liberty:iff:2003-08 http://projectliberty.org/specs/v1";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_LIBERTY_1CONSENT_1OBTAINED_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:consent:obtained";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1DAP_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-dap:2006-02:dst-2.1";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1VERSION_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0x000033;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1REL_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "0.33";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1COMPILE_1DATE_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "1252541888";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1tab_1set(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  struct zx_ns_s *arg1 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(struct zx_ns_s **)&jarg1; 
  {
    size_t ii;
    struct zx_ns_s *b = (struct zx_ns_s *) zx_ns_tab;
    for (ii = 0; ii < (size_t)56; ii++) b[ii] = *((struct zx_ns_s *) arg1 + ii);
  }
  
}


JNIEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1tab_1get(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  struct zx_ns_s *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (struct zx_ns_s *)(struct zx_ns_s *)zx_ns_tab;
  *(struct zx_ns_s **)&jresult = result; 
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1ds_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 0;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ds_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/2000/09/xmldsig#";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1xenc_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 1;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1xenc_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/2001/04/xmlenc#";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1exca_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 2;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1exca_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/2001/10/xml-exc-c14n#";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1sa_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 3;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1sa_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:assertion";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1sp_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 4;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1sp_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:protocol";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1ecp_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 5;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ecp_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1paos_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 6;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1paos_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:paos:2006-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1e_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 7;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1e_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://schemas.xmlsoap.org/soap/envelope/";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1md_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 8;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1md_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:2.0:metadata";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1sp11_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 9;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1sp11_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:1.0:protocol";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1sa11_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 10;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1sa11_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:SAML:1.0:assertion";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1ff12_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 11;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ff12_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:iff:2003-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1ac_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 12;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ac_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ac:2004-12";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1m20_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 13;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1m20_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:metadata:2004-12";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1a_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 14;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1a_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/2005/08/addressing";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1wsse_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 15;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1wsse_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1wsu_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 16;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1wsu_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1sbf_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 17;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1sbf_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:sb";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1b_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 18;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1b_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:sb:2006-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1sec_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 19;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1sec_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:security:2006-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1di_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 20;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1di_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:disco:2006-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1is_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 21;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1is_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:is:2006-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1lu_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 22;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1lu_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:util:2006-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1dap_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 23;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1dap_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-dap:2006-08:dst-2.1";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1subs_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 24;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1subs_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ssos:2006-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1dst_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 25;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1dst_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:dst:2006-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1im_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 26;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1im_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ims:2006-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1ps_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 27;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ps_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:ps:2006-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1as_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 28;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1as_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:sa:2006-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1xml_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 29;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1xml_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/XML/1998/namespace";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1xsi_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 30;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1xsi_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/2001/XMLSchema-instance";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1xs_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 31;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1xs_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.w3.org/2001/XMLSchema";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1mm7_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 32;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1mm7_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-4";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1cb_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 33;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1cb_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-cb:2004-10";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1cdm_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 34;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1cdm_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:cb:conceptual-data-model:2004-10";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1gl_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 35;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1gl_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:id-sis-gl:2005-07";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1dp_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 36;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1dp_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:dp:2006-12";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1idp_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 37;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1idp_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:idp:2006-12";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1pmm_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 38;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1pmm_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:pmm:2006-12";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1prov_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 39;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1prov_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:prov:2006-12";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1shps_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 40;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1shps_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:shps:2006-12";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1hrxml_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 41;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1hrxml_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://ns.hr-xml.org/2007-04-15";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1idhrxml_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 42;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1idhrxml_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:id-sis-idhrxml:2007-06:dst-2.1";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1demomed_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 43;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1demomed_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:x-demo:me:2006-01";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1b12_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 44;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1b12_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:sb:2003-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1sec12_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 45;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1sec12_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:sec:2003-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1di12_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 46;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1di12_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:disco:2003-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1is12_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 47;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1is12_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:liberty:is:2003-08";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1xac_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 48;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1xac_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:xacml:2.0:context:schema:os";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1xa_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 49;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1xa_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:names:tc:xacml:2.0:policy:schema:os";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1xasa_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 50;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1xasa_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:xacml:2.0:saml:assertion:schema:os";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1xasp_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 51;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1xasp_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "urn:oasis:xacml:2.0:saml:protocol:schema:os";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1wst_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 52;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1wst_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://docs.oasis-open.org/ws-sx/ws-trust/200512/";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1wsp_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 53;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1wsp_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://schemas.xmlsoap.org/ws/2004/09/policy";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


JNIEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ix_1wsc_1get(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int) 54;
  
  jresult = (jint)result; 
  return jresult;
}


JNIEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1wsc_1get(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *) "http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512";
  
  if(result) jresult = (*jenv)->NewStringUTF(jenv, result);
  return jresult;
}


#ifdef __cplusplus
}
#endif

