1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 2.0.12
WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpszCmdLine,int nCmdShow)4  *
5  * This file is not intended to be easily readable and contains a number of
6  * coding conventions designed to improve portability and efficiency. Do not make
7  * changes to this file unless you know what you are doing--modify the SWIG
8  * interface file instead.
9  * ----------------------------------------------------------------------------- */
10 
11 #define SWIGJAVA
12 
13 /* -----------------------------------------------------------------------------
14  *  This section contains generic SWIG labels for method/variable
15  *  declarations/attributes, and other compiler dependent labels.
16  * ----------------------------------------------------------------------------- */
17 
18 /* template workaround for compilers that cannot correctly implement the C++ standard */
19 #ifndef SWIGTEMPLATEDISAMBIGUATOR
20 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
21 #  define SWIGTEMPLATEDISAMBIGUATOR template
22 # elif defined(__HP_aCC)
23 /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
24 /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
25 #  define SWIGTEMPLATEDISAMBIGUATOR template
26 # else
27 #  define SWIGTEMPLATEDISAMBIGUATOR
28 # endif
29 #endif
30 
31 /* inline attribute */
32 #ifndef SWIGINLINE
33 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
34 #   define SWIGINLINE inline
35 # else
36 #   define SWIGINLINE
37 # endif
38 #endif
39 
40 /* attribute recognised by some compilers to avoid 'unused' warnings */
41 #ifndef SWIGUNUSED
42 # if defined(__GNUC__)
43 #   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
44 #     define SWIGUNUSED __attribute__ ((__unused__))
45 #   else
46 #     define SWIGUNUSED
47 #   endif
48 # elif defined(__ICC)
49 #   define SWIGUNUSED __attribute__ ((__unused__))
50 # else
51 #   define SWIGUNUSED
52 # endif
53 #endif
54 
55 #ifndef SWIG_MSC_UNSUPPRESS_4505
56 # if defined(_MSC_VER)
57 #   pragma warning(disable : 4505) /* unreferenced local function has been removed */
58 # endif
59 #endif
60 
61 #ifndef SWIGUNUSEDPARM
62 # ifdef __cplusplus
63 #   define SWIGUNUSEDPARM(p)
64 # else
65 #   define SWIGUNUSEDPARM(p) p SWIGUNUSED
66 # endif
67 #endif
68 
69 /* internal SWIG method */
70 #ifndef SWIGINTERN
71 # define SWIGINTERN static SWIGUNUSED
72 #endif
73 
74 /* internal inline SWIG method */
75 #ifndef SWIGINTERNINLINE
76 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
77 #endif
78 
79 /* exporting methods */
80 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
81 #  ifndef GCC_HASCLASSVISIBILITY
82 #    define GCC_HASCLASSVISIBILITY
83 #  endif
84 #endif
85 
86 #ifndef SWIGEXPORT
87 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
88 #   if defined(STATIC_LINKED)
89 #     define SWIGEXPORT
90 #   else
91 #     define SWIGEXPORT __declspec(dllexport)
92 #   endif
93 # else
94 #   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
95 #     define SWIGEXPORT __attribute__ ((visibility("default")))
96 #   else
97 #     define SWIGEXPORT
98 #   endif
99 # endif
100 #endif
101 
102 /* calling conventions for Windows */
103 #ifndef SWIGSTDCALL
104 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
105 #   define SWIGSTDCALL __stdcall
106 # else
107 #   define SWIGSTDCALL
108 # endif
109 #endif
110 
111 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
112 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
113 # define _CRT_SECURE_NO_DEPRECATE
114 #endif
115 
116 /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
117 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
118 # define _SCL_SECURE_NO_DEPRECATE
119 #endif
120 
121 
122 
123 /* Fix for jlong on some versions of gcc on Windows */
124 #if defined(__GNUC__) && !defined(__INTEL_COMPILER)
125   typedef long long __int64;
126 #endif
127 
128 /* Fix for jlong on 64-bit x86 Solaris */
129 #if defined(__x86_64)
130 # ifdef _LP64
131 #   undef _LP64
132 # endif
133 #endif
134 
135 #include <jni.h>
136 #include <stdlib.h>
137 #include <string.h>
138 
139 
140 /* Support for throwing Java exceptions */
141 typedef enum {
142   SWIG_JavaOutOfMemoryError = 1,
143   SWIG_JavaIOException,
144   SWIG_JavaRuntimeException,
145   SWIG_JavaIndexOutOfBoundsException,
146   SWIG_JavaArithmeticException,
147   SWIG_JavaIllegalArgumentException,
148   SWIG_JavaNullPointerException,
149   SWIG_JavaDirectorPureVirtual,
150   SWIG_JavaUnknownError
151 } SWIG_JavaExceptionCodes;
152 
153 typedef struct {
154   SWIG_JavaExceptionCodes code;
155   const char *java_exception;
156 } SWIG_JavaExceptions_t;
157 
158 
159 static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionCodes code,  char *msg) {
160   jclass excep;
161   static  SWIG_JavaExceptions_t java_exceptions[] = {
162     { SWIG_JavaOutOfMemoryError, "java/lang/OutOfMemoryError" },
163     { SWIG_JavaIOException, "java/io/IOException" },
164     { SWIG_JavaRuntimeException, "java/lang/RuntimeException" },
165     { SWIG_JavaIndexOutOfBoundsException, "java/lang/IndexOutOfBoundsException" },
166     { SWIG_JavaArithmeticException, "java/lang/ArithmeticException" },
167     { SWIG_JavaIllegalArgumentException, "java/lang/IllegalArgumentException" },
168     { SWIG_JavaNullPointerException, "java/lang/NullPointerException" },
169     { SWIG_JavaDirectorPureVirtual, "java/lang/RuntimeException" },
170     { SWIG_JavaUnknownError,  "java/lang/UnknownError" },
171     { (SWIG_JavaExceptionCodes)0,  "java/lang/UnknownError" }
172   };
173    SWIG_JavaExceptions_t *except_ptr = java_exceptions;
174 
175   while (except_ptr->code != code && except_ptr->code)
176     except_ptr++;
177 
178   (*jenv)->ExceptionClear(jenv);
179   excep = (*jenv)->FindClass(jenv, except_ptr->java_exception);
180   if (excep)
181     (*jenv)->ThrowNew(jenv, excep, msg);
182 }
183 
184 
185 /* Contract support */
186 
187 #define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, msg); return nullreturn; } else
188 
189 
190 
191 #include "platform.h"
192 #include "errmac.h"
193 #include "zx.h"
194 #include "zxid.h"
195 #include "saml2.h"
196 
197 #include "c/zx-const.h"
198 #include "c/zx-data.h"
199 #include "c/zx-ns.h"
200 #include "c/zxidvers.h"
201 
202 
203 
204 #ifdef __cplusplus
205 extern "C" {
206 #endif
207 
208 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1lock_1ptmut_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
209   struct zx_lock *arg1 = (struct zx_lock *) 0 ;
210   pthread_mutex_t arg2 ;
211   pthread_mutex_t *argp2 ;
212 
213   (void)jenv;
214   (void)jcls;
215   arg1 = *(struct zx_lock **)&jarg1;
216   argp2 = *(pthread_mutex_t **)&jarg2;
217   if (!argp2) {
218     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null pthread_mutex_t");
219     return ;
220   }
221   arg2 = *argp2;
222   if (arg1) (arg1)->ptmut = arg2;
223 }
224 
225 
226 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1lock_1ptmut_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
227   jlong jresult = 0 ;
228   struct zx_lock *arg1 = (struct zx_lock *) 0 ;
229   pthread_mutex_t result;
230 
231   (void)jenv;
232   (void)jcls;
233   arg1 = *(struct zx_lock **)&jarg1;
234   result =  ((arg1)->ptmut);
235   {
236     pthread_mutex_t * resultptr = (pthread_mutex_t *) malloc(sizeof(pthread_mutex_t));
237     memmove(resultptr, &result, sizeof(pthread_mutex_t));
238     *(pthread_mutex_t **)&jresult = resultptr;
239   }
240   return jresult;
241 }
242 
243 
244 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1lock_1func_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
245   struct zx_lock *arg1 = (struct zx_lock *) 0 ;
246   char *arg2 = (char *) 0 ;
247 
248   (void)jenv;
249   (void)jcls;
250   arg1 = *(struct zx_lock **)&jarg1;
251   arg2 = 0;
252   if (jarg2) {
253     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
254     if (!arg2) return ;
255   }
256   {
257     if (arg2) {
258       arg1->func = (char *) malloc(strlen(( char *)arg2)+1);
259       strcpy((char *)arg1->func, ( char *)arg2);
260     } else {
261       arg1->func = 0;
262     }
263   }
264   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
265 }
266 
267 
268 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1lock_1func_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
269   jstring jresult = 0 ;
270   struct zx_lock *arg1 = (struct zx_lock *) 0 ;
271   char *result = 0 ;
272 
273   (void)jenv;
274   (void)jcls;
275   arg1 = *(struct zx_lock **)&jarg1;
276   result = (char *) ((arg1)->func);
277   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
278   return jresult;
279 }
280 
281 
282 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1lock_1line_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
283   struct zx_lock *arg1 = (struct zx_lock *) 0 ;
284   int arg2 ;
285 
286   (void)jenv;
287   (void)jcls;
288   arg1 = *(struct zx_lock **)&jarg1;
289   arg2 = (int)jarg2;
290   if (arg1) (arg1)->line = arg2;
291 }
292 
293 
294 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1lock_1line_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
295   jint jresult = 0 ;
296   struct zx_lock *arg1 = (struct zx_lock *) 0 ;
297   int result;
298 
299   (void)jenv;
300   (void)jcls;
301   arg1 = *(struct zx_lock **)&jarg1;
302   result = (int) ((arg1)->line);
303   jresult = (jint)result;
304   return jresult;
305 }
306 
307 
308 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1lock_1thr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
309   struct zx_lock *arg1 = (struct zx_lock *) 0 ;
310   pthread_t arg2 ;
311   pthread_t *argp2 ;
312 
313   (void)jenv;
314   (void)jcls;
315   arg1 = *(struct zx_lock **)&jarg1;
316   argp2 = *(pthread_t **)&jarg2;
317   if (!argp2) {
318     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null pthread_t");
319     return ;
320   }
321   arg2 = *argp2;
322   if (arg1) (arg1)->thr = arg2;
323 }
324 
325 
326 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1lock_1thr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
327   jlong jresult = 0 ;
328   struct zx_lock *arg1 = (struct zx_lock *) 0 ;
329   pthread_t result;
330 
331   (void)jenv;
332   (void)jcls;
333   arg1 = *(struct zx_lock **)&jarg1;
334   result =  ((arg1)->thr);
335   {
336     pthread_t * resultptr = (pthread_t *) malloc(sizeof(pthread_t));
337     memmove(resultptr, &result, sizeof(pthread_t));
338     *(pthread_t **)&jresult = resultptr;
339   }
340   return jresult;
341 }
342 
343 
344 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zx_1lock(JNIEnv *jenv, jclass jcls) {
345   jlong jresult = 0 ;
346   struct zx_lock *result = 0 ;
347 
348   (void)jenv;
349   (void)jcls;
350   result = (struct zx_lock *)calloc(1, sizeof(struct zx_lock));
351   *(struct zx_lock **)&jresult = result;
352   return jresult;
353 }
354 
355 
356 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zx_1lock(JNIEnv *jenv, jclass jcls, jlong jarg1) {
357   struct zx_lock *arg1 = (struct zx_lock *) 0 ;
358 
359   (void)jenv;
360   (void)jcls;
361   arg1 = *(struct zx_lock **)&jarg1;
362   free((char *) arg1);
363 }
364 
365 
366 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1url_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
367   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
368   char *arg2 = (char *) 0 ;
369 
370   (void)jenv;
371   (void)jcls;
372   arg1 = *(struct zx_ns_s **)&jarg1;
373   arg2 = 0;
374   if (jarg2) {
375     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
376     if (!arg2) return ;
377   }
378   {
379     if (arg2) {
380       arg1->url = (char *) malloc(strlen(( char *)arg2)+1);
381       strcpy((char *)arg1->url, ( char *)arg2);
382     } else {
383       arg1->url = 0;
384     }
385   }
386   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
387 }
388 
389 
390 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1url_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
391   jstring jresult = 0 ;
392   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
393   char *result = 0 ;
394 
395   (void)jenv;
396   (void)jcls;
397   arg1 = *(struct zx_ns_s **)&jarg1;
398   result = (char *) ((arg1)->url);
399   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
400   return jresult;
401 }
402 
403 
404 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1url_1len_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
405   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
406   int arg2 ;
407 
408   (void)jenv;
409   (void)jcls;
410   arg1 = *(struct zx_ns_s **)&jarg1;
411   arg2 = (int)jarg2;
412   if (arg1) (arg1)->url_len = arg2;
413 }
414 
415 
416 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1url_1len_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
417   jint jresult = 0 ;
418   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
419   int result;
420 
421   (void)jenv;
422   (void)jcls;
423   arg1 = *(struct zx_ns_s **)&jarg1;
424   result = (int) ((arg1)->url_len);
425   jresult = (jint)result;
426   return jresult;
427 }
428 
429 
430 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1prefix_1len_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
431   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
432   int arg2 ;
433 
434   (void)jenv;
435   (void)jcls;
436   arg1 = *(struct zx_ns_s **)&jarg1;
437   arg2 = (int)jarg2;
438   if (arg1) (arg1)->prefix_len = arg2;
439 }
440 
441 
442 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1prefix_1len_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
443   jint jresult = 0 ;
444   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
445   int result;
446 
447   (void)jenv;
448   (void)jcls;
449   arg1 = *(struct zx_ns_s **)&jarg1;
450   result = (int) ((arg1)->prefix_len);
451   jresult = (jint)result;
452   return jresult;
453 }
454 
455 
456 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1prefix_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
457   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
458   char *arg2 = (char *) 0 ;
459 
460   (void)jenv;
461   (void)jcls;
462   arg1 = *(struct zx_ns_s **)&jarg1;
463   arg2 = 0;
464   if (jarg2) {
465     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
466     if (!arg2) return ;
467   }
468   {
469     if (arg2) {
470       arg1->prefix = (char *) malloc(strlen(( char *)arg2)+1);
471       strcpy((char *)arg1->prefix, ( char *)arg2);
472     } else {
473       arg1->prefix = 0;
474     }
475   }
476   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
477 }
478 
479 
480 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1prefix_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
481   jstring jresult = 0 ;
482   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
483   char *result = 0 ;
484 
485   (void)jenv;
486   (void)jcls;
487   arg1 = *(struct zx_ns_s **)&jarg1;
488   result = (char *) ((arg1)->prefix);
489   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
490   return jresult;
491 }
492 
493 
494 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
495   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
496   struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
497 
498   (void)jenv;
499   (void)jcls;
500   arg1 = *(struct zx_ns_s **)&jarg1;
501   arg2 = *(struct zx_ns_s **)&jarg2;
502   if (arg1) (arg1)->n = arg2;
503 }
504 
505 
506 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
507   jlong jresult = 0 ;
508   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
509   struct zx_ns_s *result = 0 ;
510 
511   (void)jenv;
512   (void)jcls;
513   arg1 = *(struct zx_ns_s **)&jarg1;
514   result = (struct zx_ns_s *) ((arg1)->n);
515   *(struct zx_ns_s **)&jresult = result;
516   return jresult;
517 }
518 
519 
520 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1master_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
521   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
522   struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
523 
524   (void)jenv;
525   (void)jcls;
526   arg1 = *(struct zx_ns_s **)&jarg1;
527   arg2 = *(struct zx_ns_s **)&jarg2;
528   if (arg1) (arg1)->master = arg2;
529 }
530 
531 
532 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1master_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
533   jlong jresult = 0 ;
534   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
535   struct zx_ns_s *result = 0 ;
536 
537   (void)jenv;
538   (void)jcls;
539   arg1 = *(struct zx_ns_s **)&jarg1;
540   result = (struct zx_ns_s *) ((arg1)->master);
541   *(struct zx_ns_s **)&jresult = result;
542   return jresult;
543 }
544 
545 
546 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1seen_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
547   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
548   struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
549 
550   (void)jenv;
551   (void)jcls;
552   arg1 = *(struct zx_ns_s **)&jarg1;
553   arg2 = *(struct zx_ns_s **)&jarg2;
554   if (arg1) (arg1)->seen = arg2;
555 }
556 
557 
558 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1seen_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
559   jlong jresult = 0 ;
560   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
561   struct zx_ns_s *result = 0 ;
562 
563   (void)jenv;
564   (void)jcls;
565   arg1 = *(struct zx_ns_s **)&jarg1;
566   result = (struct zx_ns_s *) ((arg1)->seen);
567   *(struct zx_ns_s **)&jresult = result;
568   return jresult;
569 }
570 
571 
572 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1seen_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
573   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
574   struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
575 
576   (void)jenv;
577   (void)jcls;
578   arg1 = *(struct zx_ns_s **)&jarg1;
579   arg2 = *(struct zx_ns_s **)&jarg2;
580   if (arg1) (arg1)->seen_n = arg2;
581 }
582 
583 
584 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1seen_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
585   jlong jresult = 0 ;
586   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
587   struct zx_ns_s *result = 0 ;
588 
589   (void)jenv;
590   (void)jcls;
591   arg1 = *(struct zx_ns_s **)&jarg1;
592   result = (struct zx_ns_s *) ((arg1)->seen_n);
593   *(struct zx_ns_s **)&jresult = result;
594   return jresult;
595 }
596 
597 
598 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1seen_1p_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
599   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
600   struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
601 
602   (void)jenv;
603   (void)jcls;
604   arg1 = *(struct zx_ns_s **)&jarg1;
605   arg2 = *(struct zx_ns_s **)&jarg2;
606   if (arg1) (arg1)->seen_p = arg2;
607 }
608 
609 
610 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1seen_1p_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
611   jlong jresult = 0 ;
612   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
613   struct zx_ns_s *result = 0 ;
614 
615   (void)jenv;
616   (void)jcls;
617   arg1 = *(struct zx_ns_s **)&jarg1;
618   result = (struct zx_ns_s *) ((arg1)->seen_p);
619   *(struct zx_ns_s **)&jresult = result;
620   return jresult;
621 }
622 
623 
624 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1seen_1pop_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
625   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
626   struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
627 
628   (void)jenv;
629   (void)jcls;
630   arg1 = *(struct zx_ns_s **)&jarg1;
631   arg2 = *(struct zx_ns_s **)&jarg2;
632   if (arg1) (arg1)->seen_pop = arg2;
633 }
634 
635 
636 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1seen_1pop_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
637   jlong jresult = 0 ;
638   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
639   struct zx_ns_s *result = 0 ;
640 
641   (void)jenv;
642   (void)jcls;
643   arg1 = *(struct zx_ns_s **)&jarg1;
644   result = (struct zx_ns_s *) ((arg1)->seen_pop);
645   *(struct zx_ns_s **)&jresult = result;
646   return jresult;
647 }
648 
649 
650 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1inc_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
651   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
652   struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
653 
654   (void)jenv;
655   (void)jcls;
656   arg1 = *(struct zx_ns_s **)&jarg1;
657   arg2 = *(struct zx_ns_s **)&jarg2;
658   if (arg1) (arg1)->inc_n = arg2;
659 }
660 
661 
662 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1s_1inc_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
663   jlong jresult = 0 ;
664   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
665   struct zx_ns_s *result = 0 ;
666 
667   (void)jenv;
668   (void)jcls;
669   arg1 = *(struct zx_ns_s **)&jarg1;
670   result = (struct zx_ns_s *) ((arg1)->inc_n);
671   *(struct zx_ns_s **)&jresult = result;
672   return jresult;
673 }
674 
675 
676 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zx_1ns_1s(JNIEnv *jenv, jclass jcls) {
677   jlong jresult = 0 ;
678   struct zx_ns_s *result = 0 ;
679 
680   (void)jenv;
681   (void)jcls;
682   result = (struct zx_ns_s *)calloc(1, sizeof(struct zx_ns_s));
683   *(struct zx_ns_s **)&jresult = result;
684   return jresult;
685 }
686 
687 
688 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zx_1ns_1s(JNIEnv *jenv, jclass jcls, jlong jarg1) {
689   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
690 
691   (void)jenv;
692   (void)jcls;
693   arg1 = *(struct zx_ns_s **)&jarg1;
694   free((char *) arg1);
695 }
696 
697 
698 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1bas_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
699   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
700   char *arg2 = (char *) 0 ;
701 
702   (void)jenv;
703   (void)jcls;
704   arg1 = *(struct zx_ctx **)&jarg1;
705   arg2 = 0;
706   if (jarg2) {
707     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
708     if (!arg2) return ;
709   }
710   {
711     if (arg2) {
712       arg1->bas = (char *) malloc(strlen(( char *)arg2)+1);
713       strcpy((char *)arg1->bas, ( char *)arg2);
714     } else {
715       arg1->bas = 0;
716     }
717   }
718   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
719 }
720 
721 
722 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1bas_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
723   jstring jresult = 0 ;
724   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
725   char *result = 0 ;
726 
727   (void)jenv;
728   (void)jcls;
729   arg1 = *(struct zx_ctx **)&jarg1;
730   result = (char *) ((arg1)->bas);
731   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
732   return jresult;
733 }
734 
735 
736 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1p_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
737   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
738   char *arg2 = (char *) 0 ;
739 
740   (void)jenv;
741   (void)jcls;
742   arg1 = *(struct zx_ctx **)&jarg1;
743   arg2 = 0;
744   if (jarg2) {
745     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
746     if (!arg2) return ;
747   }
748   {
749     if (arg2) {
750       arg1->p = (char *) malloc(strlen(( char *)arg2)+1);
751       strcpy((char *)arg1->p, ( char *)arg2);
752     } else {
753       arg1->p = 0;
754     }
755   }
756   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
757 }
758 
759 
760 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1p_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
761   jstring jresult = 0 ;
762   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
763   char *result = 0 ;
764 
765   (void)jenv;
766   (void)jcls;
767   arg1 = *(struct zx_ctx **)&jarg1;
768   result = (char *) ((arg1)->p);
769   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
770   return jresult;
771 }
772 
773 
774 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1lim_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
775   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
776   char *arg2 = (char *) 0 ;
777 
778   (void)jenv;
779   (void)jcls;
780   arg1 = *(struct zx_ctx **)&jarg1;
781   arg2 = 0;
782   if (jarg2) {
783     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
784     if (!arg2) return ;
785   }
786   {
787     if (arg2) {
788       arg1->lim = (char *) malloc(strlen(( char *)arg2)+1);
789       strcpy((char *)arg1->lim, ( char *)arg2);
790     } else {
791       arg1->lim = 0;
792     }
793   }
794   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
795 }
796 
797 
798 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1lim_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
799   jstring jresult = 0 ;
800   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
801   char *result = 0 ;
802 
803   (void)jenv;
804   (void)jcls;
805   arg1 = *(struct zx_ctx **)&jarg1;
806   result = (char *) ((arg1)->lim);
807   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
808   return jresult;
809 }
810 
811 
812 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1ns_1tab_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
813   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
814   struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
815 
816   (void)jenv;
817   (void)jcls;
818   arg1 = *(struct zx_ctx **)&jarg1;
819   arg2 = *(struct zx_ns_s **)&jarg2;
820   if (arg1) (arg1)->ns_tab = arg2;
821 }
822 
823 
824 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1ns_1tab_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
825   jlong jresult = 0 ;
826   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
827   struct zx_ns_s *result = 0 ;
828 
829   (void)jenv;
830   (void)jcls;
831   arg1 = *(struct zx_ctx **)&jarg1;
832   result = (struct zx_ns_s *) ((arg1)->ns_tab);
833   *(struct zx_ns_s **)&jresult = result;
834   return jresult;
835 }
836 
837 
838 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1n_1ns_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
839   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
840   int arg2 ;
841 
842   (void)jenv;
843   (void)jcls;
844   arg1 = *(struct zx_ctx **)&jarg1;
845   arg2 = (int)jarg2;
846   if (arg1) (arg1)->n_ns = arg2;
847 }
848 
849 
850 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1n_1ns_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
851   jint jresult = 0 ;
852   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
853   int result;
854 
855   (void)jenv;
856   (void)jcls;
857   arg1 = *(struct zx_ctx **)&jarg1;
858   result = (int) ((arg1)->n_ns);
859   jresult = (jint)result;
860   return jresult;
861 }
862 
863 
864 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1unknown_1ns_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
865   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
866   struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
867 
868   (void)jenv;
869   (void)jcls;
870   arg1 = *(struct zx_ctx **)&jarg1;
871   arg2 = *(struct zx_ns_s **)&jarg2;
872   if (arg1) (arg1)->unknown_ns = arg2;
873 }
874 
875 
876 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1unknown_1ns_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
877   jlong jresult = 0 ;
878   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
879   struct zx_ns_s *result = 0 ;
880 
881   (void)jenv;
882   (void)jcls;
883   arg1 = *(struct zx_ctx **)&jarg1;
884   result = (struct zx_ns_s *) ((arg1)->unknown_ns);
885   *(struct zx_ns_s **)&jresult = result;
886   return jresult;
887 }
888 
889 
890 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1guard_1seen_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
891   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
892   struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
893 
894   (void)jenv;
895   (void)jcls;
896   arg1 = *(struct zx_ctx **)&jarg1;
897   arg2 = *(struct zx_ns_s **)&jarg2;
898   if (arg1) (arg1)->guard_seen_n = *arg2;
899 }
900 
901 
902 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1guard_1seen_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
903   jlong jresult = 0 ;
904   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
905   struct zx_ns_s *result = 0 ;
906 
907   (void)jenv;
908   (void)jcls;
909   arg1 = *(struct zx_ctx **)&jarg1;
910   result = (struct zx_ns_s *)& ((arg1)->guard_seen_n);
911   *(struct zx_ns_s **)&jresult = result;
912   return jresult;
913 }
914 
915 
916 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1guard_1seen_1p_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
917   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
918   struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
919 
920   (void)jenv;
921   (void)jcls;
922   arg1 = *(struct zx_ctx **)&jarg1;
923   arg2 = *(struct zx_ns_s **)&jarg2;
924   if (arg1) (arg1)->guard_seen_p = *arg2;
925 }
926 
927 
928 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1guard_1seen_1p_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
929   jlong jresult = 0 ;
930   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
931   struct zx_ns_s *result = 0 ;
932 
933   (void)jenv;
934   (void)jcls;
935   arg1 = *(struct zx_ctx **)&jarg1;
936   result = (struct zx_ns_s *)& ((arg1)->guard_seen_p);
937   *(struct zx_ns_s **)&jresult = result;
938   return jresult;
939 }
940 
941 
942 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1exclude_1sig_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
943   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
944   void *arg2 = (void *) 0 ;
945 
946   (void)jenv;
947   (void)jcls;
948   arg1 = *(struct zx_ctx **)&jarg1;
949   arg2 = *(void **)&jarg2;
950   if (arg1) (arg1)->exclude_sig = arg2;
951 }
952 
953 
954 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1exclude_1sig_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
955   jlong jresult = 0 ;
956   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
957   void *result = 0 ;
958 
959   (void)jenv;
960   (void)jcls;
961   arg1 = *(struct zx_ctx **)&jarg1;
962   result = (void *) ((arg1)->exclude_sig);
963   *(void **)&jresult = result;
964   return jresult;
965 }
966 
967 
968 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1inc_1ns_1len_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
969   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
970   struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
971 
972   (void)jenv;
973   (void)jcls;
974   arg1 = *(struct zx_ctx **)&jarg1;
975   arg2 = *(struct zx_ns_s **)&jarg2;
976   if (arg1) (arg1)->inc_ns_len = arg2;
977 }
978 
979 
980 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1inc_1ns_1len_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
981   jlong jresult = 0 ;
982   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
983   struct zx_ns_s *result = 0 ;
984 
985   (void)jenv;
986   (void)jcls;
987   arg1 = *(struct zx_ctx **)&jarg1;
988   result = (struct zx_ns_s *) ((arg1)->inc_ns_len);
989   *(struct zx_ns_s **)&jresult = result;
990   return jresult;
991 }
992 
993 
994 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1inc_1ns_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
995   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
996   struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
997 
998   (void)jenv;
999   (void)jcls;
1000   arg1 = *(struct zx_ctx **)&jarg1;
1001   arg2 = *(struct zx_ns_s **)&jarg2;
1002   if (arg1) (arg1)->inc_ns = arg2;
1003 }
1004 
1005 
1006 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1inc_1ns_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
1007   jlong jresult = 0 ;
1008   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1009   struct zx_ns_s *result = 0 ;
1010 
1011   (void)jenv;
1012   (void)jcls;
1013   arg1 = *(struct zx_ctx **)&jarg1;
1014   result = (struct zx_ns_s *) ((arg1)->inc_ns);
1015   *(struct zx_ns_s **)&jresult = result;
1016   return jresult;
1017 }
1018 
1019 
1020 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1malloc_1func_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
1021   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1022   void *(*arg2)(size_t) = (void *(*)(size_t)) 0 ;
1023 
1024   (void)jenv;
1025   (void)jcls;
1026   arg1 = *(struct zx_ctx **)&jarg1;
1027   arg2 = *(void *(**)(size_t))&jarg2;
1028   if (arg1) (arg1)->malloc_func = arg2;
1029 }
1030 
1031 
1032 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1malloc_1func_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
1033   jlong jresult = 0 ;
1034   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1035   void *(*result)(size_t) = 0 ;
1036 
1037   (void)jenv;
1038   (void)jcls;
1039   arg1 = *(struct zx_ctx **)&jarg1;
1040   result = (void *(*)(size_t)) ((arg1)->malloc_func);
1041   *(void *(**)(size_t))&jresult = result;
1042   return jresult;
1043 }
1044 
1045 
1046 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1realloc_1func_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
1047   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1048   void *(*arg2)(void *,size_t) = (void *(*)(void *,size_t)) 0 ;
1049 
1050   (void)jenv;
1051   (void)jcls;
1052   arg1 = *(struct zx_ctx **)&jarg1;
1053   arg2 = *(void *(**)(void *,size_t))&jarg2;
1054   if (arg1) (arg1)->realloc_func = arg2;
1055 }
1056 
1057 
1058 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1realloc_1func_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
1059   jlong jresult = 0 ;
1060   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1061   void *(*result)(void *,size_t) = 0 ;
1062 
1063   (void)jenv;
1064   (void)jcls;
1065   arg1 = *(struct zx_ctx **)&jarg1;
1066   result = (void *(*)(void *,size_t)) ((arg1)->realloc_func);
1067   *(void *(**)(void *,size_t))&jresult = result;
1068   return jresult;
1069 }
1070 
1071 
1072 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1free_1func_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
1073   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1074   void (*arg2)(void *) = (void (*)(void *)) 0 ;
1075 
1076   (void)jenv;
1077   (void)jcls;
1078   arg1 = *(struct zx_ctx **)&jarg1;
1079   arg2 = *(void (**)(void *))&jarg2;
1080   if (arg1) (arg1)->free_func = arg2;
1081 }
1082 
1083 
1084 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1free_1func_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
1085   jlong jresult = 0 ;
1086   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1087   void (*result)(void *) = 0 ;
1088 
1089   (void)jenv;
1090   (void)jcls;
1091   arg1 = *(struct zx_ctx **)&jarg1;
1092   result = (void (*)(void *)) ((arg1)->free_func);
1093   *(void (**)(void *))&jresult = result;
1094   return jresult;
1095 }
1096 
1097 
1098 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1canon_1inopt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
1099   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1100   char arg2 ;
1101 
1102   (void)jenv;
1103   (void)jcls;
1104   arg1 = *(struct zx_ctx **)&jarg1;
1105   arg2 = (char)jarg2;
1106   if (arg1) (arg1)->canon_inopt = arg2;
1107 }
1108 
1109 
1110 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1canon_1inopt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
1111   jchar jresult = 0 ;
1112   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1113   char result;
1114 
1115   (void)jenv;
1116   (void)jcls;
1117   arg1 = *(struct zx_ctx **)&jarg1;
1118   result = (char) ((arg1)->canon_inopt);
1119   jresult = (jchar)result;
1120   return jresult;
1121 }
1122 
1123 
1124 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1enc_1tail_1opt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
1125   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1126   char arg2 ;
1127 
1128   (void)jenv;
1129   (void)jcls;
1130   arg1 = *(struct zx_ctx **)&jarg1;
1131   arg2 = (char)jarg2;
1132   if (arg1) (arg1)->enc_tail_opt = arg2;
1133 }
1134 
1135 
1136 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1enc_1tail_1opt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
1137   jchar jresult = 0 ;
1138   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1139   char result;
1140 
1141   (void)jenv;
1142   (void)jcls;
1143   arg1 = *(struct zx_ctx **)&jarg1;
1144   result = (char) ((arg1)->enc_tail_opt);
1145   jresult = (jchar)result;
1146   return jresult;
1147 }
1148 
1149 
1150 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1top1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
1151   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1152   char arg2 ;
1153 
1154   (void)jenv;
1155   (void)jcls;
1156   arg1 = *(struct zx_ctx **)&jarg1;
1157   arg2 = (char)jarg2;
1158   if (arg1) (arg1)->top1 = arg2;
1159 }
1160 
1161 
1162 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1top1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
1163   jchar jresult = 0 ;
1164   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1165   char result;
1166 
1167   (void)jenv;
1168   (void)jcls;
1169   arg1 = *(struct zx_ctx **)&jarg1;
1170   result = (char) ((arg1)->top1);
1171   jresult = (jchar)result;
1172   return jresult;
1173 }
1174 
1175 
1176 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1pad3_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
1177   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1178   char arg2 ;
1179 
1180   (void)jenv;
1181   (void)jcls;
1182   arg1 = *(struct zx_ctx **)&jarg1;
1183   arg2 = (char)jarg2;
1184   if (arg1) (arg1)->pad3 = arg2;
1185 }
1186 
1187 
1188 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1pad3_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
1189   jchar jresult = 0 ;
1190   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1191   char result;
1192 
1193   (void)jenv;
1194   (void)jcls;
1195   arg1 = *(struct zx_ctx **)&jarg1;
1196   result = (char) ((arg1)->pad3);
1197   jresult = (jchar)result;
1198   return jresult;
1199 }
1200 
1201 
1202 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1zx_1errno_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
1203   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1204   int arg2 ;
1205 
1206   (void)jenv;
1207   (void)jcls;
1208   arg1 = *(struct zx_ctx **)&jarg1;
1209   arg2 = (int)jarg2;
1210   if (arg1) (arg1)->zx_errno = arg2;
1211 }
1212 
1213 
1214 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1ctx_1zx_1errno_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
1215   jint jresult = 0 ;
1216   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1217   int result;
1218 
1219   (void)jenv;
1220   (void)jcls;
1221   arg1 = *(struct zx_ctx **)&jarg1;
1222   result = (int) ((arg1)->zx_errno);
1223   jresult = (jint)result;
1224   return jresult;
1225 }
1226 
1227 
1228 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zx_1ctx(JNIEnv *jenv, jclass jcls) {
1229   jlong jresult = 0 ;
1230   struct zx_ctx *result = 0 ;
1231 
1232   (void)jenv;
1233   (void)jcls;
1234   result = (struct zx_ctx *)calloc(1, sizeof(struct zx_ctx));
1235   *(struct zx_ctx **)&jresult = result;
1236   return jresult;
1237 }
1238 
1239 
1240 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zx_1ctx(JNIEnv *jenv, jclass jcls, jlong jarg1) {
1241   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1242 
1243   (void)jenv;
1244   (void)jcls;
1245   arg1 = *(struct zx_ctx **)&jarg1;
1246   free((char *) arg1);
1247 }
1248 
1249 
1250 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1str_1n_1set(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2) {
1251   struct zx_str *arg1 = (struct zx_str *) 0 ;
1252   struct zx_str *arg2 = (struct zx_str *) 0 ;
1253 
1254   (void)jenv;
1255   (void)jcls;
1256   arg1 = *(struct zx_str **)&jarg1;
1257   arg2 = *(struct zx_str **)&jarg2;
1258   if (arg1) (arg1)->n = arg2;
1259 }
1260 
1261 
1262 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1str_1n_1get(JNIEnv *jenv, jclass jcls, jstring jarg1) {
1263   jstring jresult = 0 ;
1264   struct zx_str *arg1 = (struct zx_str *) 0 ;
1265   struct zx_str *result = 0 ;
1266 
1267   (void)jenv;
1268   (void)jcls;
1269   arg1 = *(struct zx_str **)&jarg1;
1270   result = (struct zx_str *) ((arg1)->n);
1271   {
1272     // Unfortunately Java does not provide NewStringUTF() that would explicitly
1273     // take length field - they insist on nul termination instead. Sigh.
1274     if (result && result->s) {
1275       char* tmp = malloc(result->len + 1);
1276       if (!tmp) {
1277         ERR("Out of memory len=%d", result->len); return 0;
1278       }
1279       memcpy(tmp, result->s, result->len);
1280       tmp[result->len] = 0;
1281       jresult = (*jenv)->NewStringUTF(jenv, tmp);
1282       free(tmp);
1283       // Do not free underlying zx_str because they are usually returned by reference.
1284     } else {
1285       jresult = 0;
1286     }
1287   }
1288   return jresult;
1289 }
1290 
1291 
1292 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1str_1tok_1set(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2) {
1293   struct zx_str *arg1 = (struct zx_str *) 0 ;
1294   int arg2 ;
1295 
1296   (void)jenv;
1297   (void)jcls;
1298   arg1 = *(struct zx_str **)&jarg1;
1299   arg2 = (int)jarg2;
1300   if (arg1) (arg1)->tok = arg2;
1301 }
1302 
1303 
1304 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1str_1tok_1get(JNIEnv *jenv, jclass jcls, jstring jarg1) {
1305   jint jresult = 0 ;
1306   struct zx_str *arg1 = (struct zx_str *) 0 ;
1307   int result;
1308 
1309   (void)jenv;
1310   (void)jcls;
1311   arg1 = *(struct zx_str **)&jarg1;
1312   result = (int) ((arg1)->tok);
1313   jresult = (jint)result;
1314   return jresult;
1315 }
1316 
1317 
1318 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1str_1len_1set(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2) {
1319   struct zx_str *arg1 = (struct zx_str *) 0 ;
1320   int arg2 ;
1321 
1322   (void)jenv;
1323   (void)jcls;
1324   arg1 = *(struct zx_str **)&jarg1;
1325   arg2 = (int)jarg2;
1326   if (arg1) (arg1)->len = arg2;
1327 }
1328 
1329 
1330 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1str_1len_1get(JNIEnv *jenv, jclass jcls, jstring jarg1) {
1331   jint jresult = 0 ;
1332   struct zx_str *arg1 = (struct zx_str *) 0 ;
1333   int result;
1334 
1335   (void)jenv;
1336   (void)jcls;
1337   arg1 = *(struct zx_str **)&jarg1;
1338   result = (int) ((arg1)->len);
1339   jresult = (jint)result;
1340   return jresult;
1341 }
1342 
1343 
1344 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1str_1s_1set(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2) {
1345   struct zx_str *arg1 = (struct zx_str *) 0 ;
1346   char *arg2 = (char *) 0 ;
1347 
1348   (void)jenv;
1349   (void)jcls;
1350   arg1 = *(struct zx_str **)&jarg1;
1351   arg2 = 0;
1352   if (jarg2) {
1353     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
1354     if (!arg2) return ;
1355   }
1356   {
1357     if (arg2) {
1358       arg1->s = (char *) malloc(strlen(( char *)arg2)+1);
1359       strcpy((char *)arg1->s, ( char *)arg2);
1360     } else {
1361       arg1->s = 0;
1362     }
1363   }
1364   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
1365 }
1366 
1367 
1368 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1str_1s_1get(JNIEnv *jenv, jclass jcls, jstring jarg1) {
1369   jstring jresult = 0 ;
1370   struct zx_str *arg1 = (struct zx_str *) 0 ;
1371   char *result = 0 ;
1372 
1373   (void)jenv;
1374   (void)jcls;
1375   arg1 = *(struct zx_str **)&jarg1;
1376   result = (char *) ((arg1)->s);
1377   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
1378   return jresult;
1379 }
1380 
1381 
1382 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_new_1zx_1str(JNIEnv *jenv, jclass jcls) {
1383   jstring jresult = 0 ;
1384   struct zx_str *result = 0 ;
1385 
1386   (void)jenv;
1387   (void)jcls;
1388   result = (struct zx_str *)calloc(1, sizeof(struct zx_str));
1389   {
1390     // Unfortunately Java does not provide NewStringUTF() that would explicitly
1391     // take length field - they insist on nul termination instead. Sigh.
1392     if (result && result->s) {
1393       char* tmp = malloc(result->len + 1);
1394       if (!tmp) {
1395         ERR("Out of memory len=%d", result->len); return 0;
1396       }
1397       memcpy(tmp, result->s, result->len);
1398       tmp[result->len] = 0;
1399       jresult = (*jenv)->NewStringUTF(jenv, tmp);
1400       free(tmp);
1401       // Do not free underlying zx_str because they are usually returned by reference.
1402     } else {
1403       jresult = 0;
1404     }
1405   }
1406   return jresult;
1407 }
1408 
1409 
1410 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zx_1str(JNIEnv *jenv, jclass jcls, jstring jarg1) {
1411   struct zx_str *arg1 = (struct zx_str *) 0 ;
1412 
1413   (void)jenv;
1414   (void)jcls;
1415   arg1 = *(struct zx_str **)&jarg1;
1416   free((char *) arg1);
1417 }
1418 
1419 
1420 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1attr_1s_1g_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
1421   struct zx_attr_s *arg1 = (struct zx_attr_s *) 0 ;
1422   struct zx_str *arg2 = (struct zx_str *) 0 ;
1423 
1424   (void)jenv;
1425   (void)jcls;
1426   arg1 = *(struct zx_attr_s **)&jarg1;
1427   arg2 = *(struct zx_str **)&jarg2;
1428   if (arg1) (arg1)->g = *arg2;
1429 }
1430 
1431 
1432 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1attr_1s_1g_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
1433   jstring jresult = 0 ;
1434   struct zx_attr_s *arg1 = (struct zx_attr_s *) 0 ;
1435   struct zx_str *result = 0 ;
1436 
1437   (void)jenv;
1438   (void)jcls;
1439   arg1 = *(struct zx_attr_s **)&jarg1;
1440   result = (struct zx_str *)& ((arg1)->g);
1441   {
1442     // Unfortunately Java does not provide NewStringUTF() that would explicitly
1443     // take length field - they insist on nul termination instead. Sigh.
1444     if (result && result->s) {
1445       char* tmp = malloc(result->len + 1);
1446       if (!tmp) {
1447         ERR("Out of memory len=%d", result->len); return 0;
1448       }
1449       memcpy(tmp, result->s, result->len);
1450       tmp[result->len] = 0;
1451       jresult = (*jenv)->NewStringUTF(jenv, tmp);
1452       free(tmp);
1453       // Do not free underlying zx_str because they are usually returned by reference.
1454     } else {
1455       jresult = 0;
1456     }
1457   }
1458   return jresult;
1459 }
1460 
1461 
1462 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1attr_1s_1ns_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
1463   struct zx_attr_s *arg1 = (struct zx_attr_s *) 0 ;
1464   struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
1465 
1466   (void)jenv;
1467   (void)jcls;
1468   arg1 = *(struct zx_attr_s **)&jarg1;
1469   arg2 = *(struct zx_ns_s **)&jarg2;
1470   if (arg1) (arg1)->ns = arg2;
1471 }
1472 
1473 
1474 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1attr_1s_1ns_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
1475   jlong jresult = 0 ;
1476   struct zx_attr_s *arg1 = (struct zx_attr_s *) 0 ;
1477   struct zx_ns_s *result = 0 ;
1478 
1479   (void)jenv;
1480   (void)jcls;
1481   arg1 = *(struct zx_attr_s **)&jarg1;
1482   result = (struct zx_ns_s *) ((arg1)->ns);
1483   *(struct zx_ns_s **)&jresult = result;
1484   return jresult;
1485 }
1486 
1487 
1488 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1attr_1s_1name_1len_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
1489   struct zx_attr_s *arg1 = (struct zx_attr_s *) 0 ;
1490   int arg2 ;
1491 
1492   (void)jenv;
1493   (void)jcls;
1494   arg1 = *(struct zx_attr_s **)&jarg1;
1495   arg2 = (int)jarg2;
1496   if (arg1) (arg1)->name_len = arg2;
1497 }
1498 
1499 
1500 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1attr_1s_1name_1len_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
1501   jint jresult = 0 ;
1502   struct zx_attr_s *arg1 = (struct zx_attr_s *) 0 ;
1503   int result;
1504 
1505   (void)jenv;
1506   (void)jcls;
1507   arg1 = *(struct zx_attr_s **)&jarg1;
1508   result = (int) ((arg1)->name_len);
1509   jresult = (jint)result;
1510   return jresult;
1511 }
1512 
1513 
1514 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1attr_1s_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
1515   struct zx_attr_s *arg1 = (struct zx_attr_s *) 0 ;
1516   char *arg2 = (char *) 0 ;
1517 
1518   (void)jenv;
1519   (void)jcls;
1520   arg1 = *(struct zx_attr_s **)&jarg1;
1521   arg2 = 0;
1522   if (jarg2) {
1523     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
1524     if (!arg2) return ;
1525   }
1526   {
1527     if (arg2) {
1528       arg1->name = (char *) malloc(strlen(( char *)arg2)+1);
1529       strcpy((char *)arg1->name, ( char *)arg2);
1530     } else {
1531       arg1->name = 0;
1532     }
1533   }
1534   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
1535 }
1536 
1537 
1538 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1attr_1s_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
1539   jstring jresult = 0 ;
1540   struct zx_attr_s *arg1 = (struct zx_attr_s *) 0 ;
1541   char *result = 0 ;
1542 
1543   (void)jenv;
1544   (void)jcls;
1545   arg1 = *(struct zx_attr_s **)&jarg1;
1546   result = (char *) ((arg1)->name);
1547   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
1548   return jresult;
1549 }
1550 
1551 
1552 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zx_1attr_1s(JNIEnv *jenv, jclass jcls) {
1553   jlong jresult = 0 ;
1554   struct zx_attr_s *result = 0 ;
1555 
1556   (void)jenv;
1557   (void)jcls;
1558   result = (struct zx_attr_s *)calloc(1, sizeof(struct zx_attr_s));
1559   *(struct zx_attr_s **)&jresult = result;
1560   return jresult;
1561 }
1562 
1563 
1564 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zx_1attr_1s(JNIEnv *jenv, jclass jcls, jlong jarg1) {
1565   struct zx_attr_s *arg1 = (struct zx_attr_s *) 0 ;
1566 
1567   (void)jenv;
1568   (void)jcls;
1569   arg1 = *(struct zx_attr_s **)&jarg1;
1570   free((char *) arg1);
1571 }
1572 
1573 
1574 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1elem_1s_1g_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
1575   struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
1576   struct zx_str *arg2 = (struct zx_str *) 0 ;
1577 
1578   (void)jenv;
1579   (void)jcls;
1580   arg1 = *(struct zx_elem_s **)&jarg1;
1581   arg2 = *(struct zx_str **)&jarg2;
1582   if (arg1) (arg1)->g = *arg2;
1583 }
1584 
1585 
1586 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1elem_1s_1g_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
1587   jstring jresult = 0 ;
1588   struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
1589   struct zx_str *result = 0 ;
1590 
1591   (void)jenv;
1592   (void)jcls;
1593   arg1 = *(struct zx_elem_s **)&jarg1;
1594   result = (struct zx_str *)& ((arg1)->g);
1595   {
1596     // Unfortunately Java does not provide NewStringUTF() that would explicitly
1597     // take length field - they insist on nul termination instead. Sigh.
1598     if (result && result->s) {
1599       char* tmp = malloc(result->len + 1);
1600       if (!tmp) {
1601         ERR("Out of memory len=%d", result->len); return 0;
1602       }
1603       memcpy(tmp, result->s, result->len);
1604       tmp[result->len] = 0;
1605       jresult = (*jenv)->NewStringUTF(jenv, tmp);
1606       free(tmp);
1607       // Do not free underlying zx_str because they are usually returned by reference.
1608     } else {
1609       jresult = 0;
1610     }
1611   }
1612   return jresult;
1613 }
1614 
1615 
1616 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1elem_1s_1kids_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
1617   struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
1618   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
1619 
1620   (void)jenv;
1621   (void)jcls;
1622   arg1 = *(struct zx_elem_s **)&jarg1;
1623   arg2 = *(struct zx_elem_s **)&jarg2;
1624   if (arg1) (arg1)->kids = arg2;
1625 }
1626 
1627 
1628 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1elem_1s_1kids_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
1629   jlong jresult = 0 ;
1630   struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
1631   struct zx_elem_s *result = 0 ;
1632 
1633   (void)jenv;
1634   (void)jcls;
1635   arg1 = *(struct zx_elem_s **)&jarg1;
1636   result = (struct zx_elem_s *) ((arg1)->kids);
1637   *(struct zx_elem_s **)&jresult = result;
1638   return jresult;
1639 }
1640 
1641 
1642 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1elem_1s_1attr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
1643   struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
1644   struct zx_attr_s *arg2 = (struct zx_attr_s *) 0 ;
1645 
1646   (void)jenv;
1647   (void)jcls;
1648   arg1 = *(struct zx_elem_s **)&jarg1;
1649   arg2 = *(struct zx_attr_s **)&jarg2;
1650   if (arg1) (arg1)->attr = arg2;
1651 }
1652 
1653 
1654 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1elem_1s_1attr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
1655   jlong jresult = 0 ;
1656   struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
1657   struct zx_attr_s *result = 0 ;
1658 
1659   (void)jenv;
1660   (void)jcls;
1661   arg1 = *(struct zx_elem_s **)&jarg1;
1662   result = (struct zx_attr_s *) ((arg1)->attr);
1663   *(struct zx_attr_s **)&jresult = result;
1664   return jresult;
1665 }
1666 
1667 
1668 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1elem_1s_1ns_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
1669   struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
1670   struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
1671 
1672   (void)jenv;
1673   (void)jcls;
1674   arg1 = *(struct zx_elem_s **)&jarg1;
1675   arg2 = *(struct zx_ns_s **)&jarg2;
1676   if (arg1) (arg1)->ns = arg2;
1677 }
1678 
1679 
1680 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1elem_1s_1ns_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
1681   jlong jresult = 0 ;
1682   struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
1683   struct zx_ns_s *result = 0 ;
1684 
1685   (void)jenv;
1686   (void)jcls;
1687   arg1 = *(struct zx_elem_s **)&jarg1;
1688   result = (struct zx_ns_s *) ((arg1)->ns);
1689   *(struct zx_ns_s **)&jresult = result;
1690   return jresult;
1691 }
1692 
1693 
1694 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1elem_1s_1xmlns_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
1695   struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
1696   struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
1697 
1698   (void)jenv;
1699   (void)jcls;
1700   arg1 = *(struct zx_elem_s **)&jarg1;
1701   arg2 = *(struct zx_ns_s **)&jarg2;
1702   if (arg1) (arg1)->xmlns = arg2;
1703 }
1704 
1705 
1706 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1elem_1s_1xmlns_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
1707   jlong jresult = 0 ;
1708   struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
1709   struct zx_ns_s *result = 0 ;
1710 
1711   (void)jenv;
1712   (void)jcls;
1713   arg1 = *(struct zx_elem_s **)&jarg1;
1714   result = (struct zx_ns_s *) ((arg1)->xmlns);
1715   *(struct zx_ns_s **)&jresult = result;
1716   return jresult;
1717 }
1718 
1719 
1720 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zx_1elem_1s(JNIEnv *jenv, jclass jcls) {
1721   jlong jresult = 0 ;
1722   struct zx_elem_s *result = 0 ;
1723 
1724   (void)jenv;
1725   (void)jcls;
1726   result = (struct zx_elem_s *)calloc(1, sizeof(struct zx_elem_s));
1727   *(struct zx_elem_s **)&jresult = result;
1728   return jresult;
1729 }
1730 
1731 
1732 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zx_1elem_1s(JNIEnv *jenv, jclass jcls, jlong jarg1) {
1733   struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
1734 
1735   (void)jenv;
1736   (void)jcls;
1737   arg1 = *(struct zx_elem_s **)&jarg1;
1738   free((char *) arg1);
1739 }
1740 
1741 
1742 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1new_1elem(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3) {
1743   jlong jresult = 0 ;
1744   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1745   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
1746   int arg3 ;
1747   struct zx_elem_s *result = 0 ;
1748 
1749   (void)jenv;
1750   (void)jcls;
1751   arg1 = *(struct zx_ctx **)&jarg1;
1752   arg2 = *(struct zx_elem_s **)&jarg2;
1753   arg3 = (int)jarg3;
1754   result = (struct zx_elem_s *)zx_new_elem(arg1,arg2,arg3);
1755   *(struct zx_elem_s **)&jresult = result;
1756   return jresult;
1757 }
1758 
1759 
1760 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1new_1str_1elem(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jstring jarg4) {
1761   jlong jresult = 0 ;
1762   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1763   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
1764   int arg3 ;
1765   struct zx_str *arg4 = (struct zx_str *) 0 ;
1766   struct zx_elem_s *result = 0 ;
1767 
1768   (void)jenv;
1769   (void)jcls;
1770   arg1 = *(struct zx_ctx **)&jarg1;
1771   arg2 = *(struct zx_elem_s **)&jarg2;
1772   arg3 = (int)jarg3;
1773   arg4 = *(struct zx_str **)&jarg4;
1774   result = (struct zx_elem_s *)zx_new_str_elem(arg1,arg2,arg3,arg4);
1775   *(struct zx_elem_s **)&jresult = result;
1776   return jresult;
1777 }
1778 
1779 
1780 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ref_1len_1elem(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jint jarg4) {
1781   jlong jresult = 0 ;
1782   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1783   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
1784   int arg3 ;
1785   int arg4 ;
1786   char *arg5 = (char *) 0 ;
1787   struct zx_elem_s *result = 0 ;
1788 
1789   (void)jenv;
1790   (void)jcls;
1791   arg1 = *(struct zx_ctx **)&jarg1;
1792   arg2 = *(struct zx_elem_s **)&jarg2;
1793   arg3 = (int)jarg3;
1794 
1795   // The following jstring casts could probably be avoided with proper use of typemaps
1796   arg4 = (*jenv)->GetStringUTFLength(jenv, (jstring)jarg4);
1797   arg5 = (char*)(*jenv)->GetStringUTFChars(jenv, (jstring)jarg4, 0);
1798   // *** Whether we can free, or not, the obtained string depends
1799   //     on whether the zxid API will take reference to the const string.
1800 
1801   result = (struct zx_elem_s *)zx_ref_len_elem(arg1,arg2,arg3,arg4,arg5);
1802   *(struct zx_elem_s **)&jresult = result;
1803   (*jenv)->ReleaseStringUTFChars(jenv, (jstring)jarg4, arg5);
1804   return jresult;
1805 }
1806 
1807 
1808 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ref_1elem(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jstring jarg4) {
1809   jlong jresult = 0 ;
1810   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1811   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
1812   int arg3 ;
1813   char *arg4 = (char *) 0 ;
1814   struct zx_elem_s *result = 0 ;
1815 
1816   (void)jenv;
1817   (void)jcls;
1818   arg1 = *(struct zx_ctx **)&jarg1;
1819   arg2 = *(struct zx_elem_s **)&jarg2;
1820   arg3 = (int)jarg3;
1821   arg4 = 0;
1822   if (jarg4) {
1823     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
1824     if (!arg4) return 0;
1825   }
1826   result = (struct zx_elem_s *)zx_ref_elem(arg1,arg2,arg3,arg4);
1827   *(struct zx_elem_s **)&jresult = result;
1828   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
1829   return jresult;
1830 }
1831 
1832 
1833 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1dup_1len_1elem(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jint jarg4) {
1834   jlong jresult = 0 ;
1835   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1836   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
1837   int arg3 ;
1838   int arg4 ;
1839   char *arg5 = (char *) 0 ;
1840   struct zx_elem_s *result = 0 ;
1841 
1842   (void)jenv;
1843   (void)jcls;
1844   arg1 = *(struct zx_ctx **)&jarg1;
1845   arg2 = *(struct zx_elem_s **)&jarg2;
1846   arg3 = (int)jarg3;
1847 
1848   // The following jstring casts could probably be avoided with proper use of typemaps
1849   arg4 = (*jenv)->GetStringUTFLength(jenv, (jstring)jarg4);
1850   arg5 = (char*)(*jenv)->GetStringUTFChars(jenv, (jstring)jarg4, 0);
1851   // *** Whether we can free, or not, the obtained string depends
1852   //     on whether the zxid API will take reference to the const string.
1853 
1854   result = (struct zx_elem_s *)zx_dup_len_elem(arg1,arg2,arg3,arg4,arg5);
1855   *(struct zx_elem_s **)&jresult = result;
1856   (*jenv)->ReleaseStringUTFChars(jenv, (jstring)jarg4, arg5);
1857   return jresult;
1858 }
1859 
1860 
1861 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1dup_1elem(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jstring jarg4) {
1862   jlong jresult = 0 ;
1863   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1864   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
1865   int arg3 ;
1866   char *arg4 = (char *) 0 ;
1867   struct zx_elem_s *result = 0 ;
1868 
1869   (void)jenv;
1870   (void)jcls;
1871   arg1 = *(struct zx_ctx **)&jarg1;
1872   arg2 = *(struct zx_elem_s **)&jarg2;
1873   arg3 = (int)jarg3;
1874   arg4 = 0;
1875   if (jarg4) {
1876     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
1877     if (!arg4) return 0;
1878   }
1879   result = (struct zx_elem_s *)zx_dup_elem(arg1,arg2,arg3,arg4);
1880   *(struct zx_elem_s **)&jresult = result;
1881   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
1882   return jresult;
1883 }
1884 
1885 
1886 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ref_1len_1attr(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jint jarg4) {
1887   jlong jresult = 0 ;
1888   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1889   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
1890   int arg3 ;
1891   int arg4 ;
1892   char *arg5 = (char *) 0 ;
1893   struct zx_attr_s *result = 0 ;
1894 
1895   (void)jenv;
1896   (void)jcls;
1897   arg1 = *(struct zx_ctx **)&jarg1;
1898   arg2 = *(struct zx_elem_s **)&jarg2;
1899   arg3 = (int)jarg3;
1900 
1901   // The following jstring casts could probably be avoided with proper use of typemaps
1902   arg4 = (*jenv)->GetStringUTFLength(jenv, (jstring)jarg4);
1903   arg5 = (char*)(*jenv)->GetStringUTFChars(jenv, (jstring)jarg4, 0);
1904   // *** Whether we can free, or not, the obtained string depends
1905   //     on whether the zxid API will take reference to the const string.
1906 
1907   result = (struct zx_attr_s *)zx_ref_len_attr(arg1,arg2,arg3,arg4,arg5);
1908   *(struct zx_attr_s **)&jresult = result;
1909   (*jenv)->ReleaseStringUTFChars(jenv, (jstring)jarg4, arg5);
1910   return jresult;
1911 }
1912 
1913 
1914 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ref_1attr(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jstring jarg4) {
1915   jlong jresult = 0 ;
1916   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1917   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
1918   int arg3 ;
1919   char *arg4 = (char *) 0 ;
1920   struct zx_attr_s *result = 0 ;
1921 
1922   (void)jenv;
1923   (void)jcls;
1924   arg1 = *(struct zx_ctx **)&jarg1;
1925   arg2 = *(struct zx_elem_s **)&jarg2;
1926   arg3 = (int)jarg3;
1927   arg4 = 0;
1928   if (jarg4) {
1929     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
1930     if (!arg4) return 0;
1931   }
1932   result = (struct zx_attr_s *)zx_ref_attr(arg1,arg2,arg3,arg4);
1933   *(struct zx_attr_s **)&jresult = result;
1934   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
1935   return jresult;
1936 }
1937 
1938 
1939 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1new_1len_1attr(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jint jarg4) {
1940   jlong jresult = 0 ;
1941   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1942   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
1943   int arg3 ;
1944   int arg4 ;
1945   struct zx_attr_s *result = 0 ;
1946 
1947   (void)jenv;
1948   (void)jcls;
1949   arg1 = *(struct zx_ctx **)&jarg1;
1950   arg2 = *(struct zx_elem_s **)&jarg2;
1951   arg3 = (int)jarg3;
1952   arg4 = (int)jarg4;
1953   result = (struct zx_attr_s *)zx_new_len_attr(arg1,arg2,arg3,arg4);
1954   *(struct zx_attr_s **)&jresult = result;
1955   return jresult;
1956 }
1957 
1958 
1959 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1dup_1len_1attr(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jint jarg4) {
1960   jlong jresult = 0 ;
1961   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1962   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
1963   int arg3 ;
1964   int arg4 ;
1965   char *arg5 = (char *) 0 ;
1966   struct zx_attr_s *result = 0 ;
1967 
1968   (void)jenv;
1969   (void)jcls;
1970   arg1 = *(struct zx_ctx **)&jarg1;
1971   arg2 = *(struct zx_elem_s **)&jarg2;
1972   arg3 = (int)jarg3;
1973 
1974   // The following jstring casts could probably be avoided with proper use of typemaps
1975   arg4 = (*jenv)->GetStringUTFLength(jenv, (jstring)jarg4);
1976   arg5 = (char*)(*jenv)->GetStringUTFChars(jenv, (jstring)jarg4, 0);
1977   // *** Whether we can free, or not, the obtained string depends
1978   //     on whether the zxid API will take reference to the const string.
1979 
1980   result = (struct zx_attr_s *)zx_dup_len_attr(arg1,arg2,arg3,arg4,arg5);
1981   *(struct zx_attr_s **)&jresult = result;
1982   (*jenv)->ReleaseStringUTFChars(jenv, (jstring)jarg4, arg5);
1983   return jresult;
1984 }
1985 
1986 
1987 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1dup_1attr(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jstring jarg4) {
1988   jlong jresult = 0 ;
1989   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
1990   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
1991   int arg3 ;
1992   char *arg4 = (char *) 0 ;
1993   struct zx_attr_s *result = 0 ;
1994 
1995   (void)jenv;
1996   (void)jcls;
1997   arg1 = *(struct zx_ctx **)&jarg1;
1998   arg2 = *(struct zx_elem_s **)&jarg2;
1999   arg3 = (int)jarg3;
2000   arg4 = 0;
2001   if (jarg4) {
2002     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
2003     if (!arg4) return 0;
2004   }
2005   result = (struct zx_attr_s *)zx_dup_attr(arg1,arg2,arg3,arg4);
2006   *(struct zx_attr_s **)&jresult = result;
2007   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
2008   return jresult;
2009 }
2010 
2011 
2012 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1attrf(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jstring jarg4) {
2013   jlong jresult = 0 ;
2014   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
2015   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
2016   int arg3 ;
2017   char *arg4 = (char *) 0 ;
2018   void *arg5 = 0 ;
2019   struct zx_attr_s *result = 0 ;
2020 
2021   (void)jenv;
2022   (void)jcls;
2023   arg1 = *(struct zx_ctx **)&jarg1;
2024   arg2 = *(struct zx_elem_s **)&jarg2;
2025   arg3 = (int)jarg3;
2026   arg4 = 0;
2027   if (jarg4) {
2028     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
2029     if (!arg4) return 0;
2030   }
2031   result = (struct zx_attr_s *)zx_attrf(arg1,arg2,arg3,arg4,arg5);
2032   *(struct zx_attr_s **)&jresult = result;
2033   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
2034   return jresult;
2035 }
2036 
2037 
2038 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1ref_1str(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
2039   jstring jresult = 0 ;
2040   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
2041   char *arg2 = (char *) 0 ;
2042   struct zx_str *result = 0 ;
2043 
2044   (void)jenv;
2045   (void)jcls;
2046   arg1 = *(struct zx_ctx **)&jarg1;
2047   arg2 = 0;
2048   if (jarg2) {
2049     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
2050     if (!arg2) return 0;
2051   }
2052   result = (struct zx_str *)zx_ref_str(arg1,arg2);
2053   {
2054     // Unfortunately Java does not provide NewStringUTF() that would explicitly
2055     // take length field - they insist on nul termination instead. Sigh.
2056     if (result && result->s) {
2057       char* tmp = malloc(result->len + 1);
2058       if (!tmp) {
2059         ERR("Out of memory len=%d", result->len); return 0;
2060       }
2061       memcpy(tmp, result->s, result->len);
2062       tmp[result->len] = 0;
2063       jresult = (*jenv)->NewStringUTF(jenv, tmp);
2064       free(tmp);
2065       // Do not free underlying zx_str because they are usually returned by reference.
2066     } else {
2067       jresult = 0;
2068     }
2069   }
2070   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
2071   return jresult;
2072 }
2073 
2074 
2075 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1ref_1len_1str(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
2076   jstring jresult = 0 ;
2077   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
2078   int arg2 ;
2079   char *arg3 = (char *) 0 ;
2080   struct zx_str *result = 0 ;
2081 
2082   (void)jenv;
2083   (void)jcls;
2084   arg1 = *(struct zx_ctx **)&jarg1;
2085 
2086   // The following jstring casts could probably be avoided with proper use of typemaps
2087   arg2 = (*jenv)->GetStringUTFLength(jenv, (jstring)jarg2);
2088   arg3 = (char*)(*jenv)->GetStringUTFChars(jenv, (jstring)jarg2, 0);
2089   // *** Whether we can free, or not, the obtained string depends
2090   //     on whether the zxid API will take reference to the const string.
2091 
2092   result = (struct zx_str *)zx_ref_len_str(arg1,arg2,arg3);
2093   {
2094     // Unfortunately Java does not provide NewStringUTF() that would explicitly
2095     // take length field - they insist on nul termination instead. Sigh.
2096     if (result && result->s) {
2097       char* tmp = malloc(result->len + 1);
2098       if (!tmp) {
2099         ERR("Out of memory len=%d", result->len); return 0;
2100       }
2101       memcpy(tmp, result->s, result->len);
2102       tmp[result->len] = 0;
2103       jresult = (*jenv)->NewStringUTF(jenv, tmp);
2104       free(tmp);
2105       // Do not free underlying zx_str because they are usually returned by reference.
2106     } else {
2107       jresult = 0;
2108     }
2109   }
2110   (*jenv)->ReleaseStringUTFChars(jenv, (jstring)jarg2, arg3);
2111   return jresult;
2112 }
2113 
2114 
2115 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1new_1len_1str(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
2116   jstring jresult = 0 ;
2117   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
2118   int arg2 ;
2119   struct zx_str *result = 0 ;
2120 
2121   (void)jenv;
2122   (void)jcls;
2123   arg1 = *(struct zx_ctx **)&jarg1;
2124   arg2 = (int)jarg2;
2125   result = (struct zx_str *)zx_new_len_str(arg1,arg2);
2126   {
2127     // Unfortunately Java does not provide NewStringUTF() that would explicitly
2128     // take length field - they insist on nul termination instead. Sigh.
2129     if (result && result->s) {
2130       char* tmp = malloc(result->len + 1);
2131       if (!tmp) {
2132         ERR("Out of memory len=%d", result->len); return 0;
2133       }
2134       memcpy(tmp, result->s, result->len);
2135       tmp[result->len] = 0;
2136       jresult = (*jenv)->NewStringUTF(jenv, tmp);
2137       free(tmp);
2138       // Do not free underlying zx_str because they are usually returned by reference.
2139     } else {
2140       jresult = 0;
2141     }
2142   }
2143   return jresult;
2144 }
2145 
2146 
2147 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1dup_1len_1str(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
2148   jstring jresult = 0 ;
2149   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
2150   int arg2 ;
2151   char *arg3 = (char *) 0 ;
2152   struct zx_str *result = 0 ;
2153 
2154   (void)jenv;
2155   (void)jcls;
2156   arg1 = *(struct zx_ctx **)&jarg1;
2157 
2158   // The following jstring casts could probably be avoided with proper use of typemaps
2159   arg2 = (*jenv)->GetStringUTFLength(jenv, (jstring)jarg2);
2160   arg3 = (char*)(*jenv)->GetStringUTFChars(jenv, (jstring)jarg2, 0);
2161   // *** Whether we can free, or not, the obtained string depends
2162   //     on whether the zxid API will take reference to the const string.
2163 
2164   result = (struct zx_str *)zx_dup_len_str(arg1,arg2,arg3);
2165   {
2166     // Unfortunately Java does not provide NewStringUTF() that would explicitly
2167     // take length field - they insist on nul termination instead. Sigh.
2168     if (result && result->s) {
2169       char* tmp = malloc(result->len + 1);
2170       if (!tmp) {
2171         ERR("Out of memory len=%d", result->len); return 0;
2172       }
2173       memcpy(tmp, result->s, result->len);
2174       tmp[result->len] = 0;
2175       jresult = (*jenv)->NewStringUTF(jenv, tmp);
2176       free(tmp);
2177       // Do not free underlying zx_str because they are usually returned by reference.
2178     } else {
2179       jresult = 0;
2180     }
2181   }
2182   (*jenv)->ReleaseStringUTFChars(jenv, (jstring)jarg2, arg3);
2183   return jresult;
2184 }
2185 
2186 
2187 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1dup_1str(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
2188   jstring jresult = 0 ;
2189   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
2190   char *arg2 = (char *) 0 ;
2191   struct zx_str *result = 0 ;
2192 
2193   (void)jenv;
2194   (void)jcls;
2195   arg1 = *(struct zx_ctx **)&jarg1;
2196   arg2 = 0;
2197   if (jarg2) {
2198     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
2199     if (!arg2) return 0;
2200   }
2201   result = (struct zx_str *)zx_dup_str(arg1,arg2);
2202   {
2203     // Unfortunately Java does not provide NewStringUTF() that would explicitly
2204     // take length field - they insist on nul termination instead. Sigh.
2205     if (result && result->s) {
2206       char* tmp = malloc(result->len + 1);
2207       if (!tmp) {
2208         ERR("Out of memory len=%d", result->len); return 0;
2209       }
2210       memcpy(tmp, result->s, result->len);
2211       tmp[result->len] = 0;
2212       jresult = (*jenv)->NewStringUTF(jenv, tmp);
2213       free(tmp);
2214       // Do not free underlying zx_str because they are usually returned by reference.
2215     } else {
2216       jresult = 0;
2217     }
2218   }
2219   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
2220   return jresult;
2221 }
2222 
2223 
2224 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1dup_1zx_1str(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
2225   jstring jresult = 0 ;
2226   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
2227   struct zx_str *arg2 = (struct zx_str *) 0 ;
2228   struct zx_str *result = 0 ;
2229 
2230   (void)jenv;
2231   (void)jcls;
2232   arg1 = *(struct zx_ctx **)&jarg1;
2233   arg2 = *(struct zx_str **)&jarg2;
2234   result = (struct zx_str *)zx_dup_zx_str(arg1,arg2);
2235   {
2236     // Unfortunately Java does not provide NewStringUTF() that would explicitly
2237     // take length field - they insist on nul termination instead. Sigh.
2238     if (result && result->s) {
2239       char* tmp = malloc(result->len + 1);
2240       if (!tmp) {
2241         ERR("Out of memory len=%d", result->len); return 0;
2242       }
2243       memcpy(tmp, result->s, result->len);
2244       tmp[result->len] = 0;
2245       jresult = (*jenv)->NewStringUTF(jenv, tmp);
2246       free(tmp);
2247       // Do not free underlying zx_str because they are usually returned by reference.
2248     } else {
2249       jresult = 0;
2250     }
2251   }
2252   return jresult;
2253 }
2254 
2255 
2256 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1strf(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
2257   jstring jresult = 0 ;
2258   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
2259   char *arg2 = (char *) 0 ;
2260   void *arg3 = 0 ;
2261   struct zx_str *result = 0 ;
2262 
2263   (void)jenv;
2264   (void)jcls;
2265   arg1 = *(struct zx_ctx **)&jarg1;
2266   arg2 = 0;
2267   if (jarg2) {
2268     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
2269     if (!arg2) return 0;
2270   }
2271   result = (struct zx_str *)zx_strf(arg1,arg2,arg3);
2272   {
2273     // Unfortunately Java does not provide NewStringUTF() that would explicitly
2274     // take length field - they insist on nul termination instead. Sigh.
2275     if (result && result->s) {
2276       char* tmp = malloc(result->len + 1);
2277       if (!tmp) {
2278         ERR("Out of memory len=%d", result->len); return 0;
2279       }
2280       memcpy(tmp, result->s, result->len);
2281       tmp[result->len] = 0;
2282       jresult = (*jenv)->NewStringUTF(jenv, tmp);
2283       free(tmp);
2284       // Do not free underlying zx_str because they are usually returned by reference.
2285     } else {
2286       jresult = 0;
2287     }
2288   }
2289   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
2290   return jresult;
2291 }
2292 
2293 
2294 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1alloc_1sprintf(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) {
2295   jstring jresult = 0 ;
2296   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
2297   int *arg2 = (int *) 0 ;
2298   char *arg3 = (char *) 0 ;
2299   void *arg4 = 0 ;
2300   char *result = 0 ;
2301 
2302   (void)jenv;
2303   (void)jcls;
2304   arg1 = *(struct zx_ctx **)&jarg1;
2305   arg2 = *(int **)&jarg2;
2306   arg3 = 0;
2307   if (jarg3) {
2308     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
2309     if (!arg3) return 0;
2310   }
2311   result = (char *)zx_alloc_sprintf(arg1,arg2,arg3,arg4);
2312   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
2313   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
2314   return jresult;
2315 }
2316 
2317 
2318 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1str_1free(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
2319   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
2320   struct zx_str *arg2 = (struct zx_str *) 0 ;
2321 
2322   (void)jenv;
2323   (void)jcls;
2324   arg1 = *(struct zx_ctx **)&jarg1;
2325   arg2 = *(struct zx_str **)&jarg2;
2326   zx_str_free(arg1,arg2);
2327 }
2328 
2329 
2330 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1str_1to_1c(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
2331   jstring jresult = 0 ;
2332   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
2333   struct zx_str *arg2 = (struct zx_str *) 0 ;
2334   char *result = 0 ;
2335 
2336   (void)jenv;
2337   (void)jcls;
2338   arg1 = *(struct zx_ctx **)&jarg1;
2339   arg2 = *(struct zx_str **)&jarg2;
2340   result = (char *)zx_str_to_c(arg1,arg2);
2341   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
2342   return jresult;
2343 }
2344 
2345 
2346 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1str_1conv(JNIEnv *jenv, jclass jcls, jstring jarg1, jlong jarg2, jlong jarg3) {
2347   struct zx_str *arg1 = (struct zx_str *) 0 ;
2348   int *arg2 = (int *) 0 ;
2349   char **arg3 = (char **) 0 ;
2350 
2351   (void)jenv;
2352   (void)jcls;
2353   arg1 = *(struct zx_str **)&jarg1;
2354   arg2 = *(int **)&jarg2;
2355   arg3 = *(char ***)&jarg3;
2356   zx_str_conv(arg1,arg2,arg3);
2357 }
2358 
2359 
2360 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1str_1cmp(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2) {
2361   jint jresult = 0 ;
2362   struct zx_str *arg1 = (struct zx_str *) 0 ;
2363   struct zx_str *arg2 = (struct zx_str *) 0 ;
2364   int result;
2365 
2366   (void)jenv;
2367   (void)jcls;
2368   arg1 = *(struct zx_str **)&jarg1;
2369   arg2 = *(struct zx_str **)&jarg2;
2370   result = (int)zx_str_cmp(arg1,arg2);
2371   jresult = (jint)result;
2372   return jresult;
2373 }
2374 
2375 
2376 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1str_1ends_1in(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2, jstring jarg3) {
2377   jint jresult = 0 ;
2378   struct zx_str *arg1 = (struct zx_str *) 0 ;
2379   int arg2 ;
2380   char *arg3 = (char *) 0 ;
2381   int result;
2382 
2383   (void)jenv;
2384   (void)jcls;
2385   arg1 = *(struct zx_str **)&jarg1;
2386   arg2 = (int)jarg2;
2387   arg3 = 0;
2388   if (jarg3) {
2389     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
2390     if (!arg3) return 0;
2391   }
2392   result = (int)zx_str_ends_in(arg1,arg2,arg3);
2393   jresult = (jint)result;
2394   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
2395   return jresult;
2396 }
2397 
2398 
2399 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1memmem(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2, jstring jarg3, jint jarg4) {
2400   jstring jresult = 0 ;
2401   char *arg1 = (char *) 0 ;
2402   int arg2 ;
2403   char *arg3 = (char *) 0 ;
2404   int arg4 ;
2405   char *result = 0 ;
2406 
2407   (void)jenv;
2408   (void)jcls;
2409   arg1 = 0;
2410   if (jarg1) {
2411     arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
2412     if (!arg1) return 0;
2413   }
2414   arg2 = (int)jarg2;
2415   arg3 = 0;
2416   if (jarg3) {
2417     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
2418     if (!arg3) return 0;
2419   }
2420   arg4 = (int)jarg4;
2421   result = (char *)zx_memmem(arg1,arg2,arg3,arg4);
2422   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
2423   if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, ( char *)arg1);
2424   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
2425   return jresult;
2426 }
2427 
2428 
2429 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1alloc(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
2430   jlong jresult = 0 ;
2431   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
2432   int arg2 ;
2433   void *result = 0 ;
2434 
2435   (void)jenv;
2436   (void)jcls;
2437   arg1 = *(struct zx_ctx **)&jarg1;
2438   arg2 = (int)jarg2;
2439   result = (void *)zx_alloc(arg1,arg2);
2440   *(void **)&jresult = result;
2441   return jresult;
2442 }
2443 
2444 
2445 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1zalloc(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
2446   jlong jresult = 0 ;
2447   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
2448   int arg2 ;
2449   void *result = 0 ;
2450 
2451   (void)jenv;
2452   (void)jcls;
2453   arg1 = *(struct zx_ctx **)&jarg1;
2454   arg2 = (int)jarg2;
2455   result = (void *)zx_zalloc(arg1,arg2);
2456   *(void **)&jresult = result;
2457   return jresult;
2458 }
2459 
2460 
2461 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1free(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
2462   jlong jresult = 0 ;
2463   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
2464   void *arg2 = (void *) 0 ;
2465   void *result = 0 ;
2466 
2467   (void)jenv;
2468   (void)jcls;
2469   arg1 = *(struct zx_ctx **)&jarg1;
2470   arg2 = *(void **)&jarg2;
2471   result = (void *)zx_free(arg1,arg2);
2472   *(void **)&jresult = result;
2473   return jresult;
2474 }
2475 
2476 
2477 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1dup_1cstr(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
2478   jstring jresult = 0 ;
2479   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
2480   char *arg2 = (char *) 0 ;
2481   char *result = 0 ;
2482 
2483   (void)jenv;
2484   (void)jcls;
2485   arg1 = *(struct zx_ctx **)&jarg1;
2486   arg2 = 0;
2487   if (jarg2) {
2488     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
2489     if (!arg2) return 0;
2490   }
2491   result = (char *)zx_dup_cstr(arg1,arg2);
2492   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
2493   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
2494   return jresult;
2495 }
2496 
2497 
2498 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1dup_1len_1cstr(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3) {
2499   jstring jresult = 0 ;
2500   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
2501   int arg2 ;
2502   char *arg3 = (char *) 0 ;
2503   char *result = 0 ;
2504 
2505   (void)jenv;
2506   (void)jcls;
2507   arg1 = *(struct zx_ctx **)&jarg1;
2508   arg2 = (int)jarg2;
2509   arg3 = 0;
2510   if (jarg3) {
2511     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
2512     if (!arg3) return 0;
2513   }
2514   result = (char *)zx_dup_len_cstr(arg1,arg2,arg3);
2515   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
2516   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
2517   return jresult;
2518 }
2519 
2520 
2521 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1reset_1ns_1ctx(JNIEnv *jenv, jclass jcls, jlong jarg1) {
2522   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
2523 
2524   (void)jenv;
2525   (void)jcls;
2526   arg1 = *(struct zx_ctx **)&jarg1;
2527   zx_reset_ns_ctx(arg1);
2528 }
2529 
2530 
2531 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1reset_1ctx(JNIEnv *jenv, jclass jcls, jlong jarg1) {
2532   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
2533 
2534   (void)jenv;
2535   (void)jcls;
2536   arg1 = *(struct zx_ctx **)&jarg1;
2537   zx_reset_ctx(arg1);
2538 }
2539 
2540 
2541 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1init_1ctx(JNIEnv *jenv, jclass jcls) {
2542   jlong jresult = 0 ;
2543   struct zx_ctx *result = 0 ;
2544 
2545   (void)jenv;
2546   (void)jcls;
2547   result = (struct zx_ctx *)zx_init_ctx();
2548   *(struct zx_ctx **)&jresult = result;
2549   return jresult;
2550 }
2551 
2552 
2553 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1free_1ctx(JNIEnv *jenv, jclass jcls, jlong jarg1) {
2554   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
2555 
2556   (void)jenv;
2557   (void)jcls;
2558   arg1 = *(struct zx_ctx **)&jarg1;
2559   zx_free_ctx(arg1);
2560 }
2561 
2562 
2563 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZX_1TOK_1NO_1ATTR_1get(JNIEnv *jenv, jclass jcls) {
2564   jint jresult = 0 ;
2565   int result;
2566 
2567   (void)jenv;
2568   (void)jcls;
2569   result = (int)((-7));
2570   jresult = (jint)result;
2571   return jresult;
2572 }
2573 
2574 
2575 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZX_1TOK_1ATTR_1ERR_1get(JNIEnv *jenv, jclass jcls) {
2576   jint jresult = 0 ;
2577   int result;
2578 
2579   (void)jenv;
2580   (void)jcls;
2581   result = (int)((-6));
2582   jresult = (jint)result;
2583   return jresult;
2584 }
2585 
2586 
2587 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZX_1TOK_1XMLNS_1get(JNIEnv *jenv, jclass jcls) {
2588   jint jresult = 0 ;
2589   int result;
2590 
2591   (void)jenv;
2592   (void)jcls;
2593   result = (int)((-4));
2594   jresult = (jint)result;
2595   return jresult;
2596 }
2597 
2598 
2599 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZX_1TOK_1DATA_1get(JNIEnv *jenv, jclass jcls) {
2600   jint jresult = 0 ;
2601   int result;
2602 
2603   (void)jenv;
2604   (void)jcls;
2605   result = (int)(0x0000fffd);
2606   jresult = (jint)result;
2607   return jresult;
2608 }
2609 
2610 
2611 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZX_1TOK_1ATTR_1NOT_1FOUND_1get(JNIEnv *jenv, jclass jcls) {
2612   jint jresult = 0 ;
2613   int result;
2614 
2615   (void)jenv;
2616   (void)jcls;
2617   result = (int)(0x0000fffe);
2618   jresult = (jint)result;
2619   return jresult;
2620 }
2621 
2622 
2623 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZX_1TOK_1TOK_1NOT_1FOUND_1get(JNIEnv *jenv, jclass jcls) {
2624   jint jresult = 0 ;
2625   int result;
2626 
2627   (void)jenv;
2628   (void)jcls;
2629   result = (int)(0x0000ffff);
2630   jresult = (jint)result;
2631   return jresult;
2632 }
2633 
2634 
2635 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZX_1TOK_1NS_1NOT_1FOUND_1get(JNIEnv *jenv, jclass jcls) {
2636   jint jresult = 0 ;
2637   int result;
2638 
2639   (void)jenv;
2640   (void)jcls;
2641   result = (int)(0x00ff0000);
2642   jresult = (jint)result;
2643   return jresult;
2644 }
2645 
2646 
2647 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZX_1TOK_1NOT_1FOUND_1get(JNIEnv *jenv, jclass jcls) {
2648   jint jresult = 0 ;
2649   int result;
2650 
2651   (void)jenv;
2652   (void)jcls;
2653   result = (int)(0x00ffffff);
2654   jresult = (jint)result;
2655   return jresult;
2656 }
2657 
2658 
2659 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZX_1TOK_1TOK_1MASK_1get(JNIEnv *jenv, jclass jcls) {
2660   jint jresult = 0 ;
2661   int result;
2662 
2663   (void)jenv;
2664   (void)jcls;
2665   result = (int)(0x0000ffff);
2666   jresult = (jint)result;
2667   return jresult;
2668 }
2669 
2670 
2671 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZX_1TOK_1NS_1MASK_1get(JNIEnv *jenv, jclass jcls) {
2672   jint jresult = 0 ;
2673   int result;
2674 
2675   (void)jenv;
2676   (void)jcls;
2677   result = (int)(0x00ff0000);
2678   jresult = (jint)result;
2679   return jresult;
2680 }
2681 
2682 
2683 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZX_1TOK_1NS_1SHIFT_1get(JNIEnv *jenv, jclass jcls) {
2684   jint jresult = 0 ;
2685   int result;
2686 
2687   (void)jenv;
2688   (void)jcls;
2689   result = (int)(16);
2690   jresult = (jint)result;
2691   return jresult;
2692 }
2693 
2694 
2695 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZX_1TOK_1FLAGS_1MASK_1get(JNIEnv *jenv, jclass jcls) {
2696   jint jresult = 0 ;
2697   int result;
2698 
2699   (void)jenv;
2700   (void)jcls;
2701   result = (int)(0xff000000);
2702   jresult = (jint)result;
2703   return jresult;
2704 }
2705 
2706 
2707 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1at_1tok_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
2708   struct zx_at_tok *arg1 = (struct zx_at_tok *) 0 ;
2709   char *arg2 = (char *) 0 ;
2710 
2711   (void)jenv;
2712   (void)jcls;
2713   arg1 = *(struct zx_at_tok **)&jarg1;
2714   arg2 = 0;
2715   if (jarg2) {
2716     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
2717     if (!arg2) return ;
2718   }
2719   {
2720     if (arg2) {
2721       arg1->name = (char *) malloc(strlen(( char *)arg2)+1);
2722       strcpy((char *)arg1->name, ( char *)arg2);
2723     } else {
2724       arg1->name = 0;
2725     }
2726   }
2727   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
2728 }
2729 
2730 
2731 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1at_1tok_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
2732   jstring jresult = 0 ;
2733   struct zx_at_tok *arg1 = (struct zx_at_tok *) 0 ;
2734   char *result = 0 ;
2735 
2736   (void)jenv;
2737   (void)jcls;
2738   arg1 = *(struct zx_at_tok **)&jarg1;
2739   result = (char *) ((arg1)->name);
2740   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
2741   return jresult;
2742 }
2743 
2744 
2745 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zx_1at_1tok(JNIEnv *jenv, jclass jcls) {
2746   jlong jresult = 0 ;
2747   struct zx_at_tok *result = 0 ;
2748 
2749   (void)jenv;
2750   (void)jcls;
2751   result = (struct zx_at_tok *)calloc(1, sizeof(struct zx_at_tok));
2752   *(struct zx_at_tok **)&jresult = result;
2753   return jresult;
2754 }
2755 
2756 
2757 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zx_1at_1tok(JNIEnv *jenv, jclass jcls, jlong jarg1) {
2758   struct zx_at_tok *arg1 = (struct zx_at_tok *) 0 ;
2759 
2760   (void)jenv;
2761   (void)jcls;
2762   arg1 = *(struct zx_at_tok **)&jarg1;
2763   free((char *) arg1);
2764 }
2765 
2766 
2767 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1el_1desc_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
2768   struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
2769   struct zx_el_desc *arg2 = (struct zx_el_desc *) 0 ;
2770 
2771   (void)jenv;
2772   (void)jcls;
2773   arg1 = *(struct zx_el_desc **)&jarg1;
2774   arg2 = *(struct zx_el_desc **)&jarg2;
2775   if (arg1) (arg1)->n = arg2;
2776 }
2777 
2778 
2779 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1el_1desc_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
2780   jlong jresult = 0 ;
2781   struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
2782   struct zx_el_desc *result = 0 ;
2783 
2784   (void)jenv;
2785   (void)jcls;
2786   arg1 = *(struct zx_el_desc **)&jarg1;
2787   result = (struct zx_el_desc *) ((arg1)->n);
2788   *(struct zx_el_desc **)&jresult = result;
2789   return jresult;
2790 }
2791 
2792 
2793 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1el_1desc_1tok_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
2794   struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
2795   int arg2 ;
2796 
2797   (void)jenv;
2798   (void)jcls;
2799   arg1 = *(struct zx_el_desc **)&jarg1;
2800   arg2 = (int)jarg2;
2801   if (arg1) (arg1)->tok = arg2;
2802 }
2803 
2804 
2805 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1el_1desc_1tok_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
2806   jint jresult = 0 ;
2807   struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
2808   int result;
2809 
2810   (void)jenv;
2811   (void)jcls;
2812   arg1 = *(struct zx_el_desc **)&jarg1;
2813   result = (int) ((arg1)->tok);
2814   jresult = (jint)result;
2815   return jresult;
2816 }
2817 
2818 
2819 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1el_1desc_1siz_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
2820   struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
2821   int arg2 ;
2822 
2823   (void)jenv;
2824   (void)jcls;
2825   arg1 = *(struct zx_el_desc **)&jarg1;
2826   arg2 = (int)jarg2;
2827   if (arg1) (arg1)->siz = arg2;
2828 }
2829 
2830 
2831 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1el_1desc_1siz_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
2832   jint jresult = 0 ;
2833   struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
2834   int result;
2835 
2836   (void)jenv;
2837   (void)jcls;
2838   arg1 = *(struct zx_el_desc **)&jarg1;
2839   result = (int) ((arg1)->siz);
2840   jresult = (jint)result;
2841   return jresult;
2842 }
2843 
2844 
2845 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1el_1desc_1at_1dec_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
2846   struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
2847   int (*arg2)(struct zx_ctx *,struct zx_elem_s *) = (int (*)(struct zx_ctx *,struct zx_elem_s *)) 0 ;
2848 
2849   (void)jenv;
2850   (void)jcls;
2851   arg1 = *(struct zx_el_desc **)&jarg1;
2852   arg2 = *(int (**)(struct zx_ctx *,struct zx_elem_s *))&jarg2;
2853   if (arg1) (arg1)->at_dec = arg2;
2854 }
2855 
2856 
2857 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1el_1desc_1at_1dec_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
2858   jlong jresult = 0 ;
2859   struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
2860   int (*result)(struct zx_ctx *,struct zx_elem_s *) = 0 ;
2861 
2862   (void)jenv;
2863   (void)jcls;
2864   arg1 = *(struct zx_el_desc **)&jarg1;
2865   result = (int (*)(struct zx_ctx *,struct zx_elem_s *)) ((arg1)->at_dec);
2866   *(int (**)(struct zx_ctx *,struct zx_elem_s *))&jresult = result;
2867   return jresult;
2868 }
2869 
2870 
2871 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1el_1desc_1el_1dec_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
2872   struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
2873   int (*arg2)(struct zx_ctx *,struct zx_elem_s *) = (int (*)(struct zx_ctx *,struct zx_elem_s *)) 0 ;
2874 
2875   (void)jenv;
2876   (void)jcls;
2877   arg1 = *(struct zx_el_desc **)&jarg1;
2878   arg2 = *(int (**)(struct zx_ctx *,struct zx_elem_s *))&jarg2;
2879   if (arg1) (arg1)->el_dec = arg2;
2880 }
2881 
2882 
2883 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1el_1desc_1el_1dec_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
2884   jlong jresult = 0 ;
2885   struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
2886   int (*result)(struct zx_ctx *,struct zx_elem_s *) = 0 ;
2887 
2888   (void)jenv;
2889   (void)jcls;
2890   arg1 = *(struct zx_el_desc **)&jarg1;
2891   result = (int (*)(struct zx_ctx *,struct zx_elem_s *)) ((arg1)->el_dec);
2892   *(int (**)(struct zx_ctx *,struct zx_elem_s *))&jresult = result;
2893   return jresult;
2894 }
2895 
2896 
2897 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1el_1desc_1el_1order_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
2898   jlong jresult = 0 ;
2899   struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
2900   int *result = 0 ;
2901 
2902   (void)jenv;
2903   (void)jcls;
2904   arg1 = *(struct zx_el_desc **)&jarg1;
2905   result = (int *)(int *) ((arg1)->el_order);
2906   *(int **)&jresult = result;
2907   return jresult;
2908 }
2909 
2910 
2911 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zx_1el_1desc(JNIEnv *jenv, jclass jcls) {
2912   jlong jresult = 0 ;
2913   struct zx_el_desc *result = 0 ;
2914 
2915   (void)jenv;
2916   (void)jcls;
2917   result = (struct zx_el_desc *)calloc(1, sizeof(struct zx_el_desc));
2918   *(struct zx_el_desc **)&jresult = result;
2919   return jresult;
2920 }
2921 
2922 
2923 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zx_1el_1desc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
2924   struct zx_el_desc *arg1 = (struct zx_el_desc *) 0 ;
2925 
2926   (void)jenv;
2927   (void)jcls;
2928   arg1 = *(struct zx_el_desc **)&jarg1;
2929   free((char *) arg1);
2930 }
2931 
2932 
2933 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1el_1tok_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
2934   struct zx_el_tok *arg1 = (struct zx_el_tok *) 0 ;
2935   char *arg2 = (char *) 0 ;
2936 
2937   (void)jenv;
2938   (void)jcls;
2939   arg1 = *(struct zx_el_tok **)&jarg1;
2940   arg2 = 0;
2941   if (jarg2) {
2942     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
2943     if (!arg2) return ;
2944   }
2945   {
2946     if (arg2) {
2947       arg1->name = (char *) malloc(strlen(( char *)arg2)+1);
2948       strcpy((char *)arg1->name, ( char *)arg2);
2949     } else {
2950       arg1->name = 0;
2951     }
2952   }
2953   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
2954 }
2955 
2956 
2957 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1el_1tok_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
2958   jstring jresult = 0 ;
2959   struct zx_el_tok *arg1 = (struct zx_el_tok *) 0 ;
2960   char *result = 0 ;
2961 
2962   (void)jenv;
2963   (void)jcls;
2964   arg1 = *(struct zx_el_tok **)&jarg1;
2965   result = (char *) ((arg1)->name);
2966   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
2967   return jresult;
2968 }
2969 
2970 
2971 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1el_1tok_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
2972   struct zx_el_tok *arg1 = (struct zx_el_tok *) 0 ;
2973   struct zx_el_desc *arg2 = (struct zx_el_desc *) 0 ;
2974 
2975   (void)jenv;
2976   (void)jcls;
2977   arg1 = *(struct zx_el_tok **)&jarg1;
2978   arg2 = *(struct zx_el_desc **)&jarg2;
2979   if (arg1) (arg1)->n = arg2;
2980 }
2981 
2982 
2983 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1el_1tok_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
2984   jlong jresult = 0 ;
2985   struct zx_el_tok *arg1 = (struct zx_el_tok *) 0 ;
2986   struct zx_el_desc *result = 0 ;
2987 
2988   (void)jenv;
2989   (void)jcls;
2990   arg1 = *(struct zx_el_tok **)&jarg1;
2991   result = (struct zx_el_desc *) ((arg1)->n);
2992   *(struct zx_el_desc **)&jresult = result;
2993   return jresult;
2994 }
2995 
2996 
2997 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zx_1el_1tok(JNIEnv *jenv, jclass jcls) {
2998   jlong jresult = 0 ;
2999   struct zx_el_tok *result = 0 ;
3000 
3001   (void)jenv;
3002   (void)jcls;
3003   result = (struct zx_el_tok *)calloc(1, sizeof(struct zx_el_tok));
3004   *(struct zx_el_tok **)&jresult = result;
3005   return jresult;
3006 }
3007 
3008 
3009 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zx_1el_1tok(JNIEnv *jenv, jclass jcls, jlong jarg1) {
3010   struct zx_el_tok *arg1 = (struct zx_el_tok *) 0 ;
3011 
3012   (void)jenv;
3013   (void)jcls;
3014   arg1 = *(struct zx_el_tok **)&jarg1;
3015   free((char *) arg1);
3016 }
3017 
3018 
3019 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1date_1time_1to_1secs(JNIEnv *jenv, jclass jcls, jstring jarg1) {
3020   jint jresult = 0 ;
3021   char *arg1 = (char *) 0 ;
3022   int result;
3023 
3024   (void)jenv;
3025   (void)jcls;
3026   arg1 = 0;
3027   if (jarg1) {
3028     arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
3029     if (!arg1) return 0;
3030   }
3031   result = (int)zx_date_time_to_secs(arg1);
3032   jresult = (jint)result;
3033   if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, ( char *)arg1);
3034   return jresult;
3035 }
3036 
3037 
3038 SWIGEXPORT 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) {
3039   jint jresult = 0 ;
3040   char *arg1 = (char *) 0 ;
3041   int arg2 ;
3042   char *arg3 = (char *) 0 ;
3043   int arg4 ;
3044   char *arg5 = (char *) 0 ;
3045   char *arg6 = (char *) 0 ;
3046   int arg7 ;
3047   int arg8 ;
3048   int result;
3049 
3050   (void)jenv;
3051   (void)jcls;
3052   arg1 = 0;
3053   if (jarg1) {
3054     arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
3055     if (!arg1) return 0;
3056   }
3057   arg2 = (int)jarg2;
3058   arg3 = 0;
3059   if (jarg3) {
3060     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
3061     if (!arg3) return 0;
3062   }
3063   arg4 = (int)jarg4;
3064   arg5 = 0;
3065   if (jarg5) {
3066     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
3067     if (!arg5) return 0;
3068   }
3069   arg6 = 0;
3070   if (jarg6) {
3071     arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
3072     if (!arg6) return 0;
3073   }
3074   arg7 = (int)jarg7;
3075   arg8 = (int)jarg8;
3076   result = (int)write2_or_append_lock_c_path(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3077   jresult = (jint)result;
3078   if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, ( char *)arg1);
3079   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
3080   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
3081   if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, ( char *)arg6);
3082   return jresult;
3083 }
3084 
3085 
3086 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1report_1openssl_1err(JNIEnv *jenv, jclass jcls, jstring jarg1) {
3087   jint jresult = 0 ;
3088   char *arg1 = (char *) 0 ;
3089   int result;
3090 
3091   (void)jenv;
3092   (void)jcls;
3093   arg1 = 0;
3094   if (jarg1) {
3095     arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
3096     if (!arg1) return 0;
3097   }
3098   result = (int)zx_report_openssl_err(arg1);
3099   jresult = (jint)result;
3100   if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, ( char *)arg1);
3101   return jresult;
3102 }
3103 
3104 
3105 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1dump_1ns_1tab(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
3106   jint jresult = 0 ;
3107   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3108   int arg2 ;
3109   int result;
3110 
3111   (void)jenv;
3112   (void)jcls;
3113   arg1 = *(struct zx_ctx **)&jarg1;
3114   arg2 = (int)jarg2;
3115   result = (int)zx_dump_ns_tab(arg1,arg2);
3116   jresult = (jint)result;
3117   return jresult;
3118 }
3119 
3120 
3121 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1prefix_1seen(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3) {
3122   jlong jresult = 0 ;
3123   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3124   int arg2 ;
3125   char *arg3 = (char *) 0 ;
3126   struct zx_ns_s *result = 0 ;
3127 
3128   (void)jenv;
3129   (void)jcls;
3130   arg1 = *(struct zx_ctx **)&jarg1;
3131   arg2 = (int)jarg2;
3132   arg3 = 0;
3133   if (jarg3) {
3134     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
3135     if (!arg3) return 0;
3136   }
3137   result = (struct zx_ns_s *)zx_prefix_seen(arg1,arg2,arg3);
3138   *(struct zx_ns_s **)&jresult = result;
3139   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
3140   return jresult;
3141 }
3142 
3143 
3144 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1prefix_1seen_1whine(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3, jstring jarg4, jint jarg5) {
3145   jlong jresult = 0 ;
3146   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3147   int arg2 ;
3148   char *arg3 = (char *) 0 ;
3149   char *arg4 = (char *) 0 ;
3150   int arg5 ;
3151   struct zx_ns_s *result = 0 ;
3152 
3153   (void)jenv;
3154   (void)jcls;
3155   arg1 = *(struct zx_ctx **)&jarg1;
3156   arg2 = (int)jarg2;
3157   arg3 = 0;
3158   if (jarg3) {
3159     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
3160     if (!arg3) return 0;
3161   }
3162   arg4 = 0;
3163   if (jarg4) {
3164     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
3165     if (!arg4) return 0;
3166   }
3167   arg5 = (int)jarg5;
3168   result = (struct zx_ns_s *)zx_prefix_seen_whine(arg1,arg2,arg3,arg4,arg5);
3169   *(struct zx_ns_s **)&jresult = result;
3170   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
3171   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
3172   return jresult;
3173 }
3174 
3175 
3176 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1scan_1xmlns(JNIEnv *jenv, jclass jcls, jlong jarg1) {
3177   jlong jresult = 0 ;
3178   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3179   struct zx_ns_s *result = 0 ;
3180 
3181   (void)jenv;
3182   (void)jcls;
3183   arg1 = *(struct zx_ctx **)&jarg1;
3184   result = (struct zx_ns_s *)zx_scan_xmlns(arg1);
3185   *(struct zx_ns_s **)&jresult = result;
3186   return jresult;
3187 }
3188 
3189 
3190 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1see_1elem_1ns(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
3191   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3192   struct zx_ns_s **arg2 = (struct zx_ns_s **) 0 ;
3193   struct zx_elem_s *arg3 = (struct zx_elem_s *) 0 ;
3194 
3195   (void)jenv;
3196   (void)jcls;
3197   arg1 = *(struct zx_ctx **)&jarg1;
3198   arg2 = *(struct zx_ns_s ***)&jarg2;
3199   arg3 = *(struct zx_elem_s **)&jarg3;
3200   zx_see_elem_ns(arg1,arg2,arg3);
3201 }
3202 
3203 
3204 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1pop_1seen(JNIEnv *jenv, jclass jcls, jlong jarg1) {
3205   struct zx_ns_s *arg1 = (struct zx_ns_s *) 0 ;
3206 
3207   (void)jenv;
3208   (void)jcls;
3209   arg1 = *(struct zx_ns_s **)&jarg1;
3210   zx_pop_seen(arg1);
3211 }
3212 
3213 
3214 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1format_1parse_1error(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jint jarg3, jstring jarg4) {
3215   jint jresult = 0 ;
3216   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3217   char *arg2 = (char *) 0 ;
3218   int arg3 ;
3219   char *arg4 = (char *) 0 ;
3220   int result;
3221 
3222   (void)jenv;
3223   (void)jcls;
3224   arg1 = *(struct zx_ctx **)&jarg1;
3225   arg2 = 0;
3226   if (jarg2) {
3227     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
3228     if (!arg2) return 0;
3229   }
3230   arg3 = (int)jarg3;
3231   arg4 = 0;
3232   if (jarg4) {
3233     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
3234     if (!arg4) return 0;
3235   }
3236   result = (int)zx_format_parse_error(arg1,arg2,arg3,arg4);
3237   jresult = (jint)result;
3238   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
3239   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
3240   return jresult;
3241 }
3242 
3243 
3244 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZX_1SYMKEY_1LEN_1get(JNIEnv *jenv, jclass jcls) {
3245   jint jresult = 0 ;
3246   int result;
3247 
3248   (void)jenv;
3249   (void)jcls;
3250   result = (int)(20);
3251   jresult = (jint)result;
3252   return jresult;
3253 }
3254 
3255 
3256 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1hmac_1sha256(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3, jint jarg4, jstring jarg5, jstring jarg6, jlong jarg7) {
3257   jstring jresult = 0 ;
3258   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3259   int arg2 ;
3260   char *arg3 = (char *) 0 ;
3261   int arg4 ;
3262   char *arg5 = (char *) 0 ;
3263   char *arg6 = (char *) 0 ;
3264   int *arg7 = (int *) 0 ;
3265   char *result = 0 ;
3266 
3267   (void)jenv;
3268   (void)jcls;
3269   arg1 = *(struct zx_ctx **)&jarg1;
3270   arg2 = (int)jarg2;
3271   arg3 = 0;
3272   if (jarg3) {
3273     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
3274     if (!arg3) return 0;
3275   }
3276   arg4 = (int)jarg4;
3277   arg5 = 0;
3278   if (jarg5) {
3279     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
3280     if (!arg5) return 0;
3281   }
3282   arg6 = 0;
3283   if (jarg6) {
3284     arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
3285     if (!arg6) return 0;
3286   }
3287   arg7 = *(int **)&jarg7;
3288   result = (char *)zx_hmac_sha256(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
3289   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
3290   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
3291   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
3292   if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, ( char *)arg6);
3293   return jresult;
3294 }
3295 
3296 
3297 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1raw_1raw_1digest2(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3, jint jarg4, jint jarg6, jstring jarg7) {
3298   jint jresult = 0 ;
3299   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3300   char *arg2 = (char *) 0 ;
3301   EVP_MD *arg3 = (EVP_MD *) 0 ;
3302   int arg4 ;
3303   char *arg5 = (char *) 0 ;
3304   int arg6 ;
3305   char *arg7 = (char *) 0 ;
3306   int result;
3307 
3308   (void)jenv;
3309   (void)jcls;
3310   arg1 = *(struct zx_ctx **)&jarg1;
3311   arg2 = 0;
3312   if (jarg2) {
3313     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
3314     if (!arg2) return 0;
3315   }
3316   arg3 = *(EVP_MD **)&jarg3;
3317 
3318   // The following jstring casts could probably be avoided with proper use of typemaps
3319   arg4 = (*jenv)->GetStringUTFLength(jenv, (jstring)jarg4);
3320   arg5 = (char*)(*jenv)->GetStringUTFChars(jenv, (jstring)jarg4, 0);
3321   // *** Whether we can free, or not, the obtained string depends
3322   //     on whether the zxid API will take reference to the const string.
3323 
3324   arg6 = (int)jarg6;
3325   arg7 = 0;
3326   if (jarg7) {
3327     arg7 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg7, 0);
3328     if (!arg7) return 0;
3329   }
3330   result = (int)zx_raw_raw_digest2(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
3331   jresult = (jint)result;
3332   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
3333   (*jenv)->ReleaseStringUTFChars(jenv, (jstring)jarg4, arg5);
3334   if (arg7) (*jenv)->ReleaseStringUTFChars(jenv, jarg7, ( char *)arg7);
3335   return jresult;
3336 }
3337 
3338 
3339 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1raw_1digest2(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jint jarg4, jint jarg6, jstring jarg7) {
3340   jint jresult = 0 ;
3341   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3342   char *arg2 = (char *) 0 ;
3343   char *arg3 = (char *) 0 ;
3344   int arg4 ;
3345   char *arg5 = (char *) 0 ;
3346   int arg6 ;
3347   char *arg7 = (char *) 0 ;
3348   int result;
3349 
3350   (void)jenv;
3351   (void)jcls;
3352   arg1 = *(struct zx_ctx **)&jarg1;
3353   arg2 = 0;
3354   if (jarg2) {
3355     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
3356     if (!arg2) return 0;
3357   }
3358   arg3 = 0;
3359   if (jarg3) {
3360     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
3361     if (!arg3) return 0;
3362   }
3363 
3364   // The following jstring casts could probably be avoided with proper use of typemaps
3365   arg4 = (*jenv)->GetStringUTFLength(jenv, (jstring)jarg4);
3366   arg5 = (char*)(*jenv)->GetStringUTFChars(jenv, (jstring)jarg4, 0);
3367   // *** Whether we can free, or not, the obtained string depends
3368   //     on whether the zxid API will take reference to the const string.
3369 
3370   arg6 = (int)jarg6;
3371   arg7 = 0;
3372   if (jarg7) {
3373     arg7 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg7, 0);
3374     if (!arg7) return 0;
3375   }
3376   result = (int)zx_raw_digest2(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
3377   jresult = (jint)result;
3378   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
3379   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
3380   (*jenv)->ReleaseStringUTFChars(jenv, (jstring)jarg4, arg5);
3381   if (arg7) (*jenv)->ReleaseStringUTFChars(jenv, jarg7, ( char *)arg7);
3382   return jresult;
3383 }
3384 
3385 
3386 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1raw_1cipher(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jint jarg3, jstring jarg4, jint jarg5, jint jarg7, jstring jarg8) {
3387   jstring jresult = 0 ;
3388   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3389   char *arg2 = (char *) 0 ;
3390   int arg3 ;
3391   struct zx_str *arg4 = (struct zx_str *) 0 ;
3392   int arg5 ;
3393   char *arg6 = (char *) 0 ;
3394   int arg7 ;
3395   char *arg8 = (char *) 0 ;
3396   struct zx_str *result = 0 ;
3397 
3398   (void)jenv;
3399   (void)jcls;
3400   arg1 = *(struct zx_ctx **)&jarg1;
3401   arg2 = 0;
3402   if (jarg2) {
3403     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
3404     if (!arg2) return 0;
3405   }
3406   arg3 = (int)jarg3;
3407   arg4 = *(struct zx_str **)&jarg4;
3408 
3409   // The following jstring casts could probably be avoided with proper use of typemaps
3410   arg5 = (*jenv)->GetStringUTFLength(jenv, (jstring)jarg5);
3411   arg6 = (char*)(*jenv)->GetStringUTFChars(jenv, (jstring)jarg5, 0);
3412   // *** Whether we can free, or not, the obtained string depends
3413   //     on whether the zxid API will take reference to the const string.
3414 
3415   arg7 = (int)jarg7;
3416   arg8 = 0;
3417   if (jarg8) {
3418     arg8 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg8, 0);
3419     if (!arg8) return 0;
3420   }
3421   result = (struct zx_str *)zx_raw_cipher(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3422   {
3423     // Unfortunately Java does not provide NewStringUTF() that would explicitly
3424     // take length field - they insist on nul termination instead. Sigh.
3425     if (result && result->s) {
3426       char* tmp = malloc(result->len + 1);
3427       if (!tmp) {
3428         ERR("Out of memory len=%d", result->len); return 0;
3429       }
3430       memcpy(tmp, result->s, result->len);
3431       tmp[result->len] = 0;
3432       jresult = (*jenv)->NewStringUTF(jenv, tmp);
3433       free(tmp);
3434       // Do not free underlying zx_str because they are usually returned by reference.
3435     } else {
3436       jresult = 0;
3437     }
3438   }
3439   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
3440   (*jenv)->ReleaseStringUTFChars(jenv, (jstring)jarg5, arg6);
3441   if (arg8) (*jenv)->ReleaseStringUTFChars(jenv, jarg8, ( char *)arg8);
3442   return jresult;
3443 }
3444 
3445 
3446 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1rsa_1pub_1enc(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3, jint jarg4) {
3447   jstring jresult = 0 ;
3448   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3449   struct zx_str *arg2 = (struct zx_str *) 0 ;
3450   void *arg3 = (void *) 0 ;
3451   int arg4 ;
3452   struct zx_str *result = 0 ;
3453 
3454   (void)jenv;
3455   (void)jcls;
3456   arg1 = *(struct zx_ctx **)&jarg1;
3457   arg2 = *(struct zx_str **)&jarg2;
3458   arg3 = *(void **)&jarg3;
3459   arg4 = (int)jarg4;
3460   result = (struct zx_str *)zx_rsa_pub_enc(arg1,arg2,arg3,arg4);
3461   {
3462     // Unfortunately Java does not provide NewStringUTF() that would explicitly
3463     // take length field - they insist on nul termination instead. Sigh.
3464     if (result && result->s) {
3465       char* tmp = malloc(result->len + 1);
3466       if (!tmp) {
3467         ERR("Out of memory len=%d", result->len); return 0;
3468       }
3469       memcpy(tmp, result->s, result->len);
3470       tmp[result->len] = 0;
3471       jresult = (*jenv)->NewStringUTF(jenv, tmp);
3472       free(tmp);
3473       // Do not free underlying zx_str because they are usually returned by reference.
3474     } else {
3475       jresult = 0;
3476     }
3477   }
3478   return jresult;
3479 }
3480 
3481 
3482 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1rsa_1pub_1dec(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3, jint jarg4) {
3483   jstring jresult = 0 ;
3484   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3485   struct zx_str *arg2 = (struct zx_str *) 0 ;
3486   void *arg3 = (void *) 0 ;
3487   int arg4 ;
3488   struct zx_str *result = 0 ;
3489 
3490   (void)jenv;
3491   (void)jcls;
3492   arg1 = *(struct zx_ctx **)&jarg1;
3493   arg2 = *(struct zx_str **)&jarg2;
3494   arg3 = *(void **)&jarg3;
3495   arg4 = (int)jarg4;
3496   result = (struct zx_str *)zx_rsa_pub_dec(arg1,arg2,arg3,arg4);
3497   {
3498     // Unfortunately Java does not provide NewStringUTF() that would explicitly
3499     // take length field - they insist on nul termination instead. Sigh.
3500     if (result && result->s) {
3501       char* tmp = malloc(result->len + 1);
3502       if (!tmp) {
3503         ERR("Out of memory len=%d", result->len); return 0;
3504       }
3505       memcpy(tmp, result->s, result->len);
3506       tmp[result->len] = 0;
3507       jresult = (*jenv)->NewStringUTF(jenv, tmp);
3508       free(tmp);
3509       // Do not free underlying zx_str because they are usually returned by reference.
3510     } else {
3511       jresult = 0;
3512     }
3513   }
3514   return jresult;
3515 }
3516 
3517 
3518 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1rsa_1priv_1dec(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3, jint jarg4) {
3519   jstring jresult = 0 ;
3520   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3521   struct zx_str *arg2 = (struct zx_str *) 0 ;
3522   void *arg3 = (void *) 0 ;
3523   int arg4 ;
3524   struct zx_str *result = 0 ;
3525 
3526   (void)jenv;
3527   (void)jcls;
3528   arg1 = *(struct zx_ctx **)&jarg1;
3529   arg2 = *(struct zx_str **)&jarg2;
3530   arg3 = *(void **)&jarg3;
3531   arg4 = (int)jarg4;
3532   result = (struct zx_str *)zx_rsa_priv_dec(arg1,arg2,arg3,arg4);
3533   {
3534     // Unfortunately Java does not provide NewStringUTF() that would explicitly
3535     // take length field - they insist on nul termination instead. Sigh.
3536     if (result && result->s) {
3537       char* tmp = malloc(result->len + 1);
3538       if (!tmp) {
3539         ERR("Out of memory len=%d", result->len); return 0;
3540       }
3541       memcpy(tmp, result->s, result->len);
3542       tmp[result->len] = 0;
3543       jresult = (*jenv)->NewStringUTF(jenv, tmp);
3544       free(tmp);
3545       // Do not free underlying zx_str because they are usually returned by reference.
3546     } else {
3547       jresult = 0;
3548     }
3549   }
3550   return jresult;
3551 }
3552 
3553 
3554 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1rsa_1priv_1enc(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3, jint jarg4) {
3555   jstring jresult = 0 ;
3556   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3557   struct zx_str *arg2 = (struct zx_str *) 0 ;
3558   void *arg3 = (void *) 0 ;
3559   int arg4 ;
3560   struct zx_str *result = 0 ;
3561 
3562   (void)jenv;
3563   (void)jcls;
3564   arg1 = *(struct zx_ctx **)&jarg1;
3565   arg2 = *(struct zx_str **)&jarg2;
3566   arg3 = *(void **)&jarg3;
3567   arg4 = (int)jarg4;
3568   result = (struct zx_str *)zx_rsa_priv_enc(arg1,arg2,arg3,arg4);
3569   {
3570     // Unfortunately Java does not provide NewStringUTF() that would explicitly
3571     // take length field - they insist on nul termination instead. Sigh.
3572     if (result && result->s) {
3573       char* tmp = malloc(result->len + 1);
3574       if (!tmp) {
3575         ERR("Out of memory len=%d", result->len); return 0;
3576       }
3577       memcpy(tmp, result->s, result->len);
3578       tmp[result->len] = 0;
3579       jresult = (*jenv)->NewStringUTF(jenv, tmp);
3580       free(tmp);
3581       // Do not free underlying zx_str because they are usually returned by reference.
3582     } else {
3583       jresult = 0;
3584     }
3585   }
3586   return jresult;
3587 }
3588 
3589 
3590 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1get_1rsa_1pub_1from_1cert(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
3591   jlong jresult = 0 ;
3592   void *arg1 = (void *) 0 ;
3593   char *arg2 = (char *) 0 ;
3594   void *result = 0 ;
3595 
3596   (void)jenv;
3597   (void)jcls;
3598   arg1 = *(void **)&jarg1;
3599   arg2 = 0;
3600   if (jarg2) {
3601     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
3602     if (!arg2) return 0;
3603   }
3604   result = (void *)zx_get_rsa_pub_from_cert(arg1,arg2);
3605   *(void **)&jresult = result;
3606   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
3607   return jresult;
3608 }
3609 
3610 
3611 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1rand(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2) {
3612   char *arg1 = (char *) 0 ;
3613   int arg2 ;
3614 
3615   (void)jenv;
3616   (void)jcls;
3617   arg1 = 0;
3618   if (jarg1) {
3619     arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
3620     if (!arg1) return ;
3621   }
3622   arg2 = (int)jarg2;
3623   zx_rand(arg1,arg2);
3624   if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, ( char *)arg1);
3625 }
3626 
3627 
3628 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1md5_1crypt(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2, jstring jarg3) {
3629   jstring jresult = 0 ;
3630   char *arg1 = (char *) 0 ;
3631   char *arg2 = (char *) 0 ;
3632   char *arg3 = (char *) 0 ;
3633   char *result = 0 ;
3634 
3635   (void)jenv;
3636   (void)jcls;
3637   arg1 = 0;
3638   if (jarg1) {
3639     arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
3640     if (!arg1) return 0;
3641   }
3642   arg2 = 0;
3643   if (jarg2) {
3644     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
3645     if (!arg2) return 0;
3646   }
3647   arg3 = 0;
3648   if (jarg3) {
3649     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
3650     if (!arg3) return 0;
3651   }
3652   result = (char *)zx_md5_crypt(arg1,arg2,arg3);
3653   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
3654   if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, ( char *)arg1);
3655   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
3656   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
3657   return jresult;
3658 }
3659 
3660 
3661 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1add_1kid(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
3662   jlong jresult = 0 ;
3663   struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
3664   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
3665   struct zx_elem_s *result = 0 ;
3666 
3667   (void)jenv;
3668   (void)jcls;
3669   arg1 = *(struct zx_elem_s **)&jarg1;
3670   arg2 = *(struct zx_elem_s **)&jarg2;
3671   result = (struct zx_elem_s *)zx_add_kid(arg1,arg2);
3672   *(struct zx_elem_s **)&jresult = result;
3673   return jresult;
3674 }
3675 
3676 
3677 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1add_1kid_1before(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jlong jarg3) {
3678   jlong jresult = 0 ;
3679   struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
3680   int arg2 ;
3681   struct zx_elem_s *arg3 = (struct zx_elem_s *) 0 ;
3682   struct zx_elem_s *result = 0 ;
3683 
3684   (void)jenv;
3685   (void)jcls;
3686   arg1 = *(struct zx_elem_s **)&jarg1;
3687   arg2 = (int)jarg2;
3688   arg3 = *(struct zx_elem_s **)&jarg3;
3689   result = (struct zx_elem_s *)zx_add_kid_before(arg1,arg2,arg3);
3690   *(struct zx_elem_s **)&jresult = result;
3691   return jresult;
3692 }
3693 
3694 
3695 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1add_1kid_1after_1sa_1Issuer(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
3696   jlong jresult = 0 ;
3697   struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
3698   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
3699   struct zx_elem_s *result = 0 ;
3700 
3701   (void)jenv;
3702   (void)jcls;
3703   arg1 = *(struct zx_elem_s **)&jarg1;
3704   arg2 = *(struct zx_elem_s **)&jarg2;
3705   result = (struct zx_elem_s *)zx_add_kid_after_sa_Issuer(arg1,arg2);
3706   *(struct zx_elem_s **)&jresult = result;
3707   return jresult;
3708 }
3709 
3710 
3711 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1replace_1kid(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
3712   jlong jresult = 0 ;
3713   struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
3714   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
3715   struct zx_elem_s *result = 0 ;
3716 
3717   (void)jenv;
3718   (void)jcls;
3719   arg1 = *(struct zx_elem_s **)&jarg1;
3720   arg2 = *(struct zx_elem_s **)&jarg2;
3721   result = (struct zx_elem_s *)zx_replace_kid(arg1,arg2);
3722   *(struct zx_elem_s **)&jresult = result;
3723   return jresult;
3724 }
3725 
3726 
3727 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1add_1content(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) {
3728   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3729   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
3730   struct zx_str *arg3 = (struct zx_str *) 0 ;
3731 
3732   (void)jenv;
3733   (void)jcls;
3734   arg1 = *(struct zx_ctx **)&jarg1;
3735   arg2 = *(struct zx_elem_s **)&jarg2;
3736   arg3 = *(struct zx_str **)&jarg3;
3737   zx_add_content(arg1,arg2,arg3);
3738 }
3739 
3740 
3741 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ord_1ins_1at(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
3742   jlong jresult = 0 ;
3743   struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
3744   struct zx_attr_s *arg2 = (struct zx_attr_s *) 0 ;
3745   struct zx_attr_s *result = 0 ;
3746 
3747   (void)jenv;
3748   (void)jcls;
3749   arg1 = *(struct zx_elem_s **)&jarg1;
3750   arg2 = *(struct zx_attr_s **)&jarg2;
3751   result = (struct zx_attr_s *)zx_ord_ins_at(arg1,arg2);
3752   *(struct zx_attr_s **)&jresult = result;
3753   return jresult;
3754 }
3755 
3756 
3757 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1reverse_1elem_1lists(JNIEnv *jenv, jclass jcls, jlong jarg1) {
3758   struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
3759 
3760   (void)jenv;
3761   (void)jcls;
3762   arg1 = *(struct zx_elem_s **)&jarg1;
3763   zx_reverse_elem_lists(arg1);
3764 }
3765 
3766 
3767 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1len_1xmlns_1if_1not_1seen(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
3768   jint jresult = 0 ;
3769   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3770   struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
3771   struct zx_ns_s **arg3 = (struct zx_ns_s **) 0 ;
3772   int result;
3773 
3774   (void)jenv;
3775   (void)jcls;
3776   arg1 = *(struct zx_ctx **)&jarg1;
3777   arg2 = *(struct zx_ns_s **)&jarg2;
3778   arg3 = *(struct zx_ns_s ***)&jarg3;
3779   result = (int)zx_len_xmlns_if_not_seen(arg1,arg2,arg3);
3780   jresult = (jint)result;
3781   return jresult;
3782 }
3783 
3784 
3785 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1add_1xmlns_1if_1not_1seen(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
3786   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3787   struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
3788   struct zx_ns_s **arg3 = (struct zx_ns_s **) 0 ;
3789 
3790   (void)jenv;
3791   (void)jcls;
3792   arg1 = *(struct zx_ctx **)&jarg1;
3793   arg2 = *(struct zx_ns_s **)&jarg2;
3794   arg3 = *(struct zx_ns_s ***)&jarg3;
3795   zx_add_xmlns_if_not_seen(arg1,arg2,arg3);
3796 }
3797 
3798 
3799 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1enc_1seen(JNIEnv *jenv, jclass jcls, jstring jarg1, jlong jarg2) {
3800   jstring jresult = 0 ;
3801   char *arg1 = (char *) 0 ;
3802   struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
3803   char *result = 0 ;
3804 
3805   (void)jenv;
3806   (void)jcls;
3807   arg1 = 0;
3808   if (jarg1) {
3809     arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
3810     if (!arg1) return 0;
3811   }
3812   arg2 = *(struct zx_ns_s **)&jarg2;
3813   result = (char *)zx_enc_seen(arg1,arg2);
3814   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
3815   if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, ( char *)arg1);
3816   return jresult;
3817 }
3818 
3819 
3820 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1LEN_1WO_1any_1elem(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
3821   jint jresult = 0 ;
3822   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3823   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
3824   int result;
3825 
3826   (void)jenv;
3827   (void)jcls;
3828   arg1 = *(struct zx_ctx **)&jarg1;
3829   arg2 = *(struct zx_elem_s **)&jarg2;
3830   result = (int)zx_LEN_WO_any_elem(arg1,arg2);
3831   jresult = (jint)result;
3832   return jresult;
3833 }
3834 
3835 
3836 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1ENC_1WO_1any_1elem(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) {
3837   jstring jresult = 0 ;
3838   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3839   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
3840   char *arg3 = (char *) 0 ;
3841   char *result = 0 ;
3842 
3843   (void)jenv;
3844   (void)jcls;
3845   arg1 = *(struct zx_ctx **)&jarg1;
3846   arg2 = *(struct zx_elem_s **)&jarg2;
3847   arg3 = 0;
3848   if (jarg3) {
3849     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
3850     if (!arg3) return 0;
3851   }
3852   result = (char *)zx_ENC_WO_any_elem(arg1,arg2,arg3);
3853   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
3854   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
3855   return jresult;
3856 }
3857 
3858 
3859 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1EASY_1ENC_1elem(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
3860   jstring jresult = 0 ;
3861   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3862   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
3863   struct zx_str *result = 0 ;
3864 
3865   (void)jenv;
3866   (void)jcls;
3867   arg1 = *(struct zx_ctx **)&jarg1;
3868   arg2 = *(struct zx_elem_s **)&jarg2;
3869   result = (struct zx_str *)zx_EASY_ENC_elem(arg1,arg2);
3870   {
3871     // Unfortunately Java does not provide NewStringUTF() that would explicitly
3872     // take length field - they insist on nul termination instead. Sigh.
3873     if (result && result->s) {
3874       char* tmp = malloc(result->len + 1);
3875       if (!tmp) {
3876         ERR("Out of memory len=%d", result->len); return 0;
3877       }
3878       memcpy(tmp, result->s, result->len);
3879       tmp[result->len] = 0;
3880       jresult = (*jenv)->NewStringUTF(jenv, tmp);
3881       free(tmp);
3882       // Do not free underlying zx_str because they are usually returned by reference.
3883     } else {
3884       jresult = 0;
3885     }
3886   }
3887   return jresult;
3888 }
3889 
3890 
3891 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1free_1attr(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3) {
3892   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3893   struct zx_attr_s *arg2 = (struct zx_attr_s *) 0 ;
3894   int arg3 ;
3895 
3896   (void)jenv;
3897   (void)jcls;
3898   arg1 = *(struct zx_ctx **)&jarg1;
3899   arg2 = *(struct zx_attr_s **)&jarg2;
3900   arg3 = (int)jarg3;
3901   zx_free_attr(arg1,arg2,arg3);
3902 }
3903 
3904 
3905 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1free_1elem(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3) {
3906   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3907   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
3908   int arg3 ;
3909 
3910   (void)jenv;
3911   (void)jcls;
3912   arg1 = *(struct zx_ctx **)&jarg1;
3913   arg2 = *(struct zx_elem_s **)&jarg2;
3914   arg3 = (int)jarg3;
3915   zx_free_elem(arg1,arg2,arg3);
3916 }
3917 
3918 
3919 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1xml_1parse_1err(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2, jstring jarg3, jstring jarg4) {
3920   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3921   char arg2 ;
3922   char *arg3 = (char *) 0 ;
3923   char *arg4 = (char *) 0 ;
3924 
3925   (void)jenv;
3926   (void)jcls;
3927   arg1 = *(struct zx_ctx **)&jarg1;
3928   arg2 = (char)jarg2;
3929   arg3 = 0;
3930   if (jarg3) {
3931     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
3932     if (!arg3) return ;
3933   }
3934   arg4 = 0;
3935   if (jarg4) {
3936     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
3937     if (!arg4) return ;
3938   }
3939   zx_xml_parse_err(arg1,arg2,arg3,arg4);
3940   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
3941   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
3942 }
3943 
3944 
3945 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1xml_1parse_1dbg(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2, jstring jarg3, jstring jarg4) {
3946   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3947   char arg2 ;
3948   char *arg3 = (char *) 0 ;
3949   char *arg4 = (char *) 0 ;
3950 
3951   (void)jenv;
3952   (void)jcls;
3953   arg1 = *(struct zx_ctx **)&jarg1;
3954   arg2 = (char)jarg2;
3955   arg3 = 0;
3956   if (jarg3) {
3957     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
3958     if (!arg3) return ;
3959   }
3960   arg4 = 0;
3961   if (jarg4) {
3962     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
3963     if (!arg4) return ;
3964   }
3965   zx_xml_parse_dbg(arg1,arg2,arg3,arg4);
3966   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
3967   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
3968 }
3969 
3970 
3971 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1detected(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) {
3972   jlong jresult = 0 ;
3973   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3974   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
3975   char *arg3 = (char *) 0 ;
3976   struct zx_ns_s *result = 0 ;
3977 
3978   (void)jenv;
3979   (void)jcls;
3980   arg1 = *(struct zx_ctx **)&jarg1;
3981   arg2 = *(struct zx_elem_s **)&jarg2;
3982   arg3 = 0;
3983   if (jarg3) {
3984     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
3985     if (!arg3) return 0;
3986   }
3987   result = (struct zx_ns_s *)zx_xmlns_detected(arg1,arg2,arg3);
3988   *(struct zx_ns_s **)&jresult = result;
3989   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
3990   return jresult;
3991 }
3992 
3993 
3994 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1in_1inc_1ns(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
3995   jint jresult = 0 ;
3996   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
3997   struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
3998   int result;
3999 
4000   (void)jenv;
4001   (void)jcls;
4002   arg1 = *(struct zx_ctx **)&jarg1;
4003   arg2 = *(struct zx_ns_s **)&jarg2;
4004   result = (int)zx_in_inc_ns(arg1,arg2);
4005   jresult = (jint)result;
4006   return jresult;
4007 }
4008 
4009 
4010 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1get_1el_1tok(JNIEnv *jenv, jclass jcls, jlong jarg1) {
4011   jlong jresult = 0 ;
4012   struct zx_elem_s *arg1 = (struct zx_elem_s *) 0 ;
4013   struct zx_el_tok *result = 0 ;
4014 
4015   (void)jenv;
4016   (void)jcls;
4017   arg1 = *(struct zx_elem_s **)&jarg1;
4018   result = (struct zx_el_tok *)zx_get_el_tok(arg1);
4019   *(struct zx_el_tok **)&jresult = result;
4020   return jresult;
4021 }
4022 
4023 
4024 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1prepare_1dec_1ctx(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jstring jarg4, jstring jarg5) {
4025   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
4026   struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
4027   int arg3 ;
4028   char *arg4 = (char *) 0 ;
4029   char *arg5 = (char *) 0 ;
4030 
4031   (void)jenv;
4032   (void)jcls;
4033   arg1 = *(struct zx_ctx **)&jarg1;
4034   arg2 = *(struct zx_ns_s **)&jarg2;
4035   arg3 = (int)jarg3;
4036   arg4 = 0;
4037   if (jarg4) {
4038     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
4039     if (!arg4) return ;
4040   }
4041   arg5 = 0;
4042   if (jarg5) {
4043     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
4044     if (!arg5) return ;
4045   }
4046   zx_prepare_dec_ctx(arg1,arg2,arg3,arg4,arg5);
4047   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
4048   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
4049 }
4050 
4051 
4052 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1dec_1zx_1root(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3, jstring jarg4) {
4053   jlong jresult = 0 ;
4054   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
4055   int arg2 ;
4056   char *arg3 = (char *) 0 ;
4057   char *arg4 = (char *) 0 ;
4058   struct zx_root_s *result = 0 ;
4059 
4060   (void)jenv;
4061   (void)jcls;
4062   arg1 = *(struct zx_ctx **)&jarg1;
4063   arg2 = (int)jarg2;
4064   arg3 = 0;
4065   if (jarg3) {
4066     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
4067     if (!arg3) return 0;
4068   }
4069   arg4 = 0;
4070   if (jarg4) {
4071     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
4072     if (!arg4) return 0;
4073   }
4074   result = (struct zx_root_s *)zx_dec_zx_root(arg1,arg2,arg3,arg4);
4075   *(struct zx_root_s **)&jresult = result;
4076   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
4077   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
4078   return jresult;
4079 }
4080 
4081 
4082 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1DEC_1elem(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
4083   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
4084   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
4085 
4086   (void)jenv;
4087   (void)jcls;
4088   arg1 = *(struct zx_ctx **)&jarg1;
4089   arg2 = *(struct zx_elem_s **)&jarg2;
4090   zx_DEC_elem(arg1,arg2);
4091 }
4092 
4093 
4094 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1el_1desc_1lookup(JNIEnv *jenv, jclass jcls, jint jarg1) {
4095   jlong jresult = 0 ;
4096   int arg1 ;
4097   struct zx_el_desc *result = 0 ;
4098 
4099   (void)jenv;
4100   (void)jcls;
4101   arg1 = (int)jarg1;
4102   result = (struct zx_el_desc *)zx_el_desc_lookup(arg1);
4103   *(struct zx_el_desc **)&jresult = result;
4104   return jresult;
4105 }
4106 
4107 
4108 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1RSA_1SHA1_1URLENC_1get(JNIEnv *jenv, jclass jcls) {
4109   jstring jresult = 0 ;
4110   char *result = 0 ;
4111 
4112   (void)jenv;
4113   (void)jcls;
4114   result = (char *)("http://www.w3.org/2000/09/xmldsig%23rsa-sha1");
4115   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4116   return jresult;
4117 }
4118 
4119 
4120 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1RSA_1SHA224_1URLENC_1get(JNIEnv *jenv, jclass jcls) {
4121   jstring jresult = 0 ;
4122   char *result = 0 ;
4123 
4124   (void)jenv;
4125   (void)jcls;
4126   result = (char *)("http://www.w3.org/2001/04/xmldsig-more%23rsa-sha224");
4127   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4128   return jresult;
4129 }
4130 
4131 
4132 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1RSA_1SHA256_1URLENC_1get(JNIEnv *jenv, jclass jcls) {
4133   jstring jresult = 0 ;
4134   char *result = 0 ;
4135 
4136   (void)jenv;
4137   (void)jcls;
4138   result = (char *)("http://www.w3.org/2001/04/xmldsig-more%23rsa-sha256");
4139   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4140   return jresult;
4141 }
4142 
4143 
4144 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1RSA_1SHA384_1URLENC_1get(JNIEnv *jenv, jclass jcls) {
4145   jstring jresult = 0 ;
4146   char *result = 0 ;
4147 
4148   (void)jenv;
4149   (void)jcls;
4150   result = (char *)("http://www.w3.org/2001/04/xmldsig-more%23rsa-sha384");
4151   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4152   return jresult;
4153 }
4154 
4155 
4156 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1RSA_1SHA512_1URLENC_1get(JNIEnv *jenv, jclass jcls) {
4157   jstring jresult = 0 ;
4158   char *result = 0 ;
4159 
4160   (void)jenv;
4161   (void)jcls;
4162   result = (char *)("http://www.w3.org/2001/04/xmldsig-more%23rsa-sha512");
4163   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4164   return jresult;
4165 }
4166 
4167 
4168 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1DSA_1SHA1_1URLENC_1get(JNIEnv *jenv, jclass jcls) {
4169   jstring jresult = 0 ;
4170   char *result = 0 ;
4171 
4172   (void)jenv;
4173   (void)jcls;
4174   result = (char *)("http://www.w3.org/2000/09/xmldsig%23dsa-sha1");
4175   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4176   return jresult;
4177 }
4178 
4179 
4180 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1DSA_1SHA224_1URLENC_1get(JNIEnv *jenv, jclass jcls) {
4181   jstring jresult = 0 ;
4182   char *result = 0 ;
4183 
4184   (void)jenv;
4185   (void)jcls;
4186   result = (char *)("http://www.w3.org/2001/04/xmldsig-more%23dsa-sha224");
4187   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4188   return jresult;
4189 }
4190 
4191 
4192 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1DSA_1SHA256_1URLENC_1get(JNIEnv *jenv, jclass jcls) {
4193   jstring jresult = 0 ;
4194   char *result = 0 ;
4195 
4196   (void)jenv;
4197   (void)jcls;
4198   result = (char *)("http://www.w3.org/2001/04/xmldsig-more%23dsa-sha256");
4199   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4200   return jresult;
4201 }
4202 
4203 
4204 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1DSA_1SHA384_1URLENC_1get(JNIEnv *jenv, jclass jcls) {
4205   jstring jresult = 0 ;
4206   char *result = 0 ;
4207 
4208   (void)jenv;
4209   (void)jcls;
4210   result = (char *)("http://www.w3.org/2001/04/xmldsig-more%23dsa-sha384");
4211   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4212   return jresult;
4213 }
4214 
4215 
4216 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1DSA_1SHA512_1URLENC_1get(JNIEnv *jenv, jclass jcls) {
4217   jstring jresult = 0 ;
4218   char *result = 0 ;
4219 
4220   (void)jenv;
4221   (void)jcls;
4222   result = (char *)("http://www.w3.org/2001/04/xmldsig-more%23dsa-sha512");
4223   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4224   return jresult;
4225 }
4226 
4227 
4228 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1ECDSA_1SHA1_1URLENC_1get(JNIEnv *jenv, jclass jcls) {
4229   jstring jresult = 0 ;
4230   char *result = 0 ;
4231 
4232   (void)jenv;
4233   (void)jcls;
4234   result = (char *)("http://www.w3.org/2001/04/xmldsig-more%23ecdsa-sha1");
4235   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4236   return jresult;
4237 }
4238 
4239 
4240 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1ECDSA_1SHA224_1URLENC_1get(JNIEnv *jenv, jclass jcls) {
4241   jstring jresult = 0 ;
4242   char *result = 0 ;
4243 
4244   (void)jenv;
4245   (void)jcls;
4246   result = (char *)("http://www.w3.org/2001/04/xmldsig-more%23ecdsa-sha224");
4247   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4248   return jresult;
4249 }
4250 
4251 
4252 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1ECDSA_1SHA256_1URLENC_1get(JNIEnv *jenv, jclass jcls) {
4253   jstring jresult = 0 ;
4254   char *result = 0 ;
4255 
4256   (void)jenv;
4257   (void)jcls;
4258   result = (char *)("http://www.w3.org/2001/04/xmldsig-more%23ecdsa-sha256");
4259   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4260   return jresult;
4261 }
4262 
4263 
4264 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1ECDSA_1SHA384_1URLENC_1get(JNIEnv *jenv, jclass jcls) {
4265   jstring jresult = 0 ;
4266   char *result = 0 ;
4267 
4268   (void)jenv;
4269   (void)jcls;
4270   result = (char *)("http://www.w3.org/2001/04/xmldsig-more%23ecdsa-sha384");
4271   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4272   return jresult;
4273 }
4274 
4275 
4276 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1ECDSA_1SHA512_1URLENC_1get(JNIEnv *jenv, jclass jcls) {
4277   jstring jresult = 0 ;
4278   char *result = 0 ;
4279 
4280   (void)jenv;
4281   (void)jcls;
4282   result = (char *)("http://www.w3.org/2001/04/xmldsig-more%23ecdsa-sha512");
4283   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4284   return jresult;
4285 }
4286 
4287 
4288 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1RSA_1SHA1_1get(JNIEnv *jenv, jclass jcls) {
4289   jstring jresult = 0 ;
4290   char *result = 0 ;
4291 
4292   (void)jenv;
4293   (void)jcls;
4294   result = (char *)("http://www.w3.org/2000/09/xmldsig#rsa-sha1");
4295   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4296   return jresult;
4297 }
4298 
4299 
4300 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1RSA_1SHA224_1get(JNIEnv *jenv, jclass jcls) {
4301   jstring jresult = 0 ;
4302   char *result = 0 ;
4303 
4304   (void)jenv;
4305   (void)jcls;
4306   result = (char *)("http://www.w3.org/2001/04/xmldsig-more#rsa-sha224");
4307   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4308   return jresult;
4309 }
4310 
4311 
4312 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1RSA_1SHA256_1get(JNIEnv *jenv, jclass jcls) {
4313   jstring jresult = 0 ;
4314   char *result = 0 ;
4315 
4316   (void)jenv;
4317   (void)jcls;
4318   result = (char *)("http://www.w3.org/2001/04/xmldsig-more#rsa-sha256");
4319   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4320   return jresult;
4321 }
4322 
4323 
4324 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1RSA_1SHA384_1get(JNIEnv *jenv, jclass jcls) {
4325   jstring jresult = 0 ;
4326   char *result = 0 ;
4327 
4328   (void)jenv;
4329   (void)jcls;
4330   result = (char *)("http://www.w3.org/2001/04/xmldsig-more#rsa-sha384");
4331   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4332   return jresult;
4333 }
4334 
4335 
4336 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1RSA_1SHA512_1get(JNIEnv *jenv, jclass jcls) {
4337   jstring jresult = 0 ;
4338   char *result = 0 ;
4339 
4340   (void)jenv;
4341   (void)jcls;
4342   result = (char *)("http://www.w3.org/2001/04/xmldsig-more#rsa-sha512");
4343   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4344   return jresult;
4345 }
4346 
4347 
4348 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1DSA_1SHA1_1get(JNIEnv *jenv, jclass jcls) {
4349   jstring jresult = 0 ;
4350   char *result = 0 ;
4351 
4352   (void)jenv;
4353   (void)jcls;
4354   result = (char *)("http://www.w3.org/2000/09/xmldsig#dsa-sha1");
4355   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4356   return jresult;
4357 }
4358 
4359 
4360 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1DSA_1SHA224_1get(JNIEnv *jenv, jclass jcls) {
4361   jstring jresult = 0 ;
4362   char *result = 0 ;
4363 
4364   (void)jenv;
4365   (void)jcls;
4366   result = (char *)("http://www.w3.org/2009/xmldsig11#dsa-sha224");
4367   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4368   return jresult;
4369 }
4370 
4371 
4372 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1DSA_1SHA256_1get(JNIEnv *jenv, jclass jcls) {
4373   jstring jresult = 0 ;
4374   char *result = 0 ;
4375 
4376   (void)jenv;
4377   (void)jcls;
4378   result = (char *)("http://www.w3.org/2009/xmldsig11#dsa-sha256");
4379   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4380   return jresult;
4381 }
4382 
4383 
4384 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1DSA_1SHA384_1get(JNIEnv *jenv, jclass jcls) {
4385   jstring jresult = 0 ;
4386   char *result = 0 ;
4387 
4388   (void)jenv;
4389   (void)jcls;
4390   result = (char *)("http://www.w3.org/2009/xmldsig11#dsa-sha384");
4391   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4392   return jresult;
4393 }
4394 
4395 
4396 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1DSA_1SHA512_1get(JNIEnv *jenv, jclass jcls) {
4397   jstring jresult = 0 ;
4398   char *result = 0 ;
4399 
4400   (void)jenv;
4401   (void)jcls;
4402   result = (char *)("http://www.w3.org/2009/xmldsig11#dsa-sha512");
4403   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4404   return jresult;
4405 }
4406 
4407 
4408 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1ECDSA_1SHA1_1get(JNIEnv *jenv, jclass jcls) {
4409   jstring jresult = 0 ;
4410   char *result = 0 ;
4411 
4412   (void)jenv;
4413   (void)jcls;
4414   result = (char *)("http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1");
4415   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4416   return jresult;
4417 }
4418 
4419 
4420 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1ECDSA_1SHA224_1get(JNIEnv *jenv, jclass jcls) {
4421   jstring jresult = 0 ;
4422   char *result = 0 ;
4423 
4424   (void)jenv;
4425   (void)jcls;
4426   result = (char *)("http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha224");
4427   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4428   return jresult;
4429 }
4430 
4431 
4432 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1ECDSA_1SHA256_1get(JNIEnv *jenv, jclass jcls) {
4433   jstring jresult = 0 ;
4434   char *result = 0 ;
4435 
4436   (void)jenv;
4437   (void)jcls;
4438   result = (char *)("http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256");
4439   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4440   return jresult;
4441 }
4442 
4443 
4444 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1ECDSA_1SHA384_1get(JNIEnv *jenv, jclass jcls) {
4445   jstring jresult = 0 ;
4446   char *result = 0 ;
4447 
4448   (void)jenv;
4449   (void)jcls;
4450   result = (char *)("http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384");
4451   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4452   return jresult;
4453 }
4454 
4455 
4456 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1ECDSA_1SHA512_1get(JNIEnv *jenv, jclass jcls) {
4457   jstring jresult = 0 ;
4458   char *result = 0 ;
4459 
4460   (void)jenv;
4461   (void)jcls;
4462   result = (char *)("http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512");
4463   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4464   return jresult;
4465 }
4466 
4467 
4468 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_DIGEST_1ALGO_1SHA1_1get(JNIEnv *jenv, jclass jcls) {
4469   jstring jresult = 0 ;
4470   char *result = 0 ;
4471 
4472   (void)jenv;
4473   (void)jcls;
4474   result = (char *)("http://www.w3.org/2000/09/xmldsig#sha1");
4475   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4476   return jresult;
4477 }
4478 
4479 
4480 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_DIGEST_1ALGO_1SHA224_1get(JNIEnv *jenv, jclass jcls) {
4481   jstring jresult = 0 ;
4482   char *result = 0 ;
4483 
4484   (void)jenv;
4485   (void)jcls;
4486   result = (char *)("http://www.w3.org/2001/04/xmldsig-more#sha224");
4487   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4488   return jresult;
4489 }
4490 
4491 
4492 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_DIGEST_1ALGO_1SHA256_1get(JNIEnv *jenv, jclass jcls) {
4493   jstring jresult = 0 ;
4494   char *result = 0 ;
4495 
4496   (void)jenv;
4497   (void)jcls;
4498   result = (char *)("http://www.w3.org/2001/04/xmlenc#sha256");
4499   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4500   return jresult;
4501 }
4502 
4503 
4504 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_DIGEST_1ALGO_1SHA384_1get(JNIEnv *jenv, jclass jcls) {
4505   jstring jresult = 0 ;
4506   char *result = 0 ;
4507 
4508   (void)jenv;
4509   (void)jcls;
4510   result = (char *)("http://www.w3.org/2001/04/xmldsig-more#sha384");
4511   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4512   return jresult;
4513 }
4514 
4515 
4516 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_DIGEST_1ALGO_1SHA512_1get(JNIEnv *jenv, jclass jcls) {
4517   jstring jresult = 0 ;
4518   char *result = 0 ;
4519 
4520   (void)jenv;
4521   (void)jcls;
4522   result = (char *)("http://www.w3.org/2001/04/xmlenc#sha512");
4523   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4524   return jresult;
4525 }
4526 
4527 
4528 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1get(JNIEnv *jenv, jclass jcls) {
4529   jstring jresult = 0 ;
4530   char *result = 0 ;
4531 
4532   (void)jenv;
4533   (void)jcls;
4534   result = (char *)("http://www.w3.org/2000/09/xmldsig#rsa-sha1");
4535   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4536   return jresult;
4537 }
4538 
4539 
4540 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SIG_1ALGO_1URLENC_1get(JNIEnv *jenv, jclass jcls) {
4541   jstring jresult = 0 ;
4542   char *result = 0 ;
4543 
4544   (void)jenv;
4545   (void)jcls;
4546   result = (char *)("http://www.w3.org/2000/09/xmldsig%23rsa-sha1");
4547   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4548   return jresult;
4549 }
4550 
4551 
4552 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_SIG_1SIZE_1get(JNIEnv *jenv, jclass jcls) {
4553   jint jresult = 0 ;
4554   int result;
4555 
4556   (void)jenv;
4557   (void)jcls;
4558   result = (int)(1024);
4559   jresult = (jint)result;
4560   return jresult;
4561 }
4562 
4563 
4564 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_DIGEST_1ALGO_1get(JNIEnv *jenv, jclass jcls) {
4565   jstring jresult = 0 ;
4566   char *result = 0 ;
4567 
4568   (void)jenv;
4569   (void)jcls;
4570   result = (char *)("http://www.w3.org/2000/09/xmldsig#sha1");
4571   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4572   return jresult;
4573 }
4574 
4575 
4576 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_CANON_1ALGO_1get(JNIEnv *jenv, jclass jcls) {
4577   jstring jresult = 0 ;
4578   char *result = 0 ;
4579 
4580   (void)jenv;
4581   (void)jcls;
4582   result = (char *)("http://www.w3.org/2001/10/xml-exc-c14n#");
4583   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4584   return jresult;
4585 }
4586 
4587 
4588 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENVELOPED_1ALGO_1get(JNIEnv *jenv, jclass jcls) {
4589   jstring jresult = 0 ;
4590   char *result = 0 ;
4591 
4592   (void)jenv;
4593   (void)jcls;
4594   result = (char *)("http://www.w3.org/2000/09/xmldsig#enveloped-signature");
4595   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4596   return jresult;
4597 }
4598 
4599 
4600 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENC_1ALGO_1TRIPLEDES_1CBC_1get(JNIEnv *jenv, jclass jcls) {
4601   jstring jresult = 0 ;
4602   char *result = 0 ;
4603 
4604   (void)jenv;
4605   (void)jcls;
4606   result = (char *)("http://www.w3.org/2001/04/xmlenc#tripledes-cbc");
4607   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4608   return jresult;
4609 }
4610 
4611 
4612 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENC_1ALGO_1AES128_1CBC_1get(JNIEnv *jenv, jclass jcls) {
4613   jstring jresult = 0 ;
4614   char *result = 0 ;
4615 
4616   (void)jenv;
4617   (void)jcls;
4618   result = (char *)("http://www.w3.org/2001/04/xmlenc#aes128-cbc");
4619   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4620   return jresult;
4621 }
4622 
4623 
4624 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENC_1ALGO_1AES192_1CBC_1get(JNIEnv *jenv, jclass jcls) {
4625   jstring jresult = 0 ;
4626   char *result = 0 ;
4627 
4628   (void)jenv;
4629   (void)jcls;
4630   result = (char *)("http://www.w3.org/2001/04/xmlenc#aes192-cbc");
4631   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4632   return jresult;
4633 }
4634 
4635 
4636 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENC_1ALGO_1AES256_1CBC_1get(JNIEnv *jenv, jclass jcls) {
4637   jstring jresult = 0 ;
4638   char *result = 0 ;
4639 
4640   (void)jenv;
4641   (void)jcls;
4642   result = (char *)("http://www.w3.org/2001/04/xmlenc#aes256-cbc");
4643   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4644   return jresult;
4645 }
4646 
4647 
4648 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENC_1ALGO_1AES256_1GCM_1get(JNIEnv *jenv, jclass jcls) {
4649   jstring jresult = 0 ;
4650   char *result = 0 ;
4651 
4652   (void)jenv;
4653   (void)jcls;
4654   result = (char *)("http://www.w3.org/2001/04/xmlenc11#aes256-gcm");
4655   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4656   return jresult;
4657 }
4658 
4659 
4660 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENC_1ALGO_1get(JNIEnv *jenv, jclass jcls) {
4661   jstring jresult = 0 ;
4662   char *result = 0 ;
4663 
4664   (void)jenv;
4665   (void)jcls;
4666   result = (char *)("http://www.w3.org/2001/04/xmlenc11#aes256-gcm");
4667   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4668   return jresult;
4669 }
4670 
4671 
4672 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENC_1KEYTRAN_1RSA_11_15_1get(JNIEnv *jenv, jclass jcls) {
4673   jstring jresult = 0 ;
4674   char *result = 0 ;
4675 
4676   (void)jenv;
4677   (void)jcls;
4678   result = (char *)("http://www.w3.org/2001/04/xmlenc#rsa-1_5");
4679   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4680   return jresult;
4681 }
4682 
4683 
4684 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENC_1KEYTRAN_1RSA_1OAEP_1get(JNIEnv *jenv, jclass jcls) {
4685   jstring jresult = 0 ;
4686   char *result = 0 ;
4687 
4688   (void)jenv;
4689   (void)jcls;
4690   result = (char *)("http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p");
4691   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4692   return jresult;
4693 }
4694 
4695 
4696 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENC_1KEYTRAN_1ALGO_1get(JNIEnv *jenv, jclass jcls) {
4697   jstring jresult = 0 ;
4698   char *result = 0 ;
4699 
4700   (void)jenv;
4701   (void)jcls;
4702   result = (char *)("http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p");
4703   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4704   return jresult;
4705 }
4706 
4707 
4708 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENC_1ENCKEY_1METH_1get(JNIEnv *jenv, jclass jcls) {
4709   jstring jresult = 0 ;
4710   char *result = 0 ;
4711 
4712   (void)jenv;
4713   (void)jcls;
4714   result = (char *)("http://www.w3.org/2001/04/xmlenc#EncryptedKey");
4715   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4716   return jresult;
4717 }
4718 
4719 
4720 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENC_1TYPE_1ELEMENT_1get(JNIEnv *jenv, jclass jcls) {
4721   jstring jresult = 0 ;
4722   char *result = 0 ;
4723 
4724   (void)jenv;
4725   (void)jcls;
4726   result = (char *)("http://www.w3.org/2001/04/xmlenc#Element");
4727   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4728   return jresult;
4729 }
4730 
4731 
4732 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ENC_1TYPE_1CONTENT_1get(JNIEnv *jenv, jclass jcls) {
4733   jstring jresult = 0 ;
4734   char *result = 0 ;
4735 
4736   (void)jenv;
4737   (void)jcls;
4738   result = (char *)("http://www.w3.org/2001/04/xmlenc#Content");
4739   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4740   return jresult;
4741 }
4742 
4743 
4744 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1PATH_1get(JNIEnv *jenv, jclass jcls) {
4745   jstring jresult = 0 ;
4746   char *result = 0 ;
4747 
4748   (void)jenv;
4749   (void)jcls;
4750   result = (char *)("/var/zxid/");
4751   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4752   return jresult;
4753 }
4754 
4755 
4756 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1CONF_1FILE_1get(JNIEnv *jenv, jclass jcls) {
4757   jstring jresult = 0 ;
4758   char *result = 0 ;
4759 
4760   (void)jenv;
4761   (void)jcls;
4762   result = (char *)("zxid.conf");
4763   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4764   return jresult;
4765 }
4766 
4767 
4768 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1CONF_1PATH_1get(JNIEnv *jenv, jclass jcls) {
4769   jstring jresult = 0 ;
4770   char *result = 0 ;
4771 
4772   (void)jenv;
4773   (void)jcls;
4774   result = (char *)("/var/zxid/zxid.conf");
4775   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4776   return jresult;
4777 }
4778 
4779 
4780 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1PATH_1OPT_1get(JNIEnv *jenv, jclass jcls) {
4781   jstring jresult = 0 ;
4782   char *result = 0 ;
4783 
4784   (void)jenv;
4785   (void)jcls;
4786   result = (char *)("ZXPATH");
4787   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4788   return jresult;
4789 }
4790 
4791 
4792 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1ENV_1PREFIX_1get(JNIEnv *jenv, jclass jcls) {
4793   jstring jresult = 0 ;
4794   char *result = 0 ;
4795 
4796   (void)jenv;
4797   (void)jcls;
4798   result = (char *)("ZXID_");
4799   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4800   return jresult;
4801 }
4802 
4803 
4804 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1CONF_1MAGIC_1get(JNIEnv *jenv, jclass jcls) {
4805   jint jresult = 0 ;
4806   int result;
4807 
4808   (void)jenv;
4809   (void)jcls;
4810   result = (int)(0x900dc07f);
4811   jresult = (jint)result;
4812   return jresult;
4813 }
4814 
4815 
4816 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1CGI_1MAGIC_1get(JNIEnv *jenv, jclass jcls) {
4817   jint jresult = 0 ;
4818   int result;
4819 
4820   (void)jenv;
4821   (void)jcls;
4822   result = (int)(0x900d0c91);
4823   jresult = (jint)result;
4824   return jresult;
4825 }
4826 
4827 
4828 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SES_1MAGIC_1get(JNIEnv *jenv, jclass jcls) {
4829   jint jresult = 0 ;
4830   int result;
4831 
4832   (void)jenv;
4833   (void)jcls;
4834   result = (int)(0x900d05e5);
4835   jresult = (jint)result;
4836   return jresult;
4837 }
4838 
4839 
4840 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1s_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
4841   struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
4842   struct zxid_entity_s *arg2 = (struct zxid_entity_s *) 0 ;
4843 
4844   (void)jenv;
4845   (void)jcls;
4846   arg1 = *(struct zxid_entity_s **)&jarg1;
4847   arg2 = *(struct zxid_entity_s **)&jarg2;
4848   if (arg1) (arg1)->n = arg2;
4849 }
4850 
4851 
4852 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1s_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
4853   jlong jresult = 0 ;
4854   struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
4855   struct zxid_entity_s *result = 0 ;
4856 
4857   (void)jenv;
4858   (void)jcls;
4859   arg1 = *(struct zxid_entity_s **)&jarg1;
4860   result = (struct zxid_entity_s *) ((arg1)->n);
4861   *(struct zxid_entity_s **)&jresult = result;
4862   return jresult;
4863 }
4864 
4865 
4866 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1s_1n_1cdc_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
4867   struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
4868   struct zxid_entity_s *arg2 = (struct zxid_entity_s *) 0 ;
4869 
4870   (void)jenv;
4871   (void)jcls;
4872   arg1 = *(struct zxid_entity_s **)&jarg1;
4873   arg2 = *(struct zxid_entity_s **)&jarg2;
4874   if (arg1) (arg1)->n_cdc = arg2;
4875 }
4876 
4877 
4878 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1s_1n_1cdc_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
4879   jlong jresult = 0 ;
4880   struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
4881   struct zxid_entity_s *result = 0 ;
4882 
4883   (void)jenv;
4884   (void)jcls;
4885   arg1 = *(struct zxid_entity_s **)&jarg1;
4886   result = (struct zxid_entity_s *) ((arg1)->n_cdc);
4887   *(struct zxid_entity_s **)&jresult = result;
4888   return jresult;
4889 }
4890 
4891 
4892 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1s_1eid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
4893   struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
4894   char *arg2 = (char *) 0 ;
4895 
4896   (void)jenv;
4897   (void)jcls;
4898   arg1 = *(struct zxid_entity_s **)&jarg1;
4899   arg2 = 0;
4900   if (jarg2) {
4901     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
4902     if (!arg2) return ;
4903   }
4904   {
4905     if (arg2) {
4906       arg1->eid = (char *) malloc(strlen(( char *)arg2)+1);
4907       strcpy((char *)arg1->eid, ( char *)arg2);
4908     } else {
4909       arg1->eid = 0;
4910     }
4911   }
4912   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
4913 }
4914 
4915 
4916 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1s_1eid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
4917   jstring jresult = 0 ;
4918   struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
4919   char *result = 0 ;
4920 
4921   (void)jenv;
4922   (void)jcls;
4923   arg1 = *(struct zxid_entity_s **)&jarg1;
4924   result = (char *) ((arg1)->eid);
4925   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4926   return jresult;
4927 }
4928 
4929 
4930 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1s_1dpy_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
4931   struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
4932   char *arg2 = (char *) 0 ;
4933 
4934   (void)jenv;
4935   (void)jcls;
4936   arg1 = *(struct zxid_entity_s **)&jarg1;
4937   arg2 = 0;
4938   if (jarg2) {
4939     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
4940     if (!arg2) return ;
4941   }
4942   {
4943     if (arg2) {
4944       arg1->dpy_name = (char *) malloc(strlen(( char *)arg2)+1);
4945       strcpy((char *)arg1->dpy_name, ( char *)arg2);
4946     } else {
4947       arg1->dpy_name = 0;
4948     }
4949   }
4950   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
4951 }
4952 
4953 
4954 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1s_1dpy_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
4955   jstring jresult = 0 ;
4956   struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
4957   char *result = 0 ;
4958 
4959   (void)jenv;
4960   (void)jcls;
4961   arg1 = *(struct zxid_entity_s **)&jarg1;
4962   result = (char *) ((arg1)->dpy_name);
4963   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
4964   return jresult;
4965 }
4966 
4967 
4968 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1s_1button_1url_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
4969   struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
4970   char *arg2 = (char *) 0 ;
4971 
4972   (void)jenv;
4973   (void)jcls;
4974   arg1 = *(struct zxid_entity_s **)&jarg1;
4975   arg2 = 0;
4976   if (jarg2) {
4977     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
4978     if (!arg2) return ;
4979   }
4980   {
4981     if (arg2) {
4982       arg1->button_url = (char *) malloc(strlen(( char *)arg2)+1);
4983       strcpy((char *)arg1->button_url, ( char *)arg2);
4984     } else {
4985       arg1->button_url = 0;
4986     }
4987   }
4988   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
4989 }
4990 
4991 
4992 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1s_1button_1url_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
4993   jstring jresult = 0 ;
4994   struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
4995   char *result = 0 ;
4996 
4997   (void)jenv;
4998   (void)jcls;
4999   arg1 = *(struct zxid_entity_s **)&jarg1;
5000   result = (char *) ((arg1)->button_url);
5001   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
5002   return jresult;
5003 }
5004 
5005 
5006 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1s_1sha1_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
5007   struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
5008   char *arg2 ;
5009 
5010   (void)jenv;
5011   (void)jcls;
5012   arg1 = *(struct zxid_entity_s **)&jarg1;
5013   arg2 = 0;
5014   if (jarg2) {
5015     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
5016     if (!arg2) return ;
5017   }
5018   {
5019     if(arg2) {
5020       strncpy((char*)arg1->sha1_name, ( char *)arg2, 28-1);
5021       arg1->sha1_name[28-1] = 0;
5022     } else {
5023       arg1->sha1_name[0] = 0;
5024     }
5025   }
5026 
5027   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
5028 }
5029 
5030 
5031 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1s_1sha1_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5032   jstring jresult = 0 ;
5033   struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
5034   char *result = 0 ;
5035 
5036   (void)jenv;
5037   (void)jcls;
5038   arg1 = *(struct zxid_entity_s **)&jarg1;
5039   result = (char *)(char *) ((arg1)->sha1_name);
5040   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
5041   return jresult;
5042 }
5043 
5044 
5045 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1s_1ed_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
5046   struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
5047   struct zx_md_EntityDescriptor_s *arg2 = (struct zx_md_EntityDescriptor_s *) 0 ;
5048 
5049   (void)jenv;
5050   (void)jcls;
5051   arg1 = *(struct zxid_entity_s **)&jarg1;
5052   arg2 = *(struct zx_md_EntityDescriptor_s **)&jarg2;
5053   if (arg1) (arg1)->ed = arg2;
5054 }
5055 
5056 
5057 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1s_1ed_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5058   jlong jresult = 0 ;
5059   struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
5060   struct zx_md_EntityDescriptor_s *result = 0 ;
5061 
5062   (void)jenv;
5063   (void)jcls;
5064   arg1 = *(struct zxid_entity_s **)&jarg1;
5065   result = (struct zx_md_EntityDescriptor_s *) ((arg1)->ed);
5066   *(struct zx_md_EntityDescriptor_s **)&jresult = result;
5067   return jresult;
5068 }
5069 
5070 
5071 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1s_1aamap_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
5072   struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
5073   struct zxid_map *arg2 = (struct zxid_map *) 0 ;
5074 
5075   (void)jenv;
5076   (void)jcls;
5077   arg1 = *(struct zxid_entity_s **)&jarg1;
5078   arg2 = *(struct zxid_map **)&jarg2;
5079   if (arg1) (arg1)->aamap = arg2;
5080 }
5081 
5082 
5083 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1entity_1s_1aamap_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5084   jlong jresult = 0 ;
5085   struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
5086   struct zxid_map *result = 0 ;
5087 
5088   (void)jenv;
5089   (void)jcls;
5090   arg1 = *(struct zxid_entity_s **)&jarg1;
5091   result = (struct zxid_map *) ((arg1)->aamap);
5092   *(struct zxid_map **)&jresult = result;
5093   return jresult;
5094 }
5095 
5096 
5097 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1entity_1s(JNIEnv *jenv, jclass jcls) {
5098   jlong jresult = 0 ;
5099   struct zxid_entity_s *result = 0 ;
5100 
5101   (void)jenv;
5102   (void)jcls;
5103   result = (struct zxid_entity_s *)calloc(1, sizeof(struct zxid_entity_s));
5104   *(struct zxid_entity_s **)&jresult = result;
5105   return jresult;
5106 }
5107 
5108 
5109 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1entity_1s(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5110   struct zxid_entity_s *arg1 = (struct zxid_entity_s *) 0 ;
5111 
5112   (void)jenv;
5113   (void)jcls;
5114   arg1 = *(struct zxid_entity_s **)&jarg1;
5115   free((char *) arg1);
5116 }
5117 
5118 
5119 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1magic_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
5120   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5121   unsigned int arg2 ;
5122 
5123   (void)jenv;
5124   (void)jcls;
5125   arg1 = *(struct zxid_conf **)&jarg1;
5126   arg2 = (unsigned int)jarg2;
5127   if (arg1) (arg1)->magic = arg2;
5128 }
5129 
5130 
5131 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1magic_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5132   jlong jresult = 0 ;
5133   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5134   unsigned int result;
5135 
5136   (void)jenv;
5137   (void)jcls;
5138   arg1 = *(struct zxid_conf **)&jarg1;
5139   result = (unsigned int) ((arg1)->magic);
5140   jresult = (jlong)result;
5141   return jresult;
5142 }
5143 
5144 
5145 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1ctx_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
5146   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5147   struct zx_ctx *arg2 = (struct zx_ctx *) 0 ;
5148 
5149   (void)jenv;
5150   (void)jcls;
5151   arg1 = *(struct zxid_conf **)&jarg1;
5152   arg2 = *(struct zx_ctx **)&jarg2;
5153   if (arg1) (arg1)->ctx = arg2;
5154 }
5155 
5156 
5157 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1ctx_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5158   jlong jresult = 0 ;
5159   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5160   struct zx_ctx *result = 0 ;
5161 
5162   (void)jenv;
5163   (void)jcls;
5164   arg1 = *(struct zxid_conf **)&jarg1;
5165   result = (struct zx_ctx *) ((arg1)->ctx);
5166   *(struct zx_ctx **)&jresult = result;
5167   return jresult;
5168 }
5169 
5170 
5171 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1cot_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
5172   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5173   zxid_entity *arg2 = (zxid_entity *) 0 ;
5174 
5175   (void)jenv;
5176   (void)jcls;
5177   arg1 = *(struct zxid_conf **)&jarg1;
5178   arg2 = *(zxid_entity **)&jarg2;
5179   if (arg1) (arg1)->cot = arg2;
5180 }
5181 
5182 
5183 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1cot_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5184   jlong jresult = 0 ;
5185   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5186   zxid_entity *result = 0 ;
5187 
5188   (void)jenv;
5189   (void)jcls;
5190   arg1 = *(struct zxid_conf **)&jarg1;
5191   result = (zxid_entity *) ((arg1)->cot);
5192   *(zxid_entity **)&jresult = result;
5193   return jresult;
5194 }
5195 
5196 
5197 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1cpath_1supplied_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
5198   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5199   int arg2 ;
5200 
5201   (void)jenv;
5202   (void)jcls;
5203   arg1 = *(struct zxid_conf **)&jarg1;
5204   arg2 = (int)jarg2;
5205   if (arg1) (arg1)->cpath_supplied = arg2;
5206 }
5207 
5208 
5209 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1cpath_1supplied_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5210   jint jresult = 0 ;
5211   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5212   int result;
5213 
5214   (void)jenv;
5215   (void)jcls;
5216   arg1 = *(struct zxid_conf **)&jarg1;
5217   result = (int) ((arg1)->cpath_supplied);
5218   jresult = (jint)result;
5219   return jresult;
5220 }
5221 
5222 
5223 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1cpath_1len_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
5224   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5225   int arg2 ;
5226 
5227   (void)jenv;
5228   (void)jcls;
5229   arg1 = *(struct zxid_conf **)&jarg1;
5230   arg2 = (int)jarg2;
5231   if (arg1) (arg1)->cpath_len = arg2;
5232 }
5233 
5234 
5235 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1cpath_1len_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5236   jint jresult = 0 ;
5237   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5238   int result;
5239 
5240   (void)jenv;
5241   (void)jcls;
5242   arg1 = *(struct zxid_conf **)&jarg1;
5243   result = (int) ((arg1)->cpath_len);
5244   jresult = (jint)result;
5245   return jresult;
5246 }
5247 
5248 
5249 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1cpath_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
5250   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5251   char *arg2 = (char *) 0 ;
5252 
5253   (void)jenv;
5254   (void)jcls;
5255   arg1 = *(struct zxid_conf **)&jarg1;
5256   arg2 = 0;
5257   if (jarg2) {
5258     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
5259     if (!arg2) return ;
5260   }
5261   {
5262     if (arg2) {
5263       arg1->cpath = (char *) malloc(strlen(( char *)arg2)+1);
5264       strcpy((char *)arg1->cpath, ( char *)arg2);
5265     } else {
5266       arg1->cpath = 0;
5267     }
5268   }
5269   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
5270 }
5271 
5272 
5273 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1cpath_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5274   jstring jresult = 0 ;
5275   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5276   char *result = 0 ;
5277 
5278   (void)jenv;
5279   (void)jcls;
5280   arg1 = *(struct zxid_conf **)&jarg1;
5281   result = (char *) ((arg1)->cpath);
5282   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
5283   return jresult;
5284 }
5285 
5286 
5287 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1burl_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
5288   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5289   char *arg2 = (char *) 0 ;
5290 
5291   (void)jenv;
5292   (void)jcls;
5293   arg1 = *(struct zxid_conf **)&jarg1;
5294   arg2 = 0;
5295   if (jarg2) {
5296     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
5297     if (!arg2) return ;
5298   }
5299   {
5300     if (arg2) {
5301       arg1->burl = (char *) malloc(strlen(( char *)arg2)+1);
5302       strcpy((char *)arg1->burl, ( char *)arg2);
5303     } else {
5304       arg1->burl = 0;
5305     }
5306   }
5307   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
5308 }
5309 
5310 
5311 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1burl_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5312   jstring jresult = 0 ;
5313   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5314   char *result = 0 ;
5315 
5316   (void)jenv;
5317   (void)jcls;
5318   arg1 = *(struct zxid_conf **)&jarg1;
5319   result = (char *) ((arg1)->burl);
5320   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
5321   return jresult;
5322 }
5323 
5324 
5325 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1non_1standard_1entityid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
5326   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5327   char *arg2 = (char *) 0 ;
5328 
5329   (void)jenv;
5330   (void)jcls;
5331   arg1 = *(struct zxid_conf **)&jarg1;
5332   arg2 = 0;
5333   if (jarg2) {
5334     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
5335     if (!arg2) return ;
5336   }
5337   {
5338     if (arg2) {
5339       arg1->non_standard_entityid = (char *) malloc(strlen(( char *)arg2)+1);
5340       strcpy((char *)arg1->non_standard_entityid, ( char *)arg2);
5341     } else {
5342       arg1->non_standard_entityid = 0;
5343     }
5344   }
5345   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
5346 }
5347 
5348 
5349 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1non_1standard_1entityid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5350   jstring jresult = 0 ;
5351   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5352   char *result = 0 ;
5353 
5354   (void)jenv;
5355   (void)jcls;
5356   arg1 = *(struct zxid_conf **)&jarg1;
5357   result = (char *) ((arg1)->non_standard_entityid);
5358   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
5359   return jresult;
5360 }
5361 
5362 
5363 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1redirect_1hack_1imposed_1url_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
5364   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5365   char *arg2 = (char *) 0 ;
5366 
5367   (void)jenv;
5368   (void)jcls;
5369   arg1 = *(struct zxid_conf **)&jarg1;
5370   arg2 = 0;
5371   if (jarg2) {
5372     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
5373     if (!arg2) return ;
5374   }
5375   {
5376     if (arg2) {
5377       arg1->redirect_hack_imposed_url = (char *) malloc(strlen(( char *)arg2)+1);
5378       strcpy((char *)arg1->redirect_hack_imposed_url, ( char *)arg2);
5379     } else {
5380       arg1->redirect_hack_imposed_url = 0;
5381     }
5382   }
5383   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
5384 }
5385 
5386 
5387 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1redirect_1hack_1imposed_1url_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5388   jstring jresult = 0 ;
5389   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5390   char *result = 0 ;
5391 
5392   (void)jenv;
5393   (void)jcls;
5394   arg1 = *(struct zxid_conf **)&jarg1;
5395   result = (char *) ((arg1)->redirect_hack_imposed_url);
5396   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
5397   return jresult;
5398 }
5399 
5400 
5401 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1redirect_1hack_1zxid_1url_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
5402   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5403   char *arg2 = (char *) 0 ;
5404 
5405   (void)jenv;
5406   (void)jcls;
5407   arg1 = *(struct zxid_conf **)&jarg1;
5408   arg2 = 0;
5409   if (jarg2) {
5410     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
5411     if (!arg2) return ;
5412   }
5413   {
5414     if (arg2) {
5415       arg1->redirect_hack_zxid_url = (char *) malloc(strlen(( char *)arg2)+1);
5416       strcpy((char *)arg1->redirect_hack_zxid_url, ( char *)arg2);
5417     } else {
5418       arg1->redirect_hack_zxid_url = 0;
5419     }
5420   }
5421   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
5422 }
5423 
5424 
5425 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1redirect_1hack_1zxid_1url_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5426   jstring jresult = 0 ;
5427   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5428   char *result = 0 ;
5429 
5430   (void)jenv;
5431   (void)jcls;
5432   arg1 = *(struct zxid_conf **)&jarg1;
5433   result = (char *) ((arg1)->redirect_hack_zxid_url);
5434   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
5435   return jresult;
5436 }
5437 
5438 
5439 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1redirect_1hack_1zxid_1qs_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
5440   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5441   char *arg2 = (char *) 0 ;
5442 
5443   (void)jenv;
5444   (void)jcls;
5445   arg1 = *(struct zxid_conf **)&jarg1;
5446   arg2 = 0;
5447   if (jarg2) {
5448     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
5449     if (!arg2) return ;
5450   }
5451   {
5452     if (arg2) {
5453       arg1->redirect_hack_zxid_qs = (char *) malloc(strlen(( char *)arg2)+1);
5454       strcpy((char *)arg1->redirect_hack_zxid_qs, ( char *)arg2);
5455     } else {
5456       arg1->redirect_hack_zxid_qs = 0;
5457     }
5458   }
5459   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
5460 }
5461 
5462 
5463 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1redirect_1hack_1zxid_1qs_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5464   jstring jresult = 0 ;
5465   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5466   char *result = 0 ;
5467 
5468   (void)jenv;
5469   (void)jcls;
5470   arg1 = *(struct zxid_conf **)&jarg1;
5471   result = (char *) ((arg1)->redirect_hack_zxid_qs);
5472   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
5473   return jresult;
5474 }
5475 
5476 
5477 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1cdc_1url_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
5478   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5479   char *arg2 = (char *) 0 ;
5480 
5481   (void)jenv;
5482   (void)jcls;
5483   arg1 = *(struct zxid_conf **)&jarg1;
5484   arg2 = 0;
5485   if (jarg2) {
5486     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
5487     if (!arg2) return ;
5488   }
5489   {
5490     if (arg2) {
5491       arg1->cdc_url = (char *) malloc(strlen(( char *)arg2)+1);
5492       strcpy((char *)arg1->cdc_url, ( char *)arg2);
5493     } else {
5494       arg1->cdc_url = 0;
5495     }
5496   }
5497   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
5498 }
5499 
5500 
5501 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1cdc_1url_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5502   jstring jresult = 0 ;
5503   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5504   char *result = 0 ;
5505 
5506   (void)jenv;
5507   (void)jcls;
5508   arg1 = *(struct zxid_conf **)&jarg1;
5509   result = (char *) ((arg1)->cdc_url);
5510   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
5511   return jresult;
5512 }
5513 
5514 
5515 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1md_1authority_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
5516   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5517   char *arg2 = (char *) 0 ;
5518 
5519   (void)jenv;
5520   (void)jcls;
5521   arg1 = *(struct zxid_conf **)&jarg1;
5522   arg2 = 0;
5523   if (jarg2) {
5524     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
5525     if (!arg2) return ;
5526   }
5527   {
5528     if (arg2) {
5529       arg1->md_authority = (char *) malloc(strlen(( char *)arg2)+1);
5530       strcpy((char *)arg1->md_authority, ( char *)arg2);
5531     } else {
5532       arg1->md_authority = 0;
5533     }
5534   }
5535   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
5536 }
5537 
5538 
5539 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1md_1authority_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5540   jstring jresult = 0 ;
5541   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5542   char *result = 0 ;
5543 
5544   (void)jenv;
5545   (void)jcls;
5546   arg1 = *(struct zxid_conf **)&jarg1;
5547   result = (char *) ((arg1)->md_authority);
5548   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
5549   return jresult;
5550 }
5551 
5552 
5553 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1cdc_1choice_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
5554   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5555   char arg2 ;
5556 
5557   (void)jenv;
5558   (void)jcls;
5559   arg1 = *(struct zxid_conf **)&jarg1;
5560   arg2 = (char)jarg2;
5561   if (arg1) (arg1)->cdc_choice = arg2;
5562 }
5563 
5564 
5565 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1cdc_1choice_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5566   jchar jresult = 0 ;
5567   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5568   char result;
5569 
5570   (void)jenv;
5571   (void)jcls;
5572   arg1 = *(struct zxid_conf **)&jarg1;
5573   result = (char) ((arg1)->cdc_choice);
5574   jresult = (jchar)result;
5575   return jresult;
5576 }
5577 
5578 
5579 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1md_1fetch_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
5580   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5581   char arg2 ;
5582 
5583   (void)jenv;
5584   (void)jcls;
5585   arg1 = *(struct zxid_conf **)&jarg1;
5586   arg2 = (char)jarg2;
5587   if (arg1) (arg1)->md_fetch = arg2;
5588 }
5589 
5590 
5591 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1md_1fetch_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5592   jchar jresult = 0 ;
5593   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5594   char result;
5595 
5596   (void)jenv;
5597   (void)jcls;
5598   arg1 = *(struct zxid_conf **)&jarg1;
5599   result = (char) ((arg1)->md_fetch);
5600   jresult = (jchar)result;
5601   return jresult;
5602 }
5603 
5604 
5605 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1md_1populate_1cache_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
5606   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5607   char arg2 ;
5608 
5609   (void)jenv;
5610   (void)jcls;
5611   arg1 = *(struct zxid_conf **)&jarg1;
5612   arg2 = (char)jarg2;
5613   if (arg1) (arg1)->md_populate_cache = arg2;
5614 }
5615 
5616 
5617 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1md_1populate_1cache_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5618   jchar jresult = 0 ;
5619   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5620   char result;
5621 
5622   (void)jenv;
5623   (void)jcls;
5624   arg1 = *(struct zxid_conf **)&jarg1;
5625   result = (char) ((arg1)->md_populate_cache);
5626   jresult = (jchar)result;
5627   return jresult;
5628 }
5629 
5630 
5631 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1md_1cache_1first_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
5632   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5633   char arg2 ;
5634 
5635   (void)jenv;
5636   (void)jcls;
5637   arg1 = *(struct zxid_conf **)&jarg1;
5638   arg2 = (char)jarg2;
5639   if (arg1) (arg1)->md_cache_first = arg2;
5640 }
5641 
5642 
5643 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1md_1cache_1first_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5644   jchar jresult = 0 ;
5645   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5646   char result;
5647 
5648   (void)jenv;
5649   (void)jcls;
5650   arg1 = *(struct zxid_conf **)&jarg1;
5651   result = (char) ((arg1)->md_cache_first);
5652   jresult = (jchar)result;
5653   return jresult;
5654 }
5655 
5656 
5657 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1md_1cache_1last_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
5658   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5659   char arg2 ;
5660 
5661   (void)jenv;
5662   (void)jcls;
5663   arg1 = *(struct zxid_conf **)&jarg1;
5664   arg2 = (char)jarg2;
5665   if (arg1) (arg1)->md_cache_last = arg2;
5666 }
5667 
5668 
5669 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1md_1cache_1last_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5670   jchar jresult = 0 ;
5671   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5672   char result;
5673 
5674   (void)jenv;
5675   (void)jcls;
5676   arg1 = *(struct zxid_conf **)&jarg1;
5677   result = (char) ((arg1)->md_cache_last);
5678   jresult = (jchar)result;
5679   return jresult;
5680 }
5681 
5682 
5683 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1auto_1cert_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
5684   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5685   char arg2 ;
5686 
5687   (void)jenv;
5688   (void)jcls;
5689   arg1 = *(struct zxid_conf **)&jarg1;
5690   arg2 = (char)jarg2;
5691   if (arg1) (arg1)->auto_cert = arg2;
5692 }
5693 
5694 
5695 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1auto_1cert_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5696   jchar jresult = 0 ;
5697   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5698   char result;
5699 
5700   (void)jenv;
5701   (void)jcls;
5702   arg1 = *(struct zxid_conf **)&jarg1;
5703   result = (char) ((arg1)->auto_cert);
5704   jresult = (jchar)result;
5705   return jresult;
5706 }
5707 
5708 
5709 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1ena_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
5710   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5711   char arg2 ;
5712 
5713   (void)jenv;
5714   (void)jcls;
5715   arg1 = *(struct zxid_conf **)&jarg1;
5716   arg2 = (char)jarg2;
5717   if (arg1) (arg1)->idp_ena = arg2;
5718 }
5719 
5720 
5721 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1ena_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5722   jchar jresult = 0 ;
5723   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5724   char result;
5725 
5726   (void)jenv;
5727   (void)jcls;
5728   arg1 = *(struct zxid_conf **)&jarg1;
5729   result = (char) ((arg1)->idp_ena);
5730   jresult = (jchar)result;
5731   return jresult;
5732 }
5733 
5734 
5735 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1imps_1ena_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
5736   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5737   char arg2 ;
5738 
5739   (void)jenv;
5740   (void)jcls;
5741   arg1 = *(struct zxid_conf **)&jarg1;
5742   arg2 = (char)jarg2;
5743   if (arg1) (arg1)->imps_ena = arg2;
5744 }
5745 
5746 
5747 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1imps_1ena_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5748   jchar jresult = 0 ;
5749   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5750   char result;
5751 
5752   (void)jenv;
5753   (void)jcls;
5754   arg1 = *(struct zxid_conf **)&jarg1;
5755   result = (char) ((arg1)->imps_ena);
5756   jresult = (jchar)result;
5757   return jresult;
5758 }
5759 
5760 
5761 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1as_1ena_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
5762   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5763   char arg2 ;
5764 
5765   (void)jenv;
5766   (void)jcls;
5767   arg1 = *(struct zxid_conf **)&jarg1;
5768   arg2 = (char)jarg2;
5769   if (arg1) (arg1)->as_ena = arg2;
5770 }
5771 
5772 
5773 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1as_1ena_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5774   jchar jresult = 0 ;
5775   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5776   char result;
5777 
5778   (void)jenv;
5779   (void)jcls;
5780   arg1 = *(struct zxid_conf **)&jarg1;
5781   result = (char) ((arg1)->as_ena);
5782   jresult = (jchar)result;
5783   return jresult;
5784 }
5785 
5786 
5787 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pdp_1ena_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
5788   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5789   char arg2 ;
5790 
5791   (void)jenv;
5792   (void)jcls;
5793   arg1 = *(struct zxid_conf **)&jarg1;
5794   arg2 = (char)jarg2;
5795   if (arg1) (arg1)->pdp_ena = arg2;
5796 }
5797 
5798 
5799 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pdp_1ena_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5800   jchar jresult = 0 ;
5801   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5802   char result;
5803 
5804   (void)jenv;
5805   (void)jcls;
5806   arg1 = *(struct zxid_conf **)&jarg1;
5807   result = (char) ((arg1)->pdp_ena);
5808   jresult = (jchar)result;
5809   return jresult;
5810 }
5811 
5812 
5813 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1authn_1req_1sign_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
5814   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5815   char arg2 ;
5816 
5817   (void)jenv;
5818   (void)jcls;
5819   arg1 = *(struct zxid_conf **)&jarg1;
5820   arg2 = (char)jarg2;
5821   if (arg1) (arg1)->authn_req_sign = arg2;
5822 }
5823 
5824 
5825 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1authn_1req_1sign_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5826   jchar jresult = 0 ;
5827   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5828   char result;
5829 
5830   (void)jenv;
5831   (void)jcls;
5832   arg1 = *(struct zxid_conf **)&jarg1;
5833   result = (char) ((arg1)->authn_req_sign);
5834   jresult = (jchar)result;
5835   return jresult;
5836 }
5837 
5838 
5839 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1want_1authn_1req_1signed_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
5840   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5841   char arg2 ;
5842 
5843   (void)jenv;
5844   (void)jcls;
5845   arg1 = *(struct zxid_conf **)&jarg1;
5846   arg2 = (char)jarg2;
5847   if (arg1) (arg1)->want_authn_req_signed = arg2;
5848 }
5849 
5850 
5851 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1want_1authn_1req_1signed_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5852   jchar jresult = 0 ;
5853   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5854   char result;
5855 
5856   (void)jenv;
5857   (void)jcls;
5858   arg1 = *(struct zxid_conf **)&jarg1;
5859   result = (char) ((arg1)->want_authn_req_signed);
5860   jresult = (jchar)result;
5861   return jresult;
5862 }
5863 
5864 
5865 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1want_1sso_1a7n_1signed_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
5866   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5867   char arg2 ;
5868 
5869   (void)jenv;
5870   (void)jcls;
5871   arg1 = *(struct zxid_conf **)&jarg1;
5872   arg2 = (char)jarg2;
5873   if (arg1) (arg1)->want_sso_a7n_signed = arg2;
5874 }
5875 
5876 
5877 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1want_1sso_1a7n_1signed_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5878   jchar jresult = 0 ;
5879   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5880   char result;
5881 
5882   (void)jenv;
5883   (void)jcls;
5884   arg1 = *(struct zxid_conf **)&jarg1;
5885   result = (char) ((arg1)->want_sso_a7n_signed);
5886   jresult = (jchar)result;
5887   return jresult;
5888 }
5889 
5890 
5891 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1sso_1soap_1sign_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
5892   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5893   char arg2 ;
5894 
5895   (void)jenv;
5896   (void)jcls;
5897   arg1 = *(struct zxid_conf **)&jarg1;
5898   arg2 = (char)jarg2;
5899   if (arg1) (arg1)->sso_soap_sign = arg2;
5900 }
5901 
5902 
5903 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1sso_1soap_1sign_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5904   jchar jresult = 0 ;
5905   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5906   char result;
5907 
5908   (void)jenv;
5909   (void)jcls;
5910   arg1 = *(struct zxid_conf **)&jarg1;
5911   result = (char) ((arg1)->sso_soap_sign);
5912   jresult = (jchar)result;
5913   return jresult;
5914 }
5915 
5916 
5917 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1sso_1soap_1resp_1sign_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
5918   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5919   char arg2 ;
5920 
5921   (void)jenv;
5922   (void)jcls;
5923   arg1 = *(struct zxid_conf **)&jarg1;
5924   arg2 = (char)jarg2;
5925   if (arg1) (arg1)->sso_soap_resp_sign = arg2;
5926 }
5927 
5928 
5929 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1sso_1soap_1resp_1sign_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5930   jchar jresult = 0 ;
5931   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5932   char result;
5933 
5934   (void)jenv;
5935   (void)jcls;
5936   arg1 = *(struct zxid_conf **)&jarg1;
5937   result = (char) ((arg1)->sso_soap_resp_sign);
5938   jresult = (jchar)result;
5939   return jresult;
5940 }
5941 
5942 
5943 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1sso_1sign_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
5944   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5945   char arg2 ;
5946 
5947   (void)jenv;
5948   (void)jcls;
5949   arg1 = *(struct zxid_conf **)&jarg1;
5950   arg2 = (char)jarg2;
5951   if (arg1) (arg1)->sso_sign = arg2;
5952 }
5953 
5954 
5955 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1sso_1sign_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5956   jchar jresult = 0 ;
5957   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5958   char result;
5959 
5960   (void)jenv;
5961   (void)jcls;
5962   arg1 = *(struct zxid_conf **)&jarg1;
5963   result = (char) ((arg1)->sso_sign);
5964   jresult = (jchar)result;
5965   return jresult;
5966 }
5967 
5968 
5969 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsc_1sign_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
5970   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5971   char arg2 ;
5972 
5973   (void)jenv;
5974   (void)jcls;
5975   arg1 = *(struct zxid_conf **)&jarg1;
5976   arg2 = (char)jarg2;
5977   if (arg1) (arg1)->wsc_sign = arg2;
5978 }
5979 
5980 
5981 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsc_1sign_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
5982   jchar jresult = 0 ;
5983   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5984   char result;
5985 
5986   (void)jenv;
5987   (void)jcls;
5988   arg1 = *(struct zxid_conf **)&jarg1;
5989   result = (char) ((arg1)->wsc_sign);
5990   jresult = (jchar)result;
5991   return jresult;
5992 }
5993 
5994 
5995 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsp_1sign_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
5996   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
5997   char arg2 ;
5998 
5999   (void)jenv;
6000   (void)jcls;
6001   arg1 = *(struct zxid_conf **)&jarg1;
6002   arg2 = (char)jarg2;
6003   if (arg1) (arg1)->wsp_sign = arg2;
6004 }
6005 
6006 
6007 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsp_1sign_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6008   jchar jresult = 0 ;
6009   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6010   char result;
6011 
6012   (void)jenv;
6013   (void)jcls;
6014   arg1 = *(struct zxid_conf **)&jarg1;
6015   result = (char) ((arg1)->wsp_sign);
6016   jresult = (jchar)result;
6017   return jresult;
6018 }
6019 
6020 
6021 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1nameid_1enc_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
6022   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6023   char arg2 ;
6024 
6025   (void)jenv;
6026   (void)jcls;
6027   arg1 = *(struct zxid_conf **)&jarg1;
6028   arg2 = (char)jarg2;
6029   if (arg1) (arg1)->nameid_enc = arg2;
6030 }
6031 
6032 
6033 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1nameid_1enc_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6034   jchar jresult = 0 ;
6035   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6036   char result;
6037 
6038   (void)jenv;
6039   (void)jcls;
6040   arg1 = *(struct zxid_conf **)&jarg1;
6041   result = (char) ((arg1)->nameid_enc);
6042   jresult = (jchar)result;
6043   return jresult;
6044 }
6045 
6046 
6047 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1post_1a7n_1enc_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
6048   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6049   char arg2 ;
6050 
6051   (void)jenv;
6052   (void)jcls;
6053   arg1 = *(struct zxid_conf **)&jarg1;
6054   arg2 = (char)jarg2;
6055   if (arg1) (arg1)->post_a7n_enc = arg2;
6056 }
6057 
6058 
6059 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1post_1a7n_1enc_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6060   jchar jresult = 0 ;
6061   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6062   char result;
6063 
6064   (void)jenv;
6065   (void)jcls;
6066   arg1 = *(struct zxid_conf **)&jarg1;
6067   result = (char) ((arg1)->post_a7n_enc);
6068   jresult = (jchar)result;
6069   return jresult;
6070 }
6071 
6072 
6073 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1di_1allow_1create_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
6074   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6075   char arg2 ;
6076 
6077   (void)jenv;
6078   (void)jcls;
6079   arg1 = *(struct zxid_conf **)&jarg1;
6080   arg2 = (char)jarg2;
6081   if (arg1) (arg1)->di_allow_create = arg2;
6082 }
6083 
6084 
6085 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1di_1allow_1create_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6086   jchar jresult = 0 ;
6087   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6088   char result;
6089 
6090   (void)jenv;
6091   (void)jcls;
6092   arg1 = *(struct zxid_conf **)&jarg1;
6093   result = (char) ((arg1)->di_allow_create);
6094   jresult = (jchar)result;
6095   return jresult;
6096 }
6097 
6098 
6099 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1di_1nid_1fmt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
6100   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6101   char arg2 ;
6102 
6103   (void)jenv;
6104   (void)jcls;
6105   arg1 = *(struct zxid_conf **)&jarg1;
6106   arg2 = (char)jarg2;
6107   if (arg1) (arg1)->di_nid_fmt = arg2;
6108 }
6109 
6110 
6111 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1di_1nid_1fmt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6112   jchar jresult = 0 ;
6113   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6114   char result;
6115 
6116   (void)jenv;
6117   (void)jcls;
6118   arg1 = *(struct zxid_conf **)&jarg1;
6119   result = (char) ((arg1)->di_nid_fmt);
6120   jresult = (jchar)result;
6121   return jresult;
6122 }
6123 
6124 
6125 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1di_1a7n_1enc_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
6126   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6127   char arg2 ;
6128 
6129   (void)jenv;
6130   (void)jcls;
6131   arg1 = *(struct zxid_conf **)&jarg1;
6132   arg2 = (char)jarg2;
6133   if (arg1) (arg1)->di_a7n_enc = arg2;
6134 }
6135 
6136 
6137 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1di_1a7n_1enc_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6138   jchar jresult = 0 ;
6139   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6140   char result;
6141 
6142   (void)jenv;
6143   (void)jcls;
6144   arg1 = *(struct zxid_conf **)&jarg1;
6145   result = (char) ((arg1)->di_a7n_enc);
6146   jresult = (jchar)result;
6147   return jresult;
6148 }
6149 
6150 
6151 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1show_1conf_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
6152   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6153   char arg2 ;
6154 
6155   (void)jenv;
6156   (void)jcls;
6157   arg1 = *(struct zxid_conf **)&jarg1;
6158   arg2 = (char)jarg2;
6159   if (arg1) (arg1)->show_conf = arg2;
6160 }
6161 
6162 
6163 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1show_1conf_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6164   jchar jresult = 0 ;
6165   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6166   char result;
6167 
6168   (void)jenv;
6169   (void)jcls;
6170   arg1 = *(struct zxid_conf **)&jarg1;
6171   result = (char) ((arg1)->show_conf);
6172   jresult = (jchar)result;
6173   return jresult;
6174 }
6175 
6176 
6177 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1sig_1fatal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
6178   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6179   char arg2 ;
6180 
6181   (void)jenv;
6182   (void)jcls;
6183   arg1 = *(struct zxid_conf **)&jarg1;
6184   arg2 = (char)jarg2;
6185   if (arg1) (arg1)->sig_fatal = arg2;
6186 }
6187 
6188 
6189 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1sig_1fatal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6190   jchar jresult = 0 ;
6191   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6192   char result;
6193 
6194   (void)jenv;
6195   (void)jcls;
6196   arg1 = *(struct zxid_conf **)&jarg1;
6197   result = (char) ((arg1)->sig_fatal);
6198   jresult = (jchar)result;
6199   return jresult;
6200 }
6201 
6202 
6203 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1nosig_1fatal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
6204   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6205   char arg2 ;
6206 
6207   (void)jenv;
6208   (void)jcls;
6209   arg1 = *(struct zxid_conf **)&jarg1;
6210   arg2 = (char)jarg2;
6211   if (arg1) (arg1)->nosig_fatal = arg2;
6212 }
6213 
6214 
6215 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1nosig_1fatal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6216   jchar jresult = 0 ;
6217   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6218   char result;
6219 
6220   (void)jenv;
6221   (void)jcls;
6222   arg1 = *(struct zxid_conf **)&jarg1;
6223   result = (char) ((arg1)->nosig_fatal);
6224   jresult = (jchar)result;
6225   return jresult;
6226 }
6227 
6228 
6229 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1msg_1sig_1ok_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
6230   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6231   char arg2 ;
6232 
6233   (void)jenv;
6234   (void)jcls;
6235   arg1 = *(struct zxid_conf **)&jarg1;
6236   arg2 = (char)jarg2;
6237   if (arg1) (arg1)->msg_sig_ok = arg2;
6238 }
6239 
6240 
6241 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1msg_1sig_1ok_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6242   jchar jresult = 0 ;
6243   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6244   char result;
6245 
6246   (void)jenv;
6247   (void)jcls;
6248   arg1 = *(struct zxid_conf **)&jarg1;
6249   result = (char) ((arg1)->msg_sig_ok);
6250   jresult = (jchar)result;
6251   return jresult;
6252 }
6253 
6254 
6255 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1timeout_1fatal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
6256   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6257   char arg2 ;
6258 
6259   (void)jenv;
6260   (void)jcls;
6261   arg1 = *(struct zxid_conf **)&jarg1;
6262   arg2 = (char)jarg2;
6263   if (arg1) (arg1)->timeout_fatal = arg2;
6264 }
6265 
6266 
6267 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1timeout_1fatal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6268   jchar jresult = 0 ;
6269   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6270   char result;
6271 
6272   (void)jenv;
6273   (void)jcls;
6274   arg1 = *(struct zxid_conf **)&jarg1;
6275   result = (char) ((arg1)->timeout_fatal);
6276   jresult = (jchar)result;
6277   return jresult;
6278 }
6279 
6280 
6281 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1audience_1fatal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
6282   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6283   char arg2 ;
6284 
6285   (void)jenv;
6286   (void)jcls;
6287   arg1 = *(struct zxid_conf **)&jarg1;
6288   arg2 = (char)jarg2;
6289   if (arg1) (arg1)->audience_fatal = arg2;
6290 }
6291 
6292 
6293 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1audience_1fatal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6294   jchar jresult = 0 ;
6295   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6296   char result;
6297 
6298   (void)jenv;
6299   (void)jcls;
6300   arg1 = *(struct zxid_conf **)&jarg1;
6301   result = (char) ((arg1)->audience_fatal);
6302   jresult = (jchar)result;
6303   return jresult;
6304 }
6305 
6306 
6307 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1dup_1a7n_1fatal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
6308   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6309   char arg2 ;
6310 
6311   (void)jenv;
6312   (void)jcls;
6313   arg1 = *(struct zxid_conf **)&jarg1;
6314   arg2 = (char)jarg2;
6315   if (arg1) (arg1)->dup_a7n_fatal = arg2;
6316 }
6317 
6318 
6319 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1dup_1a7n_1fatal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6320   jchar jresult = 0 ;
6321   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6322   char result;
6323 
6324   (void)jenv;
6325   (void)jcls;
6326   arg1 = *(struct zxid_conf **)&jarg1;
6327   result = (char) ((arg1)->dup_a7n_fatal);
6328   jresult = (jchar)result;
6329   return jresult;
6330 }
6331 
6332 
6333 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1dup_1msg_1fatal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
6334   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6335   char arg2 ;
6336 
6337   (void)jenv;
6338   (void)jcls;
6339   arg1 = *(struct zxid_conf **)&jarg1;
6340   arg2 = (char)jarg2;
6341   if (arg1) (arg1)->dup_msg_fatal = arg2;
6342 }
6343 
6344 
6345 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1dup_1msg_1fatal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6346   jchar jresult = 0 ;
6347   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6348   char result;
6349 
6350   (void)jenv;
6351   (void)jcls;
6352   arg1 = *(struct zxid_conf **)&jarg1;
6353   result = (char) ((arg1)->dup_msg_fatal);
6354   jresult = (jchar)result;
6355   return jresult;
6356 }
6357 
6358 
6359 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1relto_1fatal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
6360   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6361   char arg2 ;
6362 
6363   (void)jenv;
6364   (void)jcls;
6365   arg1 = *(struct zxid_conf **)&jarg1;
6366   arg2 = (char)jarg2;
6367   if (arg1) (arg1)->relto_fatal = arg2;
6368 }
6369 
6370 
6371 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1relto_1fatal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6372   jchar jresult = 0 ;
6373   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6374   char result;
6375 
6376   (void)jenv;
6377   (void)jcls;
6378   arg1 = *(struct zxid_conf **)&jarg1;
6379   result = (char) ((arg1)->relto_fatal);
6380   jresult = (jchar)result;
6381   return jresult;
6382 }
6383 
6384 
6385 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsp_1nosig_1fatal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
6386   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6387   char arg2 ;
6388 
6389   (void)jenv;
6390   (void)jcls;
6391   arg1 = *(struct zxid_conf **)&jarg1;
6392   arg2 = (char)jarg2;
6393   if (arg1) (arg1)->wsp_nosig_fatal = arg2;
6394 }
6395 
6396 
6397 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsp_1nosig_1fatal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6398   jchar jresult = 0 ;
6399   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6400   char result;
6401 
6402   (void)jenv;
6403   (void)jcls;
6404   arg1 = *(struct zxid_conf **)&jarg1;
6405   result = (char) ((arg1)->wsp_nosig_fatal);
6406   jresult = (jchar)result;
6407   return jresult;
6408 }
6409 
6410 
6411 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1notimestamp_1fatal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
6412   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6413   char arg2 ;
6414 
6415   (void)jenv;
6416   (void)jcls;
6417   arg1 = *(struct zxid_conf **)&jarg1;
6418   arg2 = (char)jarg2;
6419   if (arg1) (arg1)->notimestamp_fatal = arg2;
6420 }
6421 
6422 
6423 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1notimestamp_1fatal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6424   jchar jresult = 0 ;
6425   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6426   char result;
6427 
6428   (void)jenv;
6429   (void)jcls;
6430   arg1 = *(struct zxid_conf **)&jarg1;
6431   result = (char) ((arg1)->notimestamp_fatal);
6432   jresult = (jchar)result;
6433   return jresult;
6434 }
6435 
6436 
6437 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1canon_1inopt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
6438   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6439   char arg2 ;
6440 
6441   (void)jenv;
6442   (void)jcls;
6443   arg1 = *(struct zxid_conf **)&jarg1;
6444   arg2 = (char)jarg2;
6445   if (arg1) (arg1)->canon_inopt = arg2;
6446 }
6447 
6448 
6449 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1canon_1inopt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6450   jchar jresult = 0 ;
6451   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6452   char result;
6453 
6454   (void)jenv;
6455   (void)jcls;
6456   arg1 = *(struct zxid_conf **)&jarg1;
6457   result = (char) ((arg1)->canon_inopt);
6458   jresult = (jchar)result;
6459   return jresult;
6460 }
6461 
6462 
6463 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1enc_1tail_1opt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
6464   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6465   char arg2 ;
6466 
6467   (void)jenv;
6468   (void)jcls;
6469   arg1 = *(struct zxid_conf **)&jarg1;
6470   arg2 = (char)jarg2;
6471   if (arg1) (arg1)->enc_tail_opt = arg2;
6472 }
6473 
6474 
6475 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1enc_1tail_1opt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6476   jchar jresult = 0 ;
6477   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6478   char result;
6479 
6480   (void)jenv;
6481   (void)jcls;
6482   arg1 = *(struct zxid_conf **)&jarg1;
6483   result = (char) ((arg1)->enc_tail_opt);
6484   jresult = (jchar)result;
6485   return jresult;
6486 }
6487 
6488 
6489 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1enckey_1opt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
6490   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6491   char arg2 ;
6492 
6493   (void)jenv;
6494   (void)jcls;
6495   arg1 = *(struct zxid_conf **)&jarg1;
6496   arg2 = (char)jarg2;
6497   if (arg1) (arg1)->enckey_opt = arg2;
6498 }
6499 
6500 
6501 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1enckey_1opt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6502   jchar jresult = 0 ;
6503   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6504   char result;
6505 
6506   (void)jenv;
6507   (void)jcls;
6508   arg1 = *(struct zxid_conf **)&jarg1;
6509   result = (char) ((arg1)->enckey_opt);
6510   jresult = (jchar)result;
6511   return jresult;
6512 }
6513 
6514 
6515 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idpatopt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
6516   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6517   char arg2 ;
6518 
6519   (void)jenv;
6520   (void)jcls;
6521   arg1 = *(struct zxid_conf **)&jarg1;
6522   arg2 = (char)jarg2;
6523   if (arg1) (arg1)->idpatopt = arg2;
6524 }
6525 
6526 
6527 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idpatopt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6528   jchar jresult = 0 ;
6529   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6530   char result;
6531 
6532   (void)jenv;
6533   (void)jcls;
6534   arg1 = *(struct zxid_conf **)&jarg1;
6535   result = (char) ((arg1)->idpatopt);
6536   jresult = (jchar)result;
6537   return jresult;
6538 }
6539 
6540 
6541 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1list_1meth_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
6542   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6543   char arg2 ;
6544 
6545   (void)jenv;
6546   (void)jcls;
6547   arg1 = *(struct zxid_conf **)&jarg1;
6548   arg2 = (char)jarg2;
6549   if (arg1) (arg1)->idp_list_meth = arg2;
6550 }
6551 
6552 
6553 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1list_1meth_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6554   jchar jresult = 0 ;
6555   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6556   char result;
6557 
6558   (void)jenv;
6559   (void)jcls;
6560   arg1 = *(struct zxid_conf **)&jarg1;
6561   result = (char) ((arg1)->idp_list_meth);
6562   jresult = (jchar)result;
6563   return jresult;
6564 }
6565 
6566 
6567 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1cpn_1ena_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
6568   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6569   char arg2 ;
6570 
6571   (void)jenv;
6572   (void)jcls;
6573   arg1 = *(struct zxid_conf **)&jarg1;
6574   arg2 = (char)jarg2;
6575   if (arg1) (arg1)->cpn_ena = arg2;
6576 }
6577 
6578 
6579 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1cpn_1ena_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6580   jchar jresult = 0 ;
6581   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6582   char result;
6583 
6584   (void)jenv;
6585   (void)jcls;
6586   arg1 = *(struct zxid_conf **)&jarg1;
6587   result = (char) ((arg1)->cpn_ena);
6588   jresult = (jchar)result;
6589   return jresult;
6590 }
6591 
6592 
6593 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1affiliation_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
6594   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6595   char *arg2 = (char *) 0 ;
6596 
6597   (void)jenv;
6598   (void)jcls;
6599   arg1 = *(struct zxid_conf **)&jarg1;
6600   arg2 = 0;
6601   if (jarg2) {
6602     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
6603     if (!arg2) return ;
6604   }
6605   {
6606     if (arg2) {
6607       arg1->affiliation = (char *) malloc(strlen(( char *)arg2)+1);
6608       strcpy((char *)arg1->affiliation, ( char *)arg2);
6609     } else {
6610       arg1->affiliation = 0;
6611     }
6612   }
6613   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
6614 }
6615 
6616 
6617 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1affiliation_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6618   jstring jresult = 0 ;
6619   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6620   char *result = 0 ;
6621 
6622   (void)jenv;
6623   (void)jcls;
6624   arg1 = *(struct zxid_conf **)&jarg1;
6625   result = (char *) ((arg1)->affiliation);
6626   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
6627   return jresult;
6628 }
6629 
6630 
6631 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1nice_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
6632   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6633   char *arg2 = (char *) 0 ;
6634 
6635   (void)jenv;
6636   (void)jcls;
6637   arg1 = *(struct zxid_conf **)&jarg1;
6638   arg2 = 0;
6639   if (jarg2) {
6640     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
6641     if (!arg2) return ;
6642   }
6643   {
6644     if (arg2) {
6645       arg1->nice_name = (char *) malloc(strlen(( char *)arg2)+1);
6646       strcpy((char *)arg1->nice_name, ( char *)arg2);
6647     } else {
6648       arg1->nice_name = 0;
6649     }
6650   }
6651   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
6652 }
6653 
6654 
6655 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1nice_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6656   jstring jresult = 0 ;
6657   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6658   char *result = 0 ;
6659 
6660   (void)jenv;
6661   (void)jcls;
6662   arg1 = *(struct zxid_conf **)&jarg1;
6663   result = (char *) ((arg1)->nice_name);
6664   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
6665   return jresult;
6666 }
6667 
6668 
6669 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1button_1url_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
6670   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6671   char *arg2 = (char *) 0 ;
6672 
6673   (void)jenv;
6674   (void)jcls;
6675   arg1 = *(struct zxid_conf **)&jarg1;
6676   arg2 = 0;
6677   if (jarg2) {
6678     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
6679     if (!arg2) return ;
6680   }
6681   {
6682     if (arg2) {
6683       arg1->button_url = (char *) malloc(strlen(( char *)arg2)+1);
6684       strcpy((char *)arg1->button_url, ( char *)arg2);
6685     } else {
6686       arg1->button_url = 0;
6687     }
6688   }
6689   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
6690 }
6691 
6692 
6693 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1button_1url_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6694   jstring jresult = 0 ;
6695   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6696   char *result = 0 ;
6697 
6698   (void)jenv;
6699   (void)jcls;
6700   arg1 = *(struct zxid_conf **)&jarg1;
6701   result = (char *) ((arg1)->button_url);
6702   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
6703   return jresult;
6704 }
6705 
6706 
6707 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pref_1button_1size_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
6708   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6709   char *arg2 = (char *) 0 ;
6710 
6711   (void)jenv;
6712   (void)jcls;
6713   arg1 = *(struct zxid_conf **)&jarg1;
6714   arg2 = 0;
6715   if (jarg2) {
6716     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
6717     if (!arg2) return ;
6718   }
6719   {
6720     if (arg2) {
6721       arg1->pref_button_size = (char *) malloc(strlen(( char *)arg2)+1);
6722       strcpy((char *)arg1->pref_button_size, ( char *)arg2);
6723     } else {
6724       arg1->pref_button_size = 0;
6725     }
6726   }
6727   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
6728 }
6729 
6730 
6731 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pref_1button_1size_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6732   jstring jresult = 0 ;
6733   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6734   char *result = 0 ;
6735 
6736   (void)jenv;
6737   (void)jcls;
6738   arg1 = *(struct zxid_conf **)&jarg1;
6739   result = (char *) ((arg1)->pref_button_size);
6740   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
6741   return jresult;
6742 }
6743 
6744 
6745 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1org_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
6746   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6747   char *arg2 = (char *) 0 ;
6748 
6749   (void)jenv;
6750   (void)jcls;
6751   arg1 = *(struct zxid_conf **)&jarg1;
6752   arg2 = 0;
6753   if (jarg2) {
6754     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
6755     if (!arg2) return ;
6756   }
6757   {
6758     if (arg2) {
6759       arg1->org_name = (char *) malloc(strlen(( char *)arg2)+1);
6760       strcpy((char *)arg1->org_name, ( char *)arg2);
6761     } else {
6762       arg1->org_name = 0;
6763     }
6764   }
6765   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
6766 }
6767 
6768 
6769 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1org_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6770   jstring jresult = 0 ;
6771   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6772   char *result = 0 ;
6773 
6774   (void)jenv;
6775   (void)jcls;
6776   arg1 = *(struct zxid_conf **)&jarg1;
6777   result = (char *) ((arg1)->org_name);
6778   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
6779   return jresult;
6780 }
6781 
6782 
6783 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1locality_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
6784   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6785   char *arg2 = (char *) 0 ;
6786 
6787   (void)jenv;
6788   (void)jcls;
6789   arg1 = *(struct zxid_conf **)&jarg1;
6790   arg2 = 0;
6791   if (jarg2) {
6792     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
6793     if (!arg2) return ;
6794   }
6795   {
6796     if (arg2) {
6797       arg1->locality = (char *) malloc(strlen(( char *)arg2)+1);
6798       strcpy((char *)arg1->locality, ( char *)arg2);
6799     } else {
6800       arg1->locality = 0;
6801     }
6802   }
6803   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
6804 }
6805 
6806 
6807 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1locality_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6808   jstring jresult = 0 ;
6809   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6810   char *result = 0 ;
6811 
6812   (void)jenv;
6813   (void)jcls;
6814   arg1 = *(struct zxid_conf **)&jarg1;
6815   result = (char *) ((arg1)->locality);
6816   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
6817   return jresult;
6818 }
6819 
6820 
6821 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1state_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
6822   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6823   char *arg2 = (char *) 0 ;
6824 
6825   (void)jenv;
6826   (void)jcls;
6827   arg1 = *(struct zxid_conf **)&jarg1;
6828   arg2 = 0;
6829   if (jarg2) {
6830     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
6831     if (!arg2) return ;
6832   }
6833   {
6834     if (arg2) {
6835       arg1->state = (char *) malloc(strlen(( char *)arg2)+1);
6836       strcpy((char *)arg1->state, ( char *)arg2);
6837     } else {
6838       arg1->state = 0;
6839     }
6840   }
6841   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
6842 }
6843 
6844 
6845 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1state_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6846   jstring jresult = 0 ;
6847   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6848   char *result = 0 ;
6849 
6850   (void)jenv;
6851   (void)jcls;
6852   arg1 = *(struct zxid_conf **)&jarg1;
6853   result = (char *) ((arg1)->state);
6854   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
6855   return jresult;
6856 }
6857 
6858 
6859 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1country_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
6860   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6861   char *arg2 = (char *) 0 ;
6862 
6863   (void)jenv;
6864   (void)jcls;
6865   arg1 = *(struct zxid_conf **)&jarg1;
6866   arg2 = 0;
6867   if (jarg2) {
6868     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
6869     if (!arg2) return ;
6870   }
6871   {
6872     if (arg2) {
6873       arg1->country = (char *) malloc(strlen(( char *)arg2)+1);
6874       strcpy((char *)arg1->country, ( char *)arg2);
6875     } else {
6876       arg1->country = 0;
6877     }
6878   }
6879   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
6880 }
6881 
6882 
6883 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1country_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6884   jstring jresult = 0 ;
6885   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6886   char *result = 0 ;
6887 
6888   (void)jenv;
6889   (void)jcls;
6890   arg1 = *(struct zxid_conf **)&jarg1;
6891   result = (char *) ((arg1)->country);
6892   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
6893   return jresult;
6894 }
6895 
6896 
6897 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1contact_1org_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
6898   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6899   char *arg2 = (char *) 0 ;
6900 
6901   (void)jenv;
6902   (void)jcls;
6903   arg1 = *(struct zxid_conf **)&jarg1;
6904   arg2 = 0;
6905   if (jarg2) {
6906     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
6907     if (!arg2) return ;
6908   }
6909   {
6910     if (arg2) {
6911       arg1->contact_org = (char *) malloc(strlen(( char *)arg2)+1);
6912       strcpy((char *)arg1->contact_org, ( char *)arg2);
6913     } else {
6914       arg1->contact_org = 0;
6915     }
6916   }
6917   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
6918 }
6919 
6920 
6921 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1contact_1org_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6922   jstring jresult = 0 ;
6923   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6924   char *result = 0 ;
6925 
6926   (void)jenv;
6927   (void)jcls;
6928   arg1 = *(struct zxid_conf **)&jarg1;
6929   result = (char *) ((arg1)->contact_org);
6930   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
6931   return jresult;
6932 }
6933 
6934 
6935 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1contact_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
6936   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6937   char *arg2 = (char *) 0 ;
6938 
6939   (void)jenv;
6940   (void)jcls;
6941   arg1 = *(struct zxid_conf **)&jarg1;
6942   arg2 = 0;
6943   if (jarg2) {
6944     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
6945     if (!arg2) return ;
6946   }
6947   {
6948     if (arg2) {
6949       arg1->contact_name = (char *) malloc(strlen(( char *)arg2)+1);
6950       strcpy((char *)arg1->contact_name, ( char *)arg2);
6951     } else {
6952       arg1->contact_name = 0;
6953     }
6954   }
6955   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
6956 }
6957 
6958 
6959 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1contact_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6960   jstring jresult = 0 ;
6961   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6962   char *result = 0 ;
6963 
6964   (void)jenv;
6965   (void)jcls;
6966   arg1 = *(struct zxid_conf **)&jarg1;
6967   result = (char *) ((arg1)->contact_name);
6968   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
6969   return jresult;
6970 }
6971 
6972 
6973 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1contact_1email_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
6974   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
6975   char *arg2 = (char *) 0 ;
6976 
6977   (void)jenv;
6978   (void)jcls;
6979   arg1 = *(struct zxid_conf **)&jarg1;
6980   arg2 = 0;
6981   if (jarg2) {
6982     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
6983     if (!arg2) return ;
6984   }
6985   {
6986     if (arg2) {
6987       arg1->contact_email = (char *) malloc(strlen(( char *)arg2)+1);
6988       strcpy((char *)arg1->contact_email, ( char *)arg2);
6989     } else {
6990       arg1->contact_email = 0;
6991     }
6992   }
6993   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
6994 }
6995 
6996 
6997 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1contact_1email_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
6998   jstring jresult = 0 ;
6999   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7000   char *result = 0 ;
7001 
7002   (void)jenv;
7003   (void)jcls;
7004   arg1 = *(struct zxid_conf **)&jarg1;
7005   result = (char *) ((arg1)->contact_email);
7006   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
7007   return jresult;
7008 }
7009 
7010 
7011 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1contact_1tel_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
7012   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7013   char *arg2 = (char *) 0 ;
7014 
7015   (void)jenv;
7016   (void)jcls;
7017   arg1 = *(struct zxid_conf **)&jarg1;
7018   arg2 = 0;
7019   if (jarg2) {
7020     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
7021     if (!arg2) return ;
7022   }
7023   {
7024     if (arg2) {
7025       arg1->contact_tel = (char *) malloc(strlen(( char *)arg2)+1);
7026       strcpy((char *)arg1->contact_tel, ( char *)arg2);
7027     } else {
7028       arg1->contact_tel = 0;
7029     }
7030   }
7031   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
7032 }
7033 
7034 
7035 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1contact_1tel_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7036   jstring jresult = 0 ;
7037   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7038   char *result = 0 ;
7039 
7040   (void)jenv;
7041   (void)jcls;
7042   arg1 = *(struct zxid_conf **)&jarg1;
7043   result = (char *) ((arg1)->contact_tel);
7044   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
7045   return jresult;
7046 }
7047 
7048 
7049 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1fedusername_1suffix_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
7050   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7051   char *arg2 = (char *) 0 ;
7052 
7053   (void)jenv;
7054   (void)jcls;
7055   arg1 = *(struct zxid_conf **)&jarg1;
7056   arg2 = 0;
7057   if (jarg2) {
7058     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
7059     if (!arg2) return ;
7060   }
7061   {
7062     if (arg2) {
7063       arg1->fedusername_suffix = (char *) malloc(strlen(( char *)arg2)+1);
7064       strcpy((char *)arg1->fedusername_suffix, ( char *)arg2);
7065     } else {
7066       arg1->fedusername_suffix = 0;
7067     }
7068   }
7069   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
7070 }
7071 
7072 
7073 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1fedusername_1suffix_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7074   jstring jresult = 0 ;
7075   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7076   char *result = 0 ;
7077 
7078   (void)jenv;
7079   (void)jcls;
7080   arg1 = *(struct zxid_conf **)&jarg1;
7081   result = (char *) ((arg1)->fedusername_suffix);
7082   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
7083   return jresult;
7084 }
7085 
7086 
7087 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1ses_1arch_1dir_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
7088   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7089   char *arg2 = (char *) 0 ;
7090 
7091   (void)jenv;
7092   (void)jcls;
7093   arg1 = *(struct zxid_conf **)&jarg1;
7094   arg2 = 0;
7095   if (jarg2) {
7096     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
7097     if (!arg2) return ;
7098   }
7099   {
7100     if (arg2) {
7101       arg1->ses_arch_dir = (char *) malloc(strlen(( char *)arg2)+1);
7102       strcpy((char *)arg1->ses_arch_dir, ( char *)arg2);
7103     } else {
7104       arg1->ses_arch_dir = 0;
7105     }
7106   }
7107   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
7108 }
7109 
7110 
7111 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1ses_1arch_1dir_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7112   jstring jresult = 0 ;
7113   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7114   char *result = 0 ;
7115 
7116   (void)jenv;
7117   (void)jcls;
7118   arg1 = *(struct zxid_conf **)&jarg1;
7119   result = (char *) ((arg1)->ses_arch_dir);
7120   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
7121   return jresult;
7122 }
7123 
7124 
7125 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1ses_1cookie_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
7126   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7127   char *arg2 = (char *) 0 ;
7128 
7129   (void)jenv;
7130   (void)jcls;
7131   arg1 = *(struct zxid_conf **)&jarg1;
7132   arg2 = 0;
7133   if (jarg2) {
7134     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
7135     if (!arg2) return ;
7136   }
7137   {
7138     if (arg2) {
7139       arg1->ses_cookie_name = (char *) malloc(strlen(( char *)arg2)+1);
7140       strcpy((char *)arg1->ses_cookie_name, ( char *)arg2);
7141     } else {
7142       arg1->ses_cookie_name = 0;
7143     }
7144   }
7145   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
7146 }
7147 
7148 
7149 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1ses_1cookie_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7150   jstring jresult = 0 ;
7151   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7152   char *result = 0 ;
7153 
7154   (void)jenv;
7155   (void)jcls;
7156   arg1 = *(struct zxid_conf **)&jarg1;
7157   result = (char *) ((arg1)->ses_cookie_name);
7158   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
7159   return jresult;
7160 }
7161 
7162 
7163 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1ptm_1cookie_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
7164   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7165   char *arg2 = (char *) 0 ;
7166 
7167   (void)jenv;
7168   (void)jcls;
7169   arg1 = *(struct zxid_conf **)&jarg1;
7170   arg2 = 0;
7171   if (jarg2) {
7172     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
7173     if (!arg2) return ;
7174   }
7175   {
7176     if (arg2) {
7177       arg1->ptm_cookie_name = (char *) malloc(strlen(( char *)arg2)+1);
7178       strcpy((char *)arg1->ptm_cookie_name, ( char *)arg2);
7179     } else {
7180       arg1->ptm_cookie_name = 0;
7181     }
7182   }
7183   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
7184 }
7185 
7186 
7187 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1ptm_1cookie_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7188   jstring jresult = 0 ;
7189   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7190   char *result = 0 ;
7191 
7192   (void)jenv;
7193   (void)jcls;
7194   arg1 = *(struct zxid_conf **)&jarg1;
7195   result = (char *) ((arg1)->ptm_cookie_name);
7196   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
7197   return jresult;
7198 }
7199 
7200 
7201 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1ipport_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
7202   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7203   char *arg2 = (char *) 0 ;
7204 
7205   (void)jenv;
7206   (void)jcls;
7207   arg1 = *(struct zxid_conf **)&jarg1;
7208   arg2 = 0;
7209   if (jarg2) {
7210     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
7211     if (!arg2) return ;
7212   }
7213   {
7214     if (arg2) {
7215       arg1->ipport = (char *) malloc(strlen(( char *)arg2)+1);
7216       strcpy((char *)arg1->ipport, ( char *)arg2);
7217     } else {
7218       arg1->ipport = 0;
7219     }
7220   }
7221   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
7222 }
7223 
7224 
7225 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1ipport_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7226   jstring jresult = 0 ;
7227   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7228   char *result = 0 ;
7229 
7230   (void)jenv;
7231   (void)jcls;
7232   arg1 = *(struct zxid_conf **)&jarg1;
7233   result = (char *) ((arg1)->ipport);
7234   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
7235   return jresult;
7236 }
7237 
7238 
7239 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1load_1cot_1cache_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
7240   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7241   char *arg2 = (char *) 0 ;
7242 
7243   (void)jenv;
7244   (void)jcls;
7245   arg1 = *(struct zxid_conf **)&jarg1;
7246   arg2 = 0;
7247   if (jarg2) {
7248     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
7249     if (!arg2) return ;
7250   }
7251   {
7252     if (arg2) {
7253       arg1->load_cot_cache = (char *) malloc(strlen(( char *)arg2)+1);
7254       strcpy((char *)arg1->load_cot_cache, ( char *)arg2);
7255     } else {
7256       arg1->load_cot_cache = 0;
7257     }
7258   }
7259   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
7260 }
7261 
7262 
7263 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1load_1cot_1cache_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7264   jstring jresult = 0 ;
7265   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7266   char *result = 0 ;
7267 
7268   (void)jenv;
7269   (void)jcls;
7270   arg1 = *(struct zxid_conf **)&jarg1;
7271   result = (char *) ((arg1)->load_cot_cache);
7272   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
7273   return jresult;
7274 }
7275 
7276 
7277 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wspcgicmd_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
7278   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7279   char *arg2 = (char *) 0 ;
7280 
7281   (void)jenv;
7282   (void)jcls;
7283   arg1 = *(struct zxid_conf **)&jarg1;
7284   arg2 = 0;
7285   if (jarg2) {
7286     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
7287     if (!arg2) return ;
7288   }
7289   {
7290     if (arg2) {
7291       arg1->wspcgicmd = (char *) malloc(strlen(( char *)arg2)+1);
7292       strcpy((char *)arg1->wspcgicmd, ( char *)arg2);
7293     } else {
7294       arg1->wspcgicmd = 0;
7295     }
7296   }
7297   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
7298 }
7299 
7300 
7301 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wspcgicmd_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7302   jstring jresult = 0 ;
7303   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7304   char *result = 0 ;
7305 
7306   (void)jenv;
7307   (void)jcls;
7308   arg1 = *(struct zxid_conf **)&jarg1;
7309   result = (char *) ((arg1)->wspcgicmd);
7310   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
7311   return jresult;
7312 }
7313 
7314 
7315 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1anon_1ok_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
7316   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7317   char *arg2 = (char *) 0 ;
7318 
7319   (void)jenv;
7320   (void)jcls;
7321   arg1 = *(struct zxid_conf **)&jarg1;
7322   arg2 = 0;
7323   if (jarg2) {
7324     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
7325     if (!arg2) return ;
7326   }
7327   {
7328     if (arg2) {
7329       arg1->anon_ok = (char *) malloc(strlen(( char *)arg2)+1);
7330       strcpy((char *)arg1->anon_ok, ( char *)arg2);
7331     } else {
7332       arg1->anon_ok = 0;
7333     }
7334   }
7335   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
7336 }
7337 
7338 
7339 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1anon_1ok_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7340   jstring jresult = 0 ;
7341   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7342   char *result = 0 ;
7343 
7344   (void)jenv;
7345   (void)jcls;
7346   arg1 = *(struct zxid_conf **)&jarg1;
7347   result = (char *) ((arg1)->anon_ok);
7348   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
7349   return jresult;
7350 }
7351 
7352 
7353 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1optional_1login_1pat_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
7354   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7355   char *arg2 = (char *) 0 ;
7356 
7357   (void)jenv;
7358   (void)jcls;
7359   arg1 = *(struct zxid_conf **)&jarg1;
7360   arg2 = 0;
7361   if (jarg2) {
7362     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
7363     if (!arg2) return ;
7364   }
7365   {
7366     if (arg2) {
7367       arg1->optional_login_pat = (char *) malloc(strlen(( char *)arg2)+1);
7368       strcpy((char *)arg1->optional_login_pat, ( char *)arg2);
7369     } else {
7370       arg1->optional_login_pat = 0;
7371     }
7372   }
7373   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
7374 }
7375 
7376 
7377 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1optional_1login_1pat_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7378   jstring jresult = 0 ;
7379   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7380   char *result = 0 ;
7381 
7382   (void)jenv;
7383   (void)jcls;
7384   arg1 = *(struct zxid_conf **)&jarg1;
7385   result = (char *) ((arg1)->optional_login_pat);
7386   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
7387   return jresult;
7388 }
7389 
7390 
7391 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1required_1authnctx_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
7392   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7393   char **arg2 = (char **) 0 ;
7394 
7395   (void)jenv;
7396   (void)jcls;
7397   arg1 = *(struct zxid_conf **)&jarg1;
7398   arg2 = *(char ***)&jarg2;
7399   if (arg1) (arg1)->required_authnctx = arg2;
7400 }
7401 
7402 
7403 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1required_1authnctx_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7404   jlong jresult = 0 ;
7405   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7406   char **result = 0 ;
7407 
7408   (void)jenv;
7409   (void)jcls;
7410   arg1 = *(struct zxid_conf **)&jarg1;
7411   result = (char **) ((arg1)->required_authnctx);
7412   *(char ***)&jresult = result;
7413   return jresult;
7414 }
7415 
7416 
7417 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1issue_1authnctx_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
7418   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7419   struct zxid_cstr_list *arg2 = (struct zxid_cstr_list *) 0 ;
7420 
7421   (void)jenv;
7422   (void)jcls;
7423   arg1 = *(struct zxid_conf **)&jarg1;
7424   arg2 = *(struct zxid_cstr_list **)&jarg2;
7425   if (arg1) (arg1)->issue_authnctx = arg2;
7426 }
7427 
7428 
7429 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1issue_1authnctx_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7430   jlong jresult = 0 ;
7431   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7432   struct zxid_cstr_list *result = 0 ;
7433 
7434   (void)jenv;
7435   (void)jcls;
7436   arg1 = *(struct zxid_conf **)&jarg1;
7437   result = (struct zxid_cstr_list *) ((arg1)->issue_authnctx);
7438   *(struct zxid_cstr_list **)&jresult = result;
7439   return jresult;
7440 }
7441 
7442 
7443 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1pref_1acs_1binding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
7444   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7445   char *arg2 = (char *) 0 ;
7446 
7447   (void)jenv;
7448   (void)jcls;
7449   arg1 = *(struct zxid_conf **)&jarg1;
7450   arg2 = 0;
7451   if (jarg2) {
7452     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
7453     if (!arg2) return ;
7454   }
7455   {
7456     if (arg2) {
7457       arg1->idp_pref_acs_binding = (char *) malloc(strlen(( char *)arg2)+1);
7458       strcpy((char *)arg1->idp_pref_acs_binding, ( char *)arg2);
7459     } else {
7460       arg1->idp_pref_acs_binding = 0;
7461     }
7462   }
7463   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
7464 }
7465 
7466 
7467 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1pref_1acs_1binding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7468   jstring jresult = 0 ;
7469   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7470   char *result = 0 ;
7471 
7472   (void)jenv;
7473   (void)jcls;
7474   arg1 = *(struct zxid_conf **)&jarg1;
7475   result = (char *) ((arg1)->idp_pref_acs_binding);
7476   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
7477   return jresult;
7478 }
7479 
7480 
7481 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mandatory_1attr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
7482   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7483   char *arg2 = (char *) 0 ;
7484 
7485   (void)jenv;
7486   (void)jcls;
7487   arg1 = *(struct zxid_conf **)&jarg1;
7488   arg2 = 0;
7489   if (jarg2) {
7490     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
7491     if (!arg2) return ;
7492   }
7493   {
7494     if (arg2) {
7495       arg1->mandatory_attr = (char *) malloc(strlen(( char *)arg2)+1);
7496       strcpy((char *)arg1->mandatory_attr, ( char *)arg2);
7497     } else {
7498       arg1->mandatory_attr = 0;
7499     }
7500   }
7501   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
7502 }
7503 
7504 
7505 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mandatory_1attr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7506   jstring jresult = 0 ;
7507   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7508   char *result = 0 ;
7509 
7510   (void)jenv;
7511   (void)jcls;
7512   arg1 = *(struct zxid_conf **)&jarg1;
7513   result = (char *) ((arg1)->mandatory_attr);
7514   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
7515   return jresult;
7516 }
7517 
7518 
7519 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1before_1slop_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
7520   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7521   int arg2 ;
7522 
7523   (void)jenv;
7524   (void)jcls;
7525   arg1 = *(struct zxid_conf **)&jarg1;
7526   arg2 = (int)jarg2;
7527   if (arg1) (arg1)->before_slop = arg2;
7528 }
7529 
7530 
7531 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1before_1slop_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7532   jint jresult = 0 ;
7533   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7534   int result;
7535 
7536   (void)jenv;
7537   (void)jcls;
7538   arg1 = *(struct zxid_conf **)&jarg1;
7539   result = (int) ((arg1)->before_slop);
7540   jresult = (jint)result;
7541   return jresult;
7542 }
7543 
7544 
7545 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1after_1slop_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
7546   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7547   int arg2 ;
7548 
7549   (void)jenv;
7550   (void)jcls;
7551   arg1 = *(struct zxid_conf **)&jarg1;
7552   arg2 = (int)jarg2;
7553   if (arg1) (arg1)->after_slop = arg2;
7554 }
7555 
7556 
7557 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1after_1slop_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7558   jint jresult = 0 ;
7559   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7560   int result;
7561 
7562   (void)jenv;
7563   (void)jcls;
7564   arg1 = *(struct zxid_conf **)&jarg1;
7565   result = (int) ((arg1)->after_slop);
7566   jresult = (jint)result;
7567   return jresult;
7568 }
7569 
7570 
7571 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1timeskew_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
7572   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7573   int arg2 ;
7574 
7575   (void)jenv;
7576   (void)jcls;
7577   arg1 = *(struct zxid_conf **)&jarg1;
7578   arg2 = (int)jarg2;
7579   if (arg1) (arg1)->timeskew = arg2;
7580 }
7581 
7582 
7583 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1timeskew_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7584   jint jresult = 0 ;
7585   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7586   int result;
7587 
7588   (void)jenv;
7589   (void)jcls;
7590   arg1 = *(struct zxid_conf **)&jarg1;
7591   result = (int) ((arg1)->timeskew);
7592   jresult = (jint)result;
7593   return jresult;
7594 }
7595 
7596 
7597 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1a7nttl_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
7598   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7599   int arg2 ;
7600 
7601   (void)jenv;
7602   (void)jcls;
7603   arg1 = *(struct zxid_conf **)&jarg1;
7604   arg2 = (int)jarg2;
7605   if (arg1) (arg1)->a7nttl = arg2;
7606 }
7607 
7608 
7609 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1a7nttl_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7610   jint jresult = 0 ;
7611   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7612   int result;
7613 
7614   (void)jenv;
7615   (void)jcls;
7616   arg1 = *(struct zxid_conf **)&jarg1;
7617   result = (int) ((arg1)->a7nttl);
7618   jresult = (jint)result;
7619   return jresult;
7620 }
7621 
7622 
7623 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pdp_1url_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
7624   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7625   char *arg2 = (char *) 0 ;
7626 
7627   (void)jenv;
7628   (void)jcls;
7629   arg1 = *(struct zxid_conf **)&jarg1;
7630   arg2 = 0;
7631   if (jarg2) {
7632     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
7633     if (!arg2) return ;
7634   }
7635   {
7636     if (arg2) {
7637       arg1->pdp_url = (char *) malloc(strlen(( char *)arg2)+1);
7638       strcpy((char *)arg1->pdp_url, ( char *)arg2);
7639     } else {
7640       arg1->pdp_url = 0;
7641     }
7642   }
7643   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
7644 }
7645 
7646 
7647 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pdp_1url_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7648   jstring jresult = 0 ;
7649   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7650   char *result = 0 ;
7651 
7652   (void)jenv;
7653   (void)jcls;
7654   arg1 = *(struct zxid_conf **)&jarg1;
7655   result = (char *) ((arg1)->pdp_url);
7656   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
7657   return jresult;
7658 }
7659 
7660 
7661 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pdp_1call_1url_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
7662   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7663   char *arg2 = (char *) 0 ;
7664 
7665   (void)jenv;
7666   (void)jcls;
7667   arg1 = *(struct zxid_conf **)&jarg1;
7668   arg2 = 0;
7669   if (jarg2) {
7670     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
7671     if (!arg2) return ;
7672   }
7673   {
7674     if (arg2) {
7675       arg1->pdp_call_url = (char *) malloc(strlen(( char *)arg2)+1);
7676       strcpy((char *)arg1->pdp_call_url, ( char *)arg2);
7677     } else {
7678       arg1->pdp_call_url = 0;
7679     }
7680   }
7681   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
7682 }
7683 
7684 
7685 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pdp_1call_1url_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7686   jstring jresult = 0 ;
7687   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7688   char *result = 0 ;
7689 
7690   (void)jenv;
7691   (void)jcls;
7692   arg1 = *(struct zxid_conf **)&jarg1;
7693   result = (char *) ((arg1)->pdp_call_url);
7694   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
7695   return jresult;
7696 }
7697 
7698 
7699 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1xasp_1vers_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
7700   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7701   char *arg2 = (char *) 0 ;
7702 
7703   (void)jenv;
7704   (void)jcls;
7705   arg1 = *(struct zxid_conf **)&jarg1;
7706   arg2 = 0;
7707   if (jarg2) {
7708     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
7709     if (!arg2) return ;
7710   }
7711   {
7712     if (arg2) {
7713       arg1->xasp_vers = (char *) malloc(strlen(( char *)arg2)+1);
7714       strcpy((char *)arg1->xasp_vers, ( char *)arg2);
7715     } else {
7716       arg1->xasp_vers = 0;
7717     }
7718   }
7719   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
7720 }
7721 
7722 
7723 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1xasp_1vers_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7724   jstring jresult = 0 ;
7725   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7726   char *result = 0 ;
7727 
7728   (void)jenv;
7729   (void)jcls;
7730   arg1 = *(struct zxid_conf **)&jarg1;
7731   result = (char *) ((arg1)->xasp_vers);
7732   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
7733   return jresult;
7734 }
7735 
7736 
7737 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1trustpdp_1url_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
7738   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7739   char *arg2 = (char *) 0 ;
7740 
7741   (void)jenv;
7742   (void)jcls;
7743   arg1 = *(struct zxid_conf **)&jarg1;
7744   arg2 = 0;
7745   if (jarg2) {
7746     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
7747     if (!arg2) return ;
7748   }
7749   {
7750     if (arg2) {
7751       arg1->trustpdp_url = (char *) malloc(strlen(( char *)arg2)+1);
7752       strcpy((char *)arg1->trustpdp_url, ( char *)arg2);
7753     } else {
7754       arg1->trustpdp_url = 0;
7755     }
7756   }
7757   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
7758 }
7759 
7760 
7761 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1trustpdp_1url_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7762   jstring jresult = 0 ;
7763   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7764   char *result = 0 ;
7765 
7766   (void)jenv;
7767   (void)jcls;
7768   arg1 = *(struct zxid_conf **)&jarg1;
7769   result = (char *) ((arg1)->trustpdp_url);
7770   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
7771   return jresult;
7772 }
7773 
7774 
7775 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1defaultqs_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
7776   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7777   char *arg2 = (char *) 0 ;
7778 
7779   (void)jenv;
7780   (void)jcls;
7781   arg1 = *(struct zxid_conf **)&jarg1;
7782   arg2 = 0;
7783   if (jarg2) {
7784     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
7785     if (!arg2) return ;
7786   }
7787   {
7788     if (arg2) {
7789       arg1->defaultqs = (char *) malloc(strlen(( char *)arg2)+1);
7790       strcpy((char *)arg1->defaultqs, ( char *)arg2);
7791     } else {
7792       arg1->defaultqs = 0;
7793     }
7794   }
7795   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
7796 }
7797 
7798 
7799 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1defaultqs_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7800   jstring jresult = 0 ;
7801   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7802   char *result = 0 ;
7803 
7804   (void)jenv;
7805   (void)jcls;
7806   arg1 = *(struct zxid_conf **)&jarg1;
7807   result = (char *) ((arg1)->defaultqs);
7808   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
7809   return jresult;
7810 }
7811 
7812 
7813 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsp_1pat_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
7814   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7815   char *arg2 = (char *) 0 ;
7816 
7817   (void)jenv;
7818   (void)jcls;
7819   arg1 = *(struct zxid_conf **)&jarg1;
7820   arg2 = 0;
7821   if (jarg2) {
7822     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
7823     if (!arg2) return ;
7824   }
7825   {
7826     if (arg2) {
7827       arg1->wsp_pat = (char *) malloc(strlen(( char *)arg2)+1);
7828       strcpy((char *)arg1->wsp_pat, ( char *)arg2);
7829     } else {
7830       arg1->wsp_pat = 0;
7831     }
7832   }
7833   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
7834 }
7835 
7836 
7837 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsp_1pat_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7838   jstring jresult = 0 ;
7839   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7840   char *result = 0 ;
7841 
7842   (void)jenv;
7843   (void)jcls;
7844   arg1 = *(struct zxid_conf **)&jarg1;
7845   result = (char *) ((arg1)->wsp_pat);
7846   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
7847   return jresult;
7848 }
7849 
7850 
7851 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1uma_1pat_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
7852   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7853   char *arg2 = (char *) 0 ;
7854 
7855   (void)jenv;
7856   (void)jcls;
7857   arg1 = *(struct zxid_conf **)&jarg1;
7858   arg2 = 0;
7859   if (jarg2) {
7860     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
7861     if (!arg2) return ;
7862   }
7863   {
7864     if (arg2) {
7865       arg1->uma_pat = (char *) malloc(strlen(( char *)arg2)+1);
7866       strcpy((char *)arg1->uma_pat, ( char *)arg2);
7867     } else {
7868       arg1->uma_pat = 0;
7869     }
7870   }
7871   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
7872 }
7873 
7874 
7875 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1uma_1pat_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7876   jstring jresult = 0 ;
7877   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7878   char *result = 0 ;
7879 
7880   (void)jenv;
7881   (void)jcls;
7882   arg1 = *(struct zxid_conf **)&jarg1;
7883   result = (char *) ((arg1)->uma_pat);
7884   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
7885   return jresult;
7886 }
7887 
7888 
7889 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1sso_1pat_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
7890   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7891   char *arg2 = (char *) 0 ;
7892 
7893   (void)jenv;
7894   (void)jcls;
7895   arg1 = *(struct zxid_conf **)&jarg1;
7896   arg2 = 0;
7897   if (jarg2) {
7898     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
7899     if (!arg2) return ;
7900   }
7901   {
7902     if (arg2) {
7903       arg1->sso_pat = (char *) malloc(strlen(( char *)arg2)+1);
7904       strcpy((char *)arg1->sso_pat, ( char *)arg2);
7905     } else {
7906       arg1->sso_pat = 0;
7907     }
7908   }
7909   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
7910 }
7911 
7912 
7913 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1sso_1pat_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7914   jstring jresult = 0 ;
7915   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7916   char *result = 0 ;
7917 
7918   (void)jenv;
7919   (void)jcls;
7920   arg1 = *(struct zxid_conf **)&jarg1;
7921   result = (char *) ((arg1)->sso_pat);
7922   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
7923   return jresult;
7924 }
7925 
7926 
7927 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mod_1saml_1attr_1prefix_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
7928   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7929   char *arg2 = (char *) 0 ;
7930 
7931   (void)jenv;
7932   (void)jcls;
7933   arg1 = *(struct zxid_conf **)&jarg1;
7934   arg2 = 0;
7935   if (jarg2) {
7936     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
7937     if (!arg2) return ;
7938   }
7939   {
7940     if (arg2) {
7941       arg1->mod_saml_attr_prefix = (char *) malloc(strlen(( char *)arg2)+1);
7942       strcpy((char *)arg1->mod_saml_attr_prefix, ( char *)arg2);
7943     } else {
7944       arg1->mod_saml_attr_prefix = 0;
7945     }
7946   }
7947   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
7948 }
7949 
7950 
7951 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mod_1saml_1attr_1prefix_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7952   jstring jresult = 0 ;
7953   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7954   char *result = 0 ;
7955 
7956   (void)jenv;
7957   (void)jcls;
7958   arg1 = *(struct zxid_conf **)&jarg1;
7959   result = (char *) ((arg1)->mod_saml_attr_prefix);
7960   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
7961   return jresult;
7962 }
7963 
7964 
7965 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsc_1to_1hdr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
7966   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7967   char *arg2 = (char *) 0 ;
7968 
7969   (void)jenv;
7970   (void)jcls;
7971   arg1 = *(struct zxid_conf **)&jarg1;
7972   arg2 = 0;
7973   if (jarg2) {
7974     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
7975     if (!arg2) return ;
7976   }
7977   {
7978     if (arg2) {
7979       arg1->wsc_to_hdr = (char *) malloc(strlen(( char *)arg2)+1);
7980       strcpy((char *)arg1->wsc_to_hdr, ( char *)arg2);
7981     } else {
7982       arg1->wsc_to_hdr = 0;
7983     }
7984   }
7985   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
7986 }
7987 
7988 
7989 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsc_1to_1hdr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
7990   jstring jresult = 0 ;
7991   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
7992   char *result = 0 ;
7993 
7994   (void)jenv;
7995   (void)jcls;
7996   arg1 = *(struct zxid_conf **)&jarg1;
7997   result = (char *) ((arg1)->wsc_to_hdr);
7998   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
7999   return jresult;
8000 }
8001 
8002 
8003 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsc_1replyto_1hdr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
8004   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8005   char *arg2 = (char *) 0 ;
8006 
8007   (void)jenv;
8008   (void)jcls;
8009   arg1 = *(struct zxid_conf **)&jarg1;
8010   arg2 = 0;
8011   if (jarg2) {
8012     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
8013     if (!arg2) return ;
8014   }
8015   {
8016     if (arg2) {
8017       arg1->wsc_replyto_hdr = (char *) malloc(strlen(( char *)arg2)+1);
8018       strcpy((char *)arg1->wsc_replyto_hdr, ( char *)arg2);
8019     } else {
8020       arg1->wsc_replyto_hdr = 0;
8021     }
8022   }
8023   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
8024 }
8025 
8026 
8027 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsc_1replyto_1hdr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8028   jstring jresult = 0 ;
8029   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8030   char *result = 0 ;
8031 
8032   (void)jenv;
8033   (void)jcls;
8034   arg1 = *(struct zxid_conf **)&jarg1;
8035   result = (char *) ((arg1)->wsc_replyto_hdr);
8036   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
8037   return jresult;
8038 }
8039 
8040 
8041 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsc_1action_1hdr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
8042   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8043   char *arg2 = (char *) 0 ;
8044 
8045   (void)jenv;
8046   (void)jcls;
8047   arg1 = *(struct zxid_conf **)&jarg1;
8048   arg2 = 0;
8049   if (jarg2) {
8050     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
8051     if (!arg2) return ;
8052   }
8053   {
8054     if (arg2) {
8055       arg1->wsc_action_hdr = (char *) malloc(strlen(( char *)arg2)+1);
8056       strcpy((char *)arg1->wsc_action_hdr, ( char *)arg2);
8057     } else {
8058       arg1->wsc_action_hdr = 0;
8059     }
8060   }
8061   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
8062 }
8063 
8064 
8065 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsc_1action_1hdr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8066   jstring jresult = 0 ;
8067   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8068   char *result = 0 ;
8069 
8070   (void)jenv;
8071   (void)jcls;
8072   arg1 = *(struct zxid_conf **)&jarg1;
8073   result = (char *) ((arg1)->wsc_action_hdr);
8074   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
8075   return jresult;
8076 }
8077 
8078 
8079 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1soap_1action_1hdr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
8080   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8081   char *arg2 = (char *) 0 ;
8082 
8083   (void)jenv;
8084   (void)jcls;
8085   arg1 = *(struct zxid_conf **)&jarg1;
8086   arg2 = 0;
8087   if (jarg2) {
8088     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
8089     if (!arg2) return ;
8090   }
8091   {
8092     if (arg2) {
8093       arg1->soap_action_hdr = (char *) malloc(strlen(( char *)arg2)+1);
8094       strcpy((char *)arg1->soap_action_hdr, ( char *)arg2);
8095     } else {
8096       arg1->soap_action_hdr = 0;
8097     }
8098   }
8099   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
8100 }
8101 
8102 
8103 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1soap_1action_1hdr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8104   jstring jresult = 0 ;
8105   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8106   char *result = 0 ;
8107 
8108   (void)jenv;
8109   (void)jcls;
8110   arg1 = *(struct zxid_conf **)&jarg1;
8111   result = (char *) ((arg1)->soap_action_hdr);
8112   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
8113   return jresult;
8114 }
8115 
8116 
8117 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsc_1soap_1content_1type_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
8118   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8119   char *arg2 = (char *) 0 ;
8120 
8121   (void)jenv;
8122   (void)jcls;
8123   arg1 = *(struct zxid_conf **)&jarg1;
8124   arg2 = 0;
8125   if (jarg2) {
8126     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
8127     if (!arg2) return ;
8128   }
8129   {
8130     if (arg2) {
8131       arg1->wsc_soap_content_type = (char *) malloc(strlen(( char *)arg2)+1);
8132       strcpy((char *)arg1->wsc_soap_content_type, ( char *)arg2);
8133     } else {
8134       arg1->wsc_soap_content_type = 0;
8135     }
8136   }
8137   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
8138 }
8139 
8140 
8141 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsc_1soap_1content_1type_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8142   jstring jresult = 0 ;
8143   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8144   char *result = 0 ;
8145 
8146   (void)jenv;
8147   (void)jcls;
8148   arg1 = *(struct zxid_conf **)&jarg1;
8149   result = (char *) ((arg1)->wsc_soap_content_type);
8150   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
8151   return jresult;
8152 }
8153 
8154 
8155 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1need_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
8156   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8157   struct zxid_need *arg2 = (struct zxid_need *) 0 ;
8158 
8159   (void)jenv;
8160   (void)jcls;
8161   arg1 = *(struct zxid_conf **)&jarg1;
8162   arg2 = *(struct zxid_need **)&jarg2;
8163   if (arg1) (arg1)->need = arg2;
8164 }
8165 
8166 
8167 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1need_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8168   jlong jresult = 0 ;
8169   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8170   struct zxid_need *result = 0 ;
8171 
8172   (void)jenv;
8173   (void)jcls;
8174   arg1 = *(struct zxid_conf **)&jarg1;
8175   result = (struct zxid_need *) ((arg1)->need);
8176   *(struct zxid_need **)&jresult = result;
8177   return jresult;
8178 }
8179 
8180 
8181 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1want_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
8182   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8183   struct zxid_need *arg2 = (struct zxid_need *) 0 ;
8184 
8185   (void)jenv;
8186   (void)jcls;
8187   arg1 = *(struct zxid_conf **)&jarg1;
8188   arg2 = *(struct zxid_need **)&jarg2;
8189   if (arg1) (arg1)->want = arg2;
8190 }
8191 
8192 
8193 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1want_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8194   jlong jresult = 0 ;
8195   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8196   struct zxid_need *result = 0 ;
8197 
8198   (void)jenv;
8199   (void)jcls;
8200   arg1 = *(struct zxid_conf **)&jarg1;
8201   result = (struct zxid_need *) ((arg1)->want);
8202   *(struct zxid_need **)&jresult = result;
8203   return jresult;
8204 }
8205 
8206 
8207 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1attrsrc_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
8208   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8209   struct zxid_atsrc *arg2 = (struct zxid_atsrc *) 0 ;
8210 
8211   (void)jenv;
8212   (void)jcls;
8213   arg1 = *(struct zxid_conf **)&jarg1;
8214   arg2 = *(struct zxid_atsrc **)&jarg2;
8215   if (arg1) (arg1)->attrsrc = arg2;
8216 }
8217 
8218 
8219 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1attrsrc_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8220   jlong jresult = 0 ;
8221   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8222   struct zxid_atsrc *result = 0 ;
8223 
8224   (void)jenv;
8225   (void)jcls;
8226   arg1 = *(struct zxid_conf **)&jarg1;
8227   result = (struct zxid_atsrc *) ((arg1)->attrsrc);
8228   *(struct zxid_atsrc **)&jresult = result;
8229   return jresult;
8230 }
8231 
8232 
8233 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1aamap_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
8234   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8235   struct zxid_map *arg2 = (struct zxid_map *) 0 ;
8236 
8237   (void)jenv;
8238   (void)jcls;
8239   arg1 = *(struct zxid_conf **)&jarg1;
8240   arg2 = *(struct zxid_map **)&jarg2;
8241   if (arg1) (arg1)->aamap = arg2;
8242 }
8243 
8244 
8245 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1aamap_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8246   jlong jresult = 0 ;
8247   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8248   struct zxid_map *result = 0 ;
8249 
8250   (void)jenv;
8251   (void)jcls;
8252   arg1 = *(struct zxid_conf **)&jarg1;
8253   result = (struct zxid_map *) ((arg1)->aamap);
8254   *(struct zxid_map **)&jresult = result;
8255   return jresult;
8256 }
8257 
8258 
8259 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1inmap_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
8260   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8261   struct zxid_map *arg2 = (struct zxid_map *) 0 ;
8262 
8263   (void)jenv;
8264   (void)jcls;
8265   arg1 = *(struct zxid_conf **)&jarg1;
8266   arg2 = *(struct zxid_map **)&jarg2;
8267   if (arg1) (arg1)->inmap = arg2;
8268 }
8269 
8270 
8271 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1inmap_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8272   jlong jresult = 0 ;
8273   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8274   struct zxid_map *result = 0 ;
8275 
8276   (void)jenv;
8277   (void)jcls;
8278   arg1 = *(struct zxid_conf **)&jarg1;
8279   result = (struct zxid_map *) ((arg1)->inmap);
8280   *(struct zxid_map **)&jresult = result;
8281   return jresult;
8282 }
8283 
8284 
8285 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1outmap_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
8286   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8287   struct zxid_map *arg2 = (struct zxid_map *) 0 ;
8288 
8289   (void)jenv;
8290   (void)jcls;
8291   arg1 = *(struct zxid_conf **)&jarg1;
8292   arg2 = *(struct zxid_map **)&jarg2;
8293   if (arg1) (arg1)->outmap = arg2;
8294 }
8295 
8296 
8297 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1outmap_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8298   jlong jresult = 0 ;
8299   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8300   struct zxid_map *result = 0 ;
8301 
8302   (void)jenv;
8303   (void)jcls;
8304   arg1 = *(struct zxid_conf **)&jarg1;
8305   result = (struct zxid_map *) ((arg1)->outmap);
8306   *(struct zxid_map **)&jresult = result;
8307   return jresult;
8308 }
8309 
8310 
8311 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pepmap_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
8312   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8313   struct zxid_map *arg2 = (struct zxid_map *) 0 ;
8314 
8315   (void)jenv;
8316   (void)jcls;
8317   arg1 = *(struct zxid_conf **)&jarg1;
8318   arg2 = *(struct zxid_map **)&jarg2;
8319   if (arg1) (arg1)->pepmap = arg2;
8320 }
8321 
8322 
8323 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pepmap_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8324   jlong jresult = 0 ;
8325   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8326   struct zxid_map *result = 0 ;
8327 
8328   (void)jenv;
8329   (void)jcls;
8330   arg1 = *(struct zxid_conf **)&jarg1;
8331   result = (struct zxid_map *) ((arg1)->pepmap);
8332   *(struct zxid_map **)&jresult = result;
8333   return jresult;
8334 }
8335 
8336 
8337 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pepmap_1rqout_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
8338   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8339   struct zxid_map *arg2 = (struct zxid_map *) 0 ;
8340 
8341   (void)jenv;
8342   (void)jcls;
8343   arg1 = *(struct zxid_conf **)&jarg1;
8344   arg2 = *(struct zxid_map **)&jarg2;
8345   if (arg1) (arg1)->pepmap_rqout = arg2;
8346 }
8347 
8348 
8349 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pepmap_1rqout_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8350   jlong jresult = 0 ;
8351   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8352   struct zxid_map *result = 0 ;
8353 
8354   (void)jenv;
8355   (void)jcls;
8356   arg1 = *(struct zxid_conf **)&jarg1;
8357   result = (struct zxid_map *) ((arg1)->pepmap_rqout);
8358   *(struct zxid_map **)&jresult = result;
8359   return jresult;
8360 }
8361 
8362 
8363 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pepmap_1rqin_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
8364   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8365   struct zxid_map *arg2 = (struct zxid_map *) 0 ;
8366 
8367   (void)jenv;
8368   (void)jcls;
8369   arg1 = *(struct zxid_conf **)&jarg1;
8370   arg2 = *(struct zxid_map **)&jarg2;
8371   if (arg1) (arg1)->pepmap_rqin = arg2;
8372 }
8373 
8374 
8375 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pepmap_1rqin_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8376   jlong jresult = 0 ;
8377   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8378   struct zxid_map *result = 0 ;
8379 
8380   (void)jenv;
8381   (void)jcls;
8382   arg1 = *(struct zxid_conf **)&jarg1;
8383   result = (struct zxid_map *) ((arg1)->pepmap_rqin);
8384   *(struct zxid_map **)&jresult = result;
8385   return jresult;
8386 }
8387 
8388 
8389 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pepmap_1rsout_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
8390   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8391   struct zxid_map *arg2 = (struct zxid_map *) 0 ;
8392 
8393   (void)jenv;
8394   (void)jcls;
8395   arg1 = *(struct zxid_conf **)&jarg1;
8396   arg2 = *(struct zxid_map **)&jarg2;
8397   if (arg1) (arg1)->pepmap_rsout = arg2;
8398 }
8399 
8400 
8401 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pepmap_1rsout_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8402   jlong jresult = 0 ;
8403   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8404   struct zxid_map *result = 0 ;
8405 
8406   (void)jenv;
8407   (void)jcls;
8408   arg1 = *(struct zxid_conf **)&jarg1;
8409   result = (struct zxid_map *) ((arg1)->pepmap_rsout);
8410   *(struct zxid_map **)&jresult = result;
8411   return jresult;
8412 }
8413 
8414 
8415 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pepmap_1rsin_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
8416   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8417   struct zxid_map *arg2 = (struct zxid_map *) 0 ;
8418 
8419   (void)jenv;
8420   (void)jcls;
8421   arg1 = *(struct zxid_conf **)&jarg1;
8422   arg2 = *(struct zxid_map **)&jarg2;
8423   if (arg1) (arg1)->pepmap_rsin = arg2;
8424 }
8425 
8426 
8427 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1pepmap_1rsin_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8428   jlong jresult = 0 ;
8429   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8430   struct zxid_map *result = 0 ;
8431 
8432   (void)jenv;
8433   (void)jcls;
8434   arg1 = *(struct zxid_conf **)&jarg1;
8435   result = (struct zxid_map *) ((arg1)->pepmap_rsin);
8436   *(struct zxid_map **)&jresult = result;
8437   return jresult;
8438 }
8439 
8440 
8441 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1localpdp_1role_1permit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
8442   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8443   struct zxid_cstr_list *arg2 = (struct zxid_cstr_list *) 0 ;
8444 
8445   (void)jenv;
8446   (void)jcls;
8447   arg1 = *(struct zxid_conf **)&jarg1;
8448   arg2 = *(struct zxid_cstr_list **)&jarg2;
8449   if (arg1) (arg1)->localpdp_role_permit = arg2;
8450 }
8451 
8452 
8453 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1localpdp_1role_1permit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8454   jlong jresult = 0 ;
8455   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8456   struct zxid_cstr_list *result = 0 ;
8457 
8458   (void)jenv;
8459   (void)jcls;
8460   arg1 = *(struct zxid_conf **)&jarg1;
8461   result = (struct zxid_cstr_list *) ((arg1)->localpdp_role_permit);
8462   *(struct zxid_cstr_list **)&jresult = result;
8463   return jresult;
8464 }
8465 
8466 
8467 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1localpdp_1role_1deny_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
8468   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8469   struct zxid_cstr_list *arg2 = (struct zxid_cstr_list *) 0 ;
8470 
8471   (void)jenv;
8472   (void)jcls;
8473   arg1 = *(struct zxid_conf **)&jarg1;
8474   arg2 = *(struct zxid_cstr_list **)&jarg2;
8475   if (arg1) (arg1)->localpdp_role_deny = arg2;
8476 }
8477 
8478 
8479 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1localpdp_1role_1deny_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8480   jlong jresult = 0 ;
8481   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8482   struct zxid_cstr_list *result = 0 ;
8483 
8484   (void)jenv;
8485   (void)jcls;
8486   arg1 = *(struct zxid_conf **)&jarg1;
8487   result = (struct zxid_cstr_list *) ((arg1)->localpdp_role_deny);
8488   *(struct zxid_cstr_list **)&jresult = result;
8489   return jresult;
8490 }
8491 
8492 
8493 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1localpdp_1idpnid_1permit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
8494   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8495   struct zxid_cstr_list *arg2 = (struct zxid_cstr_list *) 0 ;
8496 
8497   (void)jenv;
8498   (void)jcls;
8499   arg1 = *(struct zxid_conf **)&jarg1;
8500   arg2 = *(struct zxid_cstr_list **)&jarg2;
8501   if (arg1) (arg1)->localpdp_idpnid_permit = arg2;
8502 }
8503 
8504 
8505 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1localpdp_1idpnid_1permit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8506   jlong jresult = 0 ;
8507   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8508   struct zxid_cstr_list *result = 0 ;
8509 
8510   (void)jenv;
8511   (void)jcls;
8512   arg1 = *(struct zxid_conf **)&jarg1;
8513   result = (struct zxid_cstr_list *) ((arg1)->localpdp_idpnid_permit);
8514   *(struct zxid_cstr_list **)&jresult = result;
8515   return jresult;
8516 }
8517 
8518 
8519 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1localpdp_1idpnid_1deny_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
8520   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8521   struct zxid_cstr_list *arg2 = (struct zxid_cstr_list *) 0 ;
8522 
8523   (void)jenv;
8524   (void)jcls;
8525   arg1 = *(struct zxid_conf **)&jarg1;
8526   arg2 = *(struct zxid_cstr_list **)&jarg2;
8527   if (arg1) (arg1)->localpdp_idpnid_deny = arg2;
8528 }
8529 
8530 
8531 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1localpdp_1idpnid_1deny_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8532   jlong jresult = 0 ;
8533   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8534   struct zxid_cstr_list *result = 0 ;
8535 
8536   (void)jenv;
8537   (void)jcls;
8538   arg1 = *(struct zxid_conf **)&jarg1;
8539   result = (struct zxid_cstr_list *) ((arg1)->localpdp_idpnid_deny);
8540   *(struct zxid_cstr_list **)&jresult = result;
8541   return jresult;
8542 }
8543 
8544 
8545 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsc_1localpdp_1obl_1pledge_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
8546   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8547   char *arg2 = (char *) 0 ;
8548 
8549   (void)jenv;
8550   (void)jcls;
8551   arg1 = *(struct zxid_conf **)&jarg1;
8552   arg2 = 0;
8553   if (jarg2) {
8554     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
8555     if (!arg2) return ;
8556   }
8557   {
8558     if (arg2) {
8559       arg1->wsc_localpdp_obl_pledge = (char *) malloc(strlen(( char *)arg2)+1);
8560       strcpy((char *)arg1->wsc_localpdp_obl_pledge, ( char *)arg2);
8561     } else {
8562       arg1->wsc_localpdp_obl_pledge = 0;
8563     }
8564   }
8565   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
8566 }
8567 
8568 
8569 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsc_1localpdp_1obl_1pledge_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8570   jstring jresult = 0 ;
8571   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8572   char *result = 0 ;
8573 
8574   (void)jenv;
8575   (void)jcls;
8576   arg1 = *(struct zxid_conf **)&jarg1;
8577   result = (char *) ((arg1)->wsc_localpdp_obl_pledge);
8578   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
8579   return jresult;
8580 }
8581 
8582 
8583 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsp_1localpdp_1obl_1req_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
8584   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8585   struct zxid_obl_list *arg2 = (struct zxid_obl_list *) 0 ;
8586 
8587   (void)jenv;
8588   (void)jcls;
8589   arg1 = *(struct zxid_conf **)&jarg1;
8590   arg2 = *(struct zxid_obl_list **)&jarg2;
8591   if (arg1) (arg1)->wsp_localpdp_obl_req = arg2;
8592 }
8593 
8594 
8595 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsp_1localpdp_1obl_1req_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8596   jlong jresult = 0 ;
8597   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8598   struct zxid_obl_list *result = 0 ;
8599 
8600   (void)jenv;
8601   (void)jcls;
8602   arg1 = *(struct zxid_conf **)&jarg1;
8603   result = (struct zxid_obl_list *) ((arg1)->wsp_localpdp_obl_req);
8604   *(struct zxid_obl_list **)&jresult = result;
8605   return jresult;
8606 }
8607 
8608 
8609 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsp_1localpdp_1obl_1emit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
8610   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8611   char *arg2 = (char *) 0 ;
8612 
8613   (void)jenv;
8614   (void)jcls;
8615   arg1 = *(struct zxid_conf **)&jarg1;
8616   arg2 = 0;
8617   if (jarg2) {
8618     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
8619     if (!arg2) return ;
8620   }
8621   {
8622     if (arg2) {
8623       arg1->wsp_localpdp_obl_emit = (char *) malloc(strlen(( char *)arg2)+1);
8624       strcpy((char *)arg1->wsp_localpdp_obl_emit, ( char *)arg2);
8625     } else {
8626       arg1->wsp_localpdp_obl_emit = 0;
8627     }
8628   }
8629   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
8630 }
8631 
8632 
8633 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsp_1localpdp_1obl_1emit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8634   jstring jresult = 0 ;
8635   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8636   char *result = 0 ;
8637 
8638   (void)jenv;
8639   (void)jcls;
8640   arg1 = *(struct zxid_conf **)&jarg1;
8641   result = (char *) ((arg1)->wsp_localpdp_obl_emit);
8642   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
8643   return jresult;
8644 }
8645 
8646 
8647 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsc_1localpdp_1obl_1accept_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
8648   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8649   struct zxid_obl_list *arg2 = (struct zxid_obl_list *) 0 ;
8650 
8651   (void)jenv;
8652   (void)jcls;
8653   arg1 = *(struct zxid_conf **)&jarg1;
8654   arg2 = *(struct zxid_obl_list **)&jarg2;
8655   if (arg1) (arg1)->wsc_localpdp_obl_accept = arg2;
8656 }
8657 
8658 
8659 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wsc_1localpdp_1obl_1accept_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8660   jlong jresult = 0 ;
8661   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8662   struct zxid_obl_list *result = 0 ;
8663 
8664   (void)jenv;
8665   (void)jcls;
8666   arg1 = *(struct zxid_conf **)&jarg1;
8667   result = (struct zxid_obl_list *) ((arg1)->wsc_localpdp_obl_accept);
8668   *(struct zxid_obl_list **)&jresult = result;
8669   return jresult;
8670 }
8671 
8672 
8673 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1unix_1grp_1az_1map_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
8674   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8675   struct zxid_map *arg2 = (struct zxid_map *) 0 ;
8676 
8677   (void)jenv;
8678   (void)jcls;
8679   arg1 = *(struct zxid_conf **)&jarg1;
8680   arg2 = *(struct zxid_map **)&jarg2;
8681   if (arg1) (arg1)->unix_grp_az_map = arg2;
8682 }
8683 
8684 
8685 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1unix_1grp_1az_1map_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8686   jlong jresult = 0 ;
8687   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8688   struct zxid_map *result = 0 ;
8689 
8690   (void)jenv;
8691   (void)jcls;
8692   arg1 = *(struct zxid_conf **)&jarg1;
8693   result = (struct zxid_map *) ((arg1)->unix_grp_az_map);
8694   *(struct zxid_map **)&jresult = result;
8695   return jresult;
8696 }
8697 
8698 
8699 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1bootstrap_1level_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
8700   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8701   int arg2 ;
8702 
8703   (void)jenv;
8704   (void)jcls;
8705   arg1 = *(struct zxid_conf **)&jarg1;
8706   arg2 = (int)jarg2;
8707   if (arg1) (arg1)->bootstrap_level = arg2;
8708 }
8709 
8710 
8711 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1bootstrap_1level_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8712   jint jresult = 0 ;
8713   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8714   int result;
8715 
8716   (void)jenv;
8717   (void)jcls;
8718   arg1 = *(struct zxid_conf **)&jarg1;
8719   result = (int) ((arg1)->bootstrap_level);
8720   jresult = (jint)result;
8721   return jresult;
8722 }
8723 
8724 
8725 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1max_1soap_1retry_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
8726   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8727   int arg2 ;
8728 
8729   (void)jenv;
8730   (void)jcls;
8731   arg1 = *(struct zxid_conf **)&jarg1;
8732   arg2 = (int)jarg2;
8733   if (arg1) (arg1)->max_soap_retry = arg2;
8734 }
8735 
8736 
8737 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1max_1soap_1retry_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8738   jint jresult = 0 ;
8739   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8740   int result;
8741 
8742   (void)jenv;
8743   (void)jcls;
8744   arg1 = *(struct zxid_conf **)&jarg1;
8745   result = (int) ((arg1)->max_soap_retry);
8746   jresult = (jint)result;
8747   return jresult;
8748 }
8749 
8750 
8751 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1start_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
8752   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8753   char *arg2 = (char *) 0 ;
8754 
8755   (void)jenv;
8756   (void)jcls;
8757   arg1 = *(struct zxid_conf **)&jarg1;
8758   arg2 = 0;
8759   if (jarg2) {
8760     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
8761     if (!arg2) return ;
8762   }
8763   {
8764     if (arg2) {
8765       arg1->idp_sel_start = (char *) malloc(strlen(( char *)arg2)+1);
8766       strcpy((char *)arg1->idp_sel_start, ( char *)arg2);
8767     } else {
8768       arg1->idp_sel_start = 0;
8769     }
8770   }
8771   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
8772 }
8773 
8774 
8775 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1start_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8776   jstring jresult = 0 ;
8777   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8778   char *result = 0 ;
8779 
8780   (void)jenv;
8781   (void)jcls;
8782   arg1 = *(struct zxid_conf **)&jarg1;
8783   result = (char *) ((arg1)->idp_sel_start);
8784   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
8785   return jresult;
8786 }
8787 
8788 
8789 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1new_1idp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
8790   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8791   char *arg2 = (char *) 0 ;
8792 
8793   (void)jenv;
8794   (void)jcls;
8795   arg1 = *(struct zxid_conf **)&jarg1;
8796   arg2 = 0;
8797   if (jarg2) {
8798     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
8799     if (!arg2) return ;
8800   }
8801   {
8802     if (arg2) {
8803       arg1->idp_sel_new_idp = (char *) malloc(strlen(( char *)arg2)+1);
8804       strcpy((char *)arg1->idp_sel_new_idp, ( char *)arg2);
8805     } else {
8806       arg1->idp_sel_new_idp = 0;
8807     }
8808   }
8809   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
8810 }
8811 
8812 
8813 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1new_1idp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8814   jstring jresult = 0 ;
8815   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8816   char *result = 0 ;
8817 
8818   (void)jenv;
8819   (void)jcls;
8820   arg1 = *(struct zxid_conf **)&jarg1;
8821   result = (char *) ((arg1)->idp_sel_new_idp);
8822   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
8823   return jresult;
8824 }
8825 
8826 
8827 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1our_1eid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
8828   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8829   char *arg2 = (char *) 0 ;
8830 
8831   (void)jenv;
8832   (void)jcls;
8833   arg1 = *(struct zxid_conf **)&jarg1;
8834   arg2 = 0;
8835   if (jarg2) {
8836     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
8837     if (!arg2) return ;
8838   }
8839   {
8840     if (arg2) {
8841       arg1->idp_sel_our_eid = (char *) malloc(strlen(( char *)arg2)+1);
8842       strcpy((char *)arg1->idp_sel_our_eid, ( char *)arg2);
8843     } else {
8844       arg1->idp_sel_our_eid = 0;
8845     }
8846   }
8847   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
8848 }
8849 
8850 
8851 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1our_1eid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8852   jstring jresult = 0 ;
8853   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8854   char *result = 0 ;
8855 
8856   (void)jenv;
8857   (void)jcls;
8858   arg1 = *(struct zxid_conf **)&jarg1;
8859   result = (char *) ((arg1)->idp_sel_our_eid);
8860   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
8861   return jresult;
8862 }
8863 
8864 
8865 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1tech_1user_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
8866   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8867   char *arg2 = (char *) 0 ;
8868 
8869   (void)jenv;
8870   (void)jcls;
8871   arg1 = *(struct zxid_conf **)&jarg1;
8872   arg2 = 0;
8873   if (jarg2) {
8874     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
8875     if (!arg2) return ;
8876   }
8877   {
8878     if (arg2) {
8879       arg1->idp_sel_tech_user = (char *) malloc(strlen(( char *)arg2)+1);
8880       strcpy((char *)arg1->idp_sel_tech_user, ( char *)arg2);
8881     } else {
8882       arg1->idp_sel_tech_user = 0;
8883     }
8884   }
8885   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
8886 }
8887 
8888 
8889 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1tech_1user_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8890   jstring jresult = 0 ;
8891   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8892   char *result = 0 ;
8893 
8894   (void)jenv;
8895   (void)jcls;
8896   arg1 = *(struct zxid_conf **)&jarg1;
8897   result = (char *) ((arg1)->idp_sel_tech_user);
8898   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
8899   return jresult;
8900 }
8901 
8902 
8903 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1tech_1site_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
8904   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8905   char *arg2 = (char *) 0 ;
8906 
8907   (void)jenv;
8908   (void)jcls;
8909   arg1 = *(struct zxid_conf **)&jarg1;
8910   arg2 = 0;
8911   if (jarg2) {
8912     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
8913     if (!arg2) return ;
8914   }
8915   {
8916     if (arg2) {
8917       arg1->idp_sel_tech_site = (char *) malloc(strlen(( char *)arg2)+1);
8918       strcpy((char *)arg1->idp_sel_tech_site, ( char *)arg2);
8919     } else {
8920       arg1->idp_sel_tech_site = 0;
8921     }
8922   }
8923   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
8924 }
8925 
8926 
8927 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1tech_1site_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8928   jstring jresult = 0 ;
8929   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8930   char *result = 0 ;
8931 
8932   (void)jenv;
8933   (void)jcls;
8934   arg1 = *(struct zxid_conf **)&jarg1;
8935   result = (char *) ((arg1)->idp_sel_tech_site);
8936   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
8937   return jresult;
8938 }
8939 
8940 
8941 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1footer_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
8942   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8943   char *arg2 = (char *) 0 ;
8944 
8945   (void)jenv;
8946   (void)jcls;
8947   arg1 = *(struct zxid_conf **)&jarg1;
8948   arg2 = 0;
8949   if (jarg2) {
8950     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
8951     if (!arg2) return ;
8952   }
8953   {
8954     if (arg2) {
8955       arg1->idp_sel_footer = (char *) malloc(strlen(( char *)arg2)+1);
8956       strcpy((char *)arg1->idp_sel_footer, ( char *)arg2);
8957     } else {
8958       arg1->idp_sel_footer = 0;
8959     }
8960   }
8961   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
8962 }
8963 
8964 
8965 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1footer_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
8966   jstring jresult = 0 ;
8967   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8968   char *result = 0 ;
8969 
8970   (void)jenv;
8971   (void)jcls;
8972   arg1 = *(struct zxid_conf **)&jarg1;
8973   result = (char *) ((arg1)->idp_sel_footer);
8974   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
8975   return jresult;
8976 }
8977 
8978 
8979 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1end_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
8980   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
8981   char *arg2 = (char *) 0 ;
8982 
8983   (void)jenv;
8984   (void)jcls;
8985   arg1 = *(struct zxid_conf **)&jarg1;
8986   arg2 = 0;
8987   if (jarg2) {
8988     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
8989     if (!arg2) return ;
8990   }
8991   {
8992     if (arg2) {
8993       arg1->idp_sel_end = (char *) malloc(strlen(( char *)arg2)+1);
8994       strcpy((char *)arg1->idp_sel_end, ( char *)arg2);
8995     } else {
8996       arg1->idp_sel_end = 0;
8997     }
8998   }
8999   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
9000 }
9001 
9002 
9003 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1end_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9004   jstring jresult = 0 ;
9005   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9006   char *result = 0 ;
9007 
9008   (void)jenv;
9009   (void)jcls;
9010   arg1 = *(struct zxid_conf **)&jarg1;
9011   result = (char *) ((arg1)->idp_sel_end);
9012   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
9013   return jresult;
9014 }
9015 
9016 
9017 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1page_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
9018   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9019   char *arg2 = (char *) 0 ;
9020 
9021   (void)jenv;
9022   (void)jcls;
9023   arg1 = *(struct zxid_conf **)&jarg1;
9024   arg2 = 0;
9025   if (jarg2) {
9026     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
9027     if (!arg2) return ;
9028   }
9029   {
9030     if (arg2) {
9031       arg1->idp_sel_page = (char *) malloc(strlen(( char *)arg2)+1);
9032       strcpy((char *)arg1->idp_sel_page, ( char *)arg2);
9033     } else {
9034       arg1->idp_sel_page = 0;
9035     }
9036   }
9037   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
9038 }
9039 
9040 
9041 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1page_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9042   jstring jresult = 0 ;
9043   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9044   char *result = 0 ;
9045 
9046   (void)jenv;
9047   (void)jcls;
9048   arg1 = *(struct zxid_conf **)&jarg1;
9049   result = (char *) ((arg1)->idp_sel_page);
9050   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
9051   return jresult;
9052 }
9053 
9054 
9055 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1templ_1file_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
9056   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9057   char *arg2 = (char *) 0 ;
9058 
9059   (void)jenv;
9060   (void)jcls;
9061   arg1 = *(struct zxid_conf **)&jarg1;
9062   arg2 = 0;
9063   if (jarg2) {
9064     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
9065     if (!arg2) return ;
9066   }
9067   {
9068     if (arg2) {
9069       arg1->idp_sel_templ_file = (char *) malloc(strlen(( char *)arg2)+1);
9070       strcpy((char *)arg1->idp_sel_templ_file, ( char *)arg2);
9071     } else {
9072       arg1->idp_sel_templ_file = 0;
9073     }
9074   }
9075   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
9076 }
9077 
9078 
9079 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1templ_1file_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9080   jstring jresult = 0 ;
9081   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9082   char *result = 0 ;
9083 
9084   (void)jenv;
9085   (void)jcls;
9086   arg1 = *(struct zxid_conf **)&jarg1;
9087   result = (char *) ((arg1)->idp_sel_templ_file);
9088   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
9089   return jresult;
9090 }
9091 
9092 
9093 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1templ_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
9094   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9095   char *arg2 = (char *) 0 ;
9096 
9097   (void)jenv;
9098   (void)jcls;
9099   arg1 = *(struct zxid_conf **)&jarg1;
9100   arg2 = 0;
9101   if (jarg2) {
9102     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
9103     if (!arg2) return ;
9104   }
9105   {
9106     if (arg2) {
9107       arg1->idp_sel_templ = (char *) malloc(strlen(( char *)arg2)+1);
9108       strcpy((char *)arg1->idp_sel_templ, ( char *)arg2);
9109     } else {
9110       arg1->idp_sel_templ = 0;
9111     }
9112   }
9113   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
9114 }
9115 
9116 
9117 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1sel_1templ_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9118   jstring jresult = 0 ;
9119   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9120   char *result = 0 ;
9121 
9122   (void)jenv;
9123   (void)jcls;
9124   arg1 = *(struct zxid_conf **)&jarg1;
9125   result = (char *) ((arg1)->idp_sel_templ);
9126   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
9127   return jresult;
9128 }
9129 
9130 
9131 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1an_1page_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
9132   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9133   char *arg2 = (char *) 0 ;
9134 
9135   (void)jenv;
9136   (void)jcls;
9137   arg1 = *(struct zxid_conf **)&jarg1;
9138   arg2 = 0;
9139   if (jarg2) {
9140     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
9141     if (!arg2) return ;
9142   }
9143   {
9144     if (arg2) {
9145       arg1->an_page = (char *) malloc(strlen(( char *)arg2)+1);
9146       strcpy((char *)arg1->an_page, ( char *)arg2);
9147     } else {
9148       arg1->an_page = 0;
9149     }
9150   }
9151   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
9152 }
9153 
9154 
9155 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1an_1page_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9156   jstring jresult = 0 ;
9157   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9158   char *result = 0 ;
9159 
9160   (void)jenv;
9161   (void)jcls;
9162   arg1 = *(struct zxid_conf **)&jarg1;
9163   result = (char *) ((arg1)->an_page);
9164   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
9165   return jresult;
9166 }
9167 
9168 
9169 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1an_1templ_1file_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
9170   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9171   char *arg2 = (char *) 0 ;
9172 
9173   (void)jenv;
9174   (void)jcls;
9175   arg1 = *(struct zxid_conf **)&jarg1;
9176   arg2 = 0;
9177   if (jarg2) {
9178     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
9179     if (!arg2) return ;
9180   }
9181   {
9182     if (arg2) {
9183       arg1->an_templ_file = (char *) malloc(strlen(( char *)arg2)+1);
9184       strcpy((char *)arg1->an_templ_file, ( char *)arg2);
9185     } else {
9186       arg1->an_templ_file = 0;
9187     }
9188   }
9189   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
9190 }
9191 
9192 
9193 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1an_1templ_1file_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9194   jstring jresult = 0 ;
9195   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9196   char *result = 0 ;
9197 
9198   (void)jenv;
9199   (void)jcls;
9200   arg1 = *(struct zxid_conf **)&jarg1;
9201   result = (char *) ((arg1)->an_templ_file);
9202   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
9203   return jresult;
9204 }
9205 
9206 
9207 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1an_1templ_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
9208   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9209   char *arg2 = (char *) 0 ;
9210 
9211   (void)jenv;
9212   (void)jcls;
9213   arg1 = *(struct zxid_conf **)&jarg1;
9214   arg2 = 0;
9215   if (jarg2) {
9216     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
9217     if (!arg2) return ;
9218   }
9219   {
9220     if (arg2) {
9221       arg1->an_templ = (char *) malloc(strlen(( char *)arg2)+1);
9222       strcpy((char *)arg1->an_templ, ( char *)arg2);
9223     } else {
9224       arg1->an_templ = 0;
9225     }
9226   }
9227   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
9228 }
9229 
9230 
9231 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1an_1templ_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9232   jstring jresult = 0 ;
9233   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9234   char *result = 0 ;
9235 
9236   (void)jenv;
9237   (void)jcls;
9238   arg1 = *(struct zxid_conf **)&jarg1;
9239   result = (char *) ((arg1)->an_templ);
9240   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
9241   return jresult;
9242 }
9243 
9244 
9245 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1post_1templ_1file_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
9246   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9247   char *arg2 = (char *) 0 ;
9248 
9249   (void)jenv;
9250   (void)jcls;
9251   arg1 = *(struct zxid_conf **)&jarg1;
9252   arg2 = 0;
9253   if (jarg2) {
9254     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
9255     if (!arg2) return ;
9256   }
9257   {
9258     if (arg2) {
9259       arg1->post_templ_file = (char *) malloc(strlen(( char *)arg2)+1);
9260       strcpy((char *)arg1->post_templ_file, ( char *)arg2);
9261     } else {
9262       arg1->post_templ_file = 0;
9263     }
9264   }
9265   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
9266 }
9267 
9268 
9269 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1post_1templ_1file_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9270   jstring jresult = 0 ;
9271   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9272   char *result = 0 ;
9273 
9274   (void)jenv;
9275   (void)jcls;
9276   arg1 = *(struct zxid_conf **)&jarg1;
9277   result = (char *) ((arg1)->post_templ_file);
9278   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
9279   return jresult;
9280 }
9281 
9282 
9283 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1post_1templ_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
9284   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9285   char *arg2 = (char *) 0 ;
9286 
9287   (void)jenv;
9288   (void)jcls;
9289   arg1 = *(struct zxid_conf **)&jarg1;
9290   arg2 = 0;
9291   if (jarg2) {
9292     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
9293     if (!arg2) return ;
9294   }
9295   {
9296     if (arg2) {
9297       arg1->post_templ = (char *) malloc(strlen(( char *)arg2)+1);
9298       strcpy((char *)arg1->post_templ, ( char *)arg2);
9299     } else {
9300       arg1->post_templ = 0;
9301     }
9302   }
9303   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
9304 }
9305 
9306 
9307 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1post_1templ_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9308   jstring jresult = 0 ;
9309   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9310   char *result = 0 ;
9311 
9312   (void)jenv;
9313   (void)jcls;
9314   arg1 = *(struct zxid_conf **)&jarg1;
9315   result = (char *) ((arg1)->post_templ);
9316   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
9317   return jresult;
9318 }
9319 
9320 
9321 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1err_1page_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
9322   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9323   char *arg2 = (char *) 0 ;
9324 
9325   (void)jenv;
9326   (void)jcls;
9327   arg1 = *(struct zxid_conf **)&jarg1;
9328   arg2 = 0;
9329   if (jarg2) {
9330     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
9331     if (!arg2) return ;
9332   }
9333   {
9334     if (arg2) {
9335       arg1->err_page = (char *) malloc(strlen(( char *)arg2)+1);
9336       strcpy((char *)arg1->err_page, ( char *)arg2);
9337     } else {
9338       arg1->err_page = 0;
9339     }
9340   }
9341   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
9342 }
9343 
9344 
9345 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1err_1page_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9346   jstring jresult = 0 ;
9347   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9348   char *result = 0 ;
9349 
9350   (void)jenv;
9351   (void)jcls;
9352   arg1 = *(struct zxid_conf **)&jarg1;
9353   result = (char *) ((arg1)->err_page);
9354   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
9355   return jresult;
9356 }
9357 
9358 
9359 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1err_1templ_1file_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
9360   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9361   char *arg2 = (char *) 0 ;
9362 
9363   (void)jenv;
9364   (void)jcls;
9365   arg1 = *(struct zxid_conf **)&jarg1;
9366   arg2 = 0;
9367   if (jarg2) {
9368     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
9369     if (!arg2) return ;
9370   }
9371   {
9372     if (arg2) {
9373       arg1->err_templ_file = (char *) malloc(strlen(( char *)arg2)+1);
9374       strcpy((char *)arg1->err_templ_file, ( char *)arg2);
9375     } else {
9376       arg1->err_templ_file = 0;
9377     }
9378   }
9379   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
9380 }
9381 
9382 
9383 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1err_1templ_1file_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9384   jstring jresult = 0 ;
9385   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9386   char *result = 0 ;
9387 
9388   (void)jenv;
9389   (void)jcls;
9390   arg1 = *(struct zxid_conf **)&jarg1;
9391   result = (char *) ((arg1)->err_templ_file);
9392   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
9393   return jresult;
9394 }
9395 
9396 
9397 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1err_1templ_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
9398   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9399   char *arg2 = (char *) 0 ;
9400 
9401   (void)jenv;
9402   (void)jcls;
9403   arg1 = *(struct zxid_conf **)&jarg1;
9404   arg2 = 0;
9405   if (jarg2) {
9406     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
9407     if (!arg2) return ;
9408   }
9409   {
9410     if (arg2) {
9411       arg1->err_templ = (char *) malloc(strlen(( char *)arg2)+1);
9412       strcpy((char *)arg1->err_templ, ( char *)arg2);
9413     } else {
9414       arg1->err_templ = 0;
9415     }
9416   }
9417   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
9418 }
9419 
9420 
9421 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1err_1templ_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9422   jstring jresult = 0 ;
9423   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9424   char *result = 0 ;
9425 
9426   (void)jenv;
9427   (void)jcls;
9428   arg1 = *(struct zxid_conf **)&jarg1;
9429   result = (char *) ((arg1)->err_templ);
9430   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
9431   return jresult;
9432 }
9433 
9434 
9435 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1new_1user_1page_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
9436   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9437   char *arg2 = (char *) 0 ;
9438 
9439   (void)jenv;
9440   (void)jcls;
9441   arg1 = *(struct zxid_conf **)&jarg1;
9442   arg2 = 0;
9443   if (jarg2) {
9444     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
9445     if (!arg2) return ;
9446   }
9447   {
9448     if (arg2) {
9449       arg1->new_user_page = (char *) malloc(strlen(( char *)arg2)+1);
9450       strcpy((char *)arg1->new_user_page, ( char *)arg2);
9451     } else {
9452       arg1->new_user_page = 0;
9453     }
9454   }
9455   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
9456 }
9457 
9458 
9459 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1new_1user_1page_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9460   jstring jresult = 0 ;
9461   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9462   char *result = 0 ;
9463 
9464   (void)jenv;
9465   (void)jcls;
9466   arg1 = *(struct zxid_conf **)&jarg1;
9467   result = (char *) ((arg1)->new_user_page);
9468   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
9469   return jresult;
9470 }
9471 
9472 
9473 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1recover_1passwd_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
9474   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9475   char *arg2 = (char *) 0 ;
9476 
9477   (void)jenv;
9478   (void)jcls;
9479   arg1 = *(struct zxid_conf **)&jarg1;
9480   arg2 = 0;
9481   if (jarg2) {
9482     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
9483     if (!arg2) return ;
9484   }
9485   {
9486     if (arg2) {
9487       arg1->recover_passwd = (char *) malloc(strlen(( char *)arg2)+1);
9488       strcpy((char *)arg1->recover_passwd, ( char *)arg2);
9489     } else {
9490       arg1->recover_passwd = 0;
9491     }
9492   }
9493   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
9494 }
9495 
9496 
9497 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1recover_1passwd_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9498   jstring jresult = 0 ;
9499   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9500   char *result = 0 ;
9501 
9502   (void)jenv;
9503   (void)jcls;
9504   arg1 = *(struct zxid_conf **)&jarg1;
9505   result = (char *) ((arg1)->recover_passwd);
9506   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
9507   return jresult;
9508 }
9509 
9510 
9511 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1atsel_1page_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
9512   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9513   char *arg2 = (char *) 0 ;
9514 
9515   (void)jenv;
9516   (void)jcls;
9517   arg1 = *(struct zxid_conf **)&jarg1;
9518   arg2 = 0;
9519   if (jarg2) {
9520     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
9521     if (!arg2) return ;
9522   }
9523   {
9524     if (arg2) {
9525       arg1->atsel_page = (char *) malloc(strlen(( char *)arg2)+1);
9526       strcpy((char *)arg1->atsel_page, ( char *)arg2);
9527     } else {
9528       arg1->atsel_page = 0;
9529     }
9530   }
9531   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
9532 }
9533 
9534 
9535 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1atsel_1page_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9536   jstring jresult = 0 ;
9537   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9538   char *result = 0 ;
9539 
9540   (void)jenv;
9541   (void)jcls;
9542   arg1 = *(struct zxid_conf **)&jarg1;
9543   result = (char *) ((arg1)->atsel_page);
9544   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
9545   return jresult;
9546 }
9547 
9548 
9549 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mgmt_1start_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
9550   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9551   char *arg2 = (char *) 0 ;
9552 
9553   (void)jenv;
9554   (void)jcls;
9555   arg1 = *(struct zxid_conf **)&jarg1;
9556   arg2 = 0;
9557   if (jarg2) {
9558     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
9559     if (!arg2) return ;
9560   }
9561   {
9562     if (arg2) {
9563       arg1->mgmt_start = (char *) malloc(strlen(( char *)arg2)+1);
9564       strcpy((char *)arg1->mgmt_start, ( char *)arg2);
9565     } else {
9566       arg1->mgmt_start = 0;
9567     }
9568   }
9569   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
9570 }
9571 
9572 
9573 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mgmt_1start_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9574   jstring jresult = 0 ;
9575   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9576   char *result = 0 ;
9577 
9578   (void)jenv;
9579   (void)jcls;
9580   arg1 = *(struct zxid_conf **)&jarg1;
9581   result = (char *) ((arg1)->mgmt_start);
9582   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
9583   return jresult;
9584 }
9585 
9586 
9587 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mgmt_1logout_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
9588   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9589   char *arg2 = (char *) 0 ;
9590 
9591   (void)jenv;
9592   (void)jcls;
9593   arg1 = *(struct zxid_conf **)&jarg1;
9594   arg2 = 0;
9595   if (jarg2) {
9596     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
9597     if (!arg2) return ;
9598   }
9599   {
9600     if (arg2) {
9601       arg1->mgmt_logout = (char *) malloc(strlen(( char *)arg2)+1);
9602       strcpy((char *)arg1->mgmt_logout, ( char *)arg2);
9603     } else {
9604       arg1->mgmt_logout = 0;
9605     }
9606   }
9607   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
9608 }
9609 
9610 
9611 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mgmt_1logout_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9612   jstring jresult = 0 ;
9613   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9614   char *result = 0 ;
9615 
9616   (void)jenv;
9617   (void)jcls;
9618   arg1 = *(struct zxid_conf **)&jarg1;
9619   result = (char *) ((arg1)->mgmt_logout);
9620   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
9621   return jresult;
9622 }
9623 
9624 
9625 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mgmt_1defed_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
9626   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9627   char *arg2 = (char *) 0 ;
9628 
9629   (void)jenv;
9630   (void)jcls;
9631   arg1 = *(struct zxid_conf **)&jarg1;
9632   arg2 = 0;
9633   if (jarg2) {
9634     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
9635     if (!arg2) return ;
9636   }
9637   {
9638     if (arg2) {
9639       arg1->mgmt_defed = (char *) malloc(strlen(( char *)arg2)+1);
9640       strcpy((char *)arg1->mgmt_defed, ( char *)arg2);
9641     } else {
9642       arg1->mgmt_defed = 0;
9643     }
9644   }
9645   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
9646 }
9647 
9648 
9649 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mgmt_1defed_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9650   jstring jresult = 0 ;
9651   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9652   char *result = 0 ;
9653 
9654   (void)jenv;
9655   (void)jcls;
9656   arg1 = *(struct zxid_conf **)&jarg1;
9657   result = (char *) ((arg1)->mgmt_defed);
9658   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
9659   return jresult;
9660 }
9661 
9662 
9663 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mgmt_1footer_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
9664   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9665   char *arg2 = (char *) 0 ;
9666 
9667   (void)jenv;
9668   (void)jcls;
9669   arg1 = *(struct zxid_conf **)&jarg1;
9670   arg2 = 0;
9671   if (jarg2) {
9672     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
9673     if (!arg2) return ;
9674   }
9675   {
9676     if (arg2) {
9677       arg1->mgmt_footer = (char *) malloc(strlen(( char *)arg2)+1);
9678       strcpy((char *)arg1->mgmt_footer, ( char *)arg2);
9679     } else {
9680       arg1->mgmt_footer = 0;
9681     }
9682   }
9683   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
9684 }
9685 
9686 
9687 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mgmt_1footer_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9688   jstring jresult = 0 ;
9689   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9690   char *result = 0 ;
9691 
9692   (void)jenv;
9693   (void)jcls;
9694   arg1 = *(struct zxid_conf **)&jarg1;
9695   result = (char *) ((arg1)->mgmt_footer);
9696   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
9697   return jresult;
9698 }
9699 
9700 
9701 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mgmt_1end_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
9702   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9703   char *arg2 = (char *) 0 ;
9704 
9705   (void)jenv;
9706   (void)jcls;
9707   arg1 = *(struct zxid_conf **)&jarg1;
9708   arg2 = 0;
9709   if (jarg2) {
9710     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
9711     if (!arg2) return ;
9712   }
9713   {
9714     if (arg2) {
9715       arg1->mgmt_end = (char *) malloc(strlen(( char *)arg2)+1);
9716       strcpy((char *)arg1->mgmt_end, ( char *)arg2);
9717     } else {
9718       arg1->mgmt_end = 0;
9719     }
9720   }
9721   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
9722 }
9723 
9724 
9725 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1mgmt_1end_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9726   jstring jresult = 0 ;
9727   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9728   char *result = 0 ;
9729 
9730   (void)jenv;
9731   (void)jcls;
9732   arg1 = *(struct zxid_conf **)&jarg1;
9733   result = (char *) ((arg1)->mgmt_end);
9734   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
9735   return jresult;
9736 }
9737 
9738 
9739 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1dbg_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
9740   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9741   char *arg2 = (char *) 0 ;
9742 
9743   (void)jenv;
9744   (void)jcls;
9745   arg1 = *(struct zxid_conf **)&jarg1;
9746   arg2 = 0;
9747   if (jarg2) {
9748     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
9749     if (!arg2) return ;
9750   }
9751   {
9752     if (arg2) {
9753       arg1->dbg = (char *) malloc(strlen(( char *)arg2)+1);
9754       strcpy((char *)arg1->dbg, ( char *)arg2);
9755     } else {
9756       arg1->dbg = 0;
9757     }
9758   }
9759   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
9760 }
9761 
9762 
9763 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1dbg_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9764   jstring jresult = 0 ;
9765   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9766   char *result = 0 ;
9767 
9768   (void)jenv;
9769   (void)jcls;
9770   arg1 = *(struct zxid_conf **)&jarg1;
9771   result = (char *) ((arg1)->dbg);
9772   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
9773   return jresult;
9774 }
9775 
9776 
9777 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wd_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
9778   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9779   char *arg2 = (char *) 0 ;
9780 
9781   (void)jenv;
9782   (void)jcls;
9783   arg1 = *(struct zxid_conf **)&jarg1;
9784   arg2 = 0;
9785   if (jarg2) {
9786     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
9787     if (!arg2) return ;
9788   }
9789   {
9790     if (arg2) {
9791       arg1->wd = (char *) malloc(strlen(( char *)arg2)+1);
9792       strcpy((char *)arg1->wd, ( char *)arg2);
9793     } else {
9794       arg1->wd = 0;
9795     }
9796   }
9797   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
9798 }
9799 
9800 
9801 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1wd_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9802   jstring jresult = 0 ;
9803   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9804   char *result = 0 ;
9805 
9806   (void)jenv;
9807   (void)jcls;
9808   arg1 = *(struct zxid_conf **)&jarg1;
9809   result = (char *) ((arg1)->wd);
9810   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
9811   return jresult;
9812 }
9813 
9814 
9815 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1bus_1url_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
9816   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9817   struct zxid_bus_url *arg2 = (struct zxid_bus_url *) 0 ;
9818 
9819   (void)jenv;
9820   (void)jcls;
9821   arg1 = *(struct zxid_conf **)&jarg1;
9822   arg2 = *(struct zxid_bus_url **)&jarg2;
9823   if (arg1) (arg1)->bus_url = arg2;
9824 }
9825 
9826 
9827 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1bus_1url_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9828   jlong jresult = 0 ;
9829   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9830   struct zxid_bus_url *result = 0 ;
9831 
9832   (void)jenv;
9833   (void)jcls;
9834   arg1 = *(struct zxid_conf **)&jarg1;
9835   result = (struct zxid_bus_url *) ((arg1)->bus_url);
9836   *(struct zxid_bus_url **)&jresult = result;
9837   return jresult;
9838 }
9839 
9840 
9841 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1bus_1pw_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
9842   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9843   char *arg2 = (char *) 0 ;
9844 
9845   (void)jenv;
9846   (void)jcls;
9847   arg1 = *(struct zxid_conf **)&jarg1;
9848   arg2 = 0;
9849   if (jarg2) {
9850     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
9851     if (!arg2) return ;
9852   }
9853   {
9854     if (arg2) {
9855       arg1->bus_pw = (char *) malloc(strlen(( char *)arg2)+1);
9856       strcpy((char *)arg1->bus_pw, ( char *)arg2);
9857     } else {
9858       arg1->bus_pw = 0;
9859     }
9860   }
9861   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
9862 }
9863 
9864 
9865 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1bus_1pw_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9866   jstring jresult = 0 ;
9867   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9868   char *result = 0 ;
9869 
9870   (void)jenv;
9871   (void)jcls;
9872   arg1 = *(struct zxid_conf **)&jarg1;
9873   result = (char *) ((arg1)->bus_pw);
9874   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
9875   return jresult;
9876 }
9877 
9878 
9879 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1err_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
9880   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9881   char arg2 ;
9882 
9883   (void)jenv;
9884   (void)jcls;
9885   arg1 = *(struct zxid_conf **)&jarg1;
9886   arg2 = (char)jarg2;
9887   if (arg1) (arg1)->log_err = arg2;
9888 }
9889 
9890 
9891 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1err_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9892   jchar jresult = 0 ;
9893   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9894   char result;
9895 
9896   (void)jenv;
9897   (void)jcls;
9898   arg1 = *(struct zxid_conf **)&jarg1;
9899   result = (char) ((arg1)->log_err);
9900   jresult = (jchar)result;
9901   return jresult;
9902 }
9903 
9904 
9905 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1act_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
9906   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9907   char arg2 ;
9908 
9909   (void)jenv;
9910   (void)jcls;
9911   arg1 = *(struct zxid_conf **)&jarg1;
9912   arg2 = (char)jarg2;
9913   if (arg1) (arg1)->log_act = arg2;
9914 }
9915 
9916 
9917 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1act_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9918   jchar jresult = 0 ;
9919   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9920   char result;
9921 
9922   (void)jenv;
9923   (void)jcls;
9924   arg1 = *(struct zxid_conf **)&jarg1;
9925   result = (char) ((arg1)->log_act);
9926   jresult = (jchar)result;
9927   return jresult;
9928 }
9929 
9930 
9931 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1issue_1a7n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
9932   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9933   char arg2 ;
9934 
9935   (void)jenv;
9936   (void)jcls;
9937   arg1 = *(struct zxid_conf **)&jarg1;
9938   arg2 = (char)jarg2;
9939   if (arg1) (arg1)->log_issue_a7n = arg2;
9940 }
9941 
9942 
9943 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1issue_1a7n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9944   jchar jresult = 0 ;
9945   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9946   char result;
9947 
9948   (void)jenv;
9949   (void)jcls;
9950   arg1 = *(struct zxid_conf **)&jarg1;
9951   result = (char) ((arg1)->log_issue_a7n);
9952   jresult = (jchar)result;
9953   return jresult;
9954 }
9955 
9956 
9957 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1issue_1msg_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
9958   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9959   char arg2 ;
9960 
9961   (void)jenv;
9962   (void)jcls;
9963   arg1 = *(struct zxid_conf **)&jarg1;
9964   arg2 = (char)jarg2;
9965   if (arg1) (arg1)->log_issue_msg = arg2;
9966 }
9967 
9968 
9969 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1issue_1msg_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9970   jchar jresult = 0 ;
9971   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9972   char result;
9973 
9974   (void)jenv;
9975   (void)jcls;
9976   arg1 = *(struct zxid_conf **)&jarg1;
9977   result = (char) ((arg1)->log_issue_msg);
9978   jresult = (jchar)result;
9979   return jresult;
9980 }
9981 
9982 
9983 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1rely_1a7n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
9984   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9985   char arg2 ;
9986 
9987   (void)jenv;
9988   (void)jcls;
9989   arg1 = *(struct zxid_conf **)&jarg1;
9990   arg2 = (char)jarg2;
9991   if (arg1) (arg1)->log_rely_a7n = arg2;
9992 }
9993 
9994 
9995 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1rely_1a7n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
9996   jchar jresult = 0 ;
9997   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
9998   char result;
9999 
10000   (void)jenv;
10001   (void)jcls;
10002   arg1 = *(struct zxid_conf **)&jarg1;
10003   result = (char) ((arg1)->log_rely_a7n);
10004   jresult = (jchar)result;
10005   return jresult;
10006 }
10007 
10008 
10009 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1rely_1msg_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10010   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10011   char arg2 ;
10012 
10013   (void)jenv;
10014   (void)jcls;
10015   arg1 = *(struct zxid_conf **)&jarg1;
10016   arg2 = (char)jarg2;
10017   if (arg1) (arg1)->log_rely_msg = arg2;
10018 }
10019 
10020 
10021 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1rely_1msg_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10022   jchar jresult = 0 ;
10023   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10024   char result;
10025 
10026   (void)jenv;
10027   (void)jcls;
10028   arg1 = *(struct zxid_conf **)&jarg1;
10029   result = (char) ((arg1)->log_rely_msg);
10030   jresult = (jchar)result;
10031   return jresult;
10032 }
10033 
10034 
10035 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1err_1in_1act_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10036   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10037   char arg2 ;
10038 
10039   (void)jenv;
10040   (void)jcls;
10041   arg1 = *(struct zxid_conf **)&jarg1;
10042   arg2 = (char)jarg2;
10043   if (arg1) (arg1)->log_err_in_act = arg2;
10044 }
10045 
10046 
10047 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1err_1in_1act_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10048   jchar jresult = 0 ;
10049   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10050   char result;
10051 
10052   (void)jenv;
10053   (void)jcls;
10054   arg1 = *(struct zxid_conf **)&jarg1;
10055   result = (char) ((arg1)->log_err_in_act);
10056   jresult = (jchar)result;
10057   return jresult;
10058 }
10059 
10060 
10061 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1act_1in_1err_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10062   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10063   char arg2 ;
10064 
10065   (void)jenv;
10066   (void)jcls;
10067   arg1 = *(struct zxid_conf **)&jarg1;
10068   arg2 = (char)jarg2;
10069   if (arg1) (arg1)->log_act_in_err = arg2;
10070 }
10071 
10072 
10073 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1act_1in_1err_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10074   jchar jresult = 0 ;
10075   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10076   char result;
10077 
10078   (void)jenv;
10079   (void)jcls;
10080   arg1 = *(struct zxid_conf **)&jarg1;
10081   result = (char) ((arg1)->log_act_in_err);
10082   jresult = (jchar)result;
10083   return jresult;
10084 }
10085 
10086 
10087 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1sigfail_1is_1err_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10088   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10089   char arg2 ;
10090 
10091   (void)jenv;
10092   (void)jcls;
10093   arg1 = *(struct zxid_conf **)&jarg1;
10094   arg2 = (char)jarg2;
10095   if (arg1) (arg1)->log_sigfail_is_err = arg2;
10096 }
10097 
10098 
10099 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1sigfail_1is_1err_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10100   jchar jresult = 0 ;
10101   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10102   char result;
10103 
10104   (void)jenv;
10105   (void)jcls;
10106   arg1 = *(struct zxid_conf **)&jarg1;
10107   result = (char) ((arg1)->log_sigfail_is_err);
10108   jresult = (jchar)result;
10109   return jresult;
10110 }
10111 
10112 
10113 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1level_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10114   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10115   char arg2 ;
10116 
10117   (void)jenv;
10118   (void)jcls;
10119   arg1 = *(struct zxid_conf **)&jarg1;
10120   arg2 = (char)jarg2;
10121   if (arg1) (arg1)->log_level = arg2;
10122 }
10123 
10124 
10125 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1log_1level_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10126   jchar jresult = 0 ;
10127   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10128   char result;
10129 
10130   (void)jenv;
10131   (void)jcls;
10132   arg1 = *(struct zxid_conf **)&jarg1;
10133   result = (char) ((arg1)->log_level);
10134   jresult = (jchar)result;
10135   return jresult;
10136 }
10137 
10138 
10139 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1user_1local_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10140   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10141   char arg2 ;
10142 
10143   (void)jenv;
10144   (void)jcls;
10145   arg1 = *(struct zxid_conf **)&jarg1;
10146   arg2 = (char)jarg2;
10147   if (arg1) (arg1)->user_local = arg2;
10148 }
10149 
10150 
10151 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1user_1local_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10152   jchar jresult = 0 ;
10153   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10154   char result;
10155 
10156   (void)jenv;
10157   (void)jcls;
10158   arg1 = *(struct zxid_conf **)&jarg1;
10159   result = (char) ((arg1)->user_local);
10160   jresult = (jchar)result;
10161   return jresult;
10162 }
10163 
10164 
10165 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1redir_1to_1content_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10166   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10167   char arg2 ;
10168 
10169   (void)jenv;
10170   (void)jcls;
10171   arg1 = *(struct zxid_conf **)&jarg1;
10172   arg2 = (char)jarg2;
10173   if (arg1) (arg1)->redir_to_content = arg2;
10174 }
10175 
10176 
10177 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1redir_1to_1content_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10178   jchar jresult = 0 ;
10179   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10180   char result;
10181 
10182   (void)jenv;
10183   (void)jcls;
10184   arg1 = *(struct zxid_conf **)&jarg1;
10185   result = (char) ((arg1)->redir_to_content);
10186   jresult = (jchar)result;
10187   return jresult;
10188 }
10189 
10190 
10191 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1remote_1user_1ena_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10192   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10193   char arg2 ;
10194 
10195   (void)jenv;
10196   (void)jcls;
10197   arg1 = *(struct zxid_conf **)&jarg1;
10198   arg2 = (char)jarg2;
10199   if (arg1) (arg1)->remote_user_ena = arg2;
10200 }
10201 
10202 
10203 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1remote_1user_1ena_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10204   jchar jresult = 0 ;
10205   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10206   char result;
10207 
10208   (void)jenv;
10209   (void)jcls;
10210   arg1 = *(struct zxid_conf **)&jarg1;
10211   result = (char) ((arg1)->remote_user_ena);
10212   jresult = (jchar)result;
10213   return jresult;
10214 }
10215 
10216 
10217 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1show_1tech_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10218   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10219   char arg2 ;
10220 
10221   (void)jenv;
10222   (void)jcls;
10223   arg1 = *(struct zxid_conf **)&jarg1;
10224   arg2 = (char)jarg2;
10225   if (arg1) (arg1)->show_tech = arg2;
10226 }
10227 
10228 
10229 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1show_1tech_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10230   jchar jresult = 0 ;
10231   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10232   char result;
10233 
10234   (void)jenv;
10235   (void)jcls;
10236   arg1 = *(struct zxid_conf **)&jarg1;
10237   result = (char) ((arg1)->show_tech);
10238   jresult = (jchar)result;
10239   return jresult;
10240 }
10241 
10242 
10243 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1bare_1url_1entityid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10244   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10245   char arg2 ;
10246 
10247   (void)jenv;
10248   (void)jcls;
10249   arg1 = *(struct zxid_conf **)&jarg1;
10250   arg2 = (char)jarg2;
10251   if (arg1) (arg1)->bare_url_entityid = arg2;
10252 }
10253 
10254 
10255 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1bare_1url_1entityid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10256   jchar jresult = 0 ;
10257   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10258   char result;
10259 
10260   (void)jenv;
10261   (void)jcls;
10262   arg1 = *(struct zxid_conf **)&jarg1;
10263   result = (char) ((arg1)->bare_url_entityid);
10264   jresult = (jchar)result;
10265   return jresult;
10266 }
10267 
10268 
10269 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1loguser_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10270   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10271   char arg2 ;
10272 
10273   (void)jenv;
10274   (void)jcls;
10275   arg1 = *(struct zxid_conf **)&jarg1;
10276   arg2 = (char)jarg2;
10277   if (arg1) (arg1)->loguser = arg2;
10278 }
10279 
10280 
10281 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1loguser_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10282   jchar jresult = 0 ;
10283   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10284   char result;
10285 
10286   (void)jenv;
10287   (void)jcls;
10288   arg1 = *(struct zxid_conf **)&jarg1;
10289   result = (char) ((arg1)->loguser);
10290   jresult = (jchar)result;
10291   return jresult;
10292 }
10293 
10294 
10295 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1az_1opt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10296   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10297   char arg2 ;
10298 
10299   (void)jenv;
10300   (void)jcls;
10301   arg1 = *(struct zxid_conf **)&jarg1;
10302   arg2 = (char)jarg2;
10303   if (arg1) (arg1)->az_opt = arg2;
10304 }
10305 
10306 
10307 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1az_1opt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10308   jchar jresult = 0 ;
10309   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10310   char result;
10311 
10312   (void)jenv;
10313   (void)jcls;
10314   arg1 = *(struct zxid_conf **)&jarg1;
10315   result = (char) ((arg1)->az_opt);
10316   jresult = (jchar)result;
10317   return jresult;
10318 }
10319 
10320 
10321 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1valid_1opt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10322   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10323   char arg2 ;
10324 
10325   (void)jenv;
10326   (void)jcls;
10327   arg1 = *(struct zxid_conf **)&jarg1;
10328   arg2 = (char)jarg2;
10329   if (arg1) (arg1)->valid_opt = arg2;
10330 }
10331 
10332 
10333 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1valid_1opt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10334   jchar jresult = 0 ;
10335   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10336   char result;
10337 
10338   (void)jenv;
10339   (void)jcls;
10340   arg1 = *(struct zxid_conf **)&jarg1;
10341   result = (char) ((arg1)->valid_opt);
10342   jresult = (jchar)result;
10343   return jresult;
10344 }
10345 
10346 
10347 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1pxy_1ena_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10348   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10349   char arg2 ;
10350 
10351   (void)jenv;
10352   (void)jcls;
10353   arg1 = *(struct zxid_conf **)&jarg1;
10354   arg2 = (char)jarg2;
10355   if (arg1) (arg1)->idp_pxy_ena = arg2;
10356 }
10357 
10358 
10359 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1idp_1pxy_1ena_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10360   jchar jresult = 0 ;
10361   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10362   char result;
10363 
10364   (void)jenv;
10365   (void)jcls;
10366   arg1 = *(struct zxid_conf **)&jarg1;
10367   result = (char) ((arg1)->idp_pxy_ena);
10368   jresult = (jchar)result;
10369   return jresult;
10370 }
10371 
10372 
10373 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1oaz_1jwt_1sigenc_1alg_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10374   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10375   char arg2 ;
10376 
10377   (void)jenv;
10378   (void)jcls;
10379   arg1 = *(struct zxid_conf **)&jarg1;
10380   arg2 = (char)jarg2;
10381   if (arg1) (arg1)->oaz_jwt_sigenc_alg = arg2;
10382 }
10383 
10384 
10385 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1oaz_1jwt_1sigenc_1alg_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10386   jchar jresult = 0 ;
10387   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10388   char result;
10389 
10390   (void)jenv;
10391   (void)jcls;
10392   arg1 = *(struct zxid_conf **)&jarg1;
10393   result = (char) ((arg1)->oaz_jwt_sigenc_alg);
10394   jresult = (jchar)result;
10395   return jresult;
10396 }
10397 
10398 
10399 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1bus_1rcpt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10400   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10401   char arg2 ;
10402 
10403   (void)jenv;
10404   (void)jcls;
10405   arg1 = *(struct zxid_conf **)&jarg1;
10406   arg2 = (char)jarg2;
10407   if (arg1) (arg1)->bus_rcpt = arg2;
10408 }
10409 
10410 
10411 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1bus_1rcpt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10412   jchar jresult = 0 ;
10413   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10414   char result;
10415 
10416   (void)jenv;
10417   (void)jcls;
10418   arg1 = *(struct zxid_conf **)&jarg1;
10419   result = (char) ((arg1)->bus_rcpt);
10420   jresult = (jchar)result;
10421   return jresult;
10422 }
10423 
10424 
10425 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1az_1fail_1mode_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10426   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10427   char arg2 ;
10428 
10429   (void)jenv;
10430   (void)jcls;
10431   arg1 = *(struct zxid_conf **)&jarg1;
10432   arg2 = (char)jarg2;
10433   if (arg1) (arg1)->az_fail_mode = arg2;
10434 }
10435 
10436 
10437 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1az_1fail_1mode_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10438   jchar jresult = 0 ;
10439   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10440   char result;
10441 
10442   (void)jenv;
10443   (void)jcls;
10444   arg1 = *(struct zxid_conf **)&jarg1;
10445   result = (char) ((arg1)->az_fail_mode);
10446   jresult = (jchar)result;
10447   return jresult;
10448 }
10449 
10450 
10451 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1md_1authority_1ena_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10452   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10453   char arg2 ;
10454 
10455   (void)jenv;
10456   (void)jcls;
10457   arg1 = *(struct zxid_conf **)&jarg1;
10458   arg2 = (char)jarg2;
10459   if (arg1) (arg1)->md_authority_ena = arg2;
10460 }
10461 
10462 
10463 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1md_1authority_1ena_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10464   jchar jresult = 0 ;
10465   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10466   char result;
10467 
10468   (void)jenv;
10469   (void)jcls;
10470   arg1 = *(struct zxid_conf **)&jarg1;
10471   result = (char) ((arg1)->md_authority_ena);
10472   jresult = (jchar)result;
10473   return jresult;
10474 }
10475 
10476 
10477 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1backwards_1compat_1ena_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10478   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10479   char arg2 ;
10480 
10481   (void)jenv;
10482   (void)jcls;
10483   arg1 = *(struct zxid_conf **)&jarg1;
10484   arg2 = (char)jarg2;
10485   if (arg1) (arg1)->backwards_compat_ena = arg2;
10486 }
10487 
10488 
10489 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1backwards_1compat_1ena_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10490   jchar jresult = 0 ;
10491   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10492   char result;
10493 
10494   (void)jenv;
10495   (void)jcls;
10496   arg1 = *(struct zxid_conf **)&jarg1;
10497   result = (char) ((arg1)->backwards_compat_ena);
10498   jresult = (jchar)result;
10499   return jresult;
10500 }
10501 
10502 
10503 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1xmldsig_1sig_1meth_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
10504   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10505   char *arg2 = (char *) 0 ;
10506 
10507   (void)jenv;
10508   (void)jcls;
10509   arg1 = *(struct zxid_conf **)&jarg1;
10510   arg2 = 0;
10511   if (jarg2) {
10512     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
10513     if (!arg2) return ;
10514   }
10515   {
10516     if (arg2) {
10517       arg1->xmldsig_sig_meth = (char *) malloc(strlen(( char *)arg2)+1);
10518       strcpy((char *)arg1->xmldsig_sig_meth, ( char *)arg2);
10519     } else {
10520       arg1->xmldsig_sig_meth = 0;
10521     }
10522   }
10523   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
10524 }
10525 
10526 
10527 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1xmldsig_1sig_1meth_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10528   jstring jresult = 0 ;
10529   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10530   char *result = 0 ;
10531 
10532   (void)jenv;
10533   (void)jcls;
10534   arg1 = *(struct zxid_conf **)&jarg1;
10535   result = (char *) ((arg1)->xmldsig_sig_meth);
10536   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
10537   return jresult;
10538 }
10539 
10540 
10541 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1xmldsig_1digest_1algo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
10542   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10543   char *arg2 = (char *) 0 ;
10544 
10545   (void)jenv;
10546   (void)jcls;
10547   arg1 = *(struct zxid_conf **)&jarg1;
10548   arg2 = 0;
10549   if (jarg2) {
10550     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
10551     if (!arg2) return ;
10552   }
10553   {
10554     if (arg2) {
10555       arg1->xmldsig_digest_algo = (char *) malloc(strlen(( char *)arg2)+1);
10556       strcpy((char *)arg1->xmldsig_digest_algo, ( char *)arg2);
10557     } else {
10558       arg1->xmldsig_digest_algo = 0;
10559     }
10560   }
10561   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
10562 }
10563 
10564 
10565 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1xmldsig_1digest_1algo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10566   jstring jresult = 0 ;
10567   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10568   char *result = 0 ;
10569 
10570   (void)jenv;
10571   (void)jcls;
10572   arg1 = *(struct zxid_conf **)&jarg1;
10573   result = (char *) ((arg1)->xmldsig_digest_algo);
10574   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
10575   return jresult;
10576 }
10577 
10578 
10579 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1samlsig_1digest_1algo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
10580   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10581   char *arg2 = (char *) 0 ;
10582 
10583   (void)jenv;
10584   (void)jcls;
10585   arg1 = *(struct zxid_conf **)&jarg1;
10586   arg2 = 0;
10587   if (jarg2) {
10588     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
10589     if (!arg2) return ;
10590   }
10591   {
10592     if (arg2) {
10593       arg1->samlsig_digest_algo = (char *) malloc(strlen(( char *)arg2)+1);
10594       strcpy((char *)arg1->samlsig_digest_algo, ( char *)arg2);
10595     } else {
10596       arg1->samlsig_digest_algo = 0;
10597     }
10598   }
10599   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
10600 }
10601 
10602 
10603 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1samlsig_1digest_1algo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10604   jstring jresult = 0 ;
10605   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10606   char *result = 0 ;
10607 
10608   (void)jenv;
10609   (void)jcls;
10610   arg1 = *(struct zxid_conf **)&jarg1;
10611   result = (char *) ((arg1)->samlsig_digest_algo);
10612   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
10613   return jresult;
10614 }
10615 
10616 
10617 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1blobsig_1digest_1algo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
10618   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10619   char *arg2 = (char *) 0 ;
10620 
10621   (void)jenv;
10622   (void)jcls;
10623   arg1 = *(struct zxid_conf **)&jarg1;
10624   arg2 = 0;
10625   if (jarg2) {
10626     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
10627     if (!arg2) return ;
10628   }
10629   {
10630     if (arg2) {
10631       arg1->blobsig_digest_algo = (char *) malloc(strlen(( char *)arg2)+1);
10632       strcpy((char *)arg1->blobsig_digest_algo, ( char *)arg2);
10633     } else {
10634       arg1->blobsig_digest_algo = 0;
10635     }
10636   }
10637   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
10638 }
10639 
10640 
10641 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1blobsig_1digest_1algo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10642   jstring jresult = 0 ;
10643   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10644   char *result = 0 ;
10645 
10646   (void)jenv;
10647   (void)jcls;
10648   arg1 = *(struct zxid_conf **)&jarg1;
10649   result = (char *) ((arg1)->blobsig_digest_algo);
10650   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
10651   return jresult;
10652 }
10653 
10654 
10655 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1conf(JNIEnv *jenv, jclass jcls) {
10656   jlong jresult = 0 ;
10657   struct zxid_conf *result = 0 ;
10658 
10659   (void)jenv;
10660   (void)jcls;
10661   result = (struct zxid_conf *)calloc(1, sizeof(struct zxid_conf));
10662   *(struct zxid_conf **)&jresult = result;
10663   return jresult;
10664 }
10665 
10666 
10667 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1conf(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10668   struct zxid_conf *arg1 = (struct zxid_conf *) 0 ;
10669 
10670   (void)jenv;
10671   (void)jcls;
10672   arg1 = *(struct zxid_conf **)&jarg1;
10673   free((char *) arg1);
10674 }
10675 
10676 
10677 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1magic_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
10678   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
10679   unsigned int arg2 ;
10680 
10681   (void)jenv;
10682   (void)jcls;
10683   arg1 = *(struct zxid_cgi **)&jarg1;
10684   arg2 = (unsigned int)jarg2;
10685   if (arg1) (arg1)->magic = arg2;
10686 }
10687 
10688 
10689 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1magic_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10690   jlong jresult = 0 ;
10691   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
10692   unsigned int result;
10693 
10694   (void)jenv;
10695   (void)jcls;
10696   arg1 = *(struct zxid_cgi **)&jarg1;
10697   result = (unsigned int) ((arg1)->magic);
10698   jresult = (jlong)result;
10699   return jresult;
10700 }
10701 
10702 
10703 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1op_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10704   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
10705   char arg2 ;
10706 
10707   (void)jenv;
10708   (void)jcls;
10709   arg1 = *(struct zxid_cgi **)&jarg1;
10710   arg2 = (char)jarg2;
10711   if (arg1) (arg1)->op = arg2;
10712 }
10713 
10714 
10715 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1op_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10716   jchar jresult = 0 ;
10717   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
10718   char result;
10719 
10720   (void)jenv;
10721   (void)jcls;
10722   arg1 = *(struct zxid_cgi **)&jarg1;
10723   result = (char) ((arg1)->op);
10724   jresult = (jchar)result;
10725   return jresult;
10726 }
10727 
10728 
10729 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1pr_1ix_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10730   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
10731   char arg2 ;
10732 
10733   (void)jenv;
10734   (void)jcls;
10735   arg1 = *(struct zxid_cgi **)&jarg1;
10736   arg2 = (char)jarg2;
10737   if (arg1) (arg1)->pr_ix = arg2;
10738 }
10739 
10740 
10741 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1pr_1ix_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10742   jchar jresult = 0 ;
10743   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
10744   char result;
10745 
10746   (void)jenv;
10747   (void)jcls;
10748   arg1 = *(struct zxid_cgi **)&jarg1;
10749   result = (char) ((arg1)->pr_ix);
10750   jresult = (jchar)result;
10751   return jresult;
10752 }
10753 
10754 
10755 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1allow_1create_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10756   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
10757   char arg2 ;
10758 
10759   (void)jenv;
10760   (void)jcls;
10761   arg1 = *(struct zxid_cgi **)&jarg1;
10762   arg2 = (char)jarg2;
10763   if (arg1) (arg1)->allow_create = arg2;
10764 }
10765 
10766 
10767 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1allow_1create_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10768   jchar jresult = 0 ;
10769   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
10770   char result;
10771 
10772   (void)jenv;
10773   (void)jcls;
10774   arg1 = *(struct zxid_cgi **)&jarg1;
10775   result = (char) ((arg1)->allow_create);
10776   jresult = (jchar)result;
10777   return jresult;
10778 }
10779 
10780 
10781 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1ispassive_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10782   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
10783   char arg2 ;
10784 
10785   (void)jenv;
10786   (void)jcls;
10787   arg1 = *(struct zxid_cgi **)&jarg1;
10788   arg2 = (char)jarg2;
10789   if (arg1) (arg1)->ispassive = arg2;
10790 }
10791 
10792 
10793 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1ispassive_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10794   jchar jresult = 0 ;
10795   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
10796   char result;
10797 
10798   (void)jenv;
10799   (void)jcls;
10800   arg1 = *(struct zxid_cgi **)&jarg1;
10801   result = (char) ((arg1)->ispassive);
10802   jresult = (jchar)result;
10803   return jresult;
10804 }
10805 
10806 
10807 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1force_1authn_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10808   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
10809   char arg2 ;
10810 
10811   (void)jenv;
10812   (void)jcls;
10813   arg1 = *(struct zxid_cgi **)&jarg1;
10814   arg2 = (char)jarg2;
10815   if (arg1) (arg1)->force_authn = arg2;
10816 }
10817 
10818 
10819 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1force_1authn_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10820   jchar jresult = 0 ;
10821   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
10822   char result;
10823 
10824   (void)jenv;
10825   (void)jcls;
10826   arg1 = *(struct zxid_cgi **)&jarg1;
10827   result = (char) ((arg1)->force_authn);
10828   jresult = (jchar)result;
10829   return jresult;
10830 }
10831 
10832 
10833 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1enc_1hint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10834   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
10835   char arg2 ;
10836 
10837   (void)jenv;
10838   (void)jcls;
10839   arg1 = *(struct zxid_cgi **)&jarg1;
10840   arg2 = (char)jarg2;
10841   if (arg1) (arg1)->enc_hint = arg2;
10842 }
10843 
10844 
10845 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1enc_1hint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10846   jchar jresult = 0 ;
10847   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
10848   char result;
10849 
10850   (void)jenv;
10851   (void)jcls;
10852   arg1 = *(struct zxid_cgi **)&jarg1;
10853   result = (char) ((arg1)->enc_hint);
10854   jresult = (jchar)result;
10855   return jresult;
10856 }
10857 
10858 
10859 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1atselafter_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10860   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
10861   char arg2 ;
10862 
10863   (void)jenv;
10864   (void)jcls;
10865   arg1 = *(struct zxid_cgi **)&jarg1;
10866   arg2 = (char)jarg2;
10867   if (arg1) (arg1)->atselafter = arg2;
10868 }
10869 
10870 
10871 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1atselafter_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10872   jchar jresult = 0 ;
10873   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
10874   char result;
10875 
10876   (void)jenv;
10877   (void)jcls;
10878   arg1 = *(struct zxid_cgi **)&jarg1;
10879   result = (char) ((arg1)->atselafter);
10880   jresult = (jchar)result;
10881   return jresult;
10882 }
10883 
10884 
10885 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1mob_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
10886   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
10887   char arg2 ;
10888 
10889   (void)jenv;
10890   (void)jcls;
10891   arg1 = *(struct zxid_cgi **)&jarg1;
10892   arg2 = (char)jarg2;
10893   if (arg1) (arg1)->mob = arg2;
10894 }
10895 
10896 
10897 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1mob_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10898   jchar jresult = 0 ;
10899   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
10900   char result;
10901 
10902   (void)jenv;
10903   (void)jcls;
10904   arg1 = *(struct zxid_cgi **)&jarg1;
10905   result = (char) ((arg1)->mob);
10906   jresult = (jchar)result;
10907   return jresult;
10908 }
10909 
10910 
10911 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
10912   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
10913   char *arg2 = (char *) 0 ;
10914 
10915   (void)jenv;
10916   (void)jcls;
10917   arg1 = *(struct zxid_cgi **)&jarg1;
10918   arg2 = 0;
10919   if (jarg2) {
10920     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
10921     if (!arg2) return ;
10922   }
10923   {
10924     if (arg2) {
10925       arg1->sid = (char *) malloc(strlen(( char *)arg2)+1);
10926       strcpy((char *)arg1->sid, ( char *)arg2);
10927     } else {
10928       arg1->sid = 0;
10929     }
10930   }
10931   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
10932 }
10933 
10934 
10935 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10936   jstring jresult = 0 ;
10937   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
10938   char *result = 0 ;
10939 
10940   (void)jenv;
10941   (void)jcls;
10942   arg1 = *(struct zxid_cgi **)&jarg1;
10943   result = (char *) ((arg1)->sid);
10944   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
10945   return jresult;
10946 }
10947 
10948 
10949 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1nid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
10950   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
10951   char *arg2 = (char *) 0 ;
10952 
10953   (void)jenv;
10954   (void)jcls;
10955   arg1 = *(struct zxid_cgi **)&jarg1;
10956   arg2 = 0;
10957   if (jarg2) {
10958     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
10959     if (!arg2) return ;
10960   }
10961   {
10962     if (arg2) {
10963       arg1->nid = (char *) malloc(strlen(( char *)arg2)+1);
10964       strcpy((char *)arg1->nid, ( char *)arg2);
10965     } else {
10966       arg1->nid = 0;
10967     }
10968   }
10969   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
10970 }
10971 
10972 
10973 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1nid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
10974   jstring jresult = 0 ;
10975   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
10976   char *result = 0 ;
10977 
10978   (void)jenv;
10979   (void)jcls;
10980   arg1 = *(struct zxid_cgi **)&jarg1;
10981   result = (char *) ((arg1)->nid);
10982   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
10983   return jresult;
10984 }
10985 
10986 
10987 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1uid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
10988   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
10989   char *arg2 = (char *) 0 ;
10990 
10991   (void)jenv;
10992   (void)jcls;
10993   arg1 = *(struct zxid_cgi **)&jarg1;
10994   arg2 = 0;
10995   if (jarg2) {
10996     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
10997     if (!arg2) return ;
10998   }
10999   {
11000     if (arg2) {
11001       arg1->uid = (char *) malloc(strlen(( char *)arg2)+1);
11002       strcpy((char *)arg1->uid, ( char *)arg2);
11003     } else {
11004       arg1->uid = 0;
11005     }
11006   }
11007   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11008 }
11009 
11010 
11011 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1uid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11012   jstring jresult = 0 ;
11013   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11014   char *result = 0 ;
11015 
11016   (void)jenv;
11017   (void)jcls;
11018   arg1 = *(struct zxid_cgi **)&jarg1;
11019   result = (char *) ((arg1)->uid);
11020   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11021   return jresult;
11022 }
11023 
11024 
11025 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1pw_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11026   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11027   char *arg2 = (char *) 0 ;
11028 
11029   (void)jenv;
11030   (void)jcls;
11031   arg1 = *(struct zxid_cgi **)&jarg1;
11032   arg2 = 0;
11033   if (jarg2) {
11034     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11035     if (!arg2) return ;
11036   }
11037   {
11038     if (arg2) {
11039       arg1->pw = (char *) malloc(strlen(( char *)arg2)+1);
11040       strcpy((char *)arg1->pw, ( char *)arg2);
11041     } else {
11042       arg1->pw = 0;
11043     }
11044   }
11045   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11046 }
11047 
11048 
11049 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1pw_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11050   jstring jresult = 0 ;
11051   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11052   char *result = 0 ;
11053 
11054   (void)jenv;
11055   (void)jcls;
11056   arg1 = *(struct zxid_cgi **)&jarg1;
11057   result = (char *) ((arg1)->pw);
11058   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11059   return jresult;
11060 }
11061 
11062 
11063 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1pin_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11064   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11065   char *arg2 = (char *) 0 ;
11066 
11067   (void)jenv;
11068   (void)jcls;
11069   arg1 = *(struct zxid_cgi **)&jarg1;
11070   arg2 = 0;
11071   if (jarg2) {
11072     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11073     if (!arg2) return ;
11074   }
11075   {
11076     if (arg2) {
11077       arg1->pin = (char *) malloc(strlen(( char *)arg2)+1);
11078       strcpy((char *)arg1->pin, ( char *)arg2);
11079     } else {
11080       arg1->pin = 0;
11081     }
11082   }
11083   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11084 }
11085 
11086 
11087 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1pin_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11088   jstring jresult = 0 ;
11089   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11090   char *result = 0 ;
11091 
11092   (void)jenv;
11093   (void)jcls;
11094   arg1 = *(struct zxid_cgi **)&jarg1;
11095   result = (char *) ((arg1)->pin);
11096   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11097   return jresult;
11098 }
11099 
11100 
11101 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1ssoreq_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11102   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11103   char *arg2 = (char *) 0 ;
11104 
11105   (void)jenv;
11106   (void)jcls;
11107   arg1 = *(struct zxid_cgi **)&jarg1;
11108   arg2 = 0;
11109   if (jarg2) {
11110     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11111     if (!arg2) return ;
11112   }
11113   {
11114     if (arg2) {
11115       arg1->ssoreq = (char *) malloc(strlen(( char *)arg2)+1);
11116       strcpy((char *)arg1->ssoreq, ( char *)arg2);
11117     } else {
11118       arg1->ssoreq = 0;
11119     }
11120   }
11121   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11122 }
11123 
11124 
11125 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1ssoreq_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11126   jstring jresult = 0 ;
11127   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11128   char *result = 0 ;
11129 
11130   (void)jenv;
11131   (void)jcls;
11132   arg1 = *(struct zxid_cgi **)&jarg1;
11133   result = (char *) ((arg1)->ssoreq);
11134   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11135   return jresult;
11136 }
11137 
11138 
11139 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1cdc_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11140   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11141   char *arg2 = (char *) 0 ;
11142 
11143   (void)jenv;
11144   (void)jcls;
11145   arg1 = *(struct zxid_cgi **)&jarg1;
11146   arg2 = 0;
11147   if (jarg2) {
11148     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11149     if (!arg2) return ;
11150   }
11151   {
11152     if (arg2) {
11153       arg1->cdc = (char *) malloc(strlen(( char *)arg2)+1);
11154       strcpy((char *)arg1->cdc, ( char *)arg2);
11155     } else {
11156       arg1->cdc = 0;
11157     }
11158   }
11159   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11160 }
11161 
11162 
11163 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1cdc_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11164   jstring jresult = 0 ;
11165   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11166   char *result = 0 ;
11167 
11168   (void)jenv;
11169   (void)jcls;
11170   arg1 = *(struct zxid_cgi **)&jarg1;
11171   result = (char *) ((arg1)->cdc);
11172   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11173   return jresult;
11174 }
11175 
11176 
11177 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1eid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11178   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11179   char *arg2 = (char *) 0 ;
11180 
11181   (void)jenv;
11182   (void)jcls;
11183   arg1 = *(struct zxid_cgi **)&jarg1;
11184   arg2 = 0;
11185   if (jarg2) {
11186     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11187     if (!arg2) return ;
11188   }
11189   {
11190     if (arg2) {
11191       arg1->eid = (char *) malloc(strlen(( char *)arg2)+1);
11192       strcpy((char *)arg1->eid, ( char *)arg2);
11193     } else {
11194       arg1->eid = 0;
11195     }
11196   }
11197   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11198 }
11199 
11200 
11201 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1eid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11202   jstring jresult = 0 ;
11203   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11204   char *result = 0 ;
11205 
11206   (void)jenv;
11207   (void)jcls;
11208   arg1 = *(struct zxid_cgi **)&jarg1;
11209   result = (char *) ((arg1)->eid);
11210   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11211   return jresult;
11212 }
11213 
11214 
11215 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1nid_1fmt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11216   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11217   char *arg2 = (char *) 0 ;
11218 
11219   (void)jenv;
11220   (void)jcls;
11221   arg1 = *(struct zxid_cgi **)&jarg1;
11222   arg2 = 0;
11223   if (jarg2) {
11224     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11225     if (!arg2) return ;
11226   }
11227   {
11228     if (arg2) {
11229       arg1->nid_fmt = (char *) malloc(strlen(( char *)arg2)+1);
11230       strcpy((char *)arg1->nid_fmt, ( char *)arg2);
11231     } else {
11232       arg1->nid_fmt = 0;
11233     }
11234   }
11235   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11236 }
11237 
11238 
11239 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1nid_1fmt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11240   jstring jresult = 0 ;
11241   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11242   char *result = 0 ;
11243 
11244   (void)jenv;
11245   (void)jcls;
11246   arg1 = *(struct zxid_cgi **)&jarg1;
11247   result = (char *) ((arg1)->nid_fmt);
11248   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11249   return jresult;
11250 }
11251 
11252 
11253 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1affil_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11254   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11255   char *arg2 = (char *) 0 ;
11256 
11257   (void)jenv;
11258   (void)jcls;
11259   arg1 = *(struct zxid_cgi **)&jarg1;
11260   arg2 = 0;
11261   if (jarg2) {
11262     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11263     if (!arg2) return ;
11264   }
11265   {
11266     if (arg2) {
11267       arg1->affil = (char *) malloc(strlen(( char *)arg2)+1);
11268       strcpy((char *)arg1->affil, ( char *)arg2);
11269     } else {
11270       arg1->affil = 0;
11271     }
11272   }
11273   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11274 }
11275 
11276 
11277 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1affil_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11278   jstring jresult = 0 ;
11279   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11280   char *result = 0 ;
11281 
11282   (void)jenv;
11283   (void)jcls;
11284   arg1 = *(struct zxid_cgi **)&jarg1;
11285   result = (char *) ((arg1)->affil);
11286   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11287   return jresult;
11288 }
11289 
11290 
11291 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1consent_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11292   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11293   char *arg2 = (char *) 0 ;
11294 
11295   (void)jenv;
11296   (void)jcls;
11297   arg1 = *(struct zxid_cgi **)&jarg1;
11298   arg2 = 0;
11299   if (jarg2) {
11300     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11301     if (!arg2) return ;
11302   }
11303   {
11304     if (arg2) {
11305       arg1->consent = (char *) malloc(strlen(( char *)arg2)+1);
11306       strcpy((char *)arg1->consent, ( char *)arg2);
11307     } else {
11308       arg1->consent = 0;
11309     }
11310   }
11311   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11312 }
11313 
11314 
11315 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1consent_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11316   jstring jresult = 0 ;
11317   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11318   char *result = 0 ;
11319 
11320   (void)jenv;
11321   (void)jcls;
11322   arg1 = *(struct zxid_cgi **)&jarg1;
11323   result = (char *) ((arg1)->consent);
11324   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11325   return jresult;
11326 }
11327 
11328 
11329 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1matching_1rule_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11330   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11331   char *arg2 = (char *) 0 ;
11332 
11333   (void)jenv;
11334   (void)jcls;
11335   arg1 = *(struct zxid_cgi **)&jarg1;
11336   arg2 = 0;
11337   if (jarg2) {
11338     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11339     if (!arg2) return ;
11340   }
11341   {
11342     if (arg2) {
11343       arg1->matching_rule = (char *) malloc(strlen(( char *)arg2)+1);
11344       strcpy((char *)arg1->matching_rule, ( char *)arg2);
11345     } else {
11346       arg1->matching_rule = 0;
11347     }
11348   }
11349   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11350 }
11351 
11352 
11353 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1matching_1rule_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11354   jstring jresult = 0 ;
11355   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11356   char *result = 0 ;
11357 
11358   (void)jenv;
11359   (void)jcls;
11360   arg1 = *(struct zxid_cgi **)&jarg1;
11361   result = (char *) ((arg1)->matching_rule);
11362   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11363   return jresult;
11364 }
11365 
11366 
11367 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1authn_1ctx_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11368   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11369   char *arg2 = (char *) 0 ;
11370 
11371   (void)jenv;
11372   (void)jcls;
11373   arg1 = *(struct zxid_cgi **)&jarg1;
11374   arg2 = 0;
11375   if (jarg2) {
11376     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11377     if (!arg2) return ;
11378   }
11379   {
11380     if (arg2) {
11381       arg1->authn_ctx = (char *) malloc(strlen(( char *)arg2)+1);
11382       strcpy((char *)arg1->authn_ctx, ( char *)arg2);
11383     } else {
11384       arg1->authn_ctx = 0;
11385     }
11386   }
11387   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11388 }
11389 
11390 
11391 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1authn_1ctx_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11392   jstring jresult = 0 ;
11393   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11394   char *result = 0 ;
11395 
11396   (void)jenv;
11397   (void)jcls;
11398   arg1 = *(struct zxid_cgi **)&jarg1;
11399   result = (char *) ((arg1)->authn_ctx);
11400   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11401   return jresult;
11402 }
11403 
11404 
11405 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1pxy_1count_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11406   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11407   char *arg2 = (char *) 0 ;
11408 
11409   (void)jenv;
11410   (void)jcls;
11411   arg1 = *(struct zxid_cgi **)&jarg1;
11412   arg2 = 0;
11413   if (jarg2) {
11414     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11415     if (!arg2) return ;
11416   }
11417   {
11418     if (arg2) {
11419       arg1->pxy_count = (char *) malloc(strlen(( char *)arg2)+1);
11420       strcpy((char *)arg1->pxy_count, ( char *)arg2);
11421     } else {
11422       arg1->pxy_count = 0;
11423     }
11424   }
11425   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11426 }
11427 
11428 
11429 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1pxy_1count_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11430   jstring jresult = 0 ;
11431   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11432   char *result = 0 ;
11433 
11434   (void)jenv;
11435   (void)jcls;
11436   arg1 = *(struct zxid_cgi **)&jarg1;
11437   result = (char *) ((arg1)->pxy_count);
11438   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11439   return jresult;
11440 }
11441 
11442 
11443 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1get_1complete_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11444   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11445   char *arg2 = (char *) 0 ;
11446 
11447   (void)jenv;
11448   (void)jcls;
11449   arg1 = *(struct zxid_cgi **)&jarg1;
11450   arg2 = 0;
11451   if (jarg2) {
11452     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11453     if (!arg2) return ;
11454   }
11455   {
11456     if (arg2) {
11457       arg1->get_complete = (char *) malloc(strlen(( char *)arg2)+1);
11458       strcpy((char *)arg1->get_complete, ( char *)arg2);
11459     } else {
11460       arg1->get_complete = 0;
11461     }
11462   }
11463   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11464 }
11465 
11466 
11467 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1get_1complete_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11468   jstring jresult = 0 ;
11469   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11470   char *result = 0 ;
11471 
11472   (void)jenv;
11473   (void)jcls;
11474   arg1 = *(struct zxid_cgi **)&jarg1;
11475   result = (char *) ((arg1)->get_complete);
11476   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11477   return jresult;
11478 }
11479 
11480 
11481 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1idppxylist_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11482   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11483   char *arg2 = (char *) 0 ;
11484 
11485   (void)jenv;
11486   (void)jcls;
11487   arg1 = *(struct zxid_cgi **)&jarg1;
11488   arg2 = 0;
11489   if (jarg2) {
11490     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11491     if (!arg2) return ;
11492   }
11493   {
11494     if (arg2) {
11495       arg1->idppxylist = (char *) malloc(strlen(( char *)arg2)+1);
11496       strcpy((char *)arg1->idppxylist, ( char *)arg2);
11497     } else {
11498       arg1->idppxylist = 0;
11499     }
11500   }
11501   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11502 }
11503 
11504 
11505 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1idppxylist_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11506   jstring jresult = 0 ;
11507   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11508   char *result = 0 ;
11509 
11510   (void)jenv;
11511   (void)jcls;
11512   arg1 = *(struct zxid_cgi **)&jarg1;
11513   result = (char *) ((arg1)->idppxylist);
11514   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11515   return jresult;
11516 }
11517 
11518 
11519 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1rs_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11520   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11521   char *arg2 = (char *) 0 ;
11522 
11523   (void)jenv;
11524   (void)jcls;
11525   arg1 = *(struct zxid_cgi **)&jarg1;
11526   arg2 = 0;
11527   if (jarg2) {
11528     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11529     if (!arg2) return ;
11530   }
11531   {
11532     if (arg2) {
11533       arg1->rs = (char *) malloc(strlen(( char *)arg2)+1);
11534       strcpy((char *)arg1->rs, ( char *)arg2);
11535     } else {
11536       arg1->rs = 0;
11537     }
11538   }
11539   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11540 }
11541 
11542 
11543 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1rs_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11544   jstring jresult = 0 ;
11545   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11546   char *result = 0 ;
11547 
11548   (void)jenv;
11549   (void)jcls;
11550   arg1 = *(struct zxid_cgi **)&jarg1;
11551   result = (char *) ((arg1)->rs);
11552   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11553   return jresult;
11554 }
11555 
11556 
11557 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1newnym_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11558   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11559   char *arg2 = (char *) 0 ;
11560 
11561   (void)jenv;
11562   (void)jcls;
11563   arg1 = *(struct zxid_cgi **)&jarg1;
11564   arg2 = 0;
11565   if (jarg2) {
11566     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11567     if (!arg2) return ;
11568   }
11569   {
11570     if (arg2) {
11571       arg1->newnym = (char *) malloc(strlen(( char *)arg2)+1);
11572       strcpy((char *)arg1->newnym, ( char *)arg2);
11573     } else {
11574       arg1->newnym = 0;
11575     }
11576   }
11577   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11578 }
11579 
11580 
11581 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1newnym_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11582   jstring jresult = 0 ;
11583   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11584   char *result = 0 ;
11585 
11586   (void)jenv;
11587   (void)jcls;
11588   arg1 = *(struct zxid_cgi **)&jarg1;
11589   result = (char *) ((arg1)->newnym);
11590   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11591   return jresult;
11592 }
11593 
11594 
11595 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1saml_1art_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11596   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11597   char *arg2 = (char *) 0 ;
11598 
11599   (void)jenv;
11600   (void)jcls;
11601   arg1 = *(struct zxid_cgi **)&jarg1;
11602   arg2 = 0;
11603   if (jarg2) {
11604     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11605     if (!arg2) return ;
11606   }
11607   {
11608     if (arg2) {
11609       arg1->saml_art = (char *) malloc(strlen(( char *)arg2)+1);
11610       strcpy((char *)arg1->saml_art, ( char *)arg2);
11611     } else {
11612       arg1->saml_art = 0;
11613     }
11614   }
11615   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11616 }
11617 
11618 
11619 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1saml_1art_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11620   jstring jresult = 0 ;
11621   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11622   char *result = 0 ;
11623 
11624   (void)jenv;
11625   (void)jcls;
11626   arg1 = *(struct zxid_cgi **)&jarg1;
11627   result = (char *) ((arg1)->saml_art);
11628   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11629   return jresult;
11630 }
11631 
11632 
11633 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1saml_1resp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11634   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11635   char *arg2 = (char *) 0 ;
11636 
11637   (void)jenv;
11638   (void)jcls;
11639   arg1 = *(struct zxid_cgi **)&jarg1;
11640   arg2 = 0;
11641   if (jarg2) {
11642     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11643     if (!arg2) return ;
11644   }
11645   {
11646     if (arg2) {
11647       arg1->saml_resp = (char *) malloc(strlen(( char *)arg2)+1);
11648       strcpy((char *)arg1->saml_resp, ( char *)arg2);
11649     } else {
11650       arg1->saml_resp = 0;
11651     }
11652   }
11653   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11654 }
11655 
11656 
11657 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1saml_1resp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11658   jstring jresult = 0 ;
11659   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11660   char *result = 0 ;
11661 
11662   (void)jenv;
11663   (void)jcls;
11664   arg1 = *(struct zxid_cgi **)&jarg1;
11665   result = (char *) ((arg1)->saml_resp);
11666   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11667   return jresult;
11668 }
11669 
11670 
11671 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1saml_1req_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11672   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11673   char *arg2 = (char *) 0 ;
11674 
11675   (void)jenv;
11676   (void)jcls;
11677   arg1 = *(struct zxid_cgi **)&jarg1;
11678   arg2 = 0;
11679   if (jarg2) {
11680     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11681     if (!arg2) return ;
11682   }
11683   {
11684     if (arg2) {
11685       arg1->saml_req = (char *) malloc(strlen(( char *)arg2)+1);
11686       strcpy((char *)arg1->saml_req, ( char *)arg2);
11687     } else {
11688       arg1->saml_req = 0;
11689     }
11690   }
11691   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11692 }
11693 
11694 
11695 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1saml_1req_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11696   jstring jresult = 0 ;
11697   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11698   char *result = 0 ;
11699 
11700   (void)jenv;
11701   (void)jcls;
11702   arg1 = *(struct zxid_cgi **)&jarg1;
11703   result = (char *) ((arg1)->saml_req);
11704   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11705   return jresult;
11706 }
11707 
11708 
11709 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sigalg_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11710   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11711   char *arg2 = (char *) 0 ;
11712 
11713   (void)jenv;
11714   (void)jcls;
11715   arg1 = *(struct zxid_cgi **)&jarg1;
11716   arg2 = 0;
11717   if (jarg2) {
11718     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11719     if (!arg2) return ;
11720   }
11721   {
11722     if (arg2) {
11723       arg1->sigalg = (char *) malloc(strlen(( char *)arg2)+1);
11724       strcpy((char *)arg1->sigalg, ( char *)arg2);
11725     } else {
11726       arg1->sigalg = 0;
11727     }
11728   }
11729   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11730 }
11731 
11732 
11733 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sigalg_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11734   jstring jresult = 0 ;
11735   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11736   char *result = 0 ;
11737 
11738   (void)jenv;
11739   (void)jcls;
11740   arg1 = *(struct zxid_cgi **)&jarg1;
11741   result = (char *) ((arg1)->sigalg);
11742   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11743   return jresult;
11744 }
11745 
11746 
11747 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sig_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11748   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11749   char *arg2 = (char *) 0 ;
11750 
11751   (void)jenv;
11752   (void)jcls;
11753   arg1 = *(struct zxid_cgi **)&jarg1;
11754   arg2 = 0;
11755   if (jarg2) {
11756     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11757     if (!arg2) return ;
11758   }
11759   {
11760     if (arg2) {
11761       arg1->sig = (char *) malloc(strlen(( char *)arg2)+1);
11762       strcpy((char *)arg1->sig, ( char *)arg2);
11763     } else {
11764       arg1->sig = 0;
11765     }
11766   }
11767   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11768 }
11769 
11770 
11771 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sig_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11772   jstring jresult = 0 ;
11773   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11774   char *result = 0 ;
11775 
11776   (void)jenv;
11777   (void)jcls;
11778   arg1 = *(struct zxid_cgi **)&jarg1;
11779   result = (char *) ((arg1)->sig);
11780   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11781   return jresult;
11782 }
11783 
11784 
11785 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sigval_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11786   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11787   char *arg2 = (char *) 0 ;
11788 
11789   (void)jenv;
11790   (void)jcls;
11791   arg1 = *(struct zxid_cgi **)&jarg1;
11792   arg2 = 0;
11793   if (jarg2) {
11794     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11795     if (!arg2) return ;
11796   }
11797   {
11798     if (arg2) {
11799       arg1->sigval = (char *) malloc(strlen(( char *)arg2)+1);
11800       strcpy((char *)arg1->sigval, ( char *)arg2);
11801     } else {
11802       arg1->sigval = 0;
11803     }
11804   }
11805   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11806 }
11807 
11808 
11809 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sigval_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11810   jstring jresult = 0 ;
11811   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11812   char *result = 0 ;
11813 
11814   (void)jenv;
11815   (void)jcls;
11816   arg1 = *(struct zxid_cgi **)&jarg1;
11817   result = (char *) ((arg1)->sigval);
11818   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11819   return jresult;
11820 }
11821 
11822 
11823 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sigmsg_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11824   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11825   char *arg2 = (char *) 0 ;
11826 
11827   (void)jenv;
11828   (void)jcls;
11829   arg1 = *(struct zxid_cgi **)&jarg1;
11830   arg2 = 0;
11831   if (jarg2) {
11832     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11833     if (!arg2) return ;
11834   }
11835   {
11836     if (arg2) {
11837       arg1->sigmsg = (char *) malloc(strlen(( char *)arg2)+1);
11838       strcpy((char *)arg1->sigmsg, ( char *)arg2);
11839     } else {
11840       arg1->sigmsg = 0;
11841     }
11842   }
11843   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11844 }
11845 
11846 
11847 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sigmsg_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11848   jstring jresult = 0 ;
11849   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11850   char *result = 0 ;
11851 
11852   (void)jenv;
11853   (void)jcls;
11854   arg1 = *(struct zxid_cgi **)&jarg1;
11855   result = (char *) ((arg1)->sigmsg);
11856   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11857   return jresult;
11858 }
11859 
11860 
11861 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1err_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11862   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11863   char *arg2 = (char *) 0 ;
11864 
11865   (void)jenv;
11866   (void)jcls;
11867   arg1 = *(struct zxid_cgi **)&jarg1;
11868   arg2 = 0;
11869   if (jarg2) {
11870     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11871     if (!arg2) return ;
11872   }
11873   {
11874     if (arg2) {
11875       arg1->err = (char *) malloc(strlen(( char *)arg2)+1);
11876       strcpy((char *)arg1->err, ( char *)arg2);
11877     } else {
11878       arg1->err = 0;
11879     }
11880   }
11881   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11882 }
11883 
11884 
11885 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1err_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11886   jstring jresult = 0 ;
11887   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11888   char *result = 0 ;
11889 
11890   (void)jenv;
11891   (void)jcls;
11892   arg1 = *(struct zxid_cgi **)&jarg1;
11893   result = (char *) ((arg1)->err);
11894   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11895   return jresult;
11896 }
11897 
11898 
11899 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1msg_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11900   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11901   char *arg2 = (char *) 0 ;
11902 
11903   (void)jenv;
11904   (void)jcls;
11905   arg1 = *(struct zxid_cgi **)&jarg1;
11906   arg2 = 0;
11907   if (jarg2) {
11908     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11909     if (!arg2) return ;
11910   }
11911   {
11912     if (arg2) {
11913       arg1->msg = (char *) malloc(strlen(( char *)arg2)+1);
11914       strcpy((char *)arg1->msg, ( char *)arg2);
11915     } else {
11916       arg1->msg = 0;
11917     }
11918   }
11919   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11920 }
11921 
11922 
11923 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1msg_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11924   jstring jresult = 0 ;
11925   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11926   char *result = 0 ;
11927 
11928   (void)jenv;
11929   (void)jcls;
11930   arg1 = *(struct zxid_cgi **)&jarg1;
11931   result = (char *) ((arg1)->msg);
11932   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11933   return jresult;
11934 }
11935 
11936 
11937 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1dbg_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11938   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11939   char *arg2 = (char *) 0 ;
11940 
11941   (void)jenv;
11942   (void)jcls;
11943   arg1 = *(struct zxid_cgi **)&jarg1;
11944   arg2 = 0;
11945   if (jarg2) {
11946     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11947     if (!arg2) return ;
11948   }
11949   {
11950     if (arg2) {
11951       arg1->dbg = (char *) malloc(strlen(( char *)arg2)+1);
11952       strcpy((char *)arg1->dbg, ( char *)arg2);
11953     } else {
11954       arg1->dbg = 0;
11955     }
11956   }
11957   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11958 }
11959 
11960 
11961 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1dbg_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
11962   jstring jresult = 0 ;
11963   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11964   char *result = 0 ;
11965 
11966   (void)jenv;
11967   (void)jcls;
11968   arg1 = *(struct zxid_cgi **)&jarg1;
11969   result = (char *) ((arg1)->dbg);
11970   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
11971   return jresult;
11972 }
11973 
11974 
11975 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1zxapp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
11976   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
11977   char *arg2 = (char *) 0 ;
11978 
11979   (void)jenv;
11980   (void)jcls;
11981   arg1 = *(struct zxid_cgi **)&jarg1;
11982   arg2 = 0;
11983   if (jarg2) {
11984     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
11985     if (!arg2) return ;
11986   }
11987   {
11988     if (arg2) {
11989       arg1->zxapp = (char *) malloc(strlen(( char *)arg2)+1);
11990       strcpy((char *)arg1->zxapp, ( char *)arg2);
11991     } else {
11992       arg1->zxapp = 0;
11993     }
11994   }
11995   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
11996 }
11997 
11998 
11999 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1zxapp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12000   jstring jresult = 0 ;
12001   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12002   char *result = 0 ;
12003 
12004   (void)jenv;
12005   (void)jcls;
12006   arg1 = *(struct zxid_cgi **)&jarg1;
12007   result = (char *) ((arg1)->zxapp);
12008   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12009   return jresult;
12010 }
12011 
12012 
12013 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1zxrfr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12014   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12015   char *arg2 = (char *) 0 ;
12016 
12017   (void)jenv;
12018   (void)jcls;
12019   arg1 = *(struct zxid_cgi **)&jarg1;
12020   arg2 = 0;
12021   if (jarg2) {
12022     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12023     if (!arg2) return ;
12024   }
12025   {
12026     if (arg2) {
12027       arg1->zxrfr = (char *) malloc(strlen(( char *)arg2)+1);
12028       strcpy((char *)arg1->zxrfr, ( char *)arg2);
12029     } else {
12030       arg1->zxrfr = 0;
12031     }
12032   }
12033   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12034 }
12035 
12036 
12037 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1zxrfr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12038   jstring jresult = 0 ;
12039   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12040   char *result = 0 ;
12041 
12042   (void)jenv;
12043   (void)jcls;
12044   arg1 = *(struct zxid_cgi **)&jarg1;
12045   result = (char *) ((arg1)->zxrfr);
12046   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12047   return jresult;
12048 }
12049 
12050 
12051 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1redirafter_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12052   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12053   char *arg2 = (char *) 0 ;
12054 
12055   (void)jenv;
12056   (void)jcls;
12057   arg1 = *(struct zxid_cgi **)&jarg1;
12058   arg2 = 0;
12059   if (jarg2) {
12060     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12061     if (!arg2) return ;
12062   }
12063   {
12064     if (arg2) {
12065       arg1->redirafter = (char *) malloc(strlen(( char *)arg2)+1);
12066       strcpy((char *)arg1->redirafter, ( char *)arg2);
12067     } else {
12068       arg1->redirafter = 0;
12069     }
12070   }
12071   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12072 }
12073 
12074 
12075 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1redirafter_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12076   jstring jresult = 0 ;
12077   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12078   char *result = 0 ;
12079 
12080   (void)jenv;
12081   (void)jcls;
12082   arg1 = *(struct zxid_cgi **)&jarg1;
12083   result = (char *) ((arg1)->redirafter);
12084   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12085   return jresult;
12086 }
12087 
12088 
12089 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1ok_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12090   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12091   char *arg2 = (char *) 0 ;
12092 
12093   (void)jenv;
12094   (void)jcls;
12095   arg1 = *(struct zxid_cgi **)&jarg1;
12096   arg2 = 0;
12097   if (jarg2) {
12098     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12099     if (!arg2) return ;
12100   }
12101   {
12102     if (arg2) {
12103       arg1->ok = (char *) malloc(strlen(( char *)arg2)+1);
12104       strcpy((char *)arg1->ok, ( char *)arg2);
12105     } else {
12106       arg1->ok = 0;
12107     }
12108   }
12109   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12110 }
12111 
12112 
12113 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1ok_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12114   jstring jresult = 0 ;
12115   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12116   char *result = 0 ;
12117 
12118   (void)jenv;
12119   (void)jcls;
12120   arg1 = *(struct zxid_cgi **)&jarg1;
12121   result = (char *) ((arg1)->ok);
12122   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12123   return jresult;
12124 }
12125 
12126 
12127 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1templ_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12128   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12129   char *arg2 = (char *) 0 ;
12130 
12131   (void)jenv;
12132   (void)jcls;
12133   arg1 = *(struct zxid_cgi **)&jarg1;
12134   arg2 = 0;
12135   if (jarg2) {
12136     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12137     if (!arg2) return ;
12138   }
12139   {
12140     if (arg2) {
12141       arg1->templ = (char *) malloc(strlen(( char *)arg2)+1);
12142       strcpy((char *)arg1->templ, ( char *)arg2);
12143     } else {
12144       arg1->templ = 0;
12145     }
12146   }
12147   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12148 }
12149 
12150 
12151 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1templ_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12152   jstring jresult = 0 ;
12153   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12154   char *result = 0 ;
12155 
12156   (void)jenv;
12157   (void)jcls;
12158   arg1 = *(struct zxid_cgi **)&jarg1;
12159   result = (char *) ((arg1)->templ);
12160   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12161   return jresult;
12162 }
12163 
12164 
12165 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sp_1eid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12166   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12167   char *arg2 = (char *) 0 ;
12168 
12169   (void)jenv;
12170   (void)jcls;
12171   arg1 = *(struct zxid_cgi **)&jarg1;
12172   arg2 = 0;
12173   if (jarg2) {
12174     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12175     if (!arg2) return ;
12176   }
12177   {
12178     if (arg2) {
12179       arg1->sp_eid = (char *) malloc(strlen(( char *)arg2)+1);
12180       strcpy((char *)arg1->sp_eid, ( char *)arg2);
12181     } else {
12182       arg1->sp_eid = 0;
12183     }
12184   }
12185   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12186 }
12187 
12188 
12189 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sp_1eid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12190   jstring jresult = 0 ;
12191   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12192   char *result = 0 ;
12193 
12194   (void)jenv;
12195   (void)jcls;
12196   arg1 = *(struct zxid_cgi **)&jarg1;
12197   result = (char *) ((arg1)->sp_eid);
12198   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12199   return jresult;
12200 }
12201 
12202 
12203 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sp_1dpy_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12204   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12205   char *arg2 = (char *) 0 ;
12206 
12207   (void)jenv;
12208   (void)jcls;
12209   arg1 = *(struct zxid_cgi **)&jarg1;
12210   arg2 = 0;
12211   if (jarg2) {
12212     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12213     if (!arg2) return ;
12214   }
12215   {
12216     if (arg2) {
12217       arg1->sp_dpy_name = (char *) malloc(strlen(( char *)arg2)+1);
12218       strcpy((char *)arg1->sp_dpy_name, ( char *)arg2);
12219     } else {
12220       arg1->sp_dpy_name = 0;
12221     }
12222   }
12223   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12224 }
12225 
12226 
12227 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sp_1dpy_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12228   jstring jresult = 0 ;
12229   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12230   char *result = 0 ;
12231 
12232   (void)jenv;
12233   (void)jcls;
12234   arg1 = *(struct zxid_cgi **)&jarg1;
12235   result = (char *) ((arg1)->sp_dpy_name);
12236   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12237   return jresult;
12238 }
12239 
12240 
12241 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sp_1button_1url_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12242   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12243   char *arg2 = (char *) 0 ;
12244 
12245   (void)jenv;
12246   (void)jcls;
12247   arg1 = *(struct zxid_cgi **)&jarg1;
12248   arg2 = 0;
12249   if (jarg2) {
12250     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12251     if (!arg2) return ;
12252   }
12253   {
12254     if (arg2) {
12255       arg1->sp_button_url = (char *) malloc(strlen(( char *)arg2)+1);
12256       strcpy((char *)arg1->sp_button_url, ( char *)arg2);
12257     } else {
12258       arg1->sp_button_url = 0;
12259     }
12260   }
12261   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12262 }
12263 
12264 
12265 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1sp_1button_1url_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12266   jstring jresult = 0 ;
12267   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12268   char *result = 0 ;
12269 
12270   (void)jenv;
12271   (void)jcls;
12272   arg1 = *(struct zxid_cgi **)&jarg1;
12273   result = (char *) ((arg1)->sp_button_url);
12274   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12275   return jresult;
12276 }
12277 
12278 
12279 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1rest_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12280   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12281   char *arg2 = (char *) 0 ;
12282 
12283   (void)jenv;
12284   (void)jcls;
12285   arg1 = *(struct zxid_cgi **)&jarg1;
12286   arg2 = 0;
12287   if (jarg2) {
12288     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12289     if (!arg2) return ;
12290   }
12291   {
12292     if (arg2) {
12293       arg1->rest = (char *) malloc(strlen(( char *)arg2)+1);
12294       strcpy((char *)arg1->rest, ( char *)arg2);
12295     } else {
12296       arg1->rest = 0;
12297     }
12298   }
12299   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12300 }
12301 
12302 
12303 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1rest_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12304   jstring jresult = 0 ;
12305   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12306   char *result = 0 ;
12307 
12308   (void)jenv;
12309   (void)jcls;
12310   arg1 = *(struct zxid_cgi **)&jarg1;
12311   result = (char *) ((arg1)->rest);
12312   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12313   return jresult;
12314 }
12315 
12316 
12317 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1response_1type_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12318   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12319   char *arg2 = (char *) 0 ;
12320 
12321   (void)jenv;
12322   (void)jcls;
12323   arg1 = *(struct zxid_cgi **)&jarg1;
12324   arg2 = 0;
12325   if (jarg2) {
12326     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12327     if (!arg2) return ;
12328   }
12329   {
12330     if (arg2) {
12331       arg1->response_type = (char *) malloc(strlen(( char *)arg2)+1);
12332       strcpy((char *)arg1->response_type, ( char *)arg2);
12333     } else {
12334       arg1->response_type = 0;
12335     }
12336   }
12337   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12338 }
12339 
12340 
12341 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1response_1type_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12342   jstring jresult = 0 ;
12343   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12344   char *result = 0 ;
12345 
12346   (void)jenv;
12347   (void)jcls;
12348   arg1 = *(struct zxid_cgi **)&jarg1;
12349   result = (char *) ((arg1)->response_type);
12350   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12351   return jresult;
12352 }
12353 
12354 
12355 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1client_1id_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12356   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12357   char *arg2 = (char *) 0 ;
12358 
12359   (void)jenv;
12360   (void)jcls;
12361   arg1 = *(struct zxid_cgi **)&jarg1;
12362   arg2 = 0;
12363   if (jarg2) {
12364     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12365     if (!arg2) return ;
12366   }
12367   {
12368     if (arg2) {
12369       arg1->client_id = (char *) malloc(strlen(( char *)arg2)+1);
12370       strcpy((char *)arg1->client_id, ( char *)arg2);
12371     } else {
12372       arg1->client_id = 0;
12373     }
12374   }
12375   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12376 }
12377 
12378 
12379 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1client_1id_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12380   jstring jresult = 0 ;
12381   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12382   char *result = 0 ;
12383 
12384   (void)jenv;
12385   (void)jcls;
12386   arg1 = *(struct zxid_cgi **)&jarg1;
12387   result = (char *) ((arg1)->client_id);
12388   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12389   return jresult;
12390 }
12391 
12392 
12393 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1scope_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12394   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12395   char *arg2 = (char *) 0 ;
12396 
12397   (void)jenv;
12398   (void)jcls;
12399   arg1 = *(struct zxid_cgi **)&jarg1;
12400   arg2 = 0;
12401   if (jarg2) {
12402     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12403     if (!arg2) return ;
12404   }
12405   {
12406     if (arg2) {
12407       arg1->scope = (char *) malloc(strlen(( char *)arg2)+1);
12408       strcpy((char *)arg1->scope, ( char *)arg2);
12409     } else {
12410       arg1->scope = 0;
12411     }
12412   }
12413   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12414 }
12415 
12416 
12417 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1scope_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12418   jstring jresult = 0 ;
12419   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12420   char *result = 0 ;
12421 
12422   (void)jenv;
12423   (void)jcls;
12424   arg1 = *(struct zxid_cgi **)&jarg1;
12425   result = (char *) ((arg1)->scope);
12426   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12427   return jresult;
12428 }
12429 
12430 
12431 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1redirect_1uri_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12432   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12433   char *arg2 = (char *) 0 ;
12434 
12435   (void)jenv;
12436   (void)jcls;
12437   arg1 = *(struct zxid_cgi **)&jarg1;
12438   arg2 = 0;
12439   if (jarg2) {
12440     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12441     if (!arg2) return ;
12442   }
12443   {
12444     if (arg2) {
12445       arg1->redirect_uri = (char *) malloc(strlen(( char *)arg2)+1);
12446       strcpy((char *)arg1->redirect_uri, ( char *)arg2);
12447     } else {
12448       arg1->redirect_uri = 0;
12449     }
12450   }
12451   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12452 }
12453 
12454 
12455 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1redirect_1uri_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12456   jstring jresult = 0 ;
12457   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12458   char *result = 0 ;
12459 
12460   (void)jenv;
12461   (void)jcls;
12462   arg1 = *(struct zxid_cgi **)&jarg1;
12463   result = (char *) ((arg1)->redirect_uri);
12464   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12465   return jresult;
12466 }
12467 
12468 
12469 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1nonce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12470   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12471   char *arg2 = (char *) 0 ;
12472 
12473   (void)jenv;
12474   (void)jcls;
12475   arg1 = *(struct zxid_cgi **)&jarg1;
12476   arg2 = 0;
12477   if (jarg2) {
12478     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12479     if (!arg2) return ;
12480   }
12481   {
12482     if (arg2) {
12483       arg1->nonce = (char *) malloc(strlen(( char *)arg2)+1);
12484       strcpy((char *)arg1->nonce, ( char *)arg2);
12485     } else {
12486       arg1->nonce = 0;
12487     }
12488   }
12489   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12490 }
12491 
12492 
12493 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1nonce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12494   jstring jresult = 0 ;
12495   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12496   char *result = 0 ;
12497 
12498   (void)jenv;
12499   (void)jcls;
12500   arg1 = *(struct zxid_cgi **)&jarg1;
12501   result = (char *) ((arg1)->nonce);
12502   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12503   return jresult;
12504 }
12505 
12506 
12507 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1state_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12508   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12509   char *arg2 = (char *) 0 ;
12510 
12511   (void)jenv;
12512   (void)jcls;
12513   arg1 = *(struct zxid_cgi **)&jarg1;
12514   arg2 = 0;
12515   if (jarg2) {
12516     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12517     if (!arg2) return ;
12518   }
12519   {
12520     if (arg2) {
12521       arg1->state = (char *) malloc(strlen(( char *)arg2)+1);
12522       strcpy((char *)arg1->state, ( char *)arg2);
12523     } else {
12524       arg1->state = 0;
12525     }
12526   }
12527   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12528 }
12529 
12530 
12531 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1state_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12532   jstring jresult = 0 ;
12533   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12534   char *result = 0 ;
12535 
12536   (void)jenv;
12537   (void)jcls;
12538   arg1 = *(struct zxid_cgi **)&jarg1;
12539   result = (char *) ((arg1)->state);
12540   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12541   return jresult;
12542 }
12543 
12544 
12545 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1display_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12546   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12547   char *arg2 = (char *) 0 ;
12548 
12549   (void)jenv;
12550   (void)jcls;
12551   arg1 = *(struct zxid_cgi **)&jarg1;
12552   arg2 = 0;
12553   if (jarg2) {
12554     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12555     if (!arg2) return ;
12556   }
12557   {
12558     if (arg2) {
12559       arg1->display = (char *) malloc(strlen(( char *)arg2)+1);
12560       strcpy((char *)arg1->display, ( char *)arg2);
12561     } else {
12562       arg1->display = 0;
12563     }
12564   }
12565   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12566 }
12567 
12568 
12569 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1display_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12570   jstring jresult = 0 ;
12571   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12572   char *result = 0 ;
12573 
12574   (void)jenv;
12575   (void)jcls;
12576   arg1 = *(struct zxid_cgi **)&jarg1;
12577   result = (char *) ((arg1)->display);
12578   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12579   return jresult;
12580 }
12581 
12582 
12583 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1prompt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12584   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12585   char *arg2 = (char *) 0 ;
12586 
12587   (void)jenv;
12588   (void)jcls;
12589   arg1 = *(struct zxid_cgi **)&jarg1;
12590   arg2 = 0;
12591   if (jarg2) {
12592     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12593     if (!arg2) return ;
12594   }
12595   {
12596     if (arg2) {
12597       arg1->prompt = (char *) malloc(strlen(( char *)arg2)+1);
12598       strcpy((char *)arg1->prompt, ( char *)arg2);
12599     } else {
12600       arg1->prompt = 0;
12601     }
12602   }
12603   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12604 }
12605 
12606 
12607 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1prompt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12608   jstring jresult = 0 ;
12609   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12610   char *result = 0 ;
12611 
12612   (void)jenv;
12613   (void)jcls;
12614   arg1 = *(struct zxid_cgi **)&jarg1;
12615   result = (char *) ((arg1)->prompt);
12616   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12617   return jresult;
12618 }
12619 
12620 
12621 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1access_1token_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12622   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12623   char *arg2 = (char *) 0 ;
12624 
12625   (void)jenv;
12626   (void)jcls;
12627   arg1 = *(struct zxid_cgi **)&jarg1;
12628   arg2 = 0;
12629   if (jarg2) {
12630     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12631     if (!arg2) return ;
12632   }
12633   {
12634     if (arg2) {
12635       arg1->access_token = (char *) malloc(strlen(( char *)arg2)+1);
12636       strcpy((char *)arg1->access_token, ( char *)arg2);
12637     } else {
12638       arg1->access_token = 0;
12639     }
12640   }
12641   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12642 }
12643 
12644 
12645 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1access_1token_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12646   jstring jresult = 0 ;
12647   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12648   char *result = 0 ;
12649 
12650   (void)jenv;
12651   (void)jcls;
12652   arg1 = *(struct zxid_cgi **)&jarg1;
12653   result = (char *) ((arg1)->access_token);
12654   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12655   return jresult;
12656 }
12657 
12658 
12659 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1refresh_1token_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12660   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12661   char *arg2 = (char *) 0 ;
12662 
12663   (void)jenv;
12664   (void)jcls;
12665   arg1 = *(struct zxid_cgi **)&jarg1;
12666   arg2 = 0;
12667   if (jarg2) {
12668     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12669     if (!arg2) return ;
12670   }
12671   {
12672     if (arg2) {
12673       arg1->refresh_token = (char *) malloc(strlen(( char *)arg2)+1);
12674       strcpy((char *)arg1->refresh_token, ( char *)arg2);
12675     } else {
12676       arg1->refresh_token = 0;
12677     }
12678   }
12679   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12680 }
12681 
12682 
12683 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1refresh_1token_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12684   jstring jresult = 0 ;
12685   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12686   char *result = 0 ;
12687 
12688   (void)jenv;
12689   (void)jcls;
12690   arg1 = *(struct zxid_cgi **)&jarg1;
12691   result = (char *) ((arg1)->refresh_token);
12692   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12693   return jresult;
12694 }
12695 
12696 
12697 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1token_1type_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12698   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12699   char *arg2 = (char *) 0 ;
12700 
12701   (void)jenv;
12702   (void)jcls;
12703   arg1 = *(struct zxid_cgi **)&jarg1;
12704   arg2 = 0;
12705   if (jarg2) {
12706     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12707     if (!arg2) return ;
12708   }
12709   {
12710     if (arg2) {
12711       arg1->token_type = (char *) malloc(strlen(( char *)arg2)+1);
12712       strcpy((char *)arg1->token_type, ( char *)arg2);
12713     } else {
12714       arg1->token_type = 0;
12715     }
12716   }
12717   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12718 }
12719 
12720 
12721 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1token_1type_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12722   jstring jresult = 0 ;
12723   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12724   char *result = 0 ;
12725 
12726   (void)jenv;
12727   (void)jcls;
12728   arg1 = *(struct zxid_cgi **)&jarg1;
12729   result = (char *) ((arg1)->token_type);
12730   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12731   return jresult;
12732 }
12733 
12734 
12735 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1grant_1type_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12736   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12737   char *arg2 = (char *) 0 ;
12738 
12739   (void)jenv;
12740   (void)jcls;
12741   arg1 = *(struct zxid_cgi **)&jarg1;
12742   arg2 = 0;
12743   if (jarg2) {
12744     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12745     if (!arg2) return ;
12746   }
12747   {
12748     if (arg2) {
12749       arg1->grant_type = (char *) malloc(strlen(( char *)arg2)+1);
12750       strcpy((char *)arg1->grant_type, ( char *)arg2);
12751     } else {
12752       arg1->grant_type = 0;
12753     }
12754   }
12755   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12756 }
12757 
12758 
12759 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1grant_1type_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12760   jstring jresult = 0 ;
12761   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12762   char *result = 0 ;
12763 
12764   (void)jenv;
12765   (void)jcls;
12766   arg1 = *(struct zxid_cgi **)&jarg1;
12767   result = (char *) ((arg1)->grant_type);
12768   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12769   return jresult;
12770 }
12771 
12772 
12773 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1code_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12774   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12775   char *arg2 = (char *) 0 ;
12776 
12777   (void)jenv;
12778   (void)jcls;
12779   arg1 = *(struct zxid_cgi **)&jarg1;
12780   arg2 = 0;
12781   if (jarg2) {
12782     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12783     if (!arg2) return ;
12784   }
12785   {
12786     if (arg2) {
12787       arg1->code = (char *) malloc(strlen(( char *)arg2)+1);
12788       strcpy((char *)arg1->code, ( char *)arg2);
12789     } else {
12790       arg1->code = 0;
12791     }
12792   }
12793   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12794 }
12795 
12796 
12797 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1code_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12798   jstring jresult = 0 ;
12799   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12800   char *result = 0 ;
12801 
12802   (void)jenv;
12803   (void)jcls;
12804   arg1 = *(struct zxid_cgi **)&jarg1;
12805   result = (char *) ((arg1)->code);
12806   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12807   return jresult;
12808 }
12809 
12810 
12811 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1id_1token_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12812   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12813   char *arg2 = (char *) 0 ;
12814 
12815   (void)jenv;
12816   (void)jcls;
12817   arg1 = *(struct zxid_cgi **)&jarg1;
12818   arg2 = 0;
12819   if (jarg2) {
12820     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12821     if (!arg2) return ;
12822   }
12823   {
12824     if (arg2) {
12825       arg1->id_token = (char *) malloc(strlen(( char *)arg2)+1);
12826       strcpy((char *)arg1->id_token, ( char *)arg2);
12827     } else {
12828       arg1->id_token = 0;
12829     }
12830   }
12831   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12832 }
12833 
12834 
12835 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1id_1token_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12836   jstring jresult = 0 ;
12837   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12838   char *result = 0 ;
12839 
12840   (void)jenv;
12841   (void)jcls;
12842   arg1 = *(struct zxid_cgi **)&jarg1;
12843   result = (char *) ((arg1)->id_token);
12844   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12845   return jresult;
12846 }
12847 
12848 
12849 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1expires_1in_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
12850   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12851   int arg2 ;
12852 
12853   (void)jenv;
12854   (void)jcls;
12855   arg1 = *(struct zxid_cgi **)&jarg1;
12856   arg2 = (int)jarg2;
12857   if (arg1) (arg1)->expires_in = arg2;
12858 }
12859 
12860 
12861 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1expires_1in_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12862   jint jresult = 0 ;
12863   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12864   int result;
12865 
12866   (void)jenv;
12867   (void)jcls;
12868   arg1 = *(struct zxid_cgi **)&jarg1;
12869   result = (int) ((arg1)->expires_in);
12870   jresult = (jint)result;
12871   return jresult;
12872 }
12873 
12874 
12875 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1iss_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12876   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12877   char *arg2 = (char *) 0 ;
12878 
12879   (void)jenv;
12880   (void)jcls;
12881   arg1 = *(struct zxid_cgi **)&jarg1;
12882   arg2 = 0;
12883   if (jarg2) {
12884     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12885     if (!arg2) return ;
12886   }
12887   {
12888     if (arg2) {
12889       arg1->iss = (char *) malloc(strlen(( char *)arg2)+1);
12890       strcpy((char *)arg1->iss, ( char *)arg2);
12891     } else {
12892       arg1->iss = 0;
12893     }
12894   }
12895   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12896 }
12897 
12898 
12899 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1iss_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12900   jstring jresult = 0 ;
12901   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12902   char *result = 0 ;
12903 
12904   (void)jenv;
12905   (void)jcls;
12906   arg1 = *(struct zxid_cgi **)&jarg1;
12907   result = (char *) ((arg1)->iss);
12908   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12909   return jresult;
12910 }
12911 
12912 
12913 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1user_1id_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12914   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12915   char *arg2 = (char *) 0 ;
12916 
12917   (void)jenv;
12918   (void)jcls;
12919   arg1 = *(struct zxid_cgi **)&jarg1;
12920   arg2 = 0;
12921   if (jarg2) {
12922     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12923     if (!arg2) return ;
12924   }
12925   {
12926     if (arg2) {
12927       arg1->user_id = (char *) malloc(strlen(( char *)arg2)+1);
12928       strcpy((char *)arg1->user_id, ( char *)arg2);
12929     } else {
12930       arg1->user_id = 0;
12931     }
12932   }
12933   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12934 }
12935 
12936 
12937 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1user_1id_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12938   jstring jresult = 0 ;
12939   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12940   char *result = 0 ;
12941 
12942   (void)jenv;
12943   (void)jcls;
12944   arg1 = *(struct zxid_cgi **)&jarg1;
12945   result = (char *) ((arg1)->user_id);
12946   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12947   return jresult;
12948 }
12949 
12950 
12951 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1aud_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12952   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12953   char *arg2 = (char *) 0 ;
12954 
12955   (void)jenv;
12956   (void)jcls;
12957   arg1 = *(struct zxid_cgi **)&jarg1;
12958   arg2 = 0;
12959   if (jarg2) {
12960     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12961     if (!arg2) return ;
12962   }
12963   {
12964     if (arg2) {
12965       arg1->aud = (char *) malloc(strlen(( char *)arg2)+1);
12966       strcpy((char *)arg1->aud, ( char *)arg2);
12967     } else {
12968       arg1->aud = 0;
12969     }
12970   }
12971   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
12972 }
12973 
12974 
12975 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1aud_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
12976   jstring jresult = 0 ;
12977   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12978   char *result = 0 ;
12979 
12980   (void)jenv;
12981   (void)jcls;
12982   arg1 = *(struct zxid_cgi **)&jarg1;
12983   result = (char *) ((arg1)->aud);
12984   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
12985   return jresult;
12986 }
12987 
12988 
12989 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1exp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
12990   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
12991   char *arg2 = (char *) 0 ;
12992 
12993   (void)jenv;
12994   (void)jcls;
12995   arg1 = *(struct zxid_cgi **)&jarg1;
12996   arg2 = 0;
12997   if (jarg2) {
12998     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
12999     if (!arg2) return ;
13000   }
13001   {
13002     if (arg2) {
13003       arg1->exp = (char *) malloc(strlen(( char *)arg2)+1);
13004       strcpy((char *)arg1->exp, ( char *)arg2);
13005     } else {
13006       arg1->exp = 0;
13007     }
13008   }
13009   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
13010 }
13011 
13012 
13013 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1exp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13014   jstring jresult = 0 ;
13015   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13016   char *result = 0 ;
13017 
13018   (void)jenv;
13019   (void)jcls;
13020   arg1 = *(struct zxid_cgi **)&jarg1;
13021   result = (char *) ((arg1)->exp);
13022   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
13023   return jresult;
13024 }
13025 
13026 
13027 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1iso29115_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
13028   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13029   char *arg2 = (char *) 0 ;
13030 
13031   (void)jenv;
13032   (void)jcls;
13033   arg1 = *(struct zxid_cgi **)&jarg1;
13034   arg2 = 0;
13035   if (jarg2) {
13036     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
13037     if (!arg2) return ;
13038   }
13039   {
13040     if (arg2) {
13041       arg1->iso29115 = (char *) malloc(strlen(( char *)arg2)+1);
13042       strcpy((char *)arg1->iso29115, ( char *)arg2);
13043     } else {
13044       arg1->iso29115 = 0;
13045     }
13046   }
13047   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
13048 }
13049 
13050 
13051 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1iso29115_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13052   jstring jresult = 0 ;
13053   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13054   char *result = 0 ;
13055 
13056   (void)jenv;
13057   (void)jcls;
13058   arg1 = *(struct zxid_cgi **)&jarg1;
13059   result = (char *) ((arg1)->iso29115);
13060   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
13061   return jresult;
13062 }
13063 
13064 
13065 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1schema_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
13066   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13067   char *arg2 = (char *) 0 ;
13068 
13069   (void)jenv;
13070   (void)jcls;
13071   arg1 = *(struct zxid_cgi **)&jarg1;
13072   arg2 = 0;
13073   if (jarg2) {
13074     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
13075     if (!arg2) return ;
13076   }
13077   {
13078     if (arg2) {
13079       arg1->schema = (char *) malloc(strlen(( char *)arg2)+1);
13080       strcpy((char *)arg1->schema, ( char *)arg2);
13081     } else {
13082       arg1->schema = 0;
13083     }
13084   }
13085   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
13086 }
13087 
13088 
13089 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1schema_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13090   jstring jresult = 0 ;
13091   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13092   char *result = 0 ;
13093 
13094   (void)jenv;
13095   (void)jcls;
13096   arg1 = *(struct zxid_cgi **)&jarg1;
13097   result = (char *) ((arg1)->schema);
13098   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
13099   return jresult;
13100 }
13101 
13102 
13103 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1id_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
13104   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13105   char *arg2 = (char *) 0 ;
13106 
13107   (void)jenv;
13108   (void)jcls;
13109   arg1 = *(struct zxid_cgi **)&jarg1;
13110   arg2 = 0;
13111   if (jarg2) {
13112     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
13113     if (!arg2) return ;
13114   }
13115   {
13116     if (arg2) {
13117       arg1->id = (char *) malloc(strlen(( char *)arg2)+1);
13118       strcpy((char *)arg1->id, ( char *)arg2);
13119     } else {
13120       arg1->id = 0;
13121     }
13122   }
13123   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
13124 }
13125 
13126 
13127 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1id_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13128   jstring jresult = 0 ;
13129   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13130   char *result = 0 ;
13131 
13132   (void)jenv;
13133   (void)jcls;
13134   arg1 = *(struct zxid_cgi **)&jarg1;
13135   result = (char *) ((arg1)->id);
13136   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
13137   return jresult;
13138 }
13139 
13140 
13141 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1inv_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
13142   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13143   char *arg2 = (char *) 0 ;
13144 
13145   (void)jenv;
13146   (void)jcls;
13147   arg1 = *(struct zxid_cgi **)&jarg1;
13148   arg2 = 0;
13149   if (jarg2) {
13150     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
13151     if (!arg2) return ;
13152   }
13153   {
13154     if (arg2) {
13155       arg1->inv = (char *) malloc(strlen(( char *)arg2)+1);
13156       strcpy((char *)arg1->inv, ( char *)arg2);
13157     } else {
13158       arg1->inv = 0;
13159     }
13160   }
13161   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
13162 }
13163 
13164 
13165 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1inv_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13166   jstring jresult = 0 ;
13167   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13168   char *result = 0 ;
13169 
13170   (void)jenv;
13171   (void)jcls;
13172   arg1 = *(struct zxid_cgi **)&jarg1;
13173   result = (char *) ((arg1)->inv);
13174   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
13175   return jresult;
13176 }
13177 
13178 
13179 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1pcode_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
13180   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13181   char *arg2 = (char *) 0 ;
13182 
13183   (void)jenv;
13184   (void)jcls;
13185   arg1 = *(struct zxid_cgi **)&jarg1;
13186   arg2 = 0;
13187   if (jarg2) {
13188     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
13189     if (!arg2) return ;
13190   }
13191   {
13192     if (arg2) {
13193       arg1->pcode = (char *) malloc(strlen(( char *)arg2)+1);
13194       strcpy((char *)arg1->pcode, ( char *)arg2);
13195     } else {
13196       arg1->pcode = 0;
13197     }
13198   }
13199   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
13200 }
13201 
13202 
13203 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1pcode_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13204   jstring jresult = 0 ;
13205   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13206   char *result = 0 ;
13207 
13208   (void)jenv;
13209   (void)jcls;
13210   arg1 = *(struct zxid_cgi **)&jarg1;
13211   result = (char *) ((arg1)->pcode);
13212   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
13213   return jresult;
13214 }
13215 
13216 
13217 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1skin_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
13218   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13219   char *arg2 = (char *) 0 ;
13220 
13221   (void)jenv;
13222   (void)jcls;
13223   arg1 = *(struct zxid_cgi **)&jarg1;
13224   arg2 = 0;
13225   if (jarg2) {
13226     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
13227     if (!arg2) return ;
13228   }
13229   {
13230     if (arg2) {
13231       arg1->skin = (char *) malloc(strlen(( char *)arg2)+1);
13232       strcpy((char *)arg1->skin, ( char *)arg2);
13233     } else {
13234       arg1->skin = 0;
13235     }
13236   }
13237   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
13238 }
13239 
13240 
13241 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1skin_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13242   jstring jresult = 0 ;
13243   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13244   char *result = 0 ;
13245 
13246   (void)jenv;
13247   (void)jcls;
13248   arg1 = *(struct zxid_cgi **)&jarg1;
13249   result = (char *) ((arg1)->skin);
13250   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
13251   return jresult;
13252 }
13253 
13254 
13255 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1action_1url_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
13256   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13257   char *arg2 = (char *) 0 ;
13258 
13259   (void)jenv;
13260   (void)jcls;
13261   arg1 = *(struct zxid_cgi **)&jarg1;
13262   arg2 = 0;
13263   if (jarg2) {
13264     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
13265     if (!arg2) return ;
13266   }
13267   {
13268     if (arg2) {
13269       arg1->action_url = (char *) malloc(strlen(( char *)arg2)+1);
13270       strcpy((char *)arg1->action_url, ( char *)arg2);
13271     } else {
13272       arg1->action_url = 0;
13273     }
13274   }
13275   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
13276 }
13277 
13278 
13279 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1action_1url_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13280   jstring jresult = 0 ;
13281   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13282   char *result = 0 ;
13283 
13284   (void)jenv;
13285   (void)jcls;
13286   arg1 = *(struct zxid_cgi **)&jarg1;
13287   result = (char *) ((arg1)->action_url);
13288   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
13289   return jresult;
13290 }
13291 
13292 
13293 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1uri_1path_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
13294   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13295   char *arg2 = (char *) 0 ;
13296 
13297   (void)jenv;
13298   (void)jcls;
13299   arg1 = *(struct zxid_cgi **)&jarg1;
13300   arg2 = 0;
13301   if (jarg2) {
13302     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
13303     if (!arg2) return ;
13304   }
13305   {
13306     if (arg2) {
13307       arg1->uri_path = (char *) malloc(strlen(( char *)arg2)+1);
13308       strcpy((char *)arg1->uri_path, ( char *)arg2);
13309     } else {
13310       arg1->uri_path = 0;
13311     }
13312   }
13313   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
13314 }
13315 
13316 
13317 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1uri_1path_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13318   jstring jresult = 0 ;
13319   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13320   char *result = 0 ;
13321 
13322   (void)jenv;
13323   (void)jcls;
13324   arg1 = *(struct zxid_cgi **)&jarg1;
13325   result = (char *) ((arg1)->uri_path);
13326   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
13327   return jresult;
13328 }
13329 
13330 
13331 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1qs_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
13332   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13333   char *arg2 = (char *) 0 ;
13334 
13335   (void)jenv;
13336   (void)jcls;
13337   arg1 = *(struct zxid_cgi **)&jarg1;
13338   arg2 = 0;
13339   if (jarg2) {
13340     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
13341     if (!arg2) return ;
13342   }
13343   {
13344     if (arg2) {
13345       arg1->qs = (char *) malloc(strlen(( char *)arg2)+1);
13346       strcpy((char *)arg1->qs, ( char *)arg2);
13347     } else {
13348       arg1->qs = 0;
13349     }
13350   }
13351   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
13352 }
13353 
13354 
13355 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1qs_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13356   jstring jresult = 0 ;
13357   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13358   char *result = 0 ;
13359 
13360   (void)jenv;
13361   (void)jcls;
13362   arg1 = *(struct zxid_cgi **)&jarg1;
13363   result = (char *) ((arg1)->qs);
13364   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
13365   return jresult;
13366 }
13367 
13368 
13369 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1post_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
13370   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13371   char *arg2 = (char *) 0 ;
13372 
13373   (void)jenv;
13374   (void)jcls;
13375   arg1 = *(struct zxid_cgi **)&jarg1;
13376   arg2 = 0;
13377   if (jarg2) {
13378     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
13379     if (!arg2) return ;
13380   }
13381   {
13382     if (arg2) {
13383       arg1->post = (char *) malloc(strlen(( char *)arg2)+1);
13384       strcpy((char *)arg1->post, ( char *)arg2);
13385     } else {
13386       arg1->post = 0;
13387     }
13388   }
13389   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
13390 }
13391 
13392 
13393 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1post_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13394   jstring jresult = 0 ;
13395   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13396   char *result = 0 ;
13397 
13398   (void)jenv;
13399   (void)jcls;
13400   arg1 = *(struct zxid_cgi **)&jarg1;
13401   result = (char *) ((arg1)->post);
13402   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
13403   return jresult;
13404 }
13405 
13406 
13407 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1idp_1list_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
13408   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13409   zxid_entity *arg2 = (zxid_entity *) 0 ;
13410 
13411   (void)jenv;
13412   (void)jcls;
13413   arg1 = *(struct zxid_cgi **)&jarg1;
13414   arg2 = *(zxid_entity **)&jarg2;
13415   if (arg1) (arg1)->idp_list = arg2;
13416 }
13417 
13418 
13419 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1cgi_1idp_1list_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13420   jlong jresult = 0 ;
13421   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13422   zxid_entity *result = 0 ;
13423 
13424   (void)jenv;
13425   (void)jcls;
13426   arg1 = *(struct zxid_cgi **)&jarg1;
13427   result = (zxid_entity *) ((arg1)->idp_list);
13428   *(zxid_entity **)&jresult = result;
13429   return jresult;
13430 }
13431 
13432 
13433 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1cgi(JNIEnv *jenv, jclass jcls) {
13434   jlong jresult = 0 ;
13435   struct zxid_cgi *result = 0 ;
13436 
13437   (void)jenv;
13438   (void)jcls;
13439   result = (struct zxid_cgi *)calloc(1, sizeof(struct zxid_cgi));
13440   *(struct zxid_cgi **)&jresult = result;
13441   return jresult;
13442 }
13443 
13444 
13445 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1cgi(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13446   struct zxid_cgi *arg1 = (struct zxid_cgi *) 0 ;
13447 
13448   (void)jenv;
13449   (void)jcls;
13450   arg1 = *(struct zxid_cgi **)&jarg1;
13451   free((char *) arg1);
13452 }
13453 
13454 
13455 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1magic_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
13456   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13457   unsigned int arg2 ;
13458 
13459   (void)jenv;
13460   (void)jcls;
13461   arg1 = *(struct zxid_ses **)&jarg1;
13462   arg2 = (unsigned int)jarg2;
13463   if (arg1) (arg1)->magic = arg2;
13464 }
13465 
13466 
13467 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1magic_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13468   jlong jresult = 0 ;
13469   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13470   unsigned int result;
13471 
13472   (void)jenv;
13473   (void)jcls;
13474   arg1 = *(struct zxid_ses **)&jarg1;
13475   result = (unsigned int) ((arg1)->magic);
13476   jresult = (jlong)result;
13477   return jresult;
13478 }
13479 
13480 
13481 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
13482   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13483   char *arg2 = (char *) 0 ;
13484 
13485   (void)jenv;
13486   (void)jcls;
13487   arg1 = *(struct zxid_ses **)&jarg1;
13488   arg2 = 0;
13489   if (jarg2) {
13490     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
13491     if (!arg2) return ;
13492   }
13493   {
13494     if (arg2) {
13495       arg1->sid = (char *) malloc(strlen(( char *)arg2)+1);
13496       strcpy((char *)arg1->sid, ( char *)arg2);
13497     } else {
13498       arg1->sid = 0;
13499     }
13500   }
13501   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
13502 }
13503 
13504 
13505 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13506   jstring jresult = 0 ;
13507   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13508   char *result = 0 ;
13509 
13510   (void)jenv;
13511   (void)jcls;
13512   arg1 = *(struct zxid_ses **)&jarg1;
13513   result = (char *) ((arg1)->sid);
13514   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
13515   return jresult;
13516 }
13517 
13518 
13519 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1uid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
13520   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13521   char *arg2 = (char *) 0 ;
13522 
13523   (void)jenv;
13524   (void)jcls;
13525   arg1 = *(struct zxid_ses **)&jarg1;
13526   arg2 = 0;
13527   if (jarg2) {
13528     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
13529     if (!arg2) return ;
13530   }
13531   {
13532     if (arg2) {
13533       arg1->uid = (char *) malloc(strlen(( char *)arg2)+1);
13534       strcpy((char *)arg1->uid, ( char *)arg2);
13535     } else {
13536       arg1->uid = 0;
13537     }
13538   }
13539   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
13540 }
13541 
13542 
13543 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1uid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13544   jstring jresult = 0 ;
13545   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13546   char *result = 0 ;
13547 
13548   (void)jenv;
13549   (void)jcls;
13550   arg1 = *(struct zxid_ses **)&jarg1;
13551   result = (char *) ((arg1)->uid);
13552   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
13553   return jresult;
13554 }
13555 
13556 
13557 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1nid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
13558   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13559   char *arg2 = (char *) 0 ;
13560 
13561   (void)jenv;
13562   (void)jcls;
13563   arg1 = *(struct zxid_ses **)&jarg1;
13564   arg2 = 0;
13565   if (jarg2) {
13566     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
13567     if (!arg2) return ;
13568   }
13569   {
13570     if (arg2) {
13571       arg1->nid = (char *) malloc(strlen(( char *)arg2)+1);
13572       strcpy((char *)arg1->nid, ( char *)arg2);
13573     } else {
13574       arg1->nid = 0;
13575     }
13576   }
13577   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
13578 }
13579 
13580 
13581 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1nid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13582   jstring jresult = 0 ;
13583   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13584   char *result = 0 ;
13585 
13586   (void)jenv;
13587   (void)jcls;
13588   arg1 = *(struct zxid_ses **)&jarg1;
13589   result = (char *) ((arg1)->nid);
13590   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
13591   return jresult;
13592 }
13593 
13594 
13595 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1tgt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
13596   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13597   char *arg2 = (char *) 0 ;
13598 
13599   (void)jenv;
13600   (void)jcls;
13601   arg1 = *(struct zxid_ses **)&jarg1;
13602   arg2 = 0;
13603   if (jarg2) {
13604     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
13605     if (!arg2) return ;
13606   }
13607   {
13608     if (arg2) {
13609       arg1->tgt = (char *) malloc(strlen(( char *)arg2)+1);
13610       strcpy((char *)arg1->tgt, ( char *)arg2);
13611     } else {
13612       arg1->tgt = 0;
13613     }
13614   }
13615   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
13616 }
13617 
13618 
13619 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1tgt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13620   jstring jresult = 0 ;
13621   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13622   char *result = 0 ;
13623 
13624   (void)jenv;
13625   (void)jcls;
13626   arg1 = *(struct zxid_ses **)&jarg1;
13627   result = (char *) ((arg1)->tgt);
13628   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
13629   return jresult;
13630 }
13631 
13632 
13633 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sesix_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
13634   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13635   char *arg2 = (char *) 0 ;
13636 
13637   (void)jenv;
13638   (void)jcls;
13639   arg1 = *(struct zxid_ses **)&jarg1;
13640   arg2 = 0;
13641   if (jarg2) {
13642     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
13643     if (!arg2) return ;
13644   }
13645   {
13646     if (arg2) {
13647       arg1->sesix = (char *) malloc(strlen(( char *)arg2)+1);
13648       strcpy((char *)arg1->sesix, ( char *)arg2);
13649     } else {
13650       arg1->sesix = 0;
13651     }
13652   }
13653   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
13654 }
13655 
13656 
13657 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sesix_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13658   jstring jresult = 0 ;
13659   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13660   char *result = 0 ;
13661 
13662   (void)jenv;
13663   (void)jcls;
13664   arg1 = *(struct zxid_ses **)&jarg1;
13665   result = (char *) ((arg1)->sesix);
13666   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
13667   return jresult;
13668 }
13669 
13670 
13671 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1ipport_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
13672   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13673   char *arg2 = (char *) 0 ;
13674 
13675   (void)jenv;
13676   (void)jcls;
13677   arg1 = *(struct zxid_ses **)&jarg1;
13678   arg2 = 0;
13679   if (jarg2) {
13680     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
13681     if (!arg2) return ;
13682   }
13683   {
13684     if (arg2) {
13685       arg1->ipport = (char *) malloc(strlen(( char *)arg2)+1);
13686       strcpy((char *)arg1->ipport, ( char *)arg2);
13687     } else {
13688       arg1->ipport = 0;
13689     }
13690   }
13691   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
13692 }
13693 
13694 
13695 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1ipport_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13696   jstring jresult = 0 ;
13697   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13698   char *result = 0 ;
13699 
13700   (void)jenv;
13701   (void)jcls;
13702   arg1 = *(struct zxid_ses **)&jarg1;
13703   result = (char *) ((arg1)->ipport);
13704   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
13705   return jresult;
13706 }
13707 
13708 
13709 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1wsc_1msgid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
13710   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13711   char *arg2 = (char *) 0 ;
13712 
13713   (void)jenv;
13714   (void)jcls;
13715   arg1 = *(struct zxid_ses **)&jarg1;
13716   arg2 = 0;
13717   if (jarg2) {
13718     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
13719     if (!arg2) return ;
13720   }
13721   {
13722     if (arg2) {
13723       arg1->wsc_msgid = (char *) malloc(strlen(( char *)arg2)+1);
13724       strcpy((char *)arg1->wsc_msgid, ( char *)arg2);
13725     } else {
13726       arg1->wsc_msgid = 0;
13727     }
13728   }
13729   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
13730 }
13731 
13732 
13733 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1wsc_1msgid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13734   jstring jresult = 0 ;
13735   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13736   char *result = 0 ;
13737 
13738   (void)jenv;
13739   (void)jcls;
13740   arg1 = *(struct zxid_ses **)&jarg1;
13741   result = (char *) ((arg1)->wsc_msgid);
13742   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
13743   return jresult;
13744 }
13745 
13746 
13747 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1wsp_1msgid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
13748   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13749   struct zx_str *arg2 = (struct zx_str *) 0 ;
13750 
13751   (void)jenv;
13752   (void)jcls;
13753   arg1 = *(struct zxid_ses **)&jarg1;
13754   arg2 = *(struct zx_str **)&jarg2;
13755   if (arg1) (arg1)->wsp_msgid = arg2;
13756 }
13757 
13758 
13759 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1wsp_1msgid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13760   jstring jresult = 0 ;
13761   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13762   struct zx_str *result = 0 ;
13763 
13764   (void)jenv;
13765   (void)jcls;
13766   arg1 = *(struct zxid_ses **)&jarg1;
13767   result = (struct zx_str *) ((arg1)->wsp_msgid);
13768   {
13769     // Unfortunately Java does not provide NewStringUTF() that would explicitly
13770     // take length field - they insist on nul termination instead. Sigh.
13771     if (result && result->s) {
13772       char* tmp = malloc(result->len + 1);
13773       if (!tmp) {
13774         ERR("Out of memory len=%d", result->len); return 0;
13775       }
13776       memcpy(tmp, result->s, result->len);
13777       tmp[result->len] = 0;
13778       jresult = (*jenv)->NewStringUTF(jenv, tmp);
13779       free(tmp);
13780       // Do not free underlying zx_str because they are usually returned by reference.
13781     } else {
13782       jresult = 0;
13783     }
13784   }
13785   return jresult;
13786 }
13787 
13788 
13789 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1an_1ctx_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
13790   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13791   char *arg2 = (char *) 0 ;
13792 
13793   (void)jenv;
13794   (void)jcls;
13795   arg1 = *(struct zxid_ses **)&jarg1;
13796   arg2 = 0;
13797   if (jarg2) {
13798     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
13799     if (!arg2) return ;
13800   }
13801   {
13802     if (arg2) {
13803       arg1->an_ctx = (char *) malloc(strlen(( char *)arg2)+1);
13804       strcpy((char *)arg1->an_ctx, ( char *)arg2);
13805     } else {
13806       arg1->an_ctx = 0;
13807     }
13808   }
13809   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
13810 }
13811 
13812 
13813 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1an_1ctx_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13814   jstring jresult = 0 ;
13815   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13816   char *result = 0 ;
13817 
13818   (void)jenv;
13819   (void)jcls;
13820   arg1 = *(struct zxid_ses **)&jarg1;
13821   result = (char *) ((arg1)->an_ctx);
13822   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
13823   return jresult;
13824 }
13825 
13826 
13827 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1nidfmt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
13828   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13829   char arg2 ;
13830 
13831   (void)jenv;
13832   (void)jcls;
13833   arg1 = *(struct zxid_ses **)&jarg1;
13834   arg2 = (char)jarg2;
13835   if (arg1) (arg1)->nidfmt = arg2;
13836 }
13837 
13838 
13839 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1nidfmt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13840   jchar jresult = 0 ;
13841   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13842   char result;
13843 
13844   (void)jenv;
13845   (void)jcls;
13846   arg1 = *(struct zxid_ses **)&jarg1;
13847   result = (char) ((arg1)->nidfmt);
13848   jresult = (jchar)result;
13849   return jresult;
13850 }
13851 
13852 
13853 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1tgtfmt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
13854   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13855   char arg2 ;
13856 
13857   (void)jenv;
13858   (void)jcls;
13859   arg1 = *(struct zxid_ses **)&jarg1;
13860   arg2 = (char)jarg2;
13861   if (arg1) (arg1)->tgtfmt = arg2;
13862 }
13863 
13864 
13865 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1tgtfmt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13866   jchar jresult = 0 ;
13867   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13868   char result;
13869 
13870   (void)jenv;
13871   (void)jcls;
13872   arg1 = *(struct zxid_ses **)&jarg1;
13873   result = (char) ((arg1)->tgtfmt);
13874   jresult = (jchar)result;
13875   return jresult;
13876 }
13877 
13878 
13879 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sigres_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
13880   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13881   char arg2 ;
13882 
13883   (void)jenv;
13884   (void)jcls;
13885   arg1 = *(struct zxid_ses **)&jarg1;
13886   arg2 = (char)jarg2;
13887   if (arg1) (arg1)->sigres = arg2;
13888 }
13889 
13890 
13891 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sigres_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13892   jchar jresult = 0 ;
13893   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13894   char result;
13895 
13896   (void)jenv;
13897   (void)jcls;
13898   arg1 = *(struct zxid_ses **)&jarg1;
13899   result = (char) ((arg1)->sigres);
13900   jresult = (jchar)result;
13901   return jresult;
13902 }
13903 
13904 
13905 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1ssores_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
13906   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13907   char arg2 ;
13908 
13909   (void)jenv;
13910   (void)jcls;
13911   arg1 = *(struct zxid_ses **)&jarg1;
13912   arg2 = (char)jarg2;
13913   if (arg1) (arg1)->ssores = arg2;
13914 }
13915 
13916 
13917 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1ssores_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13918   jchar jresult = 0 ;
13919   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13920   char result;
13921 
13922   (void)jenv;
13923   (void)jcls;
13924   arg1 = *(struct zxid_ses **)&jarg1;
13925   result = (char) ((arg1)->ssores);
13926   jresult = (jchar)result;
13927   return jresult;
13928 }
13929 
13930 
13931 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sso_1a7n_1path_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
13932   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13933   char *arg2 = (char *) 0 ;
13934 
13935   (void)jenv;
13936   (void)jcls;
13937   arg1 = *(struct zxid_ses **)&jarg1;
13938   arg2 = 0;
13939   if (jarg2) {
13940     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
13941     if (!arg2) return ;
13942   }
13943   {
13944     if (arg2) {
13945       arg1->sso_a7n_path = (char *) malloc(strlen(( char *)arg2)+1);
13946       strcpy((char *)arg1->sso_a7n_path, ( char *)arg2);
13947     } else {
13948       arg1->sso_a7n_path = 0;
13949     }
13950   }
13951   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
13952 }
13953 
13954 
13955 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sso_1a7n_1path_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13956   jstring jresult = 0 ;
13957   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13958   char *result = 0 ;
13959 
13960   (void)jenv;
13961   (void)jcls;
13962   arg1 = *(struct zxid_ses **)&jarg1;
13963   result = (char *) ((arg1)->sso_a7n_path);
13964   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
13965   return jresult;
13966 }
13967 
13968 
13969 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1tgt_1a7n_1path_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
13970   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13971   char *arg2 = (char *) 0 ;
13972 
13973   (void)jenv;
13974   (void)jcls;
13975   arg1 = *(struct zxid_ses **)&jarg1;
13976   arg2 = 0;
13977   if (jarg2) {
13978     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
13979     if (!arg2) return ;
13980   }
13981   {
13982     if (arg2) {
13983       arg1->tgt_a7n_path = (char *) malloc(strlen(( char *)arg2)+1);
13984       strcpy((char *)arg1->tgt_a7n_path, ( char *)arg2);
13985     } else {
13986       arg1->tgt_a7n_path = 0;
13987     }
13988   }
13989   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
13990 }
13991 
13992 
13993 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1tgt_1a7n_1path_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
13994   jstring jresult = 0 ;
13995   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
13996   char *result = 0 ;
13997 
13998   (void)jenv;
13999   (void)jcls;
14000   arg1 = *(struct zxid_ses **)&jarg1;
14001   result = (char *) ((arg1)->tgt_a7n_path);
14002   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
14003   return jresult;
14004 }
14005 
14006 
14007 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1setcookie_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
14008   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14009   char *arg2 = (char *) 0 ;
14010 
14011   (void)jenv;
14012   (void)jcls;
14013   arg1 = *(struct zxid_ses **)&jarg1;
14014   arg2 = 0;
14015   if (jarg2) {
14016     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
14017     if (!arg2) return ;
14018   }
14019   {
14020     if (arg2) {
14021       arg1->setcookie = (char *) malloc(strlen(( char *)arg2)+1);
14022       strcpy((char *)arg1->setcookie, ( char *)arg2);
14023     } else {
14024       arg1->setcookie = 0;
14025     }
14026   }
14027   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
14028 }
14029 
14030 
14031 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1setcookie_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14032   jstring jresult = 0 ;
14033   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14034   char *result = 0 ;
14035 
14036   (void)jenv;
14037   (void)jcls;
14038   arg1 = *(struct zxid_ses **)&jarg1;
14039   result = (char *) ((arg1)->setcookie);
14040   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
14041   return jresult;
14042 }
14043 
14044 
14045 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1setptmcookie_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
14046   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14047   char *arg2 = (char *) 0 ;
14048 
14049   (void)jenv;
14050   (void)jcls;
14051   arg1 = *(struct zxid_ses **)&jarg1;
14052   arg2 = 0;
14053   if (jarg2) {
14054     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
14055     if (!arg2) return ;
14056   }
14057   {
14058     if (arg2) {
14059       arg1->setptmcookie = (char *) malloc(strlen(( char *)arg2)+1);
14060       strcpy((char *)arg1->setptmcookie, ( char *)arg2);
14061     } else {
14062       arg1->setptmcookie = 0;
14063     }
14064   }
14065   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
14066 }
14067 
14068 
14069 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1setptmcookie_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14070   jstring jresult = 0 ;
14071   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14072   char *result = 0 ;
14073 
14074   (void)jenv;
14075   (void)jcls;
14076   arg1 = *(struct zxid_ses **)&jarg1;
14077   result = (char *) ((arg1)->setptmcookie);
14078   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
14079   return jresult;
14080 }
14081 
14082 
14083 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1cookie_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
14084   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14085   char *arg2 = (char *) 0 ;
14086 
14087   (void)jenv;
14088   (void)jcls;
14089   arg1 = *(struct zxid_ses **)&jarg1;
14090   arg2 = 0;
14091   if (jarg2) {
14092     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
14093     if (!arg2) return ;
14094   }
14095   {
14096     if (arg2) {
14097       arg1->cookie = (char *) malloc(strlen(( char *)arg2)+1);
14098       strcpy((char *)arg1->cookie, ( char *)arg2);
14099     } else {
14100       arg1->cookie = 0;
14101     }
14102   }
14103   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
14104 }
14105 
14106 
14107 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1cookie_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14108   jstring jresult = 0 ;
14109   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14110   char *result = 0 ;
14111 
14112   (void)jenv;
14113   (void)jcls;
14114   arg1 = *(struct zxid_ses **)&jarg1;
14115   result = (char *) ((arg1)->cookie);
14116   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
14117   return jresult;
14118 }
14119 
14120 
14121 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1rs_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
14122   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14123   char *arg2 = (char *) 0 ;
14124 
14125   (void)jenv;
14126   (void)jcls;
14127   arg1 = *(struct zxid_ses **)&jarg1;
14128   arg2 = 0;
14129   if (jarg2) {
14130     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
14131     if (!arg2) return ;
14132   }
14133   {
14134     if (arg2) {
14135       arg1->rs = (char *) malloc(strlen(( char *)arg2)+1);
14136       strcpy((char *)arg1->rs, ( char *)arg2);
14137     } else {
14138       arg1->rs = 0;
14139     }
14140   }
14141   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
14142 }
14143 
14144 
14145 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1rs_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14146   jstring jresult = 0 ;
14147   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14148   char *result = 0 ;
14149 
14150   (void)jenv;
14151   (void)jcls;
14152   arg1 = *(struct zxid_ses **)&jarg1;
14153   result = (char *) ((arg1)->rs);
14154   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
14155   return jresult;
14156 }
14157 
14158 
14159 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1rcvd_1usagedir_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
14160   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14161   char *arg2 = (char *) 0 ;
14162 
14163   (void)jenv;
14164   (void)jcls;
14165   arg1 = *(struct zxid_ses **)&jarg1;
14166   arg2 = 0;
14167   if (jarg2) {
14168     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
14169     if (!arg2) return ;
14170   }
14171   {
14172     if (arg2) {
14173       arg1->rcvd_usagedir = (char *) malloc(strlen(( char *)arg2)+1);
14174       strcpy((char *)arg1->rcvd_usagedir, ( char *)arg2);
14175     } else {
14176       arg1->rcvd_usagedir = 0;
14177     }
14178   }
14179   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
14180 }
14181 
14182 
14183 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1rcvd_1usagedir_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14184   jstring jresult = 0 ;
14185   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14186   char *result = 0 ;
14187 
14188   (void)jenv;
14189   (void)jcls;
14190   arg1 = *(struct zxid_ses **)&jarg1;
14191   result = (char *) ((arg1)->rcvd_usagedir);
14192   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
14193   return jresult;
14194 }
14195 
14196 
14197 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1an_1instant_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
14198   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14199   long arg2 ;
14200 
14201   (void)jenv;
14202   (void)jcls;
14203   arg1 = *(struct zxid_ses **)&jarg1;
14204   arg2 = (long)jarg2;
14205   if (arg1) (arg1)->an_instant = arg2;
14206 }
14207 
14208 
14209 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1an_1instant_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14210   jint jresult = 0 ;
14211   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14212   long result;
14213 
14214   (void)jenv;
14215   (void)jcls;
14216   arg1 = *(struct zxid_ses **)&jarg1;
14217   result = (long) ((arg1)->an_instant);
14218   jresult = (jint)result;
14219   return jresult;
14220 }
14221 
14222 
14223 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1nameid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
14224   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14225   zxid_nid *arg2 = (zxid_nid *) 0 ;
14226 
14227   (void)jenv;
14228   (void)jcls;
14229   arg1 = *(struct zxid_ses **)&jarg1;
14230   arg2 = *(zxid_nid **)&jarg2;
14231   if (arg1) (arg1)->nameid = arg2;
14232 }
14233 
14234 
14235 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1nameid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14236   jlong jresult = 0 ;
14237   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14238   zxid_nid *result = 0 ;
14239 
14240   (void)jenv;
14241   (void)jcls;
14242   arg1 = *(struct zxid_ses **)&jarg1;
14243   result = (zxid_nid *) ((arg1)->nameid);
14244   *(zxid_nid **)&jresult = result;
14245   return jresult;
14246 }
14247 
14248 
14249 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1tgtnameid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
14250   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14251   zxid_nid *arg2 = (zxid_nid *) 0 ;
14252 
14253   (void)jenv;
14254   (void)jcls;
14255   arg1 = *(struct zxid_ses **)&jarg1;
14256   arg2 = *(zxid_nid **)&jarg2;
14257   if (arg1) (arg1)->tgtnameid = arg2;
14258 }
14259 
14260 
14261 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1tgtnameid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14262   jlong jresult = 0 ;
14263   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14264   zxid_nid *result = 0 ;
14265 
14266   (void)jenv;
14267   (void)jcls;
14268   arg1 = *(struct zxid_ses **)&jarg1;
14269   result = (zxid_nid *) ((arg1)->tgtnameid);
14270   *(zxid_nid **)&jresult = result;
14271   return jresult;
14272 }
14273 
14274 
14275 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1a7n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
14276   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14277   zxid_a7n *arg2 = (zxid_a7n *) 0 ;
14278 
14279   (void)jenv;
14280   (void)jcls;
14281   arg1 = *(struct zxid_ses **)&jarg1;
14282   arg2 = *(zxid_a7n **)&jarg2;
14283   if (arg1) (arg1)->a7n = arg2;
14284 }
14285 
14286 
14287 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1a7n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14288   jlong jresult = 0 ;
14289   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14290   zxid_a7n *result = 0 ;
14291 
14292   (void)jenv;
14293   (void)jcls;
14294   arg1 = *(struct zxid_ses **)&jarg1;
14295   result = (zxid_a7n *) ((arg1)->a7n);
14296   *(zxid_a7n **)&jresult = result;
14297   return jresult;
14298 }
14299 
14300 
14301 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1tgta7n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
14302   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14303   zxid_a7n *arg2 = (zxid_a7n *) 0 ;
14304 
14305   (void)jenv;
14306   (void)jcls;
14307   arg1 = *(struct zxid_ses **)&jarg1;
14308   arg2 = *(zxid_a7n **)&jarg2;
14309   if (arg1) (arg1)->tgta7n = arg2;
14310 }
14311 
14312 
14313 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1tgta7n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14314   jlong jresult = 0 ;
14315   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14316   zxid_a7n *result = 0 ;
14317 
14318   (void)jenv;
14319   (void)jcls;
14320   arg1 = *(struct zxid_ses **)&jarg1;
14321   result = (zxid_a7n *) ((arg1)->tgta7n);
14322   *(zxid_a7n **)&jresult = result;
14323   return jresult;
14324 }
14325 
14326 
14327 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1jwt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
14328   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14329   char *arg2 = (char *) 0 ;
14330 
14331   (void)jenv;
14332   (void)jcls;
14333   arg1 = *(struct zxid_ses **)&jarg1;
14334   arg2 = 0;
14335   if (jarg2) {
14336     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
14337     if (!arg2) return ;
14338   }
14339   {
14340     if (arg2) {
14341       arg1->jwt = (char *) malloc(strlen(( char *)arg2)+1);
14342       strcpy((char *)arg1->jwt, ( char *)arg2);
14343     } else {
14344       arg1->jwt = 0;
14345     }
14346   }
14347   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
14348 }
14349 
14350 
14351 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1jwt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14352   jstring jresult = 0 ;
14353   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14354   char *result = 0 ;
14355 
14356   (void)jenv;
14357   (void)jcls;
14358   arg1 = *(struct zxid_ses **)&jarg1;
14359   result = (char *) ((arg1)->jwt);
14360   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
14361   return jresult;
14362 }
14363 
14364 
14365 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1tgtjwt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
14366   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14367   char *arg2 = (char *) 0 ;
14368 
14369   (void)jenv;
14370   (void)jcls;
14371   arg1 = *(struct zxid_ses **)&jarg1;
14372   arg2 = 0;
14373   if (jarg2) {
14374     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
14375     if (!arg2) return ;
14376   }
14377   {
14378     if (arg2) {
14379       arg1->tgtjwt = (char *) malloc(strlen(( char *)arg2)+1);
14380       strcpy((char *)arg1->tgtjwt, ( char *)arg2);
14381     } else {
14382       arg1->tgtjwt = 0;
14383     }
14384   }
14385   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
14386 }
14387 
14388 
14389 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1tgtjwt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14390   jstring jresult = 0 ;
14391   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14392   char *result = 0 ;
14393 
14394   (void)jenv;
14395   (void)jcls;
14396   arg1 = *(struct zxid_ses **)&jarg1;
14397   result = (char *) ((arg1)->tgtjwt);
14398   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
14399   return jresult;
14400 }
14401 
14402 
14403 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1a7n11_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
14404   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14405   struct zx_sa11_Assertion_s *arg2 = (struct zx_sa11_Assertion_s *) 0 ;
14406 
14407   (void)jenv;
14408   (void)jcls;
14409   arg1 = *(struct zxid_ses **)&jarg1;
14410   arg2 = *(struct zx_sa11_Assertion_s **)&jarg2;
14411   if (arg1) (arg1)->a7n11 = arg2;
14412 }
14413 
14414 
14415 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1a7n11_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14416   jlong jresult = 0 ;
14417   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14418   struct zx_sa11_Assertion_s *result = 0 ;
14419 
14420   (void)jenv;
14421   (void)jcls;
14422   arg1 = *(struct zxid_ses **)&jarg1;
14423   result = (struct zx_sa11_Assertion_s *) ((arg1)->a7n11);
14424   *(struct zx_sa11_Assertion_s **)&jresult = result;
14425   return jresult;
14426 }
14427 
14428 
14429 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1tgta7n11_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
14430   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14431   struct zx_sa11_Assertion_s *arg2 = (struct zx_sa11_Assertion_s *) 0 ;
14432 
14433   (void)jenv;
14434   (void)jcls;
14435   arg1 = *(struct zxid_ses **)&jarg1;
14436   arg2 = *(struct zx_sa11_Assertion_s **)&jarg2;
14437   if (arg1) (arg1)->tgta7n11 = arg2;
14438 }
14439 
14440 
14441 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1tgta7n11_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14442   jlong jresult = 0 ;
14443   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14444   struct zx_sa11_Assertion_s *result = 0 ;
14445 
14446   (void)jenv;
14447   (void)jcls;
14448   arg1 = *(struct zxid_ses **)&jarg1;
14449   result = (struct zx_sa11_Assertion_s *) ((arg1)->tgta7n11);
14450   *(struct zx_sa11_Assertion_s **)&jresult = result;
14451   return jresult;
14452 }
14453 
14454 
14455 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1a7n12_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
14456   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14457   struct zx_ff12_Assertion_s *arg2 = (struct zx_ff12_Assertion_s *) 0 ;
14458 
14459   (void)jenv;
14460   (void)jcls;
14461   arg1 = *(struct zxid_ses **)&jarg1;
14462   arg2 = *(struct zx_ff12_Assertion_s **)&jarg2;
14463   if (arg1) (arg1)->a7n12 = arg2;
14464 }
14465 
14466 
14467 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1a7n12_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14468   jlong jresult = 0 ;
14469   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14470   struct zx_ff12_Assertion_s *result = 0 ;
14471 
14472   (void)jenv;
14473   (void)jcls;
14474   arg1 = *(struct zxid_ses **)&jarg1;
14475   result = (struct zx_ff12_Assertion_s *) ((arg1)->a7n12);
14476   *(struct zx_ff12_Assertion_s **)&jresult = result;
14477   return jresult;
14478 }
14479 
14480 
14481 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1tgta7n12_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
14482   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14483   struct zx_ff12_Assertion_s *arg2 = (struct zx_ff12_Assertion_s *) 0 ;
14484 
14485   (void)jenv;
14486   (void)jcls;
14487   arg1 = *(struct zxid_ses **)&jarg1;
14488   arg2 = *(struct zx_ff12_Assertion_s **)&jarg2;
14489   if (arg1) (arg1)->tgta7n12 = arg2;
14490 }
14491 
14492 
14493 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1tgta7n12_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14494   jlong jresult = 0 ;
14495   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14496   struct zx_ff12_Assertion_s *result = 0 ;
14497 
14498   (void)jenv;
14499   (void)jcls;
14500   arg1 = *(struct zxid_ses **)&jarg1;
14501   result = (struct zx_ff12_Assertion_s *) ((arg1)->tgta7n12);
14502   *(struct zx_ff12_Assertion_s **)&jresult = result;
14503   return jresult;
14504 }
14505 
14506 
14507 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1call_1invoktok_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
14508   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14509   zxid_tok *arg2 = (zxid_tok *) 0 ;
14510 
14511   (void)jenv;
14512   (void)jcls;
14513   arg1 = *(struct zxid_ses **)&jarg1;
14514   arg2 = *(zxid_tok **)&jarg2;
14515   if (arg1) (arg1)->call_invoktok = arg2;
14516 }
14517 
14518 
14519 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1call_1invoktok_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14520   jlong jresult = 0 ;
14521   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14522   zxid_tok *result = 0 ;
14523 
14524   (void)jenv;
14525   (void)jcls;
14526   arg1 = *(struct zxid_ses **)&jarg1;
14527   result = (zxid_tok *) ((arg1)->call_invoktok);
14528   *(zxid_tok **)&jresult = result;
14529   return jresult;
14530 }
14531 
14532 
14533 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1call_1tgttok_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
14534   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14535   zxid_tok *arg2 = (zxid_tok *) 0 ;
14536 
14537   (void)jenv;
14538   (void)jcls;
14539   arg1 = *(struct zxid_ses **)&jarg1;
14540   arg2 = *(zxid_tok **)&jarg2;
14541   if (arg1) (arg1)->call_tgttok = arg2;
14542 }
14543 
14544 
14545 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1call_1tgttok_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14546   jlong jresult = 0 ;
14547   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14548   zxid_tok *result = 0 ;
14549 
14550   (void)jenv;
14551   (void)jcls;
14552   arg1 = *(struct zxid_ses **)&jarg1;
14553   result = (zxid_tok *) ((arg1)->call_tgttok);
14554   *(zxid_tok **)&jresult = result;
14555   return jresult;
14556 }
14557 
14558 
14559 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1deleg_1di_1epr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
14560   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14561   zxid_epr *arg2 = (zxid_epr *) 0 ;
14562 
14563   (void)jenv;
14564   (void)jcls;
14565   arg1 = *(struct zxid_ses **)&jarg1;
14566   arg2 = *(zxid_epr **)&jarg2;
14567   if (arg1) (arg1)->deleg_di_epr = arg2;
14568 }
14569 
14570 
14571 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1deleg_1di_1epr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14572   jlong jresult = 0 ;
14573   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14574   zxid_epr *result = 0 ;
14575 
14576   (void)jenv;
14577   (void)jcls;
14578   arg1 = *(struct zxid_ses **)&jarg1;
14579   result = (zxid_epr *) ((arg1)->deleg_di_epr);
14580   *(zxid_epr **)&jresult = result;
14581   return jresult;
14582 }
14583 
14584 
14585 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1curflt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
14586   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14587   zxid_fault *arg2 = (zxid_fault *) 0 ;
14588 
14589   (void)jenv;
14590   (void)jcls;
14591   arg1 = *(struct zxid_ses **)&jarg1;
14592   arg2 = *(zxid_fault **)&jarg2;
14593   if (arg1) (arg1)->curflt = arg2;
14594 }
14595 
14596 
14597 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1curflt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14598   jlong jresult = 0 ;
14599   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14600   zxid_fault *result = 0 ;
14601 
14602   (void)jenv;
14603   (void)jcls;
14604   arg1 = *(struct zxid_ses **)&jarg1;
14605   result = (zxid_fault *) ((arg1)->curflt);
14606   *(zxid_fault **)&jresult = result;
14607   return jresult;
14608 }
14609 
14610 
14611 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1curstatus_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
14612   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14613   zxid_tas3_status *arg2 = (zxid_tas3_status *) 0 ;
14614 
14615   (void)jenv;
14616   (void)jcls;
14617   arg1 = *(struct zxid_ses **)&jarg1;
14618   arg2 = *(zxid_tas3_status **)&jarg2;
14619   if (arg1) (arg1)->curstatus = arg2;
14620 }
14621 
14622 
14623 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1curstatus_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14624   jlong jresult = 0 ;
14625   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14626   zxid_tas3_status *result = 0 ;
14627 
14628   (void)jenv;
14629   (void)jcls;
14630   arg1 = *(struct zxid_ses **)&jarg1;
14631   result = (zxid_tas3_status *) ((arg1)->curstatus);
14632   *(zxid_tas3_status **)&jresult = result;
14633   return jresult;
14634 }
14635 
14636 
14637 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1issuer_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
14638   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14639   struct zx_str *arg2 = (struct zx_str *) 0 ;
14640 
14641   (void)jenv;
14642   (void)jcls;
14643   arg1 = *(struct zxid_ses **)&jarg1;
14644   arg2 = *(struct zx_str **)&jarg2;
14645   if (arg1) (arg1)->issuer = arg2;
14646 }
14647 
14648 
14649 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1issuer_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14650   jstring jresult = 0 ;
14651   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14652   struct zx_str *result = 0 ;
14653 
14654   (void)jenv;
14655   (void)jcls;
14656   arg1 = *(struct zxid_ses **)&jarg1;
14657   result = (struct zx_str *) ((arg1)->issuer);
14658   {
14659     // Unfortunately Java does not provide NewStringUTF() that would explicitly
14660     // take length field - they insist on nul termination instead. Sigh.
14661     if (result && result->s) {
14662       char* tmp = malloc(result->len + 1);
14663       if (!tmp) {
14664         ERR("Out of memory len=%d", result->len); return 0;
14665       }
14666       memcpy(tmp, result->s, result->len);
14667       tmp[result->len] = 0;
14668       jresult = (*jenv)->NewStringUTF(jenv, tmp);
14669       free(tmp);
14670       // Do not free underlying zx_str because they are usually returned by reference.
14671     } else {
14672       jresult = 0;
14673     }
14674   }
14675   return jresult;
14676 }
14677 
14678 
14679 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1srcts_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
14680   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14681   struct timeval arg2 ;
14682   struct timeval *argp2 ;
14683 
14684   (void)jenv;
14685   (void)jcls;
14686   arg1 = *(struct zxid_ses **)&jarg1;
14687   argp2 = *(struct timeval **)&jarg2;
14688   if (!argp2) {
14689     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null struct timeval");
14690     return ;
14691   }
14692   arg2 = *argp2;
14693   if (arg1) (arg1)->srcts = arg2;
14694 }
14695 
14696 
14697 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1srcts_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14698   jlong jresult = 0 ;
14699   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14700   struct timeval result;
14701 
14702   (void)jenv;
14703   (void)jcls;
14704   arg1 = *(struct zxid_ses **)&jarg1;
14705   result =  ((arg1)->srcts);
14706   {
14707     struct timeval * resultptr = (struct timeval *) malloc(sizeof(struct timeval));
14708     memmove(resultptr, &result, sizeof(struct timeval));
14709     *(struct timeval **)&jresult = resultptr;
14710   }
14711   return jresult;
14712 }
14713 
14714 
14715 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sesbuf_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
14716   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14717   char *arg2 = (char *) 0 ;
14718 
14719   (void)jenv;
14720   (void)jcls;
14721   arg1 = *(struct zxid_ses **)&jarg1;
14722   arg2 = 0;
14723   if (jarg2) {
14724     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
14725     if (!arg2) return ;
14726   }
14727   {
14728     if (arg2) {
14729       arg1->sesbuf = (char *) malloc(strlen(( char *)arg2)+1);
14730       strcpy((char *)arg1->sesbuf, ( char *)arg2);
14731     } else {
14732       arg1->sesbuf = 0;
14733     }
14734   }
14735   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
14736 }
14737 
14738 
14739 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sesbuf_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14740   jstring jresult = 0 ;
14741   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14742   char *result = 0 ;
14743 
14744   (void)jenv;
14745   (void)jcls;
14746   arg1 = *(struct zxid_ses **)&jarg1;
14747   result = (char *) ((arg1)->sesbuf);
14748   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
14749   return jresult;
14750 }
14751 
14752 
14753 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sso_1a7n_1buf_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
14754   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14755   char *arg2 = (char *) 0 ;
14756 
14757   (void)jenv;
14758   (void)jcls;
14759   arg1 = *(struct zxid_ses **)&jarg1;
14760   arg2 = 0;
14761   if (jarg2) {
14762     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
14763     if (!arg2) return ;
14764   }
14765   {
14766     if (arg2) {
14767       arg1->sso_a7n_buf = (char *) malloc(strlen(( char *)arg2)+1);
14768       strcpy((char *)arg1->sso_a7n_buf, ( char *)arg2);
14769     } else {
14770       arg1->sso_a7n_buf = 0;
14771     }
14772   }
14773   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
14774 }
14775 
14776 
14777 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1sso_1a7n_1buf_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14778   jstring jresult = 0 ;
14779   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14780   char *result = 0 ;
14781 
14782   (void)jenv;
14783   (void)jcls;
14784   arg1 = *(struct zxid_ses **)&jarg1;
14785   result = (char *) ((arg1)->sso_a7n_buf);
14786   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
14787   return jresult;
14788 }
14789 
14790 
14791 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1at_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
14792   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14793   struct zxid_attr *arg2 = (struct zxid_attr *) 0 ;
14794 
14795   (void)jenv;
14796   (void)jcls;
14797   arg1 = *(struct zxid_ses **)&jarg1;
14798   arg2 = *(struct zxid_attr **)&jarg2;
14799   if (arg1) (arg1)->at = arg2;
14800 }
14801 
14802 
14803 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1at_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14804   jlong jresult = 0 ;
14805   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14806   struct zxid_attr *result = 0 ;
14807 
14808   (void)jenv;
14809   (void)jcls;
14810   arg1 = *(struct zxid_ses **)&jarg1;
14811   result = (struct zxid_attr *) ((arg1)->at);
14812   *(struct zxid_attr **)&jresult = result;
14813   return jresult;
14814 }
14815 
14816 
14817 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1access_1token_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
14818   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14819   char *arg2 = (char *) 0 ;
14820 
14821   (void)jenv;
14822   (void)jcls;
14823   arg1 = *(struct zxid_ses **)&jarg1;
14824   arg2 = 0;
14825   if (jarg2) {
14826     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
14827     if (!arg2) return ;
14828   }
14829   {
14830     if (arg2) {
14831       arg1->access_token = (char *) malloc(strlen(( char *)arg2)+1);
14832       strcpy((char *)arg1->access_token, ( char *)arg2);
14833     } else {
14834       arg1->access_token = 0;
14835     }
14836   }
14837   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
14838 }
14839 
14840 
14841 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1access_1token_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14842   jstring jresult = 0 ;
14843   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14844   char *result = 0 ;
14845 
14846   (void)jenv;
14847   (void)jcls;
14848   arg1 = *(struct zxid_ses **)&jarg1;
14849   result = (char *) ((arg1)->access_token);
14850   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
14851   return jresult;
14852 }
14853 
14854 
14855 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1refresh_1token_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
14856   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14857   char *arg2 = (char *) 0 ;
14858 
14859   (void)jenv;
14860   (void)jcls;
14861   arg1 = *(struct zxid_ses **)&jarg1;
14862   arg2 = 0;
14863   if (jarg2) {
14864     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
14865     if (!arg2) return ;
14866   }
14867   {
14868     if (arg2) {
14869       arg1->refresh_token = (char *) malloc(strlen(( char *)arg2)+1);
14870       strcpy((char *)arg1->refresh_token, ( char *)arg2);
14871     } else {
14872       arg1->refresh_token = 0;
14873     }
14874   }
14875   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
14876 }
14877 
14878 
14879 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1refresh_1token_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14880   jstring jresult = 0 ;
14881   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14882   char *result = 0 ;
14883 
14884   (void)jenv;
14885   (void)jcls;
14886   arg1 = *(struct zxid_ses **)&jarg1;
14887   result = (char *) ((arg1)->refresh_token);
14888   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
14889   return jresult;
14890 }
14891 
14892 
14893 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1token_1type_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
14894   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14895   char *arg2 = (char *) 0 ;
14896 
14897   (void)jenv;
14898   (void)jcls;
14899   arg1 = *(struct zxid_ses **)&jarg1;
14900   arg2 = 0;
14901   if (jarg2) {
14902     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
14903     if (!arg2) return ;
14904   }
14905   {
14906     if (arg2) {
14907       arg1->token_type = (char *) malloc(strlen(( char *)arg2)+1);
14908       strcpy((char *)arg1->token_type, ( char *)arg2);
14909     } else {
14910       arg1->token_type = 0;
14911     }
14912   }
14913   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
14914 }
14915 
14916 
14917 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1token_1type_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14918   jstring jresult = 0 ;
14919   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14920   char *result = 0 ;
14921 
14922   (void)jenv;
14923   (void)jcls;
14924   arg1 = *(struct zxid_ses **)&jarg1;
14925   result = (char *) ((arg1)->token_type);
14926   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
14927   return jresult;
14928 }
14929 
14930 
14931 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1id_1token_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
14932   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14933   char *arg2 = (char *) 0 ;
14934 
14935   (void)jenv;
14936   (void)jcls;
14937   arg1 = *(struct zxid_ses **)&jarg1;
14938   arg2 = 0;
14939   if (jarg2) {
14940     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
14941     if (!arg2) return ;
14942   }
14943   {
14944     if (arg2) {
14945       arg1->id_token = (char *) malloc(strlen(( char *)arg2)+1);
14946       strcpy((char *)arg1->id_token, ( char *)arg2);
14947     } else {
14948       arg1->id_token = 0;
14949     }
14950   }
14951   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
14952 }
14953 
14954 
14955 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1id_1token_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14956   jstring jresult = 0 ;
14957   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14958   char *result = 0 ;
14959 
14960   (void)jenv;
14961   (void)jcls;
14962   arg1 = *(struct zxid_ses **)&jarg1;
14963   result = (char *) ((arg1)->id_token);
14964   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
14965   return jresult;
14966 }
14967 
14968 
14969 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1expires_1in_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
14970   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14971   int arg2 ;
14972 
14973   (void)jenv;
14974   (void)jcls;
14975   arg1 = *(struct zxid_ses **)&jarg1;
14976   arg2 = (int)jarg2;
14977   if (arg1) (arg1)->expires_in = arg2;
14978 }
14979 
14980 
14981 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1expires_1in_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
14982   jint jresult = 0 ;
14983   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14984   int result;
14985 
14986   (void)jenv;
14987   (void)jcls;
14988   arg1 = *(struct zxid_ses **)&jarg1;
14989   result = (int) ((arg1)->expires_in);
14990   jresult = (jint)result;
14991   return jresult;
14992 }
14993 
14994 
14995 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1client_1id_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
14996   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
14997   char *arg2 = (char *) 0 ;
14998 
14999   (void)jenv;
15000   (void)jcls;
15001   arg1 = *(struct zxid_ses **)&jarg1;
15002   arg2 = 0;
15003   if (jarg2) {
15004     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
15005     if (!arg2) return ;
15006   }
15007   {
15008     if (arg2) {
15009       arg1->client_id = (char *) malloc(strlen(( char *)arg2)+1);
15010       strcpy((char *)arg1->client_id, ( char *)arg2);
15011     } else {
15012       arg1->client_id = 0;
15013     }
15014   }
15015   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
15016 }
15017 
15018 
15019 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1client_1id_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15020   jstring jresult = 0 ;
15021   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
15022   char *result = 0 ;
15023 
15024   (void)jenv;
15025   (void)jcls;
15026   arg1 = *(struct zxid_ses **)&jarg1;
15027   result = (char *) ((arg1)->client_id);
15028   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
15029   return jresult;
15030 }
15031 
15032 
15033 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1client_1secret_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
15034   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
15035   char *arg2 = (char *) 0 ;
15036 
15037   (void)jenv;
15038   (void)jcls;
15039   arg1 = *(struct zxid_ses **)&jarg1;
15040   arg2 = 0;
15041   if (jarg2) {
15042     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
15043     if (!arg2) return ;
15044   }
15045   {
15046     if (arg2) {
15047       arg1->client_secret = (char *) malloc(strlen(( char *)arg2)+1);
15048       strcpy((char *)arg1->client_secret, ( char *)arg2);
15049     } else {
15050       arg1->client_secret = 0;
15051     }
15052   }
15053   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
15054 }
15055 
15056 
15057 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1client_1secret_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15058   jstring jresult = 0 ;
15059   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
15060   char *result = 0 ;
15061 
15062   (void)jenv;
15063   (void)jcls;
15064   arg1 = *(struct zxid_ses **)&jarg1;
15065   result = (char *) ((arg1)->client_secret);
15066   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
15067   return jresult;
15068 }
15069 
15070 
15071 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1rpt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
15072   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
15073   char *arg2 = (char *) 0 ;
15074 
15075   (void)jenv;
15076   (void)jcls;
15077   arg1 = *(struct zxid_ses **)&jarg1;
15078   arg2 = 0;
15079   if (jarg2) {
15080     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
15081     if (!arg2) return ;
15082   }
15083   {
15084     if (arg2) {
15085       arg1->rpt = (char *) malloc(strlen(( char *)arg2)+1);
15086       strcpy((char *)arg1->rpt, ( char *)arg2);
15087     } else {
15088       arg1->rpt = 0;
15089     }
15090   }
15091   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
15092 }
15093 
15094 
15095 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1rpt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15096   jstring jresult = 0 ;
15097   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
15098   char *result = 0 ;
15099 
15100   (void)jenv;
15101   (void)jcls;
15102   arg1 = *(struct zxid_ses **)&jarg1;
15103   result = (char *) ((arg1)->rpt);
15104   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
15105   return jresult;
15106 }
15107 
15108 
15109 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1ses(JNIEnv *jenv, jclass jcls) {
15110   jlong jresult = 0 ;
15111   struct zxid_ses *result = 0 ;
15112 
15113   (void)jenv;
15114   (void)jcls;
15115   result = (struct zxid_ses *)calloc(1, sizeof(struct zxid_ses));
15116   *(struct zxid_ses **)&jresult = result;
15117   return jresult;
15118 }
15119 
15120 
15121 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1ses(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15122   struct zxid_ses *arg1 = (struct zxid_ses *) 0 ;
15123 
15124   (void)jenv;
15125   (void)jcls;
15126   arg1 = *(struct zxid_ses **)&jarg1;
15127   free((char *) arg1);
15128 }
15129 
15130 
15131 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
15132   struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
15133   struct zxid_attr *arg2 = (struct zxid_attr *) 0 ;
15134 
15135   (void)jenv;
15136   (void)jcls;
15137   arg1 = *(struct zxid_attr **)&jarg1;
15138   arg2 = *(struct zxid_attr **)&jarg2;
15139   if (arg1) (arg1)->n = arg2;
15140 }
15141 
15142 
15143 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15144   jlong jresult = 0 ;
15145   struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
15146   struct zxid_attr *result = 0 ;
15147 
15148   (void)jenv;
15149   (void)jcls;
15150   arg1 = *(struct zxid_attr **)&jarg1;
15151   result = (struct zxid_attr *) ((arg1)->n);
15152   *(struct zxid_attr **)&jresult = result;
15153   return jresult;
15154 }
15155 
15156 
15157 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1nv_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
15158   struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
15159   struct zxid_attr *arg2 = (struct zxid_attr *) 0 ;
15160 
15161   (void)jenv;
15162   (void)jcls;
15163   arg1 = *(struct zxid_attr **)&jarg1;
15164   arg2 = *(struct zxid_attr **)&jarg2;
15165   if (arg1) (arg1)->nv = arg2;
15166 }
15167 
15168 
15169 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1nv_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15170   jlong jresult = 0 ;
15171   struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
15172   struct zxid_attr *result = 0 ;
15173 
15174   (void)jenv;
15175   (void)jcls;
15176   arg1 = *(struct zxid_attr **)&jarg1;
15177   result = (struct zxid_attr *) ((arg1)->nv);
15178   *(struct zxid_attr **)&jresult = result;
15179   return jresult;
15180 }
15181 
15182 
15183 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
15184   struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
15185   char *arg2 = (char *) 0 ;
15186 
15187   (void)jenv;
15188   (void)jcls;
15189   arg1 = *(struct zxid_attr **)&jarg1;
15190   arg2 = 0;
15191   if (jarg2) {
15192     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
15193     if (!arg2) return ;
15194   }
15195   {
15196     if (arg2) {
15197       arg1->name = (char *) malloc(strlen(( char *)arg2)+1);
15198       strcpy((char *)arg1->name, ( char *)arg2);
15199     } else {
15200       arg1->name = 0;
15201     }
15202   }
15203   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
15204 }
15205 
15206 
15207 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15208   jstring jresult = 0 ;
15209   struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
15210   char *result = 0 ;
15211 
15212   (void)jenv;
15213   (void)jcls;
15214   arg1 = *(struct zxid_attr **)&jarg1;
15215   result = (char *) ((arg1)->name);
15216   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
15217   return jresult;
15218 }
15219 
15220 
15221 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1val_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
15222   struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
15223   char *arg2 = (char *) 0 ;
15224 
15225   (void)jenv;
15226   (void)jcls;
15227   arg1 = *(struct zxid_attr **)&jarg1;
15228   arg2 = 0;
15229   if (jarg2) {
15230     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
15231     if (!arg2) return ;
15232   }
15233   {
15234     if (arg2) {
15235       arg1->val = (char *) malloc(strlen(( char *)arg2)+1);
15236       strcpy((char *)arg1->val, ( char *)arg2);
15237     } else {
15238       arg1->val = 0;
15239     }
15240   }
15241   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
15242 }
15243 
15244 
15245 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1val_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15246   jstring jresult = 0 ;
15247   struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
15248   char *result = 0 ;
15249 
15250   (void)jenv;
15251   (void)jcls;
15252   arg1 = *(struct zxid_attr **)&jarg1;
15253   result = (char *) ((arg1)->val);
15254   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
15255   return jresult;
15256 }
15257 
15258 
15259 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1map_1val_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
15260   struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
15261   struct zx_str *arg2 = (struct zx_str *) 0 ;
15262 
15263   (void)jenv;
15264   (void)jcls;
15265   arg1 = *(struct zxid_attr **)&jarg1;
15266   arg2 = *(struct zx_str **)&jarg2;
15267   if (arg1) (arg1)->map_val = arg2;
15268 }
15269 
15270 
15271 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1map_1val_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15272   jstring jresult = 0 ;
15273   struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
15274   struct zx_str *result = 0 ;
15275 
15276   (void)jenv;
15277   (void)jcls;
15278   arg1 = *(struct zxid_attr **)&jarg1;
15279   result = (struct zx_str *) ((arg1)->map_val);
15280   {
15281     // Unfortunately Java does not provide NewStringUTF() that would explicitly
15282     // take length field - they insist on nul termination instead. Sigh.
15283     if (result && result->s) {
15284       char* tmp = malloc(result->len + 1);
15285       if (!tmp) {
15286         ERR("Out of memory len=%d", result->len); return 0;
15287       }
15288       memcpy(tmp, result->s, result->len);
15289       tmp[result->len] = 0;
15290       jresult = (*jenv)->NewStringUTF(jenv, tmp);
15291       free(tmp);
15292       // Do not free underlying zx_str because they are usually returned by reference.
15293     } else {
15294       jresult = 0;
15295     }
15296   }
15297   return jresult;
15298 }
15299 
15300 
15301 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1orig_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
15302   struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
15303   struct zx_sa_Attribute_s *arg2 = (struct zx_sa_Attribute_s *) 0 ;
15304 
15305   (void)jenv;
15306   (void)jcls;
15307   arg1 = *(struct zxid_attr **)&jarg1;
15308   arg2 = *(struct zx_sa_Attribute_s **)&jarg2;
15309   if (arg1) (arg1)->orig = arg2;
15310 }
15311 
15312 
15313 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1orig_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15314   jlong jresult = 0 ;
15315   struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
15316   struct zx_sa_Attribute_s *result = 0 ;
15317 
15318   (void)jenv;
15319   (void)jcls;
15320   arg1 = *(struct zxid_attr **)&jarg1;
15321   result = (struct zx_sa_Attribute_s *) ((arg1)->orig);
15322   *(struct zx_sa_Attribute_s **)&jresult = result;
15323   return jresult;
15324 }
15325 
15326 
15327 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1issuer_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
15328   struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
15329   struct zx_str *arg2 = (struct zx_str *) 0 ;
15330 
15331   (void)jenv;
15332   (void)jcls;
15333   arg1 = *(struct zxid_attr **)&jarg1;
15334   arg2 = *(struct zx_str **)&jarg2;
15335   if (arg1) (arg1)->issuer = arg2;
15336 }
15337 
15338 
15339 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1attr_1issuer_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15340   jstring jresult = 0 ;
15341   struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
15342   struct zx_str *result = 0 ;
15343 
15344   (void)jenv;
15345   (void)jcls;
15346   arg1 = *(struct zxid_attr **)&jarg1;
15347   result = (struct zx_str *) ((arg1)->issuer);
15348   {
15349     // Unfortunately Java does not provide NewStringUTF() that would explicitly
15350     // take length field - they insist on nul termination instead. Sigh.
15351     if (result && result->s) {
15352       char* tmp = malloc(result->len + 1);
15353       if (!tmp) {
15354         ERR("Out of memory len=%d", result->len); return 0;
15355       }
15356       memcpy(tmp, result->s, result->len);
15357       tmp[result->len] = 0;
15358       jresult = (*jenv)->NewStringUTF(jenv, tmp);
15359       free(tmp);
15360       // Do not free underlying zx_str because they are usually returned by reference.
15361     } else {
15362       jresult = 0;
15363     }
15364   }
15365   return jresult;
15366 }
15367 
15368 
15369 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1attr(JNIEnv *jenv, jclass jcls) {
15370   jlong jresult = 0 ;
15371   struct zxid_attr *result = 0 ;
15372 
15373   (void)jenv;
15374   (void)jcls;
15375   result = (struct zxid_attr *)calloc(1, sizeof(struct zxid_attr));
15376   *(struct zxid_attr **)&jresult = result;
15377   return jresult;
15378 }
15379 
15380 
15381 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1attr(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15382   struct zxid_attr *arg1 = (struct zxid_attr *) 0 ;
15383 
15384   (void)jenv;
15385   (void)jcls;
15386   arg1 = *(struct zxid_attr **)&jarg1;
15387   free((char *) arg1);
15388 }
15389 
15390 
15391 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
15392   struct zxid_need *arg1 = (struct zxid_need *) 0 ;
15393   struct zxid_need *arg2 = (struct zxid_need *) 0 ;
15394 
15395   (void)jenv;
15396   (void)jcls;
15397   arg1 = *(struct zxid_need **)&jarg1;
15398   arg2 = *(struct zxid_need **)&jarg2;
15399   if (arg1) (arg1)->n = arg2;
15400 }
15401 
15402 
15403 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15404   jlong jresult = 0 ;
15405   struct zxid_need *arg1 = (struct zxid_need *) 0 ;
15406   struct zxid_need *result = 0 ;
15407 
15408   (void)jenv;
15409   (void)jcls;
15410   arg1 = *(struct zxid_need **)&jarg1;
15411   result = (struct zxid_need *) ((arg1)->n);
15412   *(struct zxid_need **)&jresult = result;
15413   return jresult;
15414 }
15415 
15416 
15417 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1at_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
15418   struct zxid_need *arg1 = (struct zxid_need *) 0 ;
15419   struct zxid_attr *arg2 = (struct zxid_attr *) 0 ;
15420 
15421   (void)jenv;
15422   (void)jcls;
15423   arg1 = *(struct zxid_need **)&jarg1;
15424   arg2 = *(struct zxid_attr **)&jarg2;
15425   if (arg1) (arg1)->at = arg2;
15426 }
15427 
15428 
15429 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1at_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15430   jlong jresult = 0 ;
15431   struct zxid_need *arg1 = (struct zxid_need *) 0 ;
15432   struct zxid_attr *result = 0 ;
15433 
15434   (void)jenv;
15435   (void)jcls;
15436   arg1 = *(struct zxid_need **)&jarg1;
15437   result = (struct zxid_attr *) ((arg1)->at);
15438   *(struct zxid_attr **)&jresult = result;
15439   return jresult;
15440 }
15441 
15442 
15443 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1usage_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
15444   struct zxid_need *arg1 = (struct zxid_need *) 0 ;
15445   char *arg2 = (char *) 0 ;
15446 
15447   (void)jenv;
15448   (void)jcls;
15449   arg1 = *(struct zxid_need **)&jarg1;
15450   arg2 = 0;
15451   if (jarg2) {
15452     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
15453     if (!arg2) return ;
15454   }
15455   {
15456     if (arg2) {
15457       arg1->usage = (char *) malloc(strlen(( char *)arg2)+1);
15458       strcpy((char *)arg1->usage, ( char *)arg2);
15459     } else {
15460       arg1->usage = 0;
15461     }
15462   }
15463   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
15464 }
15465 
15466 
15467 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1usage_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15468   jstring jresult = 0 ;
15469   struct zxid_need *arg1 = (struct zxid_need *) 0 ;
15470   char *result = 0 ;
15471 
15472   (void)jenv;
15473   (void)jcls;
15474   arg1 = *(struct zxid_need **)&jarg1;
15475   result = (char *) ((arg1)->usage);
15476   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
15477   return jresult;
15478 }
15479 
15480 
15481 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1retent_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
15482   struct zxid_need *arg1 = (struct zxid_need *) 0 ;
15483   char *arg2 = (char *) 0 ;
15484 
15485   (void)jenv;
15486   (void)jcls;
15487   arg1 = *(struct zxid_need **)&jarg1;
15488   arg2 = 0;
15489   if (jarg2) {
15490     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
15491     if (!arg2) return ;
15492   }
15493   {
15494     if (arg2) {
15495       arg1->retent = (char *) malloc(strlen(( char *)arg2)+1);
15496       strcpy((char *)arg1->retent, ( char *)arg2);
15497     } else {
15498       arg1->retent = 0;
15499     }
15500   }
15501   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
15502 }
15503 
15504 
15505 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1retent_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15506   jstring jresult = 0 ;
15507   struct zxid_need *arg1 = (struct zxid_need *) 0 ;
15508   char *result = 0 ;
15509 
15510   (void)jenv;
15511   (void)jcls;
15512   arg1 = *(struct zxid_need **)&jarg1;
15513   result = (char *) ((arg1)->retent);
15514   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
15515   return jresult;
15516 }
15517 
15518 
15519 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1oblig_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
15520   struct zxid_need *arg1 = (struct zxid_need *) 0 ;
15521   char *arg2 = (char *) 0 ;
15522 
15523   (void)jenv;
15524   (void)jcls;
15525   arg1 = *(struct zxid_need **)&jarg1;
15526   arg2 = 0;
15527   if (jarg2) {
15528     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
15529     if (!arg2) return ;
15530   }
15531   {
15532     if (arg2) {
15533       arg1->oblig = (char *) malloc(strlen(( char *)arg2)+1);
15534       strcpy((char *)arg1->oblig, ( char *)arg2);
15535     } else {
15536       arg1->oblig = 0;
15537     }
15538   }
15539   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
15540 }
15541 
15542 
15543 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1oblig_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15544   jstring jresult = 0 ;
15545   struct zxid_need *arg1 = (struct zxid_need *) 0 ;
15546   char *result = 0 ;
15547 
15548   (void)jenv;
15549   (void)jcls;
15550   arg1 = *(struct zxid_need **)&jarg1;
15551   result = (char *) ((arg1)->oblig);
15552   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
15553   return jresult;
15554 }
15555 
15556 
15557 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1ext_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
15558   struct zxid_need *arg1 = (struct zxid_need *) 0 ;
15559   char *arg2 = (char *) 0 ;
15560 
15561   (void)jenv;
15562   (void)jcls;
15563   arg1 = *(struct zxid_need **)&jarg1;
15564   arg2 = 0;
15565   if (jarg2) {
15566     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
15567     if (!arg2) return ;
15568   }
15569   {
15570     if (arg2) {
15571       arg1->ext = (char *) malloc(strlen(( char *)arg2)+1);
15572       strcpy((char *)arg1->ext, ( char *)arg2);
15573     } else {
15574       arg1->ext = 0;
15575     }
15576   }
15577   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
15578 }
15579 
15580 
15581 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1need_1ext_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15582   jstring jresult = 0 ;
15583   struct zxid_need *arg1 = (struct zxid_need *) 0 ;
15584   char *result = 0 ;
15585 
15586   (void)jenv;
15587   (void)jcls;
15588   arg1 = *(struct zxid_need **)&jarg1;
15589   result = (char *) ((arg1)->ext);
15590   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
15591   return jresult;
15592 }
15593 
15594 
15595 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1need(JNIEnv *jenv, jclass jcls) {
15596   jlong jresult = 0 ;
15597   struct zxid_need *result = 0 ;
15598 
15599   (void)jenv;
15600   (void)jcls;
15601   result = (struct zxid_need *)calloc(1, sizeof(struct zxid_need));
15602   *(struct zxid_need **)&jresult = result;
15603   return jresult;
15604 }
15605 
15606 
15607 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1need(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15608   struct zxid_need *arg1 = (struct zxid_need *) 0 ;
15609 
15610   (void)jenv;
15611   (void)jcls;
15612   arg1 = *(struct zxid_need **)&jarg1;
15613   free((char *) arg1);
15614 }
15615 
15616 
15617 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
15618   struct zxid_map *arg1 = (struct zxid_map *) 0 ;
15619   struct zxid_map *arg2 = (struct zxid_map *) 0 ;
15620 
15621   (void)jenv;
15622   (void)jcls;
15623   arg1 = *(struct zxid_map **)&jarg1;
15624   arg2 = *(struct zxid_map **)&jarg2;
15625   if (arg1) (arg1)->n = arg2;
15626 }
15627 
15628 
15629 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15630   jlong jresult = 0 ;
15631   struct zxid_map *arg1 = (struct zxid_map *) 0 ;
15632   struct zxid_map *result = 0 ;
15633 
15634   (void)jenv;
15635   (void)jcls;
15636   arg1 = *(struct zxid_map **)&jarg1;
15637   result = (struct zxid_map *) ((arg1)->n);
15638   *(struct zxid_map **)&jresult = result;
15639   return jresult;
15640 }
15641 
15642 
15643 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1rule_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
15644   struct zxid_map *arg1 = (struct zxid_map *) 0 ;
15645   int arg2 ;
15646 
15647   (void)jenv;
15648   (void)jcls;
15649   arg1 = *(struct zxid_map **)&jarg1;
15650   arg2 = (int)jarg2;
15651   if (arg1) (arg1)->rule = arg2;
15652 }
15653 
15654 
15655 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1rule_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15656   jint jresult = 0 ;
15657   struct zxid_map *arg1 = (struct zxid_map *) 0 ;
15658   int result;
15659 
15660   (void)jenv;
15661   (void)jcls;
15662   arg1 = *(struct zxid_map **)&jarg1;
15663   result = (int) ((arg1)->rule);
15664   jresult = (jint)result;
15665   return jresult;
15666 }
15667 
15668 
15669 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1ns_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
15670   struct zxid_map *arg1 = (struct zxid_map *) 0 ;
15671   char *arg2 = (char *) 0 ;
15672 
15673   (void)jenv;
15674   (void)jcls;
15675   arg1 = *(struct zxid_map **)&jarg1;
15676   arg2 = 0;
15677   if (jarg2) {
15678     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
15679     if (!arg2) return ;
15680   }
15681   {
15682     if (arg2) {
15683       arg1->ns = (char *) malloc(strlen(( char *)arg2)+1);
15684       strcpy((char *)arg1->ns, ( char *)arg2);
15685     } else {
15686       arg1->ns = 0;
15687     }
15688   }
15689   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
15690 }
15691 
15692 
15693 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1ns_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15694   jstring jresult = 0 ;
15695   struct zxid_map *arg1 = (struct zxid_map *) 0 ;
15696   char *result = 0 ;
15697 
15698   (void)jenv;
15699   (void)jcls;
15700   arg1 = *(struct zxid_map **)&jarg1;
15701   result = (char *) ((arg1)->ns);
15702   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
15703   return jresult;
15704 }
15705 
15706 
15707 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1src_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
15708   struct zxid_map *arg1 = (struct zxid_map *) 0 ;
15709   char *arg2 = (char *) 0 ;
15710 
15711   (void)jenv;
15712   (void)jcls;
15713   arg1 = *(struct zxid_map **)&jarg1;
15714   arg2 = 0;
15715   if (jarg2) {
15716     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
15717     if (!arg2) return ;
15718   }
15719   {
15720     if (arg2) {
15721       arg1->src = (char *) malloc(strlen(( char *)arg2)+1);
15722       strcpy((char *)arg1->src, ( char *)arg2);
15723     } else {
15724       arg1->src = 0;
15725     }
15726   }
15727   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
15728 }
15729 
15730 
15731 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1src_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15732   jstring jresult = 0 ;
15733   struct zxid_map *arg1 = (struct zxid_map *) 0 ;
15734   char *result = 0 ;
15735 
15736   (void)jenv;
15737   (void)jcls;
15738   arg1 = *(struct zxid_map **)&jarg1;
15739   result = (char *) ((arg1)->src);
15740   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
15741   return jresult;
15742 }
15743 
15744 
15745 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1dst_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
15746   struct zxid_map *arg1 = (struct zxid_map *) 0 ;
15747   char *arg2 = (char *) 0 ;
15748 
15749   (void)jenv;
15750   (void)jcls;
15751   arg1 = *(struct zxid_map **)&jarg1;
15752   arg2 = 0;
15753   if (jarg2) {
15754     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
15755     if (!arg2) return ;
15756   }
15757   {
15758     if (arg2) {
15759       arg1->dst = (char *) malloc(strlen(( char *)arg2)+1);
15760       strcpy((char *)arg1->dst, ( char *)arg2);
15761     } else {
15762       arg1->dst = 0;
15763     }
15764   }
15765   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
15766 }
15767 
15768 
15769 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1dst_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15770   jstring jresult = 0 ;
15771   struct zxid_map *arg1 = (struct zxid_map *) 0 ;
15772   char *result = 0 ;
15773 
15774   (void)jenv;
15775   (void)jcls;
15776   arg1 = *(struct zxid_map **)&jarg1;
15777   result = (char *) ((arg1)->dst);
15778   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
15779   return jresult;
15780 }
15781 
15782 
15783 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1ext_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
15784   struct zxid_map *arg1 = (struct zxid_map *) 0 ;
15785   char *arg2 = (char *) 0 ;
15786 
15787   (void)jenv;
15788   (void)jcls;
15789   arg1 = *(struct zxid_map **)&jarg1;
15790   arg2 = 0;
15791   if (jarg2) {
15792     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
15793     if (!arg2) return ;
15794   }
15795   {
15796     if (arg2) {
15797       arg1->ext = (char *) malloc(strlen(( char *)arg2)+1);
15798       strcpy((char *)arg1->ext, ( char *)arg2);
15799     } else {
15800       arg1->ext = 0;
15801     }
15802   }
15803   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
15804 }
15805 
15806 
15807 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1ext_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15808   jstring jresult = 0 ;
15809   struct zxid_map *arg1 = (struct zxid_map *) 0 ;
15810   char *result = 0 ;
15811 
15812   (void)jenv;
15813   (void)jcls;
15814   arg1 = *(struct zxid_map **)&jarg1;
15815   result = (char *) ((arg1)->ext);
15816   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
15817   return jresult;
15818 }
15819 
15820 
15821 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1map(JNIEnv *jenv, jclass jcls) {
15822   jlong jresult = 0 ;
15823   struct zxid_map *result = 0 ;
15824 
15825   (void)jenv;
15826   (void)jcls;
15827   result = (struct zxid_map *)calloc(1, sizeof(struct zxid_map));
15828   *(struct zxid_map **)&jresult = result;
15829   return jresult;
15830 }
15831 
15832 
15833 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1map(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15834   struct zxid_map *arg1 = (struct zxid_map *) 0 ;
15835 
15836   (void)jenv;
15837   (void)jcls;
15838   arg1 = *(struct zxid_map **)&jarg1;
15839   free((char *) arg1);
15840 }
15841 
15842 
15843 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cstr_1list_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
15844   struct zxid_cstr_list *arg1 = (struct zxid_cstr_list *) 0 ;
15845   struct zxid_cstr_list *arg2 = (struct zxid_cstr_list *) 0 ;
15846 
15847   (void)jenv;
15848   (void)jcls;
15849   arg1 = *(struct zxid_cstr_list **)&jarg1;
15850   arg2 = *(struct zxid_cstr_list **)&jarg2;
15851   if (arg1) (arg1)->n = arg2;
15852 }
15853 
15854 
15855 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1cstr_1list_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15856   jlong jresult = 0 ;
15857   struct zxid_cstr_list *arg1 = (struct zxid_cstr_list *) 0 ;
15858   struct zxid_cstr_list *result = 0 ;
15859 
15860   (void)jenv;
15861   (void)jcls;
15862   arg1 = *(struct zxid_cstr_list **)&jarg1;
15863   result = (struct zxid_cstr_list *) ((arg1)->n);
15864   *(struct zxid_cstr_list **)&jresult = result;
15865   return jresult;
15866 }
15867 
15868 
15869 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1cstr_1list_1s_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
15870   struct zxid_cstr_list *arg1 = (struct zxid_cstr_list *) 0 ;
15871   char *arg2 = (char *) 0 ;
15872 
15873   (void)jenv;
15874   (void)jcls;
15875   arg1 = *(struct zxid_cstr_list **)&jarg1;
15876   arg2 = 0;
15877   if (jarg2) {
15878     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
15879     if (!arg2) return ;
15880   }
15881   {
15882     if (arg2) {
15883       arg1->s = (char *) malloc(strlen(( char *)arg2)+1);
15884       strcpy((char *)arg1->s, ( char *)arg2);
15885     } else {
15886       arg1->s = 0;
15887     }
15888   }
15889   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
15890 }
15891 
15892 
15893 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1cstr_1list_1s_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15894   jstring jresult = 0 ;
15895   struct zxid_cstr_list *arg1 = (struct zxid_cstr_list *) 0 ;
15896   char *result = 0 ;
15897 
15898   (void)jenv;
15899   (void)jcls;
15900   arg1 = *(struct zxid_cstr_list **)&jarg1;
15901   result = (char *) ((arg1)->s);
15902   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
15903   return jresult;
15904 }
15905 
15906 
15907 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1cstr_1list(JNIEnv *jenv, jclass jcls) {
15908   jlong jresult = 0 ;
15909   struct zxid_cstr_list *result = 0 ;
15910 
15911   (void)jenv;
15912   (void)jcls;
15913   result = (struct zxid_cstr_list *)calloc(1, sizeof(struct zxid_cstr_list));
15914   *(struct zxid_cstr_list **)&jresult = result;
15915   return jresult;
15916 }
15917 
15918 
15919 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1cstr_1list(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15920   struct zxid_cstr_list *arg1 = (struct zxid_cstr_list *) 0 ;
15921 
15922   (void)jenv;
15923   (void)jcls;
15924   arg1 = *(struct zxid_cstr_list **)&jarg1;
15925   free((char *) arg1);
15926 }
15927 
15928 
15929 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1obl_1list_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
15930   struct zxid_obl_list *arg1 = (struct zxid_obl_list *) 0 ;
15931   struct zxid_obl_list *arg2 = (struct zxid_obl_list *) 0 ;
15932 
15933   (void)jenv;
15934   (void)jcls;
15935   arg1 = *(struct zxid_obl_list **)&jarg1;
15936   arg2 = *(struct zxid_obl_list **)&jarg2;
15937   if (arg1) (arg1)->n = arg2;
15938 }
15939 
15940 
15941 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1obl_1list_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15942   jlong jresult = 0 ;
15943   struct zxid_obl_list *arg1 = (struct zxid_obl_list *) 0 ;
15944   struct zxid_obl_list *result = 0 ;
15945 
15946   (void)jenv;
15947   (void)jcls;
15948   arg1 = *(struct zxid_obl_list **)&jarg1;
15949   result = (struct zxid_obl_list *) ((arg1)->n);
15950   *(struct zxid_obl_list **)&jresult = result;
15951   return jresult;
15952 }
15953 
15954 
15955 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1obl_1list_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
15956   struct zxid_obl_list *arg1 = (struct zxid_obl_list *) 0 ;
15957   char *arg2 = (char *) 0 ;
15958 
15959   (void)jenv;
15960   (void)jcls;
15961   arg1 = *(struct zxid_obl_list **)&jarg1;
15962   arg2 = 0;
15963   if (jarg2) {
15964     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
15965     if (!arg2) return ;
15966   }
15967   {
15968     if (arg2) {
15969       arg1->name = (char *) malloc(strlen(( char *)arg2)+1);
15970       strcpy((char *)arg1->name, ( char *)arg2);
15971     } else {
15972       arg1->name = 0;
15973     }
15974   }
15975   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
15976 }
15977 
15978 
15979 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1obl_1list_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
15980   jstring jresult = 0 ;
15981   struct zxid_obl_list *arg1 = (struct zxid_obl_list *) 0 ;
15982   char *result = 0 ;
15983 
15984   (void)jenv;
15985   (void)jcls;
15986   arg1 = *(struct zxid_obl_list **)&jarg1;
15987   result = (char *) ((arg1)->name);
15988   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
15989   return jresult;
15990 }
15991 
15992 
15993 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1obl_1list_1vals_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
15994   struct zxid_obl_list *arg1 = (struct zxid_obl_list *) 0 ;
15995   struct zxid_cstr_list *arg2 = (struct zxid_cstr_list *) 0 ;
15996 
15997   (void)jenv;
15998   (void)jcls;
15999   arg1 = *(struct zxid_obl_list **)&jarg1;
16000   arg2 = *(struct zxid_cstr_list **)&jarg2;
16001   if (arg1) (arg1)->vals = arg2;
16002 }
16003 
16004 
16005 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1obl_1list_1vals_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16006   jlong jresult = 0 ;
16007   struct zxid_obl_list *arg1 = (struct zxid_obl_list *) 0 ;
16008   struct zxid_cstr_list *result = 0 ;
16009 
16010   (void)jenv;
16011   (void)jcls;
16012   arg1 = *(struct zxid_obl_list **)&jarg1;
16013   result = (struct zxid_cstr_list *) ((arg1)->vals);
16014   *(struct zxid_cstr_list **)&jresult = result;
16015   return jresult;
16016 }
16017 
16018 
16019 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1obl_1list(JNIEnv *jenv, jclass jcls) {
16020   jlong jresult = 0 ;
16021   struct zxid_obl_list *result = 0 ;
16022 
16023   (void)jenv;
16024   (void)jcls;
16025   result = (struct zxid_obl_list *)calloc(1, sizeof(struct zxid_obl_list));
16026   *(struct zxid_obl_list **)&jresult = result;
16027   return jresult;
16028 }
16029 
16030 
16031 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1obl_1list(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16032   struct zxid_obl_list *arg1 = (struct zxid_obl_list *) 0 ;
16033 
16034   (void)jenv;
16035   (void)jcls;
16036   arg1 = *(struct zxid_obl_list **)&jarg1;
16037   free((char *) arg1);
16038 }
16039 
16040 
16041 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAP_1RULE_1RENAME_1get(JNIEnv *jenv, jclass jcls) {
16042   jint jresult = 0 ;
16043   int result;
16044 
16045   (void)jenv;
16046   (void)jcls;
16047   result = (int)(0x00);
16048   jresult = (jint)result;
16049   return jresult;
16050 }
16051 
16052 
16053 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAP_1RULE_1DEL_1get(JNIEnv *jenv, jclass jcls) {
16054   jint jresult = 0 ;
16055   int result;
16056 
16057   (void)jenv;
16058   (void)jcls;
16059   result = (int)(0x01);
16060   jresult = (jint)result;
16061   return jresult;
16062 }
16063 
16064 
16065 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAP_1RULE_1RESET_1get(JNIEnv *jenv, jclass jcls) {
16066   jint jresult = 0 ;
16067   int result;
16068 
16069   (void)jenv;
16070   (void)jcls;
16071   result = (int)(0x02);
16072   jresult = (jint)result;
16073   return jresult;
16074 }
16075 
16076 
16077 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAP_1RULE_1FEIDEDEC_1get(JNIEnv *jenv, jclass jcls) {
16078   jint jresult = 0 ;
16079   int result;
16080 
16081   (void)jenv;
16082   (void)jcls;
16083   result = (int)(0x03);
16084   jresult = (jint)result;
16085   return jresult;
16086 }
16087 
16088 
16089 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAP_1RULE_1FEIDEENC_1get(JNIEnv *jenv, jclass jcls) {
16090   jint jresult = 0 ;
16091   int result;
16092 
16093   (void)jenv;
16094   (void)jcls;
16095   result = (int)(0x04);
16096   jresult = (jint)result;
16097   return jresult;
16098 }
16099 
16100 
16101 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAP_1RULE_1UNSB64_1INF_1get(JNIEnv *jenv, jclass jcls) {
16102   jint jresult = 0 ;
16103   int result;
16104 
16105   (void)jenv;
16106   (void)jcls;
16107   result = (int)(0x05);
16108   jresult = (jint)result;
16109   return jresult;
16110 }
16111 
16112 
16113 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAP_1RULE_1DEF_1SB64_1get(JNIEnv *jenv, jclass jcls) {
16114   jint jresult = 0 ;
16115   int result;
16116 
16117   (void)jenv;
16118   (void)jcls;
16119   result = (int)(0x06);
16120   jresult = (jint)result;
16121   return jresult;
16122 }
16123 
16124 
16125 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAP_1RULE_1UNSB64_1get(JNIEnv *jenv, jclass jcls) {
16126   jint jresult = 0 ;
16127   int result;
16128 
16129   (void)jenv;
16130   (void)jcls;
16131   result = (int)(0x07);
16132   jresult = (jint)result;
16133   return jresult;
16134 }
16135 
16136 
16137 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAP_1RULE_1SB64_1get(JNIEnv *jenv, jclass jcls) {
16138   jint jresult = 0 ;
16139   int result;
16140 
16141   (void)jenv;
16142   (void)jcls;
16143   result = (int)(0x08);
16144   jresult = (jint)result;
16145   return jresult;
16146 }
16147 
16148 
16149 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAP_1RULE_1ENC_1MASK_1get(JNIEnv *jenv, jclass jcls) {
16150   jint jresult = 0 ;
16151   int result;
16152 
16153   (void)jenv;
16154   (void)jcls;
16155   result = (int)(0x0f);
16156   jresult = (jint)result;
16157   return jresult;
16158 }
16159 
16160 
16161 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAP_1RULE_1WRAP_1A7N_1get(JNIEnv *jenv, jclass jcls) {
16162   jint jresult = 0 ;
16163   int result;
16164 
16165   (void)jenv;
16166   (void)jcls;
16167   result = (int)(0x10);
16168   jresult = (jint)result;
16169   return jresult;
16170 }
16171 
16172 
16173 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAP_1RULE_1WRAP_1X509_1get(JNIEnv *jenv, jclass jcls) {
16174   jint jresult = 0 ;
16175   int result;
16176 
16177   (void)jenv;
16178   (void)jcls;
16179   result = (int)(0x20);
16180   jresult = (jint)result;
16181   return jresult;
16182 }
16183 
16184 
16185 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAP_1RULE_1WRAP_1FILE_1get(JNIEnv *jenv, jclass jcls) {
16186   jint jresult = 0 ;
16187   int result;
16188 
16189   (void)jenv;
16190   (void)jcls;
16191   result = (int)(0x30);
16192   jresult = (jint)result;
16193   return jresult;
16194 }
16195 
16196 
16197 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAP_1RULE_1WRAP_1MASK_1get(JNIEnv *jenv, jclass jcls) {
16198   jint jresult = 0 ;
16199   int result;
16200 
16201   (void)jenv;
16202   (void)jcls;
16203   result = (int)(0x30);
16204   jresult = (jint)result;
16205   return jresult;
16206 }
16207 
16208 
16209 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_stomp_1hdr_1len_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
16210   struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
16211   int arg2 ;
16212 
16213   (void)jenv;
16214   (void)jcls;
16215   arg1 = *(struct stomp_hdr **)&jarg1;
16216   arg2 = (int)jarg2;
16217   if (arg1) (arg1)->len = arg2;
16218 }
16219 
16220 
16221 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_stomp_1hdr_1len_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16222   jint jresult = 0 ;
16223   struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
16224   int result;
16225 
16226   (void)jenv;
16227   (void)jcls;
16228   arg1 = *(struct stomp_hdr **)&jarg1;
16229   result = (int) ((arg1)->len);
16230   jresult = (jint)result;
16231   return jresult;
16232 }
16233 
16234 
16235 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_stomp_1hdr_1body_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
16236   struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
16237   char *arg2 = (char *) 0 ;
16238 
16239   (void)jenv;
16240   (void)jcls;
16241   arg1 = *(struct stomp_hdr **)&jarg1;
16242   arg2 = 0;
16243   if (jarg2) {
16244     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
16245     if (!arg2) return ;
16246   }
16247   {
16248     if (arg2) {
16249       arg1->body = (char *) malloc(strlen(( char *)arg2)+1);
16250       strcpy((char *)arg1->body, ( char *)arg2);
16251     } else {
16252       arg1->body = 0;
16253     }
16254   }
16255   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
16256 }
16257 
16258 
16259 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_stomp_1hdr_1body_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16260   jstring jresult = 0 ;
16261   struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
16262   char *result = 0 ;
16263 
16264   (void)jenv;
16265   (void)jcls;
16266   arg1 = *(struct stomp_hdr **)&jarg1;
16267   result = (char *) ((arg1)->body);
16268   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
16269   return jresult;
16270 }
16271 
16272 
16273 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_stomp_1hdr_1host_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
16274   struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
16275   char *arg2 = (char *) 0 ;
16276 
16277   (void)jenv;
16278   (void)jcls;
16279   arg1 = *(struct stomp_hdr **)&jarg1;
16280   arg2 = 0;
16281   if (jarg2) {
16282     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
16283     if (!arg2) return ;
16284   }
16285   {
16286     if (arg2) {
16287       arg1->host = (char *) malloc(strlen(( char *)arg2)+1);
16288       strcpy((char *)arg1->host, ( char *)arg2);
16289     } else {
16290       arg1->host = 0;
16291     }
16292   }
16293   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
16294 }
16295 
16296 
16297 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_stomp_1hdr_1host_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16298   jstring jresult = 0 ;
16299   struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
16300   char *result = 0 ;
16301 
16302   (void)jenv;
16303   (void)jcls;
16304   arg1 = *(struct stomp_hdr **)&jarg1;
16305   result = (char *) ((arg1)->host);
16306   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
16307   return jresult;
16308 }
16309 
16310 
16311 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_stomp_1hdr_1vers_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
16312   struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
16313   char *arg2 = (char *) 0 ;
16314 
16315   (void)jenv;
16316   (void)jcls;
16317   arg1 = *(struct stomp_hdr **)&jarg1;
16318   arg2 = 0;
16319   if (jarg2) {
16320     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
16321     if (!arg2) return ;
16322   }
16323   {
16324     if (arg2) {
16325       arg1->vers = (char *) malloc(strlen(( char *)arg2)+1);
16326       strcpy((char *)arg1->vers, ( char *)arg2);
16327     } else {
16328       arg1->vers = 0;
16329     }
16330   }
16331   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
16332 }
16333 
16334 
16335 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_stomp_1hdr_1vers_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16336   jstring jresult = 0 ;
16337   struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
16338   char *result = 0 ;
16339 
16340   (void)jenv;
16341   (void)jcls;
16342   arg1 = *(struct stomp_hdr **)&jarg1;
16343   result = (char *) ((arg1)->vers);
16344   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
16345   return jresult;
16346 }
16347 
16348 
16349 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_stomp_1hdr_1login_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
16350   struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
16351   char *arg2 = (char *) 0 ;
16352 
16353   (void)jenv;
16354   (void)jcls;
16355   arg1 = *(struct stomp_hdr **)&jarg1;
16356   arg2 = 0;
16357   if (jarg2) {
16358     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
16359     if (!arg2) return ;
16360   }
16361   {
16362     if (arg2) {
16363       arg1->login = (char *) malloc(strlen(( char *)arg2)+1);
16364       strcpy((char *)arg1->login, ( char *)arg2);
16365     } else {
16366       arg1->login = 0;
16367     }
16368   }
16369   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
16370 }
16371 
16372 
16373 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_stomp_1hdr_1login_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16374   jstring jresult = 0 ;
16375   struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
16376   char *result = 0 ;
16377 
16378   (void)jenv;
16379   (void)jcls;
16380   arg1 = *(struct stomp_hdr **)&jarg1;
16381   result = (char *) ((arg1)->login);
16382   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
16383   return jresult;
16384 }
16385 
16386 
16387 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_stomp_1hdr_1pw_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
16388   struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
16389   char *arg2 = (char *) 0 ;
16390 
16391   (void)jenv;
16392   (void)jcls;
16393   arg1 = *(struct stomp_hdr **)&jarg1;
16394   arg2 = 0;
16395   if (jarg2) {
16396     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
16397     if (!arg2) return ;
16398   }
16399   {
16400     if (arg2) {
16401       arg1->pw = (char *) malloc(strlen(( char *)arg2)+1);
16402       strcpy((char *)arg1->pw, ( char *)arg2);
16403     } else {
16404       arg1->pw = 0;
16405     }
16406   }
16407   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
16408 }
16409 
16410 
16411 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_stomp_1hdr_1pw_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16412   jstring jresult = 0 ;
16413   struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
16414   char *result = 0 ;
16415 
16416   (void)jenv;
16417   (void)jcls;
16418   arg1 = *(struct stomp_hdr **)&jarg1;
16419   result = (char *) ((arg1)->pw);
16420   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
16421   return jresult;
16422 }
16423 
16424 
16425 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_stomp_1hdr_1dest_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
16426   struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
16427   char *arg2 = (char *) 0 ;
16428 
16429   (void)jenv;
16430   (void)jcls;
16431   arg1 = *(struct stomp_hdr **)&jarg1;
16432   arg2 = 0;
16433   if (jarg2) {
16434     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
16435     if (!arg2) return ;
16436   }
16437   {
16438     if (arg2) {
16439       arg1->dest = (char *) malloc(strlen(( char *)arg2)+1);
16440       strcpy((char *)arg1->dest, ( char *)arg2);
16441     } else {
16442       arg1->dest = 0;
16443     }
16444   }
16445   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
16446 }
16447 
16448 
16449 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_stomp_1hdr_1dest_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16450   jstring jresult = 0 ;
16451   struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
16452   char *result = 0 ;
16453 
16454   (void)jenv;
16455   (void)jcls;
16456   arg1 = *(struct stomp_hdr **)&jarg1;
16457   result = (char *) ((arg1)->dest);
16458   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
16459   return jresult;
16460 }
16461 
16462 
16463 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_stomp_1hdr_1end_1of_1pdu_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
16464   struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
16465   char *arg2 = (char *) 0 ;
16466 
16467   (void)jenv;
16468   (void)jcls;
16469   arg1 = *(struct stomp_hdr **)&jarg1;
16470   arg2 = 0;
16471   if (jarg2) {
16472     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
16473     if (!arg2) return ;
16474   }
16475   {
16476     if (arg2) {
16477       arg1->end_of_pdu = (char *) malloc(strlen(( char *)arg2)+1);
16478       strcpy((char *)arg1->end_of_pdu, ( char *)arg2);
16479     } else {
16480       arg1->end_of_pdu = 0;
16481     }
16482   }
16483   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
16484 }
16485 
16486 
16487 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_stomp_1hdr_1end_1of_1pdu_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16488   jstring jresult = 0 ;
16489   struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
16490   char *result = 0 ;
16491 
16492   (void)jenv;
16493   (void)jcls;
16494   arg1 = *(struct stomp_hdr **)&jarg1;
16495   result = (char *) ((arg1)->end_of_pdu);
16496   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
16497   return jresult;
16498 }
16499 
16500 
16501 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1stomp_1hdr(JNIEnv *jenv, jclass jcls) {
16502   jlong jresult = 0 ;
16503   struct stomp_hdr *result = 0 ;
16504 
16505   (void)jenv;
16506   (void)jcls;
16507   result = (struct stomp_hdr *)calloc(1, sizeof(struct stomp_hdr));
16508   *(struct stomp_hdr **)&jresult = result;
16509   return jresult;
16510 }
16511 
16512 
16513 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1stomp_1hdr(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16514   struct stomp_hdr *arg1 = (struct stomp_hdr *) 0 ;
16515 
16516   (void)jenv;
16517   (void)jcls;
16518   arg1 = *(struct stomp_hdr **)&jarg1;
16519   free((char *) arg1);
16520 }
16521 
16522 
16523 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1bus_1url_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
16524   struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
16525   struct zxid_bus_url *arg2 = (struct zxid_bus_url *) 0 ;
16526 
16527   (void)jenv;
16528   (void)jcls;
16529   arg1 = *(struct zxid_bus_url **)&jarg1;
16530   arg2 = *(struct zxid_bus_url **)&jarg2;
16531   if (arg1) (arg1)->n = arg2;
16532 }
16533 
16534 
16535 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1bus_1url_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16536   jlong jresult = 0 ;
16537   struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
16538   struct zxid_bus_url *result = 0 ;
16539 
16540   (void)jenv;
16541   (void)jcls;
16542   arg1 = *(struct zxid_bus_url **)&jarg1;
16543   result = (struct zxid_bus_url *) ((arg1)->n);
16544   *(struct zxid_bus_url **)&jresult = result;
16545   return jresult;
16546 }
16547 
16548 
16549 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1bus_1url_1s_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
16550   struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
16551   char *arg2 = (char *) 0 ;
16552 
16553   (void)jenv;
16554   (void)jcls;
16555   arg1 = *(struct zxid_bus_url **)&jarg1;
16556   arg2 = 0;
16557   if (jarg2) {
16558     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
16559     if (!arg2) return ;
16560   }
16561   {
16562     if (arg2) {
16563       arg1->s = (char *) malloc(strlen(( char *)arg2)+1);
16564       strcpy((char *)arg1->s, ( char *)arg2);
16565     } else {
16566       arg1->s = 0;
16567     }
16568   }
16569   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
16570 }
16571 
16572 
16573 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1bus_1url_1s_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16574   jstring jresult = 0 ;
16575   struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
16576   char *result = 0 ;
16577 
16578   (void)jenv;
16579   (void)jcls;
16580   arg1 = *(struct zxid_bus_url **)&jarg1;
16581   result = (char *) ((arg1)->s);
16582   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
16583   return jresult;
16584 }
16585 
16586 
16587 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1bus_1url_1eid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
16588   struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
16589   char *arg2 = (char *) 0 ;
16590 
16591   (void)jenv;
16592   (void)jcls;
16593   arg1 = *(struct zxid_bus_url **)&jarg1;
16594   arg2 = 0;
16595   if (jarg2) {
16596     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
16597     if (!arg2) return ;
16598   }
16599   {
16600     if (arg2) {
16601       arg1->eid = (char *) malloc(strlen(( char *)arg2)+1);
16602       strcpy((char *)arg1->eid, ( char *)arg2);
16603     } else {
16604       arg1->eid = 0;
16605     }
16606   }
16607   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
16608 }
16609 
16610 
16611 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1bus_1url_1eid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16612   jstring jresult = 0 ;
16613   struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
16614   char *result = 0 ;
16615 
16616   (void)jenv;
16617   (void)jcls;
16618   arg1 = *(struct zxid_bus_url **)&jarg1;
16619   result = (char *) ((arg1)->eid);
16620   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
16621   return jresult;
16622 }
16623 
16624 
16625 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1bus_1url_1fd_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
16626   struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
16627   int arg2 ;
16628 
16629   (void)jenv;
16630   (void)jcls;
16631   arg1 = *(struct zxid_bus_url **)&jarg1;
16632   arg2 = (int)jarg2;
16633   if (arg1) (arg1)->fd = arg2;
16634 }
16635 
16636 
16637 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1bus_1url_1fd_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16638   jint jresult = 0 ;
16639   struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
16640   int result;
16641 
16642   (void)jenv;
16643   (void)jcls;
16644   arg1 = *(struct zxid_bus_url **)&jarg1;
16645   result = (int) ((arg1)->fd);
16646   jresult = (jint)result;
16647   return jresult;
16648 }
16649 
16650 
16651 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1bus_1url_1m_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
16652   struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
16653   char *arg2 = (char *) 0 ;
16654 
16655   (void)jenv;
16656   (void)jcls;
16657   arg1 = *(struct zxid_bus_url **)&jarg1;
16658   arg2 = 0;
16659   if (jarg2) {
16660     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
16661     if (!arg2) return ;
16662   }
16663   {
16664     if (arg2) {
16665       arg1->m = (char *) malloc(strlen(( char *)arg2)+1);
16666       strcpy((char *)arg1->m, ( char *)arg2);
16667     } else {
16668       arg1->m = 0;
16669     }
16670   }
16671   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
16672 }
16673 
16674 
16675 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1bus_1url_1m_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16676   jstring jresult = 0 ;
16677   struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
16678   char *result = 0 ;
16679 
16680   (void)jenv;
16681   (void)jcls;
16682   arg1 = *(struct zxid_bus_url **)&jarg1;
16683   result = (char *) ((arg1)->m);
16684   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
16685   return jresult;
16686 }
16687 
16688 
16689 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1bus_1url_1ap_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
16690   struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
16691   char *arg2 = (char *) 0 ;
16692 
16693   (void)jenv;
16694   (void)jcls;
16695   arg1 = *(struct zxid_bus_url **)&jarg1;
16696   arg2 = 0;
16697   if (jarg2) {
16698     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
16699     if (!arg2) return ;
16700   }
16701   {
16702     if (arg2) {
16703       arg1->ap = (char *) malloc(strlen(( char *)arg2)+1);
16704       strcpy((char *)arg1->ap, ( char *)arg2);
16705     } else {
16706       arg1->ap = 0;
16707     }
16708   }
16709   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
16710 }
16711 
16712 
16713 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1bus_1url_1ap_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16714   jstring jresult = 0 ;
16715   struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
16716   char *result = 0 ;
16717 
16718   (void)jenv;
16719   (void)jcls;
16720   arg1 = *(struct zxid_bus_url **)&jarg1;
16721   result = (char *) ((arg1)->ap);
16722   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
16723   return jresult;
16724 }
16725 
16726 
16727 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1bus_1url_1cur_1rcpt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
16728   struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
16729   int arg2 ;
16730 
16731   (void)jenv;
16732   (void)jcls;
16733   arg1 = *(struct zxid_bus_url **)&jarg1;
16734   arg2 = (int)jarg2;
16735   if (arg1) (arg1)->cur_rcpt = arg2;
16736 }
16737 
16738 
16739 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1bus_1url_1cur_1rcpt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16740   jint jresult = 0 ;
16741   struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
16742   int result;
16743 
16744   (void)jenv;
16745   (void)jcls;
16746   arg1 = *(struct zxid_bus_url **)&jarg1;
16747   result = (int) ((arg1)->cur_rcpt);
16748   jresult = (jint)result;
16749   return jresult;
16750 }
16751 
16752 
16753 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1bus_1url_1scalingpart_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
16754   struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
16755   char arg2 ;
16756 
16757   (void)jenv;
16758   (void)jcls;
16759   arg1 = *(struct zxid_bus_url **)&jarg1;
16760   arg2 = (char)jarg2;
16761   if (arg1) (arg1)->scalingpart = arg2;
16762 }
16763 
16764 
16765 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1bus_1url_1scalingpart_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16766   jchar jresult = 0 ;
16767   struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
16768   char result;
16769 
16770   (void)jenv;
16771   (void)jcls;
16772   arg1 = *(struct zxid_bus_url **)&jarg1;
16773   result = (char) ((arg1)->scalingpart);
16774   jresult = (jchar)result;
16775   return jresult;
16776 }
16777 
16778 
16779 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1bus_1url_1pad1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
16780   struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
16781   char arg2 ;
16782 
16783   (void)jenv;
16784   (void)jcls;
16785   arg1 = *(struct zxid_bus_url **)&jarg1;
16786   arg2 = (char)jarg2;
16787   if (arg1) (arg1)->pad1 = arg2;
16788 }
16789 
16790 
16791 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1bus_1url_1pad1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16792   jchar jresult = 0 ;
16793   struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
16794   char result;
16795 
16796   (void)jenv;
16797   (void)jcls;
16798   arg1 = *(struct zxid_bus_url **)&jarg1;
16799   result = (char) ((arg1)->pad1);
16800   jresult = (jchar)result;
16801   return jresult;
16802 }
16803 
16804 
16805 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1bus_1url_1pad2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
16806   struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
16807   char arg2 ;
16808 
16809   (void)jenv;
16810   (void)jcls;
16811   arg1 = *(struct zxid_bus_url **)&jarg1;
16812   arg2 = (char)jarg2;
16813   if (arg1) (arg1)->pad2 = arg2;
16814 }
16815 
16816 
16817 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1bus_1url_1pad2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16818   jchar jresult = 0 ;
16819   struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
16820   char result;
16821 
16822   (void)jenv;
16823   (void)jcls;
16824   arg1 = *(struct zxid_bus_url **)&jarg1;
16825   result = (char) ((arg1)->pad2);
16826   jresult = (jchar)result;
16827   return jresult;
16828 }
16829 
16830 
16831 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1bus_1url_1pad3_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jchar jarg2) {
16832   struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
16833   char arg2 ;
16834 
16835   (void)jenv;
16836   (void)jcls;
16837   arg1 = *(struct zxid_bus_url **)&jarg1;
16838   arg2 = (char)jarg2;
16839   if (arg1) (arg1)->pad3 = arg2;
16840 }
16841 
16842 
16843 SWIGEXPORT jchar JNICALL Java_zxidjava_zxidjniJNI_zxid_1bus_1url_1pad3_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16844   jchar jresult = 0 ;
16845   struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
16846   char result;
16847 
16848   (void)jenv;
16849   (void)jcls;
16850   arg1 = *(struct zxid_bus_url **)&jarg1;
16851   result = (char) ((arg1)->pad3);
16852   jresult = (jchar)result;
16853   return jresult;
16854 }
16855 
16856 
16857 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1bus_1url(JNIEnv *jenv, jclass jcls) {
16858   jlong jresult = 0 ;
16859   struct zxid_bus_url *result = 0 ;
16860 
16861   (void)jenv;
16862   (void)jcls;
16863   result = (struct zxid_bus_url *)calloc(1, sizeof(struct zxid_bus_url));
16864   *(struct zxid_bus_url **)&jresult = result;
16865   return jresult;
16866 }
16867 
16868 
16869 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1bus_1url(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16870   struct zxid_bus_url *arg1 = (struct zxid_bus_url *) 0 ;
16871 
16872   (void)jenv;
16873   (void)jcls;
16874   arg1 = *(struct zxid_bus_url **)&jarg1;
16875   free((char *) arg1);
16876 }
16877 
16878 
16879 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
16880   struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
16881   struct zxid_atsrc *arg2 = (struct zxid_atsrc *) 0 ;
16882 
16883   (void)jenv;
16884   (void)jcls;
16885   arg1 = *(struct zxid_atsrc **)&jarg1;
16886   arg2 = *(struct zxid_atsrc **)&jarg2;
16887   if (arg1) (arg1)->n = arg2;
16888 }
16889 
16890 
16891 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16892   jlong jresult = 0 ;
16893   struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
16894   struct zxid_atsrc *result = 0 ;
16895 
16896   (void)jenv;
16897   (void)jcls;
16898   arg1 = *(struct zxid_atsrc **)&jarg1;
16899   result = (struct zxid_atsrc *) ((arg1)->n);
16900   *(struct zxid_atsrc **)&jresult = result;
16901   return jresult;
16902 }
16903 
16904 
16905 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1at_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
16906   struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
16907   struct zxid_attr *arg2 = (struct zxid_attr *) 0 ;
16908 
16909   (void)jenv;
16910   (void)jcls;
16911   arg1 = *(struct zxid_atsrc **)&jarg1;
16912   arg2 = *(struct zxid_attr **)&jarg2;
16913   if (arg1) (arg1)->at = arg2;
16914 }
16915 
16916 
16917 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1at_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16918   jlong jresult = 0 ;
16919   struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
16920   struct zxid_attr *result = 0 ;
16921 
16922   (void)jenv;
16923   (void)jcls;
16924   arg1 = *(struct zxid_atsrc **)&jarg1;
16925   result = (struct zxid_attr *) ((arg1)->at);
16926   *(struct zxid_attr **)&jresult = result;
16927   return jresult;
16928 }
16929 
16930 
16931 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1ns_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
16932   struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
16933   char *arg2 = (char *) 0 ;
16934 
16935   (void)jenv;
16936   (void)jcls;
16937   arg1 = *(struct zxid_atsrc **)&jarg1;
16938   arg2 = 0;
16939   if (jarg2) {
16940     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
16941     if (!arg2) return ;
16942   }
16943   {
16944     if (arg2) {
16945       arg1->ns = (char *) malloc(strlen(( char *)arg2)+1);
16946       strcpy((char *)arg1->ns, ( char *)arg2);
16947     } else {
16948       arg1->ns = 0;
16949     }
16950   }
16951   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
16952 }
16953 
16954 
16955 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1ns_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16956   jstring jresult = 0 ;
16957   struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
16958   char *result = 0 ;
16959 
16960   (void)jenv;
16961   (void)jcls;
16962   arg1 = *(struct zxid_atsrc **)&jarg1;
16963   result = (char *) ((arg1)->ns);
16964   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
16965   return jresult;
16966 }
16967 
16968 
16969 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1weight_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
16970   struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
16971   char *arg2 = (char *) 0 ;
16972 
16973   (void)jenv;
16974   (void)jcls;
16975   arg1 = *(struct zxid_atsrc **)&jarg1;
16976   arg2 = 0;
16977   if (jarg2) {
16978     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
16979     if (!arg2) return ;
16980   }
16981   {
16982     if (arg2) {
16983       arg1->weight = (char *) malloc(strlen(( char *)arg2)+1);
16984       strcpy((char *)arg1->weight, ( char *)arg2);
16985     } else {
16986       arg1->weight = 0;
16987     }
16988   }
16989   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
16990 }
16991 
16992 
16993 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1weight_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
16994   jstring jresult = 0 ;
16995   struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
16996   char *result = 0 ;
16997 
16998   (void)jenv;
16999   (void)jcls;
17000   arg1 = *(struct zxid_atsrc **)&jarg1;
17001   result = (char *) ((arg1)->weight);
17002   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
17003   return jresult;
17004 }
17005 
17006 
17007 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1url_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
17008   struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
17009   char *arg2 = (char *) 0 ;
17010 
17011   (void)jenv;
17012   (void)jcls;
17013   arg1 = *(struct zxid_atsrc **)&jarg1;
17014   arg2 = 0;
17015   if (jarg2) {
17016     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
17017     if (!arg2) return ;
17018   }
17019   {
17020     if (arg2) {
17021       arg1->url = (char *) malloc(strlen(( char *)arg2)+1);
17022       strcpy((char *)arg1->url, ( char *)arg2);
17023     } else {
17024       arg1->url = 0;
17025     }
17026   }
17027   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
17028 }
17029 
17030 
17031 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1url_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17032   jstring jresult = 0 ;
17033   struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
17034   char *result = 0 ;
17035 
17036   (void)jenv;
17037   (void)jcls;
17038   arg1 = *(struct zxid_atsrc **)&jarg1;
17039   result = (char *) ((arg1)->url);
17040   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
17041   return jresult;
17042 }
17043 
17044 
17045 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1aapml_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
17046   struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
17047   char *arg2 = (char *) 0 ;
17048 
17049   (void)jenv;
17050   (void)jcls;
17051   arg1 = *(struct zxid_atsrc **)&jarg1;
17052   arg2 = 0;
17053   if (jarg2) {
17054     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
17055     if (!arg2) return ;
17056   }
17057   {
17058     if (arg2) {
17059       arg1->aapml = (char *) malloc(strlen(( char *)arg2)+1);
17060       strcpy((char *)arg1->aapml, ( char *)arg2);
17061     } else {
17062       arg1->aapml = 0;
17063     }
17064   }
17065   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
17066 }
17067 
17068 
17069 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1aapml_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17070   jstring jresult = 0 ;
17071   struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
17072   char *result = 0 ;
17073 
17074   (void)jenv;
17075   (void)jcls;
17076   arg1 = *(struct zxid_atsrc **)&jarg1;
17077   result = (char *) ((arg1)->aapml);
17078   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
17079   return jresult;
17080 }
17081 
17082 
17083 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1otherlim_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
17084   struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
17085   char *arg2 = (char *) 0 ;
17086 
17087   (void)jenv;
17088   (void)jcls;
17089   arg1 = *(struct zxid_atsrc **)&jarg1;
17090   arg2 = 0;
17091   if (jarg2) {
17092     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
17093     if (!arg2) return ;
17094   }
17095   {
17096     if (arg2) {
17097       arg1->otherlim = (char *) malloc(strlen(( char *)arg2)+1);
17098       strcpy((char *)arg1->otherlim, ( char *)arg2);
17099     } else {
17100       arg1->otherlim = 0;
17101     }
17102   }
17103   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
17104 }
17105 
17106 
17107 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1otherlim_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17108   jstring jresult = 0 ;
17109   struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
17110   char *result = 0 ;
17111 
17112   (void)jenv;
17113   (void)jcls;
17114   arg1 = *(struct zxid_atsrc **)&jarg1;
17115   result = (char *) ((arg1)->otherlim);
17116   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
17117   return jresult;
17118 }
17119 
17120 
17121 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1ext_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
17122   struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
17123   char *arg2 = (char *) 0 ;
17124 
17125   (void)jenv;
17126   (void)jcls;
17127   arg1 = *(struct zxid_atsrc **)&jarg1;
17128   arg2 = 0;
17129   if (jarg2) {
17130     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
17131     if (!arg2) return ;
17132   }
17133   {
17134     if (arg2) {
17135       arg1->ext = (char *) malloc(strlen(( char *)arg2)+1);
17136       strcpy((char *)arg1->ext, ( char *)arg2);
17137     } else {
17138       arg1->ext = 0;
17139     }
17140   }
17141   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
17142 }
17143 
17144 
17145 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1atsrc_1ext_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17146   jstring jresult = 0 ;
17147   struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
17148   char *result = 0 ;
17149 
17150   (void)jenv;
17151   (void)jcls;
17152   arg1 = *(struct zxid_atsrc **)&jarg1;
17153   result = (char *) ((arg1)->ext);
17154   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
17155   return jresult;
17156 }
17157 
17158 
17159 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1atsrc(JNIEnv *jenv, jclass jcls) {
17160   jlong jresult = 0 ;
17161   struct zxid_atsrc *result = 0 ;
17162 
17163   (void)jenv;
17164   (void)jcls;
17165   result = (struct zxid_atsrc *)calloc(1, sizeof(struct zxid_atsrc));
17166   *(struct zxid_atsrc **)&jresult = result;
17167   return jresult;
17168 }
17169 
17170 
17171 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1atsrc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17172   struct zxid_atsrc *arg1 = (struct zxid_atsrc *) 0 ;
17173 
17174   (void)jenv;
17175   (void)jcls;
17176   arg1 = *(struct zxid_atsrc **)&jarg1;
17177   free((char *) arg1);
17178 }
17179 
17180 
17181 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1perm_1n_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
17182   struct zxid_perm *arg1 = (struct zxid_perm *) 0 ;
17183   struct zxid_perm *arg2 = (struct zxid_perm *) 0 ;
17184 
17185   (void)jenv;
17186   (void)jcls;
17187   arg1 = *(struct zxid_perm **)&jarg1;
17188   arg2 = *(struct zxid_perm **)&jarg2;
17189   if (arg1) (arg1)->n = arg2;
17190 }
17191 
17192 
17193 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1perm_1n_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17194   jlong jresult = 0 ;
17195   struct zxid_perm *arg1 = (struct zxid_perm *) 0 ;
17196   struct zxid_perm *result = 0 ;
17197 
17198   (void)jenv;
17199   (void)jcls;
17200   arg1 = *(struct zxid_perm **)&jarg1;
17201   result = (struct zxid_perm *) ((arg1)->n);
17202   *(struct zxid_perm **)&jresult = result;
17203   return jresult;
17204 }
17205 
17206 
17207 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1perm_1eid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
17208   struct zxid_perm *arg1 = (struct zxid_perm *) 0 ;
17209   struct zx_str *arg2 = (struct zx_str *) 0 ;
17210 
17211   (void)jenv;
17212   (void)jcls;
17213   arg1 = *(struct zxid_perm **)&jarg1;
17214   arg2 = *(struct zx_str **)&jarg2;
17215   if (arg1) (arg1)->eid = arg2;
17216 }
17217 
17218 
17219 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1perm_1eid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17220   jstring jresult = 0 ;
17221   struct zxid_perm *arg1 = (struct zxid_perm *) 0 ;
17222   struct zx_str *result = 0 ;
17223 
17224   (void)jenv;
17225   (void)jcls;
17226   arg1 = *(struct zxid_perm **)&jarg1;
17227   result = (struct zx_str *) ((arg1)->eid);
17228   {
17229     // Unfortunately Java does not provide NewStringUTF() that would explicitly
17230     // take length field - they insist on nul termination instead. Sigh.
17231     if (result && result->s) {
17232       char* tmp = malloc(result->len + 1);
17233       if (!tmp) {
17234         ERR("Out of memory len=%d", result->len); return 0;
17235       }
17236       memcpy(tmp, result->s, result->len);
17237       tmp[result->len] = 0;
17238       jresult = (*jenv)->NewStringUTF(jenv, tmp);
17239       free(tmp);
17240       // Do not free underlying zx_str because they are usually returned by reference.
17241     } else {
17242       jresult = 0;
17243     }
17244   }
17245   return jresult;
17246 }
17247 
17248 
17249 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1perm_1qs_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
17250   struct zxid_perm *arg1 = (struct zxid_perm *) 0 ;
17251   struct zx_str *arg2 = (struct zx_str *) 0 ;
17252 
17253   (void)jenv;
17254   (void)jcls;
17255   arg1 = *(struct zxid_perm **)&jarg1;
17256   arg2 = *(struct zx_str **)&jarg2;
17257   if (arg1) (arg1)->qs = arg2;
17258 }
17259 
17260 
17261 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1perm_1qs_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17262   jstring jresult = 0 ;
17263   struct zxid_perm *arg1 = (struct zxid_perm *) 0 ;
17264   struct zx_str *result = 0 ;
17265 
17266   (void)jenv;
17267   (void)jcls;
17268   arg1 = *(struct zxid_perm **)&jarg1;
17269   result = (struct zx_str *) ((arg1)->qs);
17270   {
17271     // Unfortunately Java does not provide NewStringUTF() that would explicitly
17272     // take length field - they insist on nul termination instead. Sigh.
17273     if (result && result->s) {
17274       char* tmp = malloc(result->len + 1);
17275       if (!tmp) {
17276         ERR("Out of memory len=%d", result->len); return 0;
17277       }
17278       memcpy(tmp, result->s, result->len);
17279       tmp[result->len] = 0;
17280       jresult = (*jenv)->NewStringUTF(jenv, tmp);
17281       free(tmp);
17282       // Do not free underlying zx_str because they are usually returned by reference.
17283     } else {
17284       jresult = 0;
17285     }
17286   }
17287   return jresult;
17288 }
17289 
17290 
17291 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1perm(JNIEnv *jenv, jclass jcls) {
17292   jlong jresult = 0 ;
17293   struct zxid_perm *result = 0 ;
17294 
17295   (void)jenv;
17296   (void)jcls;
17297   result = (struct zxid_perm *)calloc(1, sizeof(struct zxid_perm));
17298   *(struct zxid_perm **)&jresult = result;
17299   return jresult;
17300 }
17301 
17302 
17303 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1perm(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17304   struct zxid_perm *arg1 = (struct zxid_perm *) 0 ;
17305 
17306   (void)jenv;
17307   (void)jcls;
17308   arg1 = *(struct zxid_perm **)&jarg1;
17309   free((char *) arg1);
17310 }
17311 
17312 
17313 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1psobj_1psobj_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
17314   struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
17315   struct zx_str *arg2 = (struct zx_str *) 0 ;
17316 
17317   (void)jenv;
17318   (void)jcls;
17319   arg1 = *(struct zxid_psobj **)&jarg1;
17320   arg2 = *(struct zx_str **)&jarg2;
17321   if (arg1) (arg1)->psobj = arg2;
17322 }
17323 
17324 
17325 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1psobj_1psobj_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17326   jstring jresult = 0 ;
17327   struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
17328   struct zx_str *result = 0 ;
17329 
17330   (void)jenv;
17331   (void)jcls;
17332   arg1 = *(struct zxid_psobj **)&jarg1;
17333   result = (struct zx_str *) ((arg1)->psobj);
17334   {
17335     // Unfortunately Java does not provide NewStringUTF() that would explicitly
17336     // take length field - they insist on nul termination instead. Sigh.
17337     if (result && result->s) {
17338       char* tmp = malloc(result->len + 1);
17339       if (!tmp) {
17340         ERR("Out of memory len=%d", result->len); return 0;
17341       }
17342       memcpy(tmp, result->s, result->len);
17343       tmp[result->len] = 0;
17344       jresult = (*jenv)->NewStringUTF(jenv, tmp);
17345       free(tmp);
17346       // Do not free underlying zx_str because they are usually returned by reference.
17347     } else {
17348       jresult = 0;
17349     }
17350   }
17351   return jresult;
17352 }
17353 
17354 
17355 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1psobj_1uid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
17356   struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
17357   char *arg2 = (char *) 0 ;
17358 
17359   (void)jenv;
17360   (void)jcls;
17361   arg1 = *(struct zxid_psobj **)&jarg1;
17362   arg2 = 0;
17363   if (jarg2) {
17364     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
17365     if (!arg2) return ;
17366   }
17367   {
17368     if (arg2) {
17369       arg1->uid = (char *) malloc(strlen(( char *)arg2)+1);
17370       strcpy((char *)arg1->uid, ( char *)arg2);
17371     } else {
17372       arg1->uid = 0;
17373     }
17374   }
17375   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
17376 }
17377 
17378 
17379 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1psobj_1uid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17380   jstring jresult = 0 ;
17381   struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
17382   char *result = 0 ;
17383 
17384   (void)jenv;
17385   (void)jcls;
17386   arg1 = *(struct zxid_psobj **)&jarg1;
17387   result = (char *) ((arg1)->uid);
17388   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
17389   return jresult;
17390 }
17391 
17392 
17393 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1psobj_1idpnid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
17394   struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
17395   struct zx_str *arg2 = (struct zx_str *) 0 ;
17396 
17397   (void)jenv;
17398   (void)jcls;
17399   arg1 = *(struct zxid_psobj **)&jarg1;
17400   arg2 = *(struct zx_str **)&jarg2;
17401   if (arg1) (arg1)->idpnid = arg2;
17402 }
17403 
17404 
17405 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1psobj_1idpnid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17406   jstring jresult = 0 ;
17407   struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
17408   struct zx_str *result = 0 ;
17409 
17410   (void)jenv;
17411   (void)jcls;
17412   arg1 = *(struct zxid_psobj **)&jarg1;
17413   result = (struct zx_str *) ((arg1)->idpnid);
17414   {
17415     // Unfortunately Java does not provide NewStringUTF() that would explicitly
17416     // take length field - they insist on nul termination instead. Sigh.
17417     if (result && result->s) {
17418       char* tmp = malloc(result->len + 1);
17419       if (!tmp) {
17420         ERR("Out of memory len=%d", result->len); return 0;
17421       }
17422       memcpy(tmp, result->s, result->len);
17423       tmp[result->len] = 0;
17424       jresult = (*jenv)->NewStringUTF(jenv, tmp);
17425       free(tmp);
17426       // Do not free underlying zx_str because they are usually returned by reference.
17427     } else {
17428       jresult = 0;
17429     }
17430   }
17431   return jresult;
17432 }
17433 
17434 
17435 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1psobj_1dispname_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
17436   struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
17437   struct zx_str *arg2 = (struct zx_str *) 0 ;
17438 
17439   (void)jenv;
17440   (void)jcls;
17441   arg1 = *(struct zxid_psobj **)&jarg1;
17442   arg2 = *(struct zx_str **)&jarg2;
17443   if (arg1) (arg1)->dispname = arg2;
17444 }
17445 
17446 
17447 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1psobj_1dispname_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17448   jstring jresult = 0 ;
17449   struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
17450   struct zx_str *result = 0 ;
17451 
17452   (void)jenv;
17453   (void)jcls;
17454   arg1 = *(struct zxid_psobj **)&jarg1;
17455   result = (struct zx_str *) ((arg1)->dispname);
17456   {
17457     // Unfortunately Java does not provide NewStringUTF() that would explicitly
17458     // take length field - they insist on nul termination instead. Sigh.
17459     if (result && result->s) {
17460       char* tmp = malloc(result->len + 1);
17461       if (!tmp) {
17462         ERR("Out of memory len=%d", result->len); return 0;
17463       }
17464       memcpy(tmp, result->s, result->len);
17465       tmp[result->len] = 0;
17466       jresult = (*jenv)->NewStringUTF(jenv, tmp);
17467       free(tmp);
17468       // Do not free underlying zx_str because they are usually returned by reference.
17469     } else {
17470       jresult = 0;
17471     }
17472   }
17473   return jresult;
17474 }
17475 
17476 
17477 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1psobj_1tags_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
17478   struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
17479   struct zx_str *arg2 = (struct zx_str *) 0 ;
17480 
17481   (void)jenv;
17482   (void)jcls;
17483   arg1 = *(struct zxid_psobj **)&jarg1;
17484   arg2 = *(struct zx_str **)&jarg2;
17485   if (arg1) (arg1)->tags = arg2;
17486 }
17487 
17488 
17489 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1psobj_1tags_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17490   jstring jresult = 0 ;
17491   struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
17492   struct zx_str *result = 0 ;
17493 
17494   (void)jenv;
17495   (void)jcls;
17496   arg1 = *(struct zxid_psobj **)&jarg1;
17497   result = (struct zx_str *) ((arg1)->tags);
17498   {
17499     // Unfortunately Java does not provide NewStringUTF() that would explicitly
17500     // take length field - they insist on nul termination instead. Sigh.
17501     if (result && result->s) {
17502       char* tmp = malloc(result->len + 1);
17503       if (!tmp) {
17504         ERR("Out of memory len=%d", result->len); return 0;
17505       }
17506       memcpy(tmp, result->s, result->len);
17507       tmp[result->len] = 0;
17508       jresult = (*jenv)->NewStringUTF(jenv, tmp);
17509       free(tmp);
17510       // Do not free underlying zx_str because they are usually returned by reference.
17511     } else {
17512       jresult = 0;
17513     }
17514   }
17515   return jresult;
17516 }
17517 
17518 
17519 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1psobj_1invids_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
17520   struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
17521   struct zx_str *arg2 = (struct zx_str *) 0 ;
17522 
17523   (void)jenv;
17524   (void)jcls;
17525   arg1 = *(struct zxid_psobj **)&jarg1;
17526   arg2 = *(struct zx_str **)&jarg2;
17527   if (arg1) (arg1)->invids = arg2;
17528 }
17529 
17530 
17531 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1psobj_1invids_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17532   jstring jresult = 0 ;
17533   struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
17534   struct zx_str *result = 0 ;
17535 
17536   (void)jenv;
17537   (void)jcls;
17538   arg1 = *(struct zxid_psobj **)&jarg1;
17539   result = (struct zx_str *) ((arg1)->invids);
17540   {
17541     // Unfortunately Java does not provide NewStringUTF() that would explicitly
17542     // take length field - they insist on nul termination instead. Sigh.
17543     if (result && result->s) {
17544       char* tmp = malloc(result->len + 1);
17545       if (!tmp) {
17546         ERR("Out of memory len=%d", result->len); return 0;
17547       }
17548       memcpy(tmp, result->s, result->len);
17549       tmp[result->len] = 0;
17550       jresult = (*jenv)->NewStringUTF(jenv, tmp);
17551       free(tmp);
17552       // Do not free underlying zx_str because they are usually returned by reference.
17553     } else {
17554       jresult = 0;
17555     }
17556   }
17557   return jresult;
17558 }
17559 
17560 
17561 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1psobj_1perms_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
17562   struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
17563   struct zxid_perm *arg2 = (struct zxid_perm *) 0 ;
17564 
17565   (void)jenv;
17566   (void)jcls;
17567   arg1 = *(struct zxid_psobj **)&jarg1;
17568   arg2 = *(struct zxid_perm **)&jarg2;
17569   if (arg1) (arg1)->perms = arg2;
17570 }
17571 
17572 
17573 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1psobj_1perms_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17574   jlong jresult = 0 ;
17575   struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
17576   struct zxid_perm *result = 0 ;
17577 
17578   (void)jenv;
17579   (void)jcls;
17580   arg1 = *(struct zxid_psobj **)&jarg1;
17581   result = (struct zxid_perm *) ((arg1)->perms);
17582   *(struct zxid_perm **)&jresult = result;
17583   return jresult;
17584 }
17585 
17586 
17587 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1psobj_1child_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
17588   struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
17589   struct zxid_psobj *arg2 = (struct zxid_psobj *) 0 ;
17590 
17591   (void)jenv;
17592   (void)jcls;
17593   arg1 = *(struct zxid_psobj **)&jarg1;
17594   arg2 = *(struct zxid_psobj **)&jarg2;
17595   if (arg1) (arg1)->child = arg2;
17596 }
17597 
17598 
17599 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1psobj_1child_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17600   jlong jresult = 0 ;
17601   struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
17602   struct zxid_psobj *result = 0 ;
17603 
17604   (void)jenv;
17605   (void)jcls;
17606   arg1 = *(struct zxid_psobj **)&jarg1;
17607   result = (struct zxid_psobj *) ((arg1)->child);
17608   *(struct zxid_psobj **)&jresult = result;
17609   return jresult;
17610 }
17611 
17612 
17613 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1psobj_1nodetype_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
17614   struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
17615   int arg2 ;
17616 
17617   (void)jenv;
17618   (void)jcls;
17619   arg1 = *(struct zxid_psobj **)&jarg1;
17620   arg2 = (int)jarg2;
17621   if (arg1) (arg1)->nodetype = arg2;
17622 }
17623 
17624 
17625 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1psobj_1nodetype_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17626   jint jresult = 0 ;
17627   struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
17628   int result;
17629 
17630   (void)jenv;
17631   (void)jcls;
17632   arg1 = *(struct zxid_psobj **)&jarg1;
17633   result = (int) ((arg1)->nodetype);
17634   jresult = (jint)result;
17635   return jresult;
17636 }
17637 
17638 
17639 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1psobj_1create_1secs_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
17640   struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
17641   int arg2 ;
17642 
17643   (void)jenv;
17644   (void)jcls;
17645   arg1 = *(struct zxid_psobj **)&jarg1;
17646   arg2 = (int)jarg2;
17647   if (arg1) (arg1)->create_secs = arg2;
17648 }
17649 
17650 
17651 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1psobj_1create_1secs_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17652   jint jresult = 0 ;
17653   struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
17654   int result;
17655 
17656   (void)jenv;
17657   (void)jcls;
17658   arg1 = *(struct zxid_psobj **)&jarg1;
17659   result = (int) ((arg1)->create_secs);
17660   jresult = (jint)result;
17661   return jresult;
17662 }
17663 
17664 
17665 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1psobj_1mod_1secs_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
17666   struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
17667   int arg2 ;
17668 
17669   (void)jenv;
17670   (void)jcls;
17671   arg1 = *(struct zxid_psobj **)&jarg1;
17672   arg2 = (int)jarg2;
17673   if (arg1) (arg1)->mod_secs = arg2;
17674 }
17675 
17676 
17677 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1psobj_1mod_1secs_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17678   jint jresult = 0 ;
17679   struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
17680   int result;
17681 
17682   (void)jenv;
17683   (void)jcls;
17684   arg1 = *(struct zxid_psobj **)&jarg1;
17685   result = (int) ((arg1)->mod_secs);
17686   jresult = (jint)result;
17687   return jresult;
17688 }
17689 
17690 
17691 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1psobj(JNIEnv *jenv, jclass jcls) {
17692   jlong jresult = 0 ;
17693   struct zxid_psobj *result = 0 ;
17694 
17695   (void)jenv;
17696   (void)jcls;
17697   result = (struct zxid_psobj *)calloc(1, sizeof(struct zxid_psobj));
17698   *(struct zxid_psobj **)&jresult = result;
17699   return jresult;
17700 }
17701 
17702 
17703 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1psobj(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17704   struct zxid_psobj *arg1 = (struct zxid_psobj *) 0 ;
17705 
17706   (void)jenv;
17707   (void)jcls;
17708   arg1 = *(struct zxid_psobj **)&jarg1;
17709   free((char *) arg1);
17710 }
17711 
17712 
17713 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1PSOBJ_1BUDDY_1get(JNIEnv *jenv, jclass jcls) {
17714   jint jresult = 0 ;
17715   int result;
17716 
17717   (void)jenv;
17718   (void)jcls;
17719   result = (int)(0);
17720   jresult = (jint)result;
17721   return jresult;
17722 }
17723 
17724 
17725 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1PSOBJ_1COLLECTION_1get(JNIEnv *jenv, jclass jcls) {
17726   jint jresult = 0 ;
17727   int result;
17728 
17729   (void)jenv;
17730   (void)jcls;
17731   result = (int)(1);
17732   jresult = (jint)result;
17733   return jresult;
17734 }
17735 
17736 
17737 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1invite_1invid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
17738   struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
17739   struct zx_str *arg2 = (struct zx_str *) 0 ;
17740 
17741   (void)jenv;
17742   (void)jcls;
17743   arg1 = *(struct zxid_invite **)&jarg1;
17744   arg2 = *(struct zx_str **)&jarg2;
17745   if (arg1) (arg1)->invid = arg2;
17746 }
17747 
17748 
17749 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1invite_1invid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17750   jstring jresult = 0 ;
17751   struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
17752   struct zx_str *result = 0 ;
17753 
17754   (void)jenv;
17755   (void)jcls;
17756   arg1 = *(struct zxid_invite **)&jarg1;
17757   result = (struct zx_str *) ((arg1)->invid);
17758   {
17759     // Unfortunately Java does not provide NewStringUTF() that would explicitly
17760     // take length field - they insist on nul termination instead. Sigh.
17761     if (result && result->s) {
17762       char* tmp = malloc(result->len + 1);
17763       if (!tmp) {
17764         ERR("Out of memory len=%d", result->len); return 0;
17765       }
17766       memcpy(tmp, result->s, result->len);
17767       tmp[result->len] = 0;
17768       jresult = (*jenv)->NewStringUTF(jenv, tmp);
17769       free(tmp);
17770       // Do not free underlying zx_str because they are usually returned by reference.
17771     } else {
17772       jresult = 0;
17773     }
17774   }
17775   return jresult;
17776 }
17777 
17778 
17779 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1invite_1uid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
17780   struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
17781   char *arg2 = (char *) 0 ;
17782 
17783   (void)jenv;
17784   (void)jcls;
17785   arg1 = *(struct zxid_invite **)&jarg1;
17786   arg2 = 0;
17787   if (jarg2) {
17788     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
17789     if (!arg2) return ;
17790   }
17791   {
17792     if (arg2) {
17793       arg1->uid = (char *) malloc(strlen(( char *)arg2)+1);
17794       strcpy((char *)arg1->uid, ( char *)arg2);
17795     } else {
17796       arg1->uid = 0;
17797     }
17798   }
17799   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
17800 }
17801 
17802 
17803 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1invite_1uid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17804   jstring jresult = 0 ;
17805   struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
17806   char *result = 0 ;
17807 
17808   (void)jenv;
17809   (void)jcls;
17810   arg1 = *(struct zxid_invite **)&jarg1;
17811   result = (char *) ((arg1)->uid);
17812   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
17813   return jresult;
17814 }
17815 
17816 
17817 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1invite_1desc_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
17818   struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
17819   struct zx_str *arg2 = (struct zx_str *) 0 ;
17820 
17821   (void)jenv;
17822   (void)jcls;
17823   arg1 = *(struct zxid_invite **)&jarg1;
17824   arg2 = *(struct zx_str **)&jarg2;
17825   if (arg1) (arg1)->desc = arg2;
17826 }
17827 
17828 
17829 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1invite_1desc_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17830   jstring jresult = 0 ;
17831   struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
17832   struct zx_str *result = 0 ;
17833 
17834   (void)jenv;
17835   (void)jcls;
17836   arg1 = *(struct zxid_invite **)&jarg1;
17837   result = (struct zx_str *) ((arg1)->desc);
17838   {
17839     // Unfortunately Java does not provide NewStringUTF() that would explicitly
17840     // take length field - they insist on nul termination instead. Sigh.
17841     if (result && result->s) {
17842       char* tmp = malloc(result->len + 1);
17843       if (!tmp) {
17844         ERR("Out of memory len=%d", result->len); return 0;
17845       }
17846       memcpy(tmp, result->s, result->len);
17847       tmp[result->len] = 0;
17848       jresult = (*jenv)->NewStringUTF(jenv, tmp);
17849       free(tmp);
17850       // Do not free underlying zx_str because they are usually returned by reference.
17851     } else {
17852       jresult = 0;
17853     }
17854   }
17855   return jresult;
17856 }
17857 
17858 
17859 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1invite_1psobj_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
17860   struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
17861   struct zx_str *arg2 = (struct zx_str *) 0 ;
17862 
17863   (void)jenv;
17864   (void)jcls;
17865   arg1 = *(struct zxid_invite **)&jarg1;
17866   arg2 = *(struct zx_str **)&jarg2;
17867   if (arg1) (arg1)->psobj = arg2;
17868 }
17869 
17870 
17871 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1invite_1psobj_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17872   jstring jresult = 0 ;
17873   struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
17874   struct zx_str *result = 0 ;
17875 
17876   (void)jenv;
17877   (void)jcls;
17878   arg1 = *(struct zxid_invite **)&jarg1;
17879   result = (struct zx_str *) ((arg1)->psobj);
17880   {
17881     // Unfortunately Java does not provide NewStringUTF() that would explicitly
17882     // take length field - they insist on nul termination instead. Sigh.
17883     if (result && result->s) {
17884       char* tmp = malloc(result->len + 1);
17885       if (!tmp) {
17886         ERR("Out of memory len=%d", result->len); return 0;
17887       }
17888       memcpy(tmp, result->s, result->len);
17889       tmp[result->len] = 0;
17890       jresult = (*jenv)->NewStringUTF(jenv, tmp);
17891       free(tmp);
17892       // Do not free underlying zx_str because they are usually returned by reference.
17893     } else {
17894       jresult = 0;
17895     }
17896   }
17897   return jresult;
17898 }
17899 
17900 
17901 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1invite_1ps2spredir_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
17902   struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
17903   struct zx_str *arg2 = (struct zx_str *) 0 ;
17904 
17905   (void)jenv;
17906   (void)jcls;
17907   arg1 = *(struct zxid_invite **)&jarg1;
17908   arg2 = *(struct zx_str **)&jarg2;
17909   if (arg1) (arg1)->ps2spredir = arg2;
17910 }
17911 
17912 
17913 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1invite_1ps2spredir_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17914   jstring jresult = 0 ;
17915   struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
17916   struct zx_str *result = 0 ;
17917 
17918   (void)jenv;
17919   (void)jcls;
17920   arg1 = *(struct zxid_invite **)&jarg1;
17921   result = (struct zx_str *) ((arg1)->ps2spredir);
17922   {
17923     // Unfortunately Java does not provide NewStringUTF() that would explicitly
17924     // take length field - they insist on nul termination instead. Sigh.
17925     if (result && result->s) {
17926       char* tmp = malloc(result->len + 1);
17927       if (!tmp) {
17928         ERR("Out of memory len=%d", result->len); return 0;
17929       }
17930       memcpy(tmp, result->s, result->len);
17931       tmp[result->len] = 0;
17932       jresult = (*jenv)->NewStringUTF(jenv, tmp);
17933       free(tmp);
17934       // Do not free underlying zx_str because they are usually returned by reference.
17935     } else {
17936       jresult = 0;
17937     }
17938   }
17939   return jresult;
17940 }
17941 
17942 
17943 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1invite_1obj_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
17944   struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
17945   struct zxid_psobj *arg2 = (struct zxid_psobj *) 0 ;
17946 
17947   (void)jenv;
17948   (void)jcls;
17949   arg1 = *(struct zxid_invite **)&jarg1;
17950   arg2 = *(struct zxid_psobj **)&jarg2;
17951   if (arg1) (arg1)->obj = arg2;
17952 }
17953 
17954 
17955 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1invite_1obj_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17956   jlong jresult = 0 ;
17957   struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
17958   struct zxid_psobj *result = 0 ;
17959 
17960   (void)jenv;
17961   (void)jcls;
17962   arg1 = *(struct zxid_invite **)&jarg1;
17963   result = (struct zxid_psobj *) ((arg1)->obj);
17964   *(struct zxid_psobj **)&jresult = result;
17965   return jresult;
17966 }
17967 
17968 
17969 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1invite_1perms_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
17970   struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
17971   struct zxid_perm *arg2 = (struct zxid_perm *) 0 ;
17972 
17973   (void)jenv;
17974   (void)jcls;
17975   arg1 = *(struct zxid_invite **)&jarg1;
17976   arg2 = *(struct zxid_perm **)&jarg2;
17977   if (arg1) (arg1)->perms = arg2;
17978 }
17979 
17980 
17981 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1invite_1perms_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
17982   jlong jresult = 0 ;
17983   struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
17984   struct zxid_perm *result = 0 ;
17985 
17986   (void)jenv;
17987   (void)jcls;
17988   arg1 = *(struct zxid_invite **)&jarg1;
17989   result = (struct zxid_perm *) ((arg1)->perms);
17990   *(struct zxid_perm **)&jresult = result;
17991   return jresult;
17992 }
17993 
17994 
17995 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1invite_1maxusage_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
17996   struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
17997   int arg2 ;
17998 
17999   (void)jenv;
18000   (void)jcls;
18001   arg1 = *(struct zxid_invite **)&jarg1;
18002   arg2 = (int)jarg2;
18003   if (arg1) (arg1)->maxusage = arg2;
18004 }
18005 
18006 
18007 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1invite_1maxusage_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
18008   jint jresult = 0 ;
18009   struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
18010   int result;
18011 
18012   (void)jenv;
18013   (void)jcls;
18014   arg1 = *(struct zxid_invite **)&jarg1;
18015   result = (int) ((arg1)->maxusage);
18016   jresult = (jint)result;
18017   return jresult;
18018 }
18019 
18020 
18021 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1invite_1usage_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
18022   struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
18023   int arg2 ;
18024 
18025   (void)jenv;
18026   (void)jcls;
18027   arg1 = *(struct zxid_invite **)&jarg1;
18028   arg2 = (int)jarg2;
18029   if (arg1) (arg1)->usage = arg2;
18030 }
18031 
18032 
18033 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1invite_1usage_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
18034   jint jresult = 0 ;
18035   struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
18036   int result;
18037 
18038   (void)jenv;
18039   (void)jcls;
18040   arg1 = *(struct zxid_invite **)&jarg1;
18041   result = (int) ((arg1)->usage);
18042   jresult = (jint)result;
18043   return jresult;
18044 }
18045 
18046 
18047 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1invite_1starts_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
18048   struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
18049   int arg2 ;
18050 
18051   (void)jenv;
18052   (void)jcls;
18053   arg1 = *(struct zxid_invite **)&jarg1;
18054   arg2 = (int)jarg2;
18055   if (arg1) (arg1)->starts = arg2;
18056 }
18057 
18058 
18059 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1invite_1starts_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
18060   jint jresult = 0 ;
18061   struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
18062   int result;
18063 
18064   (void)jenv;
18065   (void)jcls;
18066   arg1 = *(struct zxid_invite **)&jarg1;
18067   result = (int) ((arg1)->starts);
18068   jresult = (jint)result;
18069   return jresult;
18070 }
18071 
18072 
18073 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1invite_1expires_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
18074   struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
18075   int arg2 ;
18076 
18077   (void)jenv;
18078   (void)jcls;
18079   arg1 = *(struct zxid_invite **)&jarg1;
18080   arg2 = (int)jarg2;
18081   if (arg1) (arg1)->expires = arg2;
18082 }
18083 
18084 
18085 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1invite_1expires_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
18086   jint jresult = 0 ;
18087   struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
18088   int result;
18089 
18090   (void)jenv;
18091   (void)jcls;
18092   arg1 = *(struct zxid_invite **)&jarg1;
18093   result = (int) ((arg1)->expires);
18094   jresult = (jint)result;
18095   return jresult;
18096 }
18097 
18098 
18099 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxid_1invite(JNIEnv *jenv, jclass jcls) {
18100   jlong jresult = 0 ;
18101   struct zxid_invite *result = 0 ;
18102 
18103   (void)jenv;
18104   (void)jcls;
18105   result = (struct zxid_invite *)calloc(1, sizeof(struct zxid_invite));
18106   *(struct zxid_invite **)&jresult = result;
18107   return jresult;
18108 }
18109 
18110 
18111 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxid_1invite(JNIEnv *jenv, jclass jcls, jlong jarg1) {
18112   struct zxid_invite *arg1 = (struct zxid_invite *) 0 ;
18113 
18114   (void)jenv;
18115   (void)jcls;
18116   arg1 = *(struct zxid_invite **)&jarg1;
18117   free((char *) arg1);
18118 }
18119 
18120 
18121 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SES_1DIR_1get(JNIEnv *jenv, jclass jcls) {
18122   jstring jresult = 0 ;
18123   char *result = 0 ;
18124 
18125   (void)jenv;
18126   (void)jcls;
18127   result = (char *)("ses/");
18128   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18129   return jresult;
18130 }
18131 
18132 
18133 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1USER_1DIR_1get(JNIEnv *jenv, jclass jcls) {
18134   jstring jresult = 0 ;
18135   char *result = 0 ;
18136 
18137   (void)jenv;
18138   (void)jcls;
18139   result = (char *)("user/");
18140   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18141   return jresult;
18142 }
18143 
18144 
18145 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1UID_1DIR_1get(JNIEnv *jenv, jclass jcls) {
18146   jstring jresult = 0 ;
18147   char *result = 0 ;
18148 
18149   (void)jenv;
18150   (void)jcls;
18151   result = (char *)("uid/");
18152   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18153   return jresult;
18154 }
18155 
18156 
18157 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1NID_1DIR_1get(JNIEnv *jenv, jclass jcls) {
18158   jstring jresult = 0 ;
18159   char *result = 0 ;
18160 
18161   (void)jenv;
18162   (void)jcls;
18163   result = (char *)("nid/");
18164   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18165   return jresult;
18166 }
18167 
18168 
18169 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1PEM_1DIR_1get(JNIEnv *jenv, jclass jcls) {
18170   jstring jresult = 0 ;
18171   char *result = 0 ;
18172 
18173   (void)jenv;
18174   (void)jcls;
18175   result = (char *)("pem/");
18176   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18177   return jresult;
18178 }
18179 
18180 
18181 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1COT_1DIR_1get(JNIEnv *jenv, jclass jcls) {
18182   jstring jresult = 0 ;
18183   char *result = 0 ;
18184 
18185   (void)jenv;
18186   (void)jcls;
18187   result = (char *)("cot/");
18188   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18189   return jresult;
18190 }
18191 
18192 
18193 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1DIMD_1DIR_1get(JNIEnv *jenv, jclass jcls) {
18194   jstring jresult = 0 ;
18195   char *result = 0 ;
18196 
18197   (void)jenv;
18198   (void)jcls;
18199   result = (char *)("dimd/");
18200   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18201   return jresult;
18202 }
18203 
18204 
18205 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1INV_1DIR_1get(JNIEnv *jenv, jclass jcls) {
18206   jstring jresult = 0 ;
18207   char *result = 0 ;
18208 
18209   (void)jenv;
18210   (void)jcls;
18211   result = (char *)("inv/");
18212   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18213   return jresult;
18214 }
18215 
18216 
18217 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1LOG_1DIR_1get(JNIEnv *jenv, jclass jcls) {
18218   jstring jresult = 0 ;
18219   char *result = 0 ;
18220 
18221   (void)jenv;
18222   (void)jcls;
18223   result = (char *)("log/");
18224   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18225   return jresult;
18226 }
18227 
18228 
18229 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1PCODE_1DIR_1get(JNIEnv *jenv, jclass jcls) {
18230   jstring jresult = 0 ;
18231   char *result = 0 ;
18232 
18233   (void)jenv;
18234   (void)jcls;
18235   result = (char *)("pcode/");
18236   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18237   return jresult;
18238 }
18239 
18240 
18241 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1DCR_1DIR_1get(JNIEnv *jenv, jclass jcls) {
18242   jstring jresult = 0 ;
18243   char *result = 0 ;
18244 
18245   (void)jenv;
18246   (void)jcls;
18247   result = (char *)("dcr/");
18248   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18249   return jresult;
18250 }
18251 
18252 
18253 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1RSR_1DIR_1get(JNIEnv *jenv, jclass jcls) {
18254   jstring jresult = 0 ;
18255   char *result = 0 ;
18256 
18257   (void)jenv;
18258   (void)jcls;
18259   result = (char *)("rsr/");
18260   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18261   return jresult;
18262 }
18263 
18264 
18265 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAX_1USER_1get(JNIEnv *jenv, jclass jcls) {
18266   jint jresult = 0 ;
18267   int result;
18268 
18269   (void)jenv;
18270   (void)jcls;
18271   result = (int)((256));
18272   jresult = (jint)result;
18273   return jresult;
18274 }
18275 
18276 
18277 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1INIT_1MD_1BUF_1get(JNIEnv *jenv, jclass jcls) {
18278   jint jresult = 0 ;
18279   int result;
18280 
18281   (void)jenv;
18282   (void)jcls;
18283   result = (int)((8*1024-1));
18284   jresult = (jint)result;
18285   return jresult;
18286 }
18287 
18288 
18289 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1INIT_1SOAP_1BUF_1get(JNIEnv *jenv, jclass jcls) {
18290   jint jresult = 0 ;
18291   int result;
18292 
18293   (void)jenv;
18294   (void)jcls;
18295   result = (int)((8*1024-1));
18296   jresult = (jint)result;
18297   return jresult;
18298 }
18299 
18300 
18301 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAX_1CURL_1BUF_1get(JNIEnv *jenv, jclass jcls) {
18302   jint jresult = 0 ;
18303   int result;
18304 
18305   (void)jenv;
18306   (void)jcls;
18307   result = (int)((10*1024*1024-1));
18308   jresult = (jint)result;
18309   return jresult;
18310 }
18311 
18312 
18313 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAX_1EID_1get(JNIEnv *jenv, jclass jcls) {
18314   jint jresult = 0 ;
18315   int result;
18316 
18317   (void)jenv;
18318   (void)jcls;
18319   result = (int)((1024));
18320   jresult = (jint)result;
18321   return jresult;
18322 }
18323 
18324 
18325 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAX_1DIR_1get(JNIEnv *jenv, jclass jcls) {
18326   jint jresult = 0 ;
18327   int result;
18328 
18329   (void)jenv;
18330   (void)jcls;
18331   result = (int)((4*1024));
18332   jresult = (jint)result;
18333   return jresult;
18334 }
18335 
18336 
18337 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MAX_1SP_1NAME_1BUF_1get(JNIEnv *jenv, jclass jcls) {
18338   jint jresult = 0 ;
18339   int result;
18340 
18341   (void)jenv;
18342   (void)jcls;
18343   result = (int)((1024));
18344   jresult = (jint)result;
18345   return jresult;
18346 }
18347 
18348 
18349 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1EXIT_1get(JNIEnv *jenv, jclass jcls) {
18350   jint jresult = 0 ;
18351   int result;
18352 
18353   (void)jenv;
18354   (void)jcls;
18355   result = (int)(0x01);
18356   jresult = (jint)result;
18357   return jresult;
18358 }
18359 
18360 
18361 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1REDIR_1get(JNIEnv *jenv, jclass jcls) {
18362   jint jresult = 0 ;
18363   int result;
18364 
18365   (void)jenv;
18366   (void)jcls;
18367   result = (int)(0x02);
18368   jresult = (jint)result;
18369   return jresult;
18370 }
18371 
18372 
18373 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1SOAPC_1get(JNIEnv *jenv, jclass jcls) {
18374   jint jresult = 0 ;
18375   int result;
18376 
18377   (void)jenv;
18378   (void)jcls;
18379   result = (int)(0x04);
18380   jresult = (jint)result;
18381   return jresult;
18382 }
18383 
18384 
18385 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1SOAPH_1get(JNIEnv *jenv, jclass jcls) {
18386   jint jresult = 0 ;
18387   int result;
18388 
18389   (void)jenv;
18390   (void)jcls;
18391   result = (int)(0x08);
18392   jresult = (jint)result;
18393   return jresult;
18394 }
18395 
18396 
18397 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1METAC_1get(JNIEnv *jenv, jclass jcls) {
18398   jint jresult = 0 ;
18399   int result;
18400 
18401   (void)jenv;
18402   (void)jcls;
18403   result = (int)(0x10);
18404   jresult = (jint)result;
18405   return jresult;
18406 }
18407 
18408 
18409 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1METAH_1get(JNIEnv *jenv, jclass jcls) {
18410   jint jresult = 0 ;
18411   int result;
18412 
18413   (void)jenv;
18414   (void)jcls;
18415   result = (int)(0x20);
18416   jresult = (jint)result;
18417   return jresult;
18418 }
18419 
18420 
18421 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1LOGINC_1get(JNIEnv *jenv, jclass jcls) {
18422   jint jresult = 0 ;
18423   int result;
18424 
18425   (void)jenv;
18426   (void)jcls;
18427   result = (int)(0x40);
18428   jresult = (jint)result;
18429   return jresult;
18430 }
18431 
18432 
18433 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1LOGINH_1get(JNIEnv *jenv, jclass jcls) {
18434   jint jresult = 0 ;
18435   int result;
18436 
18437   (void)jenv;
18438   (void)jcls;
18439   result = (int)(0x80);
18440   jresult = (jint)result;
18441   return jresult;
18442 }
18443 
18444 
18445 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1MGMTC_1get(JNIEnv *jenv, jclass jcls) {
18446   jint jresult = 0 ;
18447   int result;
18448 
18449   (void)jenv;
18450   (void)jcls;
18451   result = (int)(0x100);
18452   jresult = (jint)result;
18453   return jresult;
18454 }
18455 
18456 
18457 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1MGMTH_1get(JNIEnv *jenv, jclass jcls) {
18458   jint jresult = 0 ;
18459   int result;
18460 
18461   (void)jenv;
18462   (void)jcls;
18463   result = (int)(0x200);
18464   jresult = (jint)result;
18465   return jresult;
18466 }
18467 
18468 
18469 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1FORMF_1get(JNIEnv *jenv, jclass jcls) {
18470   jint jresult = 0 ;
18471   int result;
18472 
18473   (void)jenv;
18474   (void)jcls;
18475   result = (int)(0x400);
18476   jresult = (jint)result;
18477   return jresult;
18478 }
18479 
18480 
18481 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1FORMT_1get(JNIEnv *jenv, jclass jcls) {
18482   jint jresult = 0 ;
18483   int result;
18484 
18485   (void)jenv;
18486   (void)jcls;
18487   result = (int)(0x800);
18488   jresult = (jint)result;
18489   return jresult;
18490 }
18491 
18492 
18493 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1ALL_1get(JNIEnv *jenv, jclass jcls) {
18494   jint jresult = 0 ;
18495   int result;
18496 
18497   (void)jenv;
18498   (void)jcls;
18499   result = (int)(0xfff);
18500   jresult = (jint)result;
18501   return jresult;
18502 }
18503 
18504 
18505 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1DEBUG_1get(JNIEnv *jenv, jclass jcls) {
18506   jint jresult = 0 ;
18507   int result;
18508 
18509   (void)jenv;
18510   (void)jcls;
18511   result = (int)(0x1000);
18512   jresult = (jint)result;
18513   return jresult;
18514 }
18515 
18516 
18517 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1FMTQ_1get(JNIEnv *jenv, jclass jcls) {
18518   jint jresult = 0 ;
18519   int result;
18520 
18521   (void)jenv;
18522   (void)jcls;
18523   result = (int)(0x2000);
18524   jresult = (jint)result;
18525   return jresult;
18526 }
18527 
18528 
18529 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1AUTO_1FMTJ_1get(JNIEnv *jenv, jclass jcls) {
18530   jint jresult = 0 ;
18531   int result;
18532 
18533   (void)jenv;
18534   (void)jcls;
18535   result = (int)(0x4000);
18536   jresult = (jint)result;
18537   return jresult;
18538 }
18539 
18540 
18541 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1simple(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2, jint jarg3) {
18542   jstring jresult = 0 ;
18543   char *arg1 = (char *) 0 ;
18544   char *arg2 = (char *) 0 ;
18545   int arg3 ;
18546   char *result = 0 ;
18547 
18548   (void)jenv;
18549   (void)jcls;
18550   arg1 = 0;
18551   if (jarg1) {
18552     arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
18553     if (!arg1) return 0;
18554   }
18555   arg2 = 0;
18556   if (jarg2) {
18557     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
18558     if (!arg2) return 0;
18559   }
18560   arg3 = (int)jarg3;
18561   result = (char *)zxid_simple(arg1,arg2,arg3);
18562   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18563   if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, ( char *)arg1);
18564   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
18565   return jresult;
18566 }
18567 
18568 
18569 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1list(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2) {
18570   jstring jresult = 0 ;
18571   char *arg1 = (char *) 0 ;
18572   int arg2 ;
18573   char *result = 0 ;
18574 
18575   (void)jenv;
18576   (void)jcls;
18577   arg1 = 0;
18578   if (jarg1) {
18579     arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
18580     if (!arg1) return 0;
18581   }
18582   arg2 = (int)jarg2;
18583   result = (char *)zxid_idp_list(arg1,arg2);
18584   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18585   if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, ( char *)arg1);
18586   return jresult;
18587 }
18588 
18589 
18590 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1select(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2) {
18591   jstring jresult = 0 ;
18592   char *arg1 = (char *) 0 ;
18593   int arg2 ;
18594   char *result = 0 ;
18595 
18596   (void)jenv;
18597   (void)jcls;
18598   arg1 = 0;
18599   if (jarg1) {
18600     arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
18601     if (!arg1) return 0;
18602   }
18603   arg2 = (int)jarg2;
18604   result = (char *)zxid_idp_select(arg1,arg2);
18605   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18606   if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, ( char *)arg1);
18607   return jresult;
18608 }
18609 
18610 
18611 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1fed_1mgmt(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2, jint jarg3) {
18612   jstring jresult = 0 ;
18613   char *arg1 = (char *) 0 ;
18614   char *arg2 = (char *) 0 ;
18615   int arg3 ;
18616   char *result = 0 ;
18617 
18618   (void)jenv;
18619   (void)jcls;
18620   arg1 = 0;
18621   if (jarg1) {
18622     arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
18623     if (!arg1) return 0;
18624   }
18625   arg2 = 0;
18626   if (jarg2) {
18627     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
18628     if (!arg2) return 0;
18629   }
18630   arg3 = (int)jarg3;
18631   result = (char *)zxid_fed_mgmt(arg1,arg2,arg3);
18632   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18633   if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, ( char *)arg1);
18634   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
18635   return jresult;
18636 }
18637 
18638 
18639 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1new_1conf_1to_1cf(JNIEnv *jenv, jclass jcls, jstring jarg1) {
18640   jlong jresult = 0 ;
18641   char *arg1 = (char *) 0 ;
18642   zxid_conf *result = 0 ;
18643 
18644   (void)jenv;
18645   (void)jcls;
18646   arg1 = 0;
18647   if (jarg1) {
18648     arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
18649     if (!arg1) return 0;
18650   }
18651   result = (zxid_conf *)zxid_new_conf_to_cf(arg1);
18652   *(zxid_conf **)&jresult = result;
18653   if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, ( char *)arg1);
18654   return jresult;
18655 }
18656 
18657 
18658 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1simple_1cf(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3, jlong jarg4, jint jarg5) {
18659   jstring jresult = 0 ;
18660   zxid_conf *arg1 = (zxid_conf *) 0 ;
18661   int arg2 ;
18662   char *arg3 = (char *) 0 ;
18663   int *arg4 = (int *) 0 ;
18664   int arg5 ;
18665   char *result = 0 ;
18666 
18667   (void)jenv;
18668   (void)jcls;
18669   arg1 = *(zxid_conf **)&jarg1;
18670   arg2 = (int)jarg2;
18671   arg3 = 0;
18672   if (jarg3) {
18673     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
18674     if (!arg3) return 0;
18675   }
18676   arg4 = *(int **)&jarg4;
18677   arg5 = (int)jarg5;
18678   result = (char *)zxid_simple_cf(arg1,arg2,arg3,arg4,arg5);
18679   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18680   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
18681   return jresult;
18682 }
18683 
18684 
18685 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1list_1cf(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3) {
18686   jstring jresult = 0 ;
18687   zxid_conf *arg1 = (zxid_conf *) 0 ;
18688   int *arg2 = (int *) 0 ;
18689   int arg3 ;
18690   char *result = 0 ;
18691 
18692   (void)jenv;
18693   (void)jcls;
18694   arg1 = *(zxid_conf **)&jarg1;
18695   arg2 = *(int **)&jarg2;
18696   arg3 = (int)jarg3;
18697   result = (char *)zxid_idp_list_cf(arg1,arg2,arg3);
18698   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18699   return jresult;
18700 }
18701 
18702 
18703 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1select_1cf(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3) {
18704   jstring jresult = 0 ;
18705   zxid_conf *arg1 = (zxid_conf *) 0 ;
18706   int *arg2 = (int *) 0 ;
18707   int arg3 ;
18708   char *result = 0 ;
18709 
18710   (void)jenv;
18711   (void)jcls;
18712   arg1 = *(zxid_conf **)&jarg1;
18713   arg2 = *(int **)&jarg2;
18714   arg3 = (int)jarg3;
18715   result = (char *)zxid_idp_select_cf(arg1,arg2,arg3);
18716   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18717   return jresult;
18718 }
18719 
18720 
18721 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1fed_1mgmt_1cf(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jstring jarg4, jint jarg5) {
18722   jstring jresult = 0 ;
18723   zxid_conf *arg1 = (zxid_conf *) 0 ;
18724   int *arg2 = (int *) 0 ;
18725   int arg3 ;
18726   char *arg4 = (char *) 0 ;
18727   int arg5 ;
18728   char *result = 0 ;
18729 
18730   (void)jenv;
18731   (void)jcls;
18732   arg1 = *(zxid_conf **)&jarg1;
18733   arg2 = *(int **)&jarg2;
18734   arg3 = (int)jarg3;
18735   arg4 = 0;
18736   if (jarg4) {
18737     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
18738     if (!arg4) return 0;
18739   }
18740   arg5 = (int)jarg5;
18741   result = (char *)zxid_fed_mgmt_cf(arg1,arg2,arg3,arg4,arg5);
18742   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18743   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
18744   return jresult;
18745 }
18746 
18747 
18748 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1conf_1to_1cf_1len(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3) {
18749   jint jresult = 0 ;
18750   zxid_conf *arg1 = (zxid_conf *) 0 ;
18751   int arg2 ;
18752   char *arg3 = (char *) 0 ;
18753   int result;
18754 
18755   (void)jenv;
18756   (void)jcls;
18757   arg1 = *(zxid_conf **)&jarg1;
18758   arg2 = (int)jarg2;
18759   arg3 = 0;
18760   if (jarg3) {
18761     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
18762     if (!arg3) return 0;
18763   }
18764   result = (int)zxid_conf_to_cf_len(arg1,arg2,arg3);
18765   jresult = (jint)result;
18766   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
18767   return jresult;
18768 }
18769 
18770 
18771 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1simple_1len(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jint jarg3, jstring jarg4, jlong jarg5, jint jarg6) {
18772   jstring jresult = 0 ;
18773   int arg1 ;
18774   char *arg2 = (char *) 0 ;
18775   int arg3 ;
18776   char *arg4 = (char *) 0 ;
18777   int *arg5 = (int *) 0 ;
18778   int arg6 ;
18779   char *result = 0 ;
18780 
18781   (void)jenv;
18782   (void)jcls;
18783   arg1 = (int)jarg1;
18784   arg2 = 0;
18785   if (jarg2) {
18786     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
18787     if (!arg2) return 0;
18788   }
18789   arg3 = (int)jarg3;
18790   arg4 = 0;
18791   if (jarg4) {
18792     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
18793     if (!arg4) return 0;
18794   }
18795   arg5 = *(int **)&jarg5;
18796   arg6 = (int)jarg6;
18797   result = (char *)zxid_simple_len(arg1,arg2,arg3,arg4,arg5,arg6);
18798   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18799   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
18800   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
18801   return jresult;
18802 }
18803 
18804 
18805 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1simple_1show_1idp_1sel(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jint jarg4) {
18806   jstring jresult = 0 ;
18807   zxid_conf *arg1 = (zxid_conf *) 0 ;
18808   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
18809   int *arg3 = (int *) 0 ;
18810   int arg4 ;
18811   char *result = 0 ;
18812 
18813   (void)jenv;
18814   (void)jcls;
18815   arg1 = *(zxid_conf **)&jarg1;
18816   arg2 = *(zxid_cgi **)&jarg2;
18817   arg3 = *(int **)&jarg3;
18818   arg4 = (int)jarg4;
18819   result = (char *)zxid_simple_show_idp_sel(arg1,arg2,arg3,arg4);
18820   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18821   return jresult;
18822 }
18823 
18824 
18825 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1list_1len(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jlong jarg3, jint jarg4) {
18826   jstring jresult = 0 ;
18827   int arg1 ;
18828   char *arg2 = (char *) 0 ;
18829   int *arg3 = (int *) 0 ;
18830   int arg4 ;
18831   char *result = 0 ;
18832 
18833   (void)jenv;
18834   (void)jcls;
18835   arg1 = (int)jarg1;
18836   arg2 = 0;
18837   if (jarg2) {
18838     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
18839     if (!arg2) return 0;
18840   }
18841   arg3 = *(int **)&jarg3;
18842   arg4 = (int)jarg4;
18843   result = (char *)zxid_idp_list_len(arg1,arg2,arg3,arg4);
18844   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18845   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
18846   return jresult;
18847 }
18848 
18849 
18850 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1list_1cf_1cgi(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jint jarg4) {
18851   jstring jresult = 0 ;
18852   zxid_conf *arg1 = (zxid_conf *) 0 ;
18853   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
18854   int *arg3 = (int *) 0 ;
18855   int arg4 ;
18856   char *result = 0 ;
18857 
18858   (void)jenv;
18859   (void)jcls;
18860   arg1 = *(zxid_conf **)&jarg1;
18861   arg2 = *(zxid_cgi **)&jarg2;
18862   arg3 = *(int **)&jarg3;
18863   arg4 = (int)jarg4;
18864   result = (char *)zxid_idp_list_cf_cgi(arg1,arg2,arg3,arg4);
18865   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18866   return jresult;
18867 }
18868 
18869 
18870 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1select_1len(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jlong jarg3, jint jarg4) {
18871   jstring jresult = 0 ;
18872   int arg1 ;
18873   char *arg2 = (char *) 0 ;
18874   int *arg3 = (int *) 0 ;
18875   int arg4 ;
18876   char *result = 0 ;
18877 
18878   (void)jenv;
18879   (void)jcls;
18880   arg1 = (int)jarg1;
18881   arg2 = 0;
18882   if (jarg2) {
18883     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
18884     if (!arg2) return 0;
18885   }
18886   arg3 = *(int **)&jarg3;
18887   arg4 = (int)jarg4;
18888   result = (char *)zxid_idp_select_len(arg1,arg2,arg3,arg4);
18889   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18890   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
18891   return jresult;
18892 }
18893 
18894 
18895 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1fed_1mgmt_1len(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jlong jarg3, jstring jarg4, jint jarg5) {
18896   jstring jresult = 0 ;
18897   int arg1 ;
18898   char *arg2 = (char *) 0 ;
18899   int *arg3 = (int *) 0 ;
18900   char *arg4 = (char *) 0 ;
18901   int arg5 ;
18902   char *result = 0 ;
18903 
18904   (void)jenv;
18905   (void)jcls;
18906   arg1 = (int)jarg1;
18907   arg2 = 0;
18908   if (jarg2) {
18909     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
18910     if (!arg2) return 0;
18911   }
18912   arg3 = *(int **)&jarg3;
18913   arg4 = 0;
18914   if (jarg4) {
18915     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
18916     if (!arg4) return 0;
18917   }
18918   arg5 = (int)jarg5;
18919   result = (char *)zxid_fed_mgmt_len(arg1,arg2,arg3,arg4,arg5);
18920   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18921   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
18922   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
18923   return jresult;
18924 }
18925 
18926 
18927 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1select_1zxstr_1cf(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
18928   jstring jresult = 0 ;
18929   zxid_conf *arg1 = (zxid_conf *) 0 ;
18930   int arg2 ;
18931   struct zx_str *result = 0 ;
18932 
18933   (void)jenv;
18934   (void)jcls;
18935   arg1 = *(zxid_conf **)&jarg1;
18936   arg2 = (int)jarg2;
18937   result = (struct zx_str *)zxid_idp_select_zxstr_cf(arg1,arg2);
18938   {
18939     // Unfortunately Java does not provide NewStringUTF() that would explicitly
18940     // take length field - they insist on nul termination instead. Sigh.
18941     if (result && result->s) {
18942       char* tmp = malloc(result->len + 1);
18943       if (!tmp) {
18944         ERR("Out of memory len=%d", result->len); return 0;
18945       }
18946       memcpy(tmp, result->s, result->len);
18947       tmp[result->len] = 0;
18948       jresult = (*jenv)->NewStringUTF(jenv, tmp);
18949       free(tmp);
18950       // Do not free underlying zx_str because they are usually returned by reference.
18951     } else {
18952       jresult = 0;
18953     }
18954   }
18955   return jresult;
18956 }
18957 
18958 
18959 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1simple_1show_1err(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jint jarg4) {
18960   jstring jresult = 0 ;
18961   zxid_conf *arg1 = (zxid_conf *) 0 ;
18962   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
18963   int *arg3 = (int *) 0 ;
18964   int arg4 ;
18965   char *result = 0 ;
18966 
18967   (void)jenv;
18968   (void)jcls;
18969   arg1 = *(zxid_conf **)&jarg1;
18970   arg2 = *(zxid_cgi **)&jarg2;
18971   arg3 = *(int **)&jarg3;
18972   arg4 = (int)jarg4;
18973   result = (char *)zxid_simple_show_err(arg1,arg2,arg3,arg4);
18974   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18975   return jresult;
18976 }
18977 
18978 
18979 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1simple_1ses_1active_1cf(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jint jarg5) {
18980   jstring jresult = 0 ;
18981   zxid_conf *arg1 = (zxid_conf *) 0 ;
18982   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
18983   zxid_ses *arg3 = (zxid_ses *) 0 ;
18984   int *arg4 = (int *) 0 ;
18985   int arg5 ;
18986   char *result = 0 ;
18987 
18988   (void)jenv;
18989   (void)jcls;
18990   arg1 = *(zxid_conf **)&jarg1;
18991   arg2 = *(zxid_cgi **)&jarg2;
18992   arg3 = *(zxid_ses **)&jarg3;
18993   arg4 = *(int **)&jarg4;
18994   arg5 = (int)jarg5;
18995   result = (char *)zxid_simple_ses_active_cf(arg1,arg2,arg3,arg4,arg5);
18996   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
18997   return jresult;
18998 }
18999 
19000 
19001 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1simple_1no_1ses_1cf(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jint jarg5) {
19002   jstring jresult = 0 ;
19003   zxid_conf *arg1 = (zxid_conf *) 0 ;
19004   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
19005   zxid_ses *arg3 = (zxid_ses *) 0 ;
19006   int *arg4 = (int *) 0 ;
19007   int arg5 ;
19008   char *result = 0 ;
19009 
19010   (void)jenv;
19011   (void)jcls;
19012   arg1 = *(zxid_conf **)&jarg1;
19013   arg2 = *(zxid_cgi **)&jarg2;
19014   arg3 = *(zxid_ses **)&jarg3;
19015   arg4 = *(int **)&jarg4;
19016   arg5 = (int)jarg5;
19017   result = (char *)zxid_simple_no_ses_cf(arg1,arg2,arg3,arg4,arg5);
19018   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
19019   return jresult;
19020 }
19021 
19022 
19023 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1simple_1cf_1ses(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3, jlong jarg4, jlong jarg5, jint jarg6) {
19024   jstring jresult = 0 ;
19025   zxid_conf *arg1 = (zxid_conf *) 0 ;
19026   int arg2 ;
19027   char *arg3 = (char *) 0 ;
19028   zxid_ses *arg4 = (zxid_ses *) 0 ;
19029   int *arg5 = (int *) 0 ;
19030   int arg6 ;
19031   char *result = 0 ;
19032 
19033   (void)jenv;
19034   (void)jcls;
19035   arg1 = *(zxid_conf **)&jarg1;
19036   arg2 = (int)jarg2;
19037   arg3 = 0;
19038   if (jarg3) {
19039     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
19040     if (!arg3) return 0;
19041   }
19042   arg4 = *(zxid_ses **)&jarg4;
19043   arg5 = *(int **)&jarg5;
19044   arg6 = (int)jarg6;
19045   result = (char *)zxid_simple_cf_ses(arg1,arg2,arg3,arg4,arg5,arg6);
19046   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
19047   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
19048   return jresult;
19049 }
19050 
19051 
19052 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1template_1page_1cf(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4, jint jarg5, jint jarg6) {
19053   jstring jresult = 0 ;
19054   zxid_conf *arg1 = (zxid_conf *) 0 ;
19055   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
19056   char *arg3 = (char *) 0 ;
19057   char *arg4 = (char *) 0 ;
19058   int arg5 ;
19059   int arg6 ;
19060   struct zx_str *result = 0 ;
19061 
19062   (void)jenv;
19063   (void)jcls;
19064   arg1 = *(zxid_conf **)&jarg1;
19065   arg2 = *(zxid_cgi **)&jarg2;
19066   arg3 = 0;
19067   if (jarg3) {
19068     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
19069     if (!arg3) return 0;
19070   }
19071   arg4 = 0;
19072   if (jarg4) {
19073     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
19074     if (!arg4) return 0;
19075   }
19076   arg5 = (int)jarg5;
19077   arg6 = (int)jarg6;
19078   result = (struct zx_str *)zxid_template_page_cf(arg1,arg2,arg3,arg4,arg5,arg6);
19079   {
19080     // Unfortunately Java does not provide NewStringUTF() that would explicitly
19081     // take length field - they insist on nul termination instead. Sigh.
19082     if (result && result->s) {
19083       char* tmp = malloc(result->len + 1);
19084       if (!tmp) {
19085         ERR("Out of memory len=%d", result->len); return 0;
19086       }
19087       memcpy(tmp, result->s, result->len);
19088       tmp[result->len] = 0;
19089       jresult = (*jenv)->NewStringUTF(jenv, tmp);
19090       free(tmp);
19091       // Do not free underlying zx_str because they are usually returned by reference.
19092     } else {
19093       jresult = 0;
19094     }
19095   }
19096   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
19097   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
19098   return jresult;
19099 }
19100 
19101 
19102 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SSO_1SIGN_1A7N_1get(JNIEnv *jenv, jclass jcls) {
19103   jint jresult = 0 ;
19104   int result;
19105 
19106   (void)jenv;
19107   (void)jcls;
19108   result = (int)(0x01);
19109   jresult = (jint)result;
19110   return jresult;
19111 }
19112 
19113 
19114 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SSO_1SIGN_1RESP_1get(JNIEnv *jenv, jclass jcls) {
19115   jint jresult = 0 ;
19116   int result;
19117 
19118   (void)jenv;
19119   (void)jcls;
19120   result = (int)(0x02);
19121   jresult = (jint)result;
19122   return jresult;
19123 }
19124 
19125 
19126 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SSO_1SIGN_1A7N_1SIMPLE_1get(JNIEnv *jenv, jclass jcls) {
19127   jint jresult = 0 ;
19128   int result;
19129 
19130   (void)jenv;
19131   (void)jcls;
19132   result = (int)(0x04);
19133   jresult = (jint)result;
19134   return jresult;
19135 }
19136 
19137 
19138 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SIGN_1HDR_1get(JNIEnv *jenv, jclass jcls) {
19139   jint jresult = 0 ;
19140   int result;
19141 
19142   (void)jenv;
19143   (void)jcls;
19144   result = (int)(0x01);
19145   jresult = (jint)result;
19146   return jresult;
19147 }
19148 
19149 
19150 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SIGN_1BDY_1get(JNIEnv *jenv, jclass jcls) {
19151   jint jresult = 0 ;
19152   int result;
19153 
19154   (void)jenv;
19155   (void)jcls;
19156   result = (int)(0x02);
19157   jresult = (jint)result;
19158   return jresult;
19159 }
19160 
19161 
19162 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxsig_1ref_1sref_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
19163   struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
19164   struct zx_ds_Reference_s *arg2 = (struct zx_ds_Reference_s *) 0 ;
19165 
19166   (void)jenv;
19167   (void)jcls;
19168   arg1 = *(struct zxsig_ref **)&jarg1;
19169   arg2 = *(struct zx_ds_Reference_s **)&jarg2;
19170   if (arg1) (arg1)->sref = arg2;
19171 }
19172 
19173 
19174 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxsig_1ref_1sref_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
19175   jlong jresult = 0 ;
19176   struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
19177   struct zx_ds_Reference_s *result = 0 ;
19178 
19179   (void)jenv;
19180   (void)jcls;
19181   arg1 = *(struct zxsig_ref **)&jarg1;
19182   result = (struct zx_ds_Reference_s *) ((arg1)->sref);
19183   *(struct zx_ds_Reference_s **)&jresult = result;
19184   return jresult;
19185 }
19186 
19187 
19188 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxsig_1ref_1blob_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
19189   struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
19190   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
19191 
19192   (void)jenv;
19193   (void)jcls;
19194   arg1 = *(struct zxsig_ref **)&jarg1;
19195   arg2 = *(struct zx_elem_s **)&jarg2;
19196   if (arg1) (arg1)->blob = arg2;
19197 }
19198 
19199 
19200 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxsig_1ref_1blob_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
19201   jlong jresult = 0 ;
19202   struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
19203   struct zx_elem_s *result = 0 ;
19204 
19205   (void)jenv;
19206   (void)jcls;
19207   arg1 = *(struct zxsig_ref **)&jarg1;
19208   result = (struct zx_elem_s *) ((arg1)->blob);
19209   *(struct zx_elem_s **)&jresult = result;
19210   return jresult;
19211 }
19212 
19213 
19214 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxsig_1ref_1id_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
19215   struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
19216   struct zx_str *arg2 = (struct zx_str *) 0 ;
19217 
19218   (void)jenv;
19219   (void)jcls;
19220   arg1 = *(struct zxsig_ref **)&jarg1;
19221   arg2 = *(struct zx_str **)&jarg2;
19222   if (arg1) (arg1)->id = arg2;
19223 }
19224 
19225 
19226 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxsig_1ref_1id_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
19227   jstring jresult = 0 ;
19228   struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
19229   struct zx_str *result = 0 ;
19230 
19231   (void)jenv;
19232   (void)jcls;
19233   arg1 = *(struct zxsig_ref **)&jarg1;
19234   result = (struct zx_str *) ((arg1)->id);
19235   {
19236     // Unfortunately Java does not provide NewStringUTF() that would explicitly
19237     // take length field - they insist on nul termination instead. Sigh.
19238     if (result && result->s) {
19239       char* tmp = malloc(result->len + 1);
19240       if (!tmp) {
19241         ERR("Out of memory len=%d", result->len); return 0;
19242       }
19243       memcpy(tmp, result->s, result->len);
19244       tmp[result->len] = 0;
19245       jresult = (*jenv)->NewStringUTF(jenv, tmp);
19246       free(tmp);
19247       // Do not free underlying zx_str because they are usually returned by reference.
19248     } else {
19249       jresult = 0;
19250     }
19251   }
19252   return jresult;
19253 }
19254 
19255 
19256 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxsig_1ref_1canon_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
19257   struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
19258   struct zx_str *arg2 = (struct zx_str *) 0 ;
19259 
19260   (void)jenv;
19261   (void)jcls;
19262   arg1 = *(struct zxsig_ref **)&jarg1;
19263   arg2 = *(struct zx_str **)&jarg2;
19264   if (arg1) (arg1)->canon = arg2;
19265 }
19266 
19267 
19268 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxsig_1ref_1canon_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
19269   jstring jresult = 0 ;
19270   struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
19271   struct zx_str *result = 0 ;
19272 
19273   (void)jenv;
19274   (void)jcls;
19275   arg1 = *(struct zxsig_ref **)&jarg1;
19276   result = (struct zx_str *) ((arg1)->canon);
19277   {
19278     // Unfortunately Java does not provide NewStringUTF() that would explicitly
19279     // take length field - they insist on nul termination instead. Sigh.
19280     if (result && result->s) {
19281       char* tmp = malloc(result->len + 1);
19282       if (!tmp) {
19283         ERR("Out of memory len=%d", result->len); return 0;
19284       }
19285       memcpy(tmp, result->s, result->len);
19286       tmp[result->len] = 0;
19287       jresult = (*jenv)->NewStringUTF(jenv, tmp);
19288       free(tmp);
19289       // Do not free underlying zx_str because they are usually returned by reference.
19290     } else {
19291       jresult = 0;
19292     }
19293   }
19294   return jresult;
19295 }
19296 
19297 
19298 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxsig_1ref_1pop_1seen_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
19299   struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
19300   struct zx_ns_s *arg2 = (struct zx_ns_s *) 0 ;
19301 
19302   (void)jenv;
19303   (void)jcls;
19304   arg1 = *(struct zxsig_ref **)&jarg1;
19305   arg2 = *(struct zx_ns_s **)&jarg2;
19306   if (arg1) (arg1)->pop_seen = arg2;
19307 }
19308 
19309 
19310 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxsig_1ref_1pop_1seen_1get(JNIEnv *jenv, jclass jcls, jlong jarg1) {
19311   jlong jresult = 0 ;
19312   struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
19313   struct zx_ns_s *result = 0 ;
19314 
19315   (void)jenv;
19316   (void)jcls;
19317   arg1 = *(struct zxsig_ref **)&jarg1;
19318   result = (struct zx_ns_s *) ((arg1)->pop_seen);
19319   *(struct zx_ns_s **)&jresult = result;
19320   return jresult;
19321 }
19322 
19323 
19324 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_new_1zxsig_1ref(JNIEnv *jenv, jclass jcls) {
19325   jlong jresult = 0 ;
19326   struct zxsig_ref *result = 0 ;
19327 
19328   (void)jenv;
19329   (void)jcls;
19330   result = (struct zxsig_ref *)calloc(1, sizeof(struct zxsig_ref));
19331   *(struct zxsig_ref **)&jresult = result;
19332   return jresult;
19333 }
19334 
19335 
19336 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_delete_1zxsig_1ref(JNIEnv *jenv, jclass jcls, jlong jarg1) {
19337   struct zxsig_ref *arg1 = (struct zxsig_ref *) 0 ;
19338 
19339   (void)jenv;
19340   (void)jcls;
19341   arg1 = *(struct zxsig_ref **)&jarg1;
19342   free((char *) arg1);
19343 }
19344 
19345 
19346 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXSIG_1OK_1get(JNIEnv *jenv, jclass jcls) {
19347   jint jresult = 0 ;
19348   int result;
19349 
19350   (void)jenv;
19351   (void)jcls;
19352   result = (int)(0);
19353   jresult = (jint)result;
19354   return jresult;
19355 }
19356 
19357 
19358 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXSIG_1BAD_1DALGO_1get(JNIEnv *jenv, jclass jcls) {
19359   jint jresult = 0 ;
19360   int result;
19361 
19362   (void)jenv;
19363   (void)jcls;
19364   result = (int)(1);
19365   jresult = (jint)result;
19366   return jresult;
19367 }
19368 
19369 
19370 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXSIG_1DIGEST_1LEN_1get(JNIEnv *jenv, jclass jcls) {
19371   jint jresult = 0 ;
19372   int result;
19373 
19374   (void)jenv;
19375   (void)jcls;
19376   result = (int)(2);
19377   jresult = (jint)result;
19378   return jresult;
19379 }
19380 
19381 
19382 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXSIG_1BAD_1DIGEST_1get(JNIEnv *jenv, jclass jcls) {
19383   jint jresult = 0 ;
19384   int result;
19385 
19386   (void)jenv;
19387   (void)jcls;
19388   result = (int)(3);
19389   jresult = (jint)result;
19390   return jresult;
19391 }
19392 
19393 
19394 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXSIG_1BAD_1SALGO_1get(JNIEnv *jenv, jclass jcls) {
19395   jint jresult = 0 ;
19396   int result;
19397 
19398   (void)jenv;
19399   (void)jcls;
19400   result = (int)(4);
19401   jresult = (jint)result;
19402   return jresult;
19403 }
19404 
19405 
19406 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXSIG_1BAD_1CERT_1get(JNIEnv *jenv, jclass jcls) {
19407   jint jresult = 0 ;
19408   int result;
19409 
19410   (void)jenv;
19411   (void)jcls;
19412   result = (int)(5);
19413   jresult = (jint)result;
19414   return jresult;
19415 }
19416 
19417 
19418 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXSIG_1VFY_1FAIL_1get(JNIEnv *jenv, jclass jcls) {
19419   jint jresult = 0 ;
19420   int result;
19421 
19422   (void)jenv;
19423   (void)jcls;
19424   result = (int)(6);
19425   jresult = (jint)result;
19426   return jresult;
19427 }
19428 
19429 
19430 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXSIG_1NO_1SIG_1get(JNIEnv *jenv, jclass jcls) {
19431   jint jresult = 0 ;
19432   int result;
19433 
19434   (void)jenv;
19435   (void)jcls;
19436   result = (int)(7);
19437   jresult = (jint)result;
19438   return jresult;
19439 }
19440 
19441 
19442 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXSIG_1TIMEOUT_1get(JNIEnv *jenv, jclass jcls) {
19443   jint jresult = 0 ;
19444   int result;
19445 
19446   (void)jenv;
19447   (void)jcls;
19448   result = (int)(8);
19449   jresult = (jint)result;
19450   return jresult;
19451 }
19452 
19453 
19454 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXSIG_1AUDIENCE_1get(JNIEnv *jenv, jclass jcls) {
19455   jint jresult = 0 ;
19456   int result;
19457 
19458   (void)jenv;
19459   (void)jcls;
19460   result = (int)(9);
19461   jresult = (jint)result;
19462   return jresult;
19463 }
19464 
19465 
19466 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxenc_1privkey_1dec(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
19467   jstring jresult = 0 ;
19468   zxid_conf *arg1 = (zxid_conf *) 0 ;
19469   struct zx_xenc_EncryptedData_s *arg2 = (struct zx_xenc_EncryptedData_s *) 0 ;
19470   struct zx_xenc_EncryptedKey_s *arg3 = (struct zx_xenc_EncryptedKey_s *) 0 ;
19471   struct zx_str *result = 0 ;
19472 
19473   (void)jenv;
19474   (void)jcls;
19475   arg1 = *(zxid_conf **)&jarg1;
19476   arg2 = *(struct zx_xenc_EncryptedData_s **)&jarg2;
19477   arg3 = *(struct zx_xenc_EncryptedKey_s **)&jarg3;
19478   result = (struct zx_str *)zxenc_privkey_dec(arg1,arg2,arg3);
19479   {
19480     // Unfortunately Java does not provide NewStringUTF() that would explicitly
19481     // take length field - they insist on nul termination instead. Sigh.
19482     if (result && result->s) {
19483       char* tmp = malloc(result->len + 1);
19484       if (!tmp) {
19485         ERR("Out of memory len=%d", result->len); return 0;
19486       }
19487       memcpy(tmp, result->s, result->len);
19488       tmp[result->len] = 0;
19489       jresult = (*jenv)->NewStringUTF(jenv, tmp);
19490       free(tmp);
19491       // Do not free underlying zx_str because they are usually returned by reference.
19492     } else {
19493       jresult = 0;
19494     }
19495   }
19496   return jresult;
19497 }
19498 
19499 
19500 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxenc_1symkey_1enc(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jstring jarg4, jlong jarg5) {
19501   jlong jresult = 0 ;
19502   zxid_conf *arg1 = (zxid_conf *) 0 ;
19503   struct zx_str *arg2 = (struct zx_str *) 0 ;
19504   struct zx_str *arg3 = (struct zx_str *) 0 ;
19505   struct zx_str *arg4 = (struct zx_str *) 0 ;
19506   struct zx_xenc_EncryptedKey_s *arg5 = (struct zx_xenc_EncryptedKey_s *) 0 ;
19507   struct zx_xenc_EncryptedData_s *result = 0 ;
19508 
19509   (void)jenv;
19510   (void)jcls;
19511   arg1 = *(zxid_conf **)&jarg1;
19512   arg2 = *(struct zx_str **)&jarg2;
19513   arg3 = *(struct zx_str **)&jarg3;
19514   arg4 = *(struct zx_str **)&jarg4;
19515   arg5 = *(struct zx_xenc_EncryptedKey_s **)&jarg5;
19516   result = (struct zx_xenc_EncryptedData_s *)zxenc_symkey_enc(arg1,arg2,arg3,arg4,arg5);
19517   *(struct zx_xenc_EncryptedData_s **)&jresult = result;
19518   return jresult;
19519 }
19520 
19521 
19522 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxenc_1symkey_1dec(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) {
19523   jstring jresult = 0 ;
19524   zxid_conf *arg1 = (zxid_conf *) 0 ;
19525   struct zx_xenc_EncryptedData_s *arg2 = (struct zx_xenc_EncryptedData_s *) 0 ;
19526   struct zx_str *arg3 = (struct zx_str *) 0 ;
19527   struct zx_str *result = 0 ;
19528 
19529   (void)jenv;
19530   (void)jcls;
19531   arg1 = *(zxid_conf **)&jarg1;
19532   arg2 = *(struct zx_xenc_EncryptedData_s **)&jarg2;
19533   arg3 = *(struct zx_str **)&jarg3;
19534   result = (struct zx_str *)zxenc_symkey_dec(arg1,arg2,arg3);
19535   {
19536     // Unfortunately Java does not provide NewStringUTF() that would explicitly
19537     // take length field - they insist on nul termination instead. Sigh.
19538     if (result && result->s) {
19539       char* tmp = malloc(result->len + 1);
19540       if (!tmp) {
19541         ERR("Out of memory len=%d", result->len); return 0;
19542       }
19543       memcpy(tmp, result->s, result->len);
19544       tmp[result->len] = 0;
19545       jresult = (*jenv)->NewStringUTF(jenv, tmp);
19546       free(tmp);
19547       // Do not free underlying zx_str because they are usually returned by reference.
19548     } else {
19549       jresult = 0;
19550     }
19551   }
19552   return jresult;
19553 }
19554 
19555 
19556 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXBUS_1CH_1DIR_1get(JNIEnv *jenv, jclass jcls) {
19557   jstring jresult = 0 ;
19558   char *result = 0 ;
19559 
19560   (void)jenv;
19561   (void)jcls;
19562   result = (char *)("ch/");
19563   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
19564   return jresult;
19565 }
19566 
19567 
19568 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXLOG_1RELY_1DIR_1get(JNIEnv *jenv, jclass jcls) {
19569   jstring jresult = 0 ;
19570   char *result = 0 ;
19571 
19572   (void)jenv;
19573   (void)jcls;
19574   result = (char *)("rely/");
19575   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
19576   return jresult;
19577 }
19578 
19579 
19580 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXLOG_1ISSUE_1DIR_1get(JNIEnv *jenv, jclass jcls) {
19581   jstring jresult = 0 ;
19582   char *result = 0 ;
19583 
19584   (void)jenv;
19585   (void)jcls;
19586   result = (char *)("issue/");
19587   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
19588   return jresult;
19589 }
19590 
19591 
19592 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXLOG_1A7N_1KIND_1get(JNIEnv *jenv, jclass jcls) {
19593   jstring jresult = 0 ;
19594   char *result = 0 ;
19595 
19596   (void)jenv;
19597   (void)jcls;
19598   result = (char *)("/a7n/");
19599   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
19600   return jresult;
19601 }
19602 
19603 
19604 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXLOG_1JWT_1KIND_1get(JNIEnv *jenv, jclass jcls) {
19605   jstring jresult = 0 ;
19606   char *result = 0 ;
19607 
19608   (void)jenv;
19609   (void)jcls;
19610   result = (char *)("/jwt/");
19611   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
19612   return jresult;
19613 }
19614 
19615 
19616 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXLOG_1AZC_1KIND_1get(JNIEnv *jenv, jclass jcls) {
19617   jstring jresult = 0 ;
19618   char *result = 0 ;
19619 
19620   (void)jenv;
19621   (void)jcls;
19622   result = (char *)("/azc/");
19623   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
19624   return jresult;
19625 }
19626 
19627 
19628 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXLOG_1MSG_1KIND_1get(JNIEnv *jenv, jclass jcls) {
19629   jstring jresult = 0 ;
19630   char *result = 0 ;
19631 
19632   (void)jenv;
19633   (void)jcls;
19634   result = (char *)("/msg/");
19635   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
19636   return jresult;
19637 }
19638 
19639 
19640 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXLOG_1WIR_1KIND_1get(JNIEnv *jenv, jclass jcls) {
19641   jstring jresult = 0 ;
19642   char *result = 0 ;
19643 
19644   (void)jenv;
19645   (void)jcls;
19646   result = (char *)("/wir/");
19647   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
19648   return jresult;
19649 }
19650 
19651 
19652 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxlog_1write_1line(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jint jarg3, jint jarg4, jstring jarg5) {
19653   zxid_conf *arg1 = (zxid_conf *) 0 ;
19654   char *arg2 = (char *) 0 ;
19655   int arg3 ;
19656   int arg4 ;
19657   char *arg5 = (char *) 0 ;
19658 
19659   (void)jenv;
19660   (void)jcls;
19661   arg1 = *(zxid_conf **)&jarg1;
19662   arg2 = 0;
19663   if (jarg2) {
19664     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
19665     if (!arg2) return ;
19666   }
19667   arg3 = (int)jarg3;
19668   arg4 = (int)jarg4;
19669   arg5 = 0;
19670   if (jarg5) {
19671     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
19672     if (!arg5) return ;
19673   }
19674   zxlog_write_line(arg1,arg2,arg3,arg4,arg5);
19675   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
19676   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
19677 }
19678 
19679 
19680 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxlog_1dup_1check(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3) {
19681   jint jresult = 0 ;
19682   zxid_conf *arg1 = (zxid_conf *) 0 ;
19683   struct zx_str *arg2 = (struct zx_str *) 0 ;
19684   char *arg3 = (char *) 0 ;
19685   int result;
19686 
19687   (void)jenv;
19688   (void)jcls;
19689   arg1 = *(zxid_conf **)&jarg1;
19690   arg2 = *(struct zx_str **)&jarg2;
19691   arg3 = 0;
19692   if (jarg3) {
19693     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
19694     if (!arg3) return 0;
19695   }
19696   result = (int)zxlog_dup_check(arg1,arg2,arg3);
19697   jresult = (jint)result;
19698   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
19699   return jresult;
19700 }
19701 
19702 
19703 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxlog_1blob(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3, jstring jarg4, jstring jarg5) {
19704   jint jresult = 0 ;
19705   zxid_conf *arg1 = (zxid_conf *) 0 ;
19706   int arg2 ;
19707   struct zx_str *arg3 = (struct zx_str *) 0 ;
19708   struct zx_str *arg4 = (struct zx_str *) 0 ;
19709   char *arg5 = (char *) 0 ;
19710   int result;
19711 
19712   (void)jenv;
19713   (void)jcls;
19714   arg1 = *(zxid_conf **)&jarg1;
19715   arg2 = (int)jarg2;
19716   arg3 = *(struct zx_str **)&jarg3;
19717   arg4 = *(struct zx_str **)&jarg4;
19718   arg5 = 0;
19719   if (jarg5) {
19720     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
19721     if (!arg5) return 0;
19722   }
19723   result = (int)zxlog_blob(arg1,arg2,arg3,arg4,arg5);
19724   jresult = (jint)result;
19725   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
19726   return jresult;
19727 }
19728 
19729 
19730 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxlog(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jstring jarg4, jstring jarg5, jstring jarg6, jstring jarg7, jstring jarg8, jstring jarg9, jstring jarg10, jstring jarg11, jstring jarg12, jstring jarg13) {
19731   jint jresult = 0 ;
19732   zxid_conf *arg1 = (zxid_conf *) 0 ;
19733   struct timeval *arg2 = (struct timeval *) 0 ;
19734   struct timeval *arg3 = (struct timeval *) 0 ;
19735   char *arg4 = (char *) 0 ;
19736   struct zx_str *arg5 = (struct zx_str *) 0 ;
19737   struct zx_str *arg6 = (struct zx_str *) 0 ;
19738   struct zx_str *arg7 = (struct zx_str *) 0 ;
19739   struct zx_str *arg8 = (struct zx_str *) 0 ;
19740   char *arg9 = (char *) 0 ;
19741   char *arg10 = (char *) 0 ;
19742   char *arg11 = (char *) 0 ;
19743   char *arg12 = (char *) 0 ;
19744   char *arg13 = (char *) 0 ;
19745   void *arg14 = 0 ;
19746   int result;
19747 
19748   (void)jenv;
19749   (void)jcls;
19750   arg1 = *(zxid_conf **)&jarg1;
19751   arg2 = *(struct timeval **)&jarg2;
19752   arg3 = *(struct timeval **)&jarg3;
19753   arg4 = 0;
19754   if (jarg4) {
19755     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
19756     if (!arg4) return 0;
19757   }
19758   arg5 = *(struct zx_str **)&jarg5;
19759   arg6 = *(struct zx_str **)&jarg6;
19760   arg7 = *(struct zx_str **)&jarg7;
19761   arg8 = *(struct zx_str **)&jarg8;
19762   arg9 = 0;
19763   if (jarg9) {
19764     arg9 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg9, 0);
19765     if (!arg9) return 0;
19766   }
19767   arg10 = 0;
19768   if (jarg10) {
19769     arg10 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg10, 0);
19770     if (!arg10) return 0;
19771   }
19772   arg11 = 0;
19773   if (jarg11) {
19774     arg11 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg11, 0);
19775     if (!arg11) return 0;
19776   }
19777   arg12 = 0;
19778   if (jarg12) {
19779     arg12 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg12, 0);
19780     if (!arg12) return 0;
19781   }
19782   arg13 = 0;
19783   if (jarg13) {
19784     arg13 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg13, 0);
19785     if (!arg13) return 0;
19786   }
19787   result = (int)zxlog(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14);
19788   jresult = (jint)result;
19789   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
19790   if (arg9) (*jenv)->ReleaseStringUTFChars(jenv, jarg9, ( char *)arg9);
19791   if (arg10) (*jenv)->ReleaseStringUTFChars(jenv, jarg10, ( char *)arg10);
19792   if (arg11) (*jenv)->ReleaseStringUTFChars(jenv, jarg11, ( char *)arg11);
19793   if (arg12) (*jenv)->ReleaseStringUTFChars(jenv, jarg12, ( char *)arg12);
19794   if (arg13) (*jenv)->ReleaseStringUTFChars(jenv, jarg13, ( char *)arg13);
19795   return jresult;
19796 }
19797 
19798 
19799 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxlogwsp(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4, jstring jarg5, jstring jarg6) {
19800   jint jresult = 0 ;
19801   zxid_conf *arg1 = (zxid_conf *) 0 ;
19802   zxid_ses *arg2 = (zxid_ses *) 0 ;
19803   char *arg3 = (char *) 0 ;
19804   char *arg4 = (char *) 0 ;
19805   char *arg5 = (char *) 0 ;
19806   char *arg6 = (char *) 0 ;
19807   void *arg7 = 0 ;
19808   int result;
19809 
19810   (void)jenv;
19811   (void)jcls;
19812   arg1 = *(zxid_conf **)&jarg1;
19813   arg2 = *(zxid_ses **)&jarg2;
19814   arg3 = 0;
19815   if (jarg3) {
19816     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
19817     if (!arg3) return 0;
19818   }
19819   arg4 = 0;
19820   if (jarg4) {
19821     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
19822     if (!arg4) return 0;
19823   }
19824   arg5 = 0;
19825   if (jarg5) {
19826     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
19827     if (!arg5) return 0;
19828   }
19829   arg6 = 0;
19830   if (jarg6) {
19831     arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
19832     if (!arg6) return 0;
19833   }
19834   result = (int)zxlogwsp(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
19835   jresult = (jint)result;
19836   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
19837   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
19838   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
19839   if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, ( char *)arg6);
19840   return jresult;
19841 }
19842 
19843 
19844 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxlogusr(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3, jlong jarg4, jstring jarg5, jstring jarg6, jstring jarg7, jstring jarg8, jstring jarg9, jstring jarg10, jstring jarg11, jstring jarg12, jstring jarg13, jstring jarg14) {
19845   jint jresult = 0 ;
19846   zxid_conf *arg1 = (zxid_conf *) 0 ;
19847   char *arg2 = (char *) 0 ;
19848   struct timeval *arg3 = (struct timeval *) 0 ;
19849   struct timeval *arg4 = (struct timeval *) 0 ;
19850   char *arg5 = (char *) 0 ;
19851   struct zx_str *arg6 = (struct zx_str *) 0 ;
19852   struct zx_str *arg7 = (struct zx_str *) 0 ;
19853   struct zx_str *arg8 = (struct zx_str *) 0 ;
19854   struct zx_str *arg9 = (struct zx_str *) 0 ;
19855   char *arg10 = (char *) 0 ;
19856   char *arg11 = (char *) 0 ;
19857   char *arg12 = (char *) 0 ;
19858   char *arg13 = (char *) 0 ;
19859   char *arg14 = (char *) 0 ;
19860   void *arg15 = 0 ;
19861   int result;
19862 
19863   (void)jenv;
19864   (void)jcls;
19865   arg1 = *(zxid_conf **)&jarg1;
19866   arg2 = 0;
19867   if (jarg2) {
19868     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
19869     if (!arg2) return 0;
19870   }
19871   arg3 = *(struct timeval **)&jarg3;
19872   arg4 = *(struct timeval **)&jarg4;
19873   arg5 = 0;
19874   if (jarg5) {
19875     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
19876     if (!arg5) return 0;
19877   }
19878   arg6 = *(struct zx_str **)&jarg6;
19879   arg7 = *(struct zx_str **)&jarg7;
19880   arg8 = *(struct zx_str **)&jarg8;
19881   arg9 = *(struct zx_str **)&jarg9;
19882   arg10 = 0;
19883   if (jarg10) {
19884     arg10 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg10, 0);
19885     if (!arg10) return 0;
19886   }
19887   arg11 = 0;
19888   if (jarg11) {
19889     arg11 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg11, 0);
19890     if (!arg11) return 0;
19891   }
19892   arg12 = 0;
19893   if (jarg12) {
19894     arg12 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg12, 0);
19895     if (!arg12) return 0;
19896   }
19897   arg13 = 0;
19898   if (jarg13) {
19899     arg13 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg13, 0);
19900     if (!arg13) return 0;
19901   }
19902   arg14 = 0;
19903   if (jarg14) {
19904     arg14 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg14, 0);
19905     if (!arg14) return 0;
19906   }
19907   result = (int)zxlogusr(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15);
19908   jresult = (jint)result;
19909   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
19910   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
19911   if (arg10) (*jenv)->ReleaseStringUTFChars(jenv, jarg10, ( char *)arg10);
19912   if (arg11) (*jenv)->ReleaseStringUTFChars(jenv, jarg11, ( char *)arg11);
19913   if (arg12) (*jenv)->ReleaseStringUTFChars(jenv, jarg12, ( char *)arg12);
19914   if (arg13) (*jenv)->ReleaseStringUTFChars(jenv, jarg13, ( char *)arg13);
19915   if (arg14) (*jenv)->ReleaseStringUTFChars(jenv, jarg14, ( char *)arg14);
19916   return jresult;
19917 }
19918 
19919 
19920 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_errmac_1debug_1xml_1blob(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jint jarg3, jstring jarg4, jstring jarg5, jint jarg6, jstring jarg7) {
19921   zxid_conf *arg1 = (zxid_conf *) 0 ;
19922   char *arg2 = (char *) 0 ;
19923   int arg3 ;
19924   char *arg4 = (char *) 0 ;
19925   char *arg5 = (char *) 0 ;
19926   int arg6 ;
19927   char *arg7 = (char *) 0 ;
19928 
19929   (void)jenv;
19930   (void)jcls;
19931   arg1 = *(zxid_conf **)&jarg1;
19932   arg2 = 0;
19933   if (jarg2) {
19934     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
19935     if (!arg2) return ;
19936   }
19937   arg3 = (int)jarg3;
19938   arg4 = 0;
19939   if (jarg4) {
19940     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
19941     if (!arg4) return ;
19942   }
19943   arg5 = 0;
19944   if (jarg5) {
19945     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
19946     if (!arg5) return ;
19947   }
19948   arg6 = (int)jarg6;
19949   arg7 = 0;
19950   if (jarg7) {
19951     arg7 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg7, 0);
19952     if (!arg7) return ;
19953   }
19954   errmac_debug_xml_blob(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
19955   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
19956   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
19957   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
19958   if (arg7) (*jenv)->ReleaseStringUTFChars(jenv, jarg7, ( char *)arg7);
19959 }
19960 
19961 
19962 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxbus_1mint_1receipt(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3, jint jarg4, jstring jarg5, jint jarg6, jstring jarg7, jint jarg8, jstring jarg9, jint jarg10, jstring jarg11) {
19963   jstring jresult = 0 ;
19964   zxid_conf *arg1 = (zxid_conf *) 0 ;
19965   int arg2 ;
19966   char *arg3 = (char *) 0 ;
19967   int arg4 ;
19968   char *arg5 = (char *) 0 ;
19969   int arg6 ;
19970   char *arg7 = (char *) 0 ;
19971   int arg8 ;
19972   char *arg9 = (char *) 0 ;
19973   int arg10 ;
19974   char *arg11 = (char *) 0 ;
19975   char *result = 0 ;
19976 
19977   (void)jenv;
19978   (void)jcls;
19979   arg1 = *(zxid_conf **)&jarg1;
19980   arg2 = (int)jarg2;
19981   arg3 = 0;
19982   if (jarg3) {
19983     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
19984     if (!arg3) return 0;
19985   }
19986   arg4 = (int)jarg4;
19987   arg5 = 0;
19988   if (jarg5) {
19989     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
19990     if (!arg5) return 0;
19991   }
19992   arg6 = (int)jarg6;
19993   arg7 = 0;
19994   if (jarg7) {
19995     arg7 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg7, 0);
19996     if (!arg7) return 0;
19997   }
19998   arg8 = (int)jarg8;
19999   arg9 = 0;
20000   if (jarg9) {
20001     arg9 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg9, 0);
20002     if (!arg9) return 0;
20003   }
20004   arg10 = (int)jarg10;
20005   arg11 = 0;
20006   if (jarg11) {
20007     arg11 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg11, 0);
20008     if (!arg11) return 0;
20009   }
20010   result = (char *)zxbus_mint_receipt(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
20011   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
20012   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
20013   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
20014   if (arg7) (*jenv)->ReleaseStringUTFChars(jenv, jarg7, ( char *)arg7);
20015   if (arg9) (*jenv)->ReleaseStringUTFChars(jenv, jarg9, ( char *)arg9);
20016   if (arg11) (*jenv)->ReleaseStringUTFChars(jenv, jarg11, ( char *)arg11);
20017   return jresult;
20018 }
20019 
20020 
20021 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxbus_1verify_1receipt(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jint jarg3, jstring jarg4, jint jarg5, jstring jarg6, jint jarg7, jstring jarg8, jint jarg9, jstring jarg10, jint jarg11, jstring jarg12) {
20022   jint jresult = 0 ;
20023   zxid_conf *arg1 = (zxid_conf *) 0 ;
20024   char *arg2 = (char *) 0 ;
20025   int arg3 ;
20026   char *arg4 = (char *) 0 ;
20027   int arg5 ;
20028   char *arg6 = (char *) 0 ;
20029   int arg7 ;
20030   char *arg8 = (char *) 0 ;
20031   int arg9 ;
20032   char *arg10 = (char *) 0 ;
20033   int arg11 ;
20034   char *arg12 = (char *) 0 ;
20035   int result;
20036 
20037   (void)jenv;
20038   (void)jcls;
20039   arg1 = *(zxid_conf **)&jarg1;
20040   arg2 = 0;
20041   if (jarg2) {
20042     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
20043     if (!arg2) return 0;
20044   }
20045   arg3 = (int)jarg3;
20046   arg4 = 0;
20047   if (jarg4) {
20048     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
20049     if (!arg4) return 0;
20050   }
20051   arg5 = (int)jarg5;
20052   arg6 = 0;
20053   if (jarg6) {
20054     arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
20055     if (!arg6) return 0;
20056   }
20057   arg7 = (int)jarg7;
20058   arg8 = 0;
20059   if (jarg8) {
20060     arg8 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg8, 0);
20061     if (!arg8) return 0;
20062   }
20063   arg9 = (int)jarg9;
20064   arg10 = 0;
20065   if (jarg10) {
20066     arg10 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg10, 0);
20067     if (!arg10) return 0;
20068   }
20069   arg11 = (int)jarg11;
20070   arg12 = 0;
20071   if (jarg12) {
20072     arg12 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg12, 0);
20073     if (!arg12) return 0;
20074   }
20075   result = (int)zxbus_verify_receipt(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
20076   jresult = (jint)result;
20077   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
20078   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
20079   if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, ( char *)arg6);
20080   if (arg8) (*jenv)->ReleaseStringUTFChars(jenv, jarg8, ( char *)arg8);
20081   if (arg10) (*jenv)->ReleaseStringUTFChars(jenv, jarg10, ( char *)arg10);
20082   if (arg12) (*jenv)->ReleaseStringUTFChars(jenv, jarg12, ( char *)arg12);
20083   return jresult;
20084 }
20085 
20086 
20087 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxbus_1persist_1msg(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3, jint jarg4, jstring jarg5, jint jarg6, jstring jarg7) {
20088   jint jresult = 0 ;
20089   zxid_conf *arg1 = (zxid_conf *) 0 ;
20090   int arg2 ;
20091   char *arg3 = (char *) 0 ;
20092   int arg4 ;
20093   char *arg5 = (char *) 0 ;
20094   int arg6 ;
20095   char *arg7 = (char *) 0 ;
20096   int result;
20097 
20098   (void)jenv;
20099   (void)jcls;
20100   arg1 = *(zxid_conf **)&jarg1;
20101   arg2 = (int)jarg2;
20102   arg3 = 0;
20103   if (jarg3) {
20104     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
20105     if (!arg3) return 0;
20106   }
20107   arg4 = (int)jarg4;
20108   arg5 = 0;
20109   if (jarg5) {
20110     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
20111     if (!arg5) return 0;
20112   }
20113   arg6 = (int)jarg6;
20114   arg7 = 0;
20115   if (jarg7) {
20116     arg7 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg7, 0);
20117     if (!arg7) return 0;
20118   }
20119   result = (int)zxbus_persist_msg(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
20120   jresult = (jint)result;
20121   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
20122   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
20123   if (arg7) (*jenv)->ReleaseStringUTFChars(jenv, jarg7, ( char *)arg7);
20124   return jresult;
20125 }
20126 
20127 
20128 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxbus_1open_1bus_1url(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
20129   jint jresult = 0 ;
20130   zxid_conf *arg1 = (zxid_conf *) 0 ;
20131   struct zxid_bus_url *arg2 = (struct zxid_bus_url *) 0 ;
20132   int result;
20133 
20134   (void)jenv;
20135   (void)jcls;
20136   arg1 = *(zxid_conf **)&jarg1;
20137   arg2 = *(struct zxid_bus_url **)&jarg2;
20138   result = (int)zxbus_open_bus_url(arg1,arg2);
20139   jresult = (jint)result;
20140   return jresult;
20141 }
20142 
20143 
20144 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxbus_1close(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
20145   jint jresult = 0 ;
20146   zxid_conf *arg1 = (zxid_conf *) 0 ;
20147   struct zxid_bus_url *arg2 = (struct zxid_bus_url *) 0 ;
20148   int result;
20149 
20150   (void)jenv;
20151   (void)jcls;
20152   arg1 = *(zxid_conf **)&jarg1;
20153   arg2 = *(struct zxid_bus_url **)&jarg2;
20154   result = (int)zxbus_close(arg1,arg2);
20155   jresult = (jint)result;
20156   return jresult;
20157 }
20158 
20159 
20160 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxbus_1close_1all(JNIEnv *jenv, jclass jcls, jlong jarg1) {
20161   zxid_conf *arg1 = (zxid_conf *) 0 ;
20162 
20163   (void)jenv;
20164   (void)jcls;
20165   arg1 = *(zxid_conf **)&jarg1;
20166   zxbus_close_all(arg1);
20167 }
20168 
20169 
20170 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxbus_1send_1cmdf(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jstring jarg4, jstring jarg5) {
20171   jint jresult = 0 ;
20172   zxid_conf *arg1 = (zxid_conf *) 0 ;
20173   struct zxid_bus_url *arg2 = (struct zxid_bus_url *) 0 ;
20174   int arg3 ;
20175   char *arg4 = (char *) 0 ;
20176   char *arg5 = (char *) 0 ;
20177   void *arg6 = 0 ;
20178   int result;
20179 
20180   (void)jenv;
20181   (void)jcls;
20182   arg1 = *(zxid_conf **)&jarg1;
20183   arg2 = *(struct zxid_bus_url **)&jarg2;
20184   arg3 = (int)jarg3;
20185   arg4 = 0;
20186   if (jarg4) {
20187     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
20188     if (!arg4) return 0;
20189   }
20190   arg5 = 0;
20191   if (jarg5) {
20192     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
20193     if (!arg5) return 0;
20194   }
20195   result = (int)zxbus_send_cmdf(arg1,arg2,arg3,arg4,arg5,arg6);
20196   jresult = (jint)result;
20197   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
20198   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
20199   return jresult;
20200 }
20201 
20202 
20203 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxbus_1send_1cmd(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jint jarg4, jstring jarg5) {
20204   jint jresult = 0 ;
20205   zxid_conf *arg1 = (zxid_conf *) 0 ;
20206   char *arg2 = (char *) 0 ;
20207   char *arg3 = (char *) 0 ;
20208   int arg4 ;
20209   char *arg5 = (char *) 0 ;
20210   int result;
20211 
20212   (void)jenv;
20213   (void)jcls;
20214   arg1 = *(zxid_conf **)&jarg1;
20215   arg2 = 0;
20216   if (jarg2) {
20217     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
20218     if (!arg2) return 0;
20219   }
20220   arg3 = 0;
20221   if (jarg3) {
20222     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
20223     if (!arg3) return 0;
20224   }
20225   arg4 = (int)jarg4;
20226   arg5 = 0;
20227   if (jarg5) {
20228     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
20229     if (!arg5) return 0;
20230   }
20231   result = (int)zxbus_send_cmd(arg1,arg2,arg3,arg4,arg5);
20232   jresult = (jint)result;
20233   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
20234   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
20235   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
20236   return jresult;
20237 }
20238 
20239 
20240 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxbus_1send(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jint jarg3, jstring jarg4) {
20241   jint jresult = 0 ;
20242   zxid_conf *arg1 = (zxid_conf *) 0 ;
20243   char *arg2 = (char *) 0 ;
20244   int arg3 ;
20245   char *arg4 = (char *) 0 ;
20246   int result;
20247 
20248   (void)jenv;
20249   (void)jcls;
20250   arg1 = *(zxid_conf **)&jarg1;
20251   arg2 = 0;
20252   if (jarg2) {
20253     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
20254     if (!arg2) return 0;
20255   }
20256   arg3 = (int)jarg3;
20257   arg4 = 0;
20258   if (jarg4) {
20259     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
20260     if (!arg4) return 0;
20261   }
20262   result = (int)zxbus_send(arg1,arg2,arg3,arg4);
20263   jresult = (jint)result;
20264   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
20265   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
20266   return jresult;
20267 }
20268 
20269 
20270 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxbus_1read_1stomp(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
20271   jint jresult = 0 ;
20272   zxid_conf *arg1 = (zxid_conf *) 0 ;
20273   struct zxid_bus_url *arg2 = (struct zxid_bus_url *) 0 ;
20274   struct stomp_hdr *arg3 = (struct stomp_hdr *) 0 ;
20275   int result;
20276 
20277   (void)jenv;
20278   (void)jcls;
20279   arg1 = *(zxid_conf **)&jarg1;
20280   arg2 = *(struct zxid_bus_url **)&jarg2;
20281   arg3 = *(struct stomp_hdr **)&jarg3;
20282   result = (int)zxbus_read_stomp(arg1,arg2,arg3);
20283   jresult = (jint)result;
20284   return jresult;
20285 }
20286 
20287 
20288 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxbus_1ack_1msg(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
20289   jint jresult = 0 ;
20290   zxid_conf *arg1 = (zxid_conf *) 0 ;
20291   struct zxid_bus_url *arg2 = (struct zxid_bus_url *) 0 ;
20292   struct stomp_hdr *arg3 = (struct stomp_hdr *) 0 ;
20293   int result;
20294 
20295   (void)jenv;
20296   (void)jcls;
20297   arg1 = *(zxid_conf **)&jarg1;
20298   arg2 = *(struct zxid_bus_url **)&jarg2;
20299   arg3 = *(struct stomp_hdr **)&jarg3;
20300   result = (int)zxbus_ack_msg(arg1,arg2,arg3);
20301   jresult = (jint)result;
20302   return jresult;
20303 }
20304 
20305 
20306 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxbus_1listen_1msg(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
20307   jstring jresult = 0 ;
20308   zxid_conf *arg1 = (zxid_conf *) 0 ;
20309   struct zxid_bus_url *arg2 = (struct zxid_bus_url *) 0 ;
20310   char *result = 0 ;
20311 
20312   (void)jenv;
20313   (void)jcls;
20314   arg1 = *(zxid_conf **)&jarg1;
20315   arg2 = *(struct zxid_bus_url **)&jarg2;
20316   result = (char *)zxbus_listen_msg(arg1,arg2);
20317   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
20318   return jresult;
20319 }
20320 
20321 
20322 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1ent_1file(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3) {
20323   jlong jresult = 0 ;
20324   zxid_conf *arg1 = (zxid_conf *) 0 ;
20325   char *arg2 = (char *) 0 ;
20326   char *arg3 = (char *) 0 ;
20327   zxid_entity *result = 0 ;
20328 
20329   (void)jenv;
20330   (void)jcls;
20331   arg1 = *(zxid_conf **)&jarg1;
20332   arg2 = 0;
20333   if (jarg2) {
20334     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
20335     if (!arg2) return 0;
20336   }
20337   arg3 = 0;
20338   if (jarg3) {
20339     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
20340     if (!arg3) return 0;
20341   }
20342   result = (zxid_entity *)zxid_get_ent_file(arg1,arg2,arg3);
20343   *(zxid_entity **)&jresult = result;
20344   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
20345   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
20346   return jresult;
20347 }
20348 
20349 
20350 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1ent_1cache(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
20351   jlong jresult = 0 ;
20352   zxid_conf *arg1 = (zxid_conf *) 0 ;
20353   struct zx_str *arg2 = (struct zx_str *) 0 ;
20354   zxid_entity *result = 0 ;
20355 
20356   (void)jenv;
20357   (void)jcls;
20358   arg1 = *(zxid_conf **)&jarg1;
20359   arg2 = *(struct zx_str **)&jarg2;
20360   result = (zxid_entity *)zxid_get_ent_cache(arg1,arg2);
20361   *(zxid_entity **)&jresult = result;
20362   return jresult;
20363 }
20364 
20365 
20366 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1write_1ent_1to_1cache(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
20367   jint jresult = 0 ;
20368   zxid_conf *arg1 = (zxid_conf *) 0 ;
20369   zxid_entity *arg2 = (zxid_entity *) 0 ;
20370   int result;
20371 
20372   (void)jenv;
20373   (void)jcls;
20374   arg1 = *(zxid_conf **)&jarg1;
20375   arg2 = *(zxid_entity **)&jarg2;
20376   result = (int)zxid_write_ent_to_cache(arg1,arg2);
20377   jresult = (jint)result;
20378   return jresult;
20379 }
20380 
20381 
20382 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1parse_1meta(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) {
20383   jlong jresult = 0 ;
20384   zxid_conf *arg1 = (zxid_conf *) 0 ;
20385   char **arg2 = (char **) 0 ;
20386   char *arg3 = (char *) 0 ;
20387   zxid_entity *result = 0 ;
20388 
20389   (void)jenv;
20390   (void)jcls;
20391   arg1 = *(zxid_conf **)&jarg1;
20392   arg2 = *(char ***)&jarg2;
20393   arg3 = 0;
20394   if (jarg3) {
20395     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
20396     if (!arg3) return 0;
20397   }
20398   result = (zxid_entity *)zxid_parse_meta(arg1,arg2,arg3);
20399   *(zxid_entity **)&jresult = result;
20400   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
20401   return jresult;
20402 }
20403 
20404 
20405 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1meta_1ss(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
20406   jlong jresult = 0 ;
20407   zxid_conf *arg1 = (zxid_conf *) 0 ;
20408   struct zx_str *arg2 = (struct zx_str *) 0 ;
20409   zxid_entity *result = 0 ;
20410 
20411   (void)jenv;
20412   (void)jcls;
20413   arg1 = *(zxid_conf **)&jarg1;
20414   arg2 = *(struct zx_str **)&jarg2;
20415   result = (zxid_entity *)zxid_get_meta_ss(arg1,arg2);
20416   *(zxid_entity **)&jresult = result;
20417   return jresult;
20418 }
20419 
20420 
20421 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1meta(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
20422   jlong jresult = 0 ;
20423   zxid_conf *arg1 = (zxid_conf *) 0 ;
20424   char *arg2 = (char *) 0 ;
20425   zxid_entity *result = 0 ;
20426 
20427   (void)jenv;
20428   (void)jcls;
20429   arg1 = *(zxid_conf **)&jarg1;
20430   arg2 = 0;
20431   if (jarg2) {
20432     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
20433     if (!arg2) return 0;
20434   }
20435   result = (zxid_entity *)zxid_get_meta(arg1,arg2);
20436   *(zxid_entity **)&jresult = result;
20437   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
20438   return jresult;
20439 }
20440 
20441 
20442 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1ent_1ss(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
20443   jlong jresult = 0 ;
20444   zxid_conf *arg1 = (zxid_conf *) 0 ;
20445   struct zx_str *arg2 = (struct zx_str *) 0 ;
20446   zxid_entity *result = 0 ;
20447 
20448   (void)jenv;
20449   (void)jcls;
20450   arg1 = *(zxid_conf **)&jarg1;
20451   arg2 = *(struct zx_str **)&jarg2;
20452   result = (zxid_entity *)zxid_get_ent_ss(arg1,arg2);
20453   *(zxid_entity **)&jresult = result;
20454   return jresult;
20455 }
20456 
20457 
20458 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1ent(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
20459   jlong jresult = 0 ;
20460   zxid_conf *arg1 = (zxid_conf *) 0 ;
20461   char *arg2 = (char *) 0 ;
20462   zxid_entity *result = 0 ;
20463 
20464   (void)jenv;
20465   (void)jcls;
20466   arg1 = *(zxid_conf **)&jarg1;
20467   arg2 = 0;
20468   if (jarg2) {
20469     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
20470     if (!arg2) return 0;
20471   }
20472   result = (zxid_entity *)zxid_get_ent(arg1,arg2);
20473   *(zxid_entity **)&jresult = result;
20474   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
20475   return jresult;
20476 }
20477 
20478 
20479 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1ent_1by_1succinct_1id(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
20480   jlong jresult = 0 ;
20481   zxid_conf *arg1 = (zxid_conf *) 0 ;
20482   char *arg2 = (char *) 0 ;
20483   zxid_entity *result = 0 ;
20484 
20485   (void)jenv;
20486   (void)jcls;
20487   arg1 = *(zxid_conf **)&jarg1;
20488   arg2 = 0;
20489   if (jarg2) {
20490     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
20491     if (!arg2) return 0;
20492   }
20493   result = (zxid_entity *)zxid_get_ent_by_succinct_id(arg1,arg2);
20494   *(zxid_entity **)&jresult = result;
20495   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
20496   return jresult;
20497 }
20498 
20499 
20500 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1ent_1by_1sha1_1name(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
20501   jlong jresult = 0 ;
20502   zxid_conf *arg1 = (zxid_conf *) 0 ;
20503   char *arg2 = (char *) 0 ;
20504   zxid_entity *result = 0 ;
20505 
20506   (void)jenv;
20507   (void)jcls;
20508   arg1 = *(zxid_conf **)&jarg1;
20509   arg2 = 0;
20510   if (jarg2) {
20511     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
20512     if (!arg2) return 0;
20513   }
20514   result = (zxid_entity *)zxid_get_ent_by_sha1_name(arg1,arg2);
20515   *(zxid_entity **)&jresult = result;
20516   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
20517   return jresult;
20518 }
20519 
20520 
20521 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1load_1cot_1cache(JNIEnv *jenv, jclass jcls, jlong jarg1) {
20522   jlong jresult = 0 ;
20523   zxid_conf *arg1 = (zxid_conf *) 0 ;
20524   zxid_entity *result = 0 ;
20525 
20526   (void)jenv;
20527   (void)jcls;
20528   arg1 = *(zxid_conf **)&jarg1;
20529   result = (zxid_entity *)zxid_load_cot_cache(arg1);
20530   *(zxid_entity **)&jresult = result;
20531   return jresult;
20532 }
20533 
20534 
20535 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1meta(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
20536   jstring jresult = 0 ;
20537   zxid_conf *arg1 = (zxid_conf *) 0 ;
20538   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
20539   struct zx_str *result = 0 ;
20540 
20541   (void)jenv;
20542   (void)jcls;
20543   arg1 = *(zxid_conf **)&jarg1;
20544   arg2 = *(zxid_cgi **)&jarg2;
20545   result = (struct zx_str *)zxid_sp_meta(arg1,arg2);
20546   {
20547     // Unfortunately Java does not provide NewStringUTF() that would explicitly
20548     // take length field - they insist on nul termination instead. Sigh.
20549     if (result && result->s) {
20550       char* tmp = malloc(result->len + 1);
20551       if (!tmp) {
20552         ERR("Out of memory len=%d", result->len); return 0;
20553       }
20554       memcpy(tmp, result->s, result->len);
20555       tmp[result->len] = 0;
20556       jresult = (*jenv)->NewStringUTF(jenv, tmp);
20557       free(tmp);
20558       // Do not free underlying zx_str because they are usually returned by reference.
20559     } else {
20560       jresult = 0;
20561     }
20562   }
20563   return jresult;
20564 }
20565 
20566 
20567 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1send_1sp_1meta(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
20568   jint jresult = 0 ;
20569   zxid_conf *arg1 = (zxid_conf *) 0 ;
20570   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
20571   int result;
20572 
20573   (void)jenv;
20574   (void)jcls;
20575   arg1 = *(zxid_conf **)&jarg1;
20576   arg2 = *(zxid_cgi **)&jarg2;
20577   result = (int)zxid_send_sp_meta(arg1,arg2);
20578   jresult = (jint)result;
20579   return jresult;
20580 }
20581 
20582 
20583 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1carml(JNIEnv *jenv, jclass jcls, jlong jarg1) {
20584   jstring jresult = 0 ;
20585   zxid_conf *arg1 = (zxid_conf *) 0 ;
20586   struct zx_str *result = 0 ;
20587 
20588   (void)jenv;
20589   (void)jcls;
20590   arg1 = *(zxid_conf **)&jarg1;
20591   result = (struct zx_str *)zxid_sp_carml(arg1);
20592   {
20593     // Unfortunately Java does not provide NewStringUTF() that would explicitly
20594     // take length field - they insist on nul termination instead. Sigh.
20595     if (result && result->s) {
20596       char* tmp = malloc(result->len + 1);
20597       if (!tmp) {
20598         ERR("Out of memory len=%d", result->len); return 0;
20599       }
20600       memcpy(tmp, result->s, result->len);
20601       tmp[result->len] = 0;
20602       jresult = (*jenv)->NewStringUTF(jenv, tmp);
20603       free(tmp);
20604       // Do not free underlying zx_str because they are usually returned by reference.
20605     } else {
20606       jresult = 0;
20607     }
20608   }
20609   return jresult;
20610 }
20611 
20612 
20613 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1my_1ent_1id(JNIEnv *jenv, jclass jcls, jlong jarg1) {
20614   jstring jresult = 0 ;
20615   zxid_conf *arg1 = (zxid_conf *) 0 ;
20616   struct zx_str *result = 0 ;
20617 
20618   (void)jenv;
20619   (void)jcls;
20620   arg1 = *(zxid_conf **)&jarg1;
20621   result = (struct zx_str *)zxid_my_ent_id(arg1);
20622   {
20623     // Unfortunately Java does not provide NewStringUTF() that would explicitly
20624     // take length field - they insist on nul termination instead. Sigh.
20625     if (result && result->s) {
20626       char* tmp = malloc(result->len + 1);
20627       if (!tmp) {
20628         ERR("Out of memory len=%d", result->len); return 0;
20629       }
20630       memcpy(tmp, result->s, result->len);
20631       tmp[result->len] = 0;
20632       jresult = (*jenv)->NewStringUTF(jenv, tmp);
20633       free(tmp);
20634       // Do not free underlying zx_str because they are usually returned by reference.
20635     } else {
20636       jresult = 0;
20637     }
20638   }
20639   return jresult;
20640 }
20641 
20642 
20643 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1my_1ent_1id_1cstr(JNIEnv *jenv, jclass jcls, jlong jarg1) {
20644   jstring jresult = 0 ;
20645   zxid_conf *arg1 = (zxid_conf *) 0 ;
20646   char *result = 0 ;
20647 
20648   (void)jenv;
20649   (void)jcls;
20650   arg1 = *(zxid_conf **)&jarg1;
20651   result = (char *)zxid_my_ent_id_cstr(arg1);
20652   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
20653   return jresult;
20654 }
20655 
20656 
20657 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1my_1ent_1id_1attr(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3) {
20658   jlong jresult = 0 ;
20659   zxid_conf *arg1 = (zxid_conf *) 0 ;
20660   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
20661   int arg3 ;
20662   struct zx_attr_s *result = 0 ;
20663 
20664   (void)jenv;
20665   (void)jcls;
20666   arg1 = *(zxid_conf **)&jarg1;
20667   arg2 = *(struct zx_elem_s **)&jarg2;
20668   arg3 = (int)jarg3;
20669   result = (struct zx_attr_s *)zxid_my_ent_id_attr(arg1,arg2,arg3);
20670   *(struct zx_attr_s **)&jresult = result;
20671   return jresult;
20672 }
20673 
20674 
20675 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1my_1cdc_1url(JNIEnv *jenv, jclass jcls, jlong jarg1) {
20676   jstring jresult = 0 ;
20677   zxid_conf *arg1 = (zxid_conf *) 0 ;
20678   struct zx_str *result = 0 ;
20679 
20680   (void)jenv;
20681   (void)jcls;
20682   arg1 = *(zxid_conf **)&jarg1;
20683   result = (struct zx_str *)zxid_my_cdc_url(arg1);
20684   {
20685     // Unfortunately Java does not provide NewStringUTF() that would explicitly
20686     // take length field - they insist on nul termination instead. Sigh.
20687     if (result && result->s) {
20688       char* tmp = malloc(result->len + 1);
20689       if (!tmp) {
20690         ERR("Out of memory len=%d", result->len); return 0;
20691       }
20692       memcpy(tmp, result->s, result->len);
20693       tmp[result->len] = 0;
20694       jresult = (*jenv)->NewStringUTF(jenv, tmp);
20695       free(tmp);
20696       // Do not free underlying zx_str because they are usually returned by reference.
20697     } else {
20698       jresult = 0;
20699     }
20700   }
20701   return jresult;
20702 }
20703 
20704 
20705 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1my_1issuer(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
20706   jlong jresult = 0 ;
20707   zxid_conf *arg1 = (zxid_conf *) 0 ;
20708   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
20709   struct zx_sa_Issuer_s *result = 0 ;
20710 
20711   (void)jenv;
20712   (void)jcls;
20713   arg1 = *(zxid_conf **)&jarg1;
20714   arg2 = *(struct zx_elem_s **)&jarg2;
20715   result = (struct zx_sa_Issuer_s *)zxid_my_issuer(arg1,arg2);
20716   *(struct zx_sa_Issuer_s **)&jresult = result;
20717   return jresult;
20718 }
20719 
20720 
20721 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1issuer(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4) {
20722   jlong jresult = 0 ;
20723   zxid_conf *arg1 = (zxid_conf *) 0 ;
20724   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
20725   struct zx_str *arg3 = (struct zx_str *) 0 ;
20726   char *arg4 = (char *) 0 ;
20727   struct zx_sa_Issuer_s *result = 0 ;
20728 
20729   (void)jenv;
20730   (void)jcls;
20731   arg1 = *(zxid_conf **)&jarg1;
20732   arg2 = *(struct zx_elem_s **)&jarg2;
20733   arg3 = *(struct zx_str **)&jarg3;
20734   arg4 = 0;
20735   if (jarg4) {
20736     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
20737     if (!arg4) return 0;
20738   }
20739   result = (struct zx_sa_Issuer_s *)zxid_issuer(arg1,arg2,arg3,arg4);
20740   *(struct zx_sa_Issuer_s **)&jresult = result;
20741   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
20742   return jresult;
20743 }
20744 
20745 
20746 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1set_1opt(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jint jarg3) {
20747   jint jresult = 0 ;
20748   zxid_conf *arg1 = (zxid_conf *) 0 ;
20749   int arg2 ;
20750   int arg3 ;
20751   int result;
20752 
20753   (void)jenv;
20754   (void)jcls;
20755   arg1 = *(zxid_conf **)&jarg1;
20756   arg2 = (int)jarg2;
20757   arg3 = (int)jarg3;
20758   result = (int)zxid_set_opt(arg1,arg2,arg3);
20759   jresult = (jint)result;
20760   return jresult;
20761 }
20762 
20763 
20764 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1set_1opt_1cstr(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3) {
20765   jstring jresult = 0 ;
20766   zxid_conf *arg1 = (zxid_conf *) 0 ;
20767   int arg2 ;
20768   char *arg3 = (char *) 0 ;
20769   char *result = 0 ;
20770 
20771   (void)jenv;
20772   (void)jcls;
20773   arg1 = *(zxid_conf **)&jarg1;
20774   arg2 = (int)jarg2;
20775   arg3 = 0;
20776   if (jarg3) {
20777     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
20778     if (!arg3) return 0;
20779   }
20780   result = (char *)zxid_set_opt_cstr(arg1,arg2,arg3);
20781   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
20782   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
20783   return jresult;
20784 }
20785 
20786 
20787 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1url_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
20788   zxid_conf *arg1 = (zxid_conf *) 0 ;
20789   char *arg2 = (char *) 0 ;
20790 
20791   (void)jenv;
20792   (void)jcls;
20793   arg1 = *(zxid_conf **)&jarg1;
20794   arg2 = 0;
20795   if (jarg2) {
20796     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
20797     if (!arg2) return ;
20798   }
20799   zxid_url_set(arg1,arg2);
20800   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
20801 }
20802 
20803 
20804 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1init_1conf(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
20805   jint jresult = 0 ;
20806   zxid_conf *arg1 = (zxid_conf *) 0 ;
20807   char *arg2 = (char *) 0 ;
20808   int result;
20809 
20810   (void)jenv;
20811   (void)jcls;
20812   arg1 = *(zxid_conf **)&jarg1;
20813   arg2 = 0;
20814   if (jarg2) {
20815     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
20816     if (!arg2) return 0;
20817   }
20818   result = (int)zxid_init_conf(arg1,arg2);
20819   jresult = (jint)result;
20820   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
20821   return jresult;
20822 }
20823 
20824 
20825 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1free_1conf(JNIEnv *jenv, jclass jcls, jlong jarg1) {
20826   zxid_conf *arg1 = (zxid_conf *) 0 ;
20827 
20828   (void)jenv;
20829   (void)jcls;
20830   arg1 = *(zxid_conf **)&jarg1;
20831   zxid_free_conf(arg1);
20832 }
20833 
20834 
20835 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1init_1conf_1ctx(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
20836   jlong jresult = 0 ;
20837   zxid_conf *arg1 = (zxid_conf *) 0 ;
20838   char *arg2 = (char *) 0 ;
20839   zxid_conf *result = 0 ;
20840 
20841   (void)jenv;
20842   (void)jcls;
20843   arg1 = *(zxid_conf **)&jarg1;
20844   arg2 = 0;
20845   if (jarg2) {
20846     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
20847     if (!arg2) return 0;
20848   }
20849   result = (zxid_conf *)zxid_init_conf_ctx(arg1,arg2);
20850   *(zxid_conf **)&jresult = result;
20851   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
20852   return jresult;
20853 }
20854 
20855 
20856 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1new_1conf(JNIEnv *jenv, jclass jcls, jstring jarg1) {
20857   jlong jresult = 0 ;
20858   char *arg1 = (char *) 0 ;
20859   zxid_conf *result = 0 ;
20860 
20861   (void)jenv;
20862   (void)jcls;
20863   arg1 = 0;
20864   if (jarg1) {
20865     arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
20866     if (!arg1) return 0;
20867   }
20868   result = (zxid_conf *)zxid_new_conf(arg1);
20869   *(zxid_conf **)&jresult = result;
20870   if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, ( char *)arg1);
20871   return jresult;
20872 }
20873 
20874 
20875 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1parse_1conf_1raw(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3) {
20876   jint jresult = 0 ;
20877   zxid_conf *arg1 = (zxid_conf *) 0 ;
20878   int arg2 ;
20879   char *arg3 = (char *) 0 ;
20880   int result;
20881 
20882   (void)jenv;
20883   (void)jcls;
20884   arg1 = *(zxid_conf **)&jarg1;
20885   arg2 = (int)jarg2;
20886   arg3 = 0;
20887   if (jarg3) {
20888     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
20889     if (!arg3) return 0;
20890   }
20891   result = (int)zxid_parse_conf_raw(arg1,arg2,arg3);
20892   jresult = (jint)result;
20893   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
20894   return jresult;
20895 }
20896 
20897 
20898 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1parse_1conf(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
20899   jint jresult = 0 ;
20900   zxid_conf *arg1 = (zxid_conf *) 0 ;
20901   char *arg2 = (char *) 0 ;
20902   int result;
20903 
20904   (void)jenv;
20905   (void)jcls;
20906   arg1 = *(zxid_conf **)&jarg1;
20907   arg2 = 0;
20908   if (jarg2) {
20909     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
20910     if (!arg2) return 0;
20911   }
20912   result = (int)zxid_parse_conf(arg1,arg2);
20913   jresult = (jint)result;
20914   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
20915   return jresult;
20916 }
20917 
20918 
20919 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1self_1sig_1cert(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3, jstring jarg4, jstring jarg5) {
20920   jint jresult = 0 ;
20921   zxid_conf *arg1 = (zxid_conf *) 0 ;
20922   int arg2 ;
20923   char *arg3 = (char *) 0 ;
20924   char *arg4 = (char *) 0 ;
20925   char *arg5 = (char *) 0 ;
20926   int result;
20927 
20928   (void)jenv;
20929   (void)jcls;
20930   arg1 = *(zxid_conf **)&jarg1;
20931   arg2 = (int)jarg2;
20932   arg3 = 0;
20933   if (jarg3) {
20934     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
20935     if (!arg3) return 0;
20936   }
20937   arg4 = 0;
20938   if (jarg4) {
20939     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
20940     if (!arg4) return 0;
20941   }
20942   arg5 = 0;
20943   if (jarg5) {
20944     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
20945     if (!arg5) return 0;
20946   }
20947   result = (int)zxid_mk_self_sig_cert(arg1,arg2,arg3,arg4,arg5);
20948   jresult = (jint)result;
20949   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
20950   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
20951   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
20952   return jresult;
20953 }
20954 
20955 
20956 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1at_1cert(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3, jstring jarg4, jlong jarg5, jstring jarg6, jstring jarg7) {
20957   jint jresult = 0 ;
20958   zxid_conf *arg1 = (zxid_conf *) 0 ;
20959   int arg2 ;
20960   char *arg3 = (char *) 0 ;
20961   char *arg4 = (char *) 0 ;
20962   zxid_nid *arg5 = (zxid_nid *) 0 ;
20963   char *arg6 = (char *) 0 ;
20964   struct zx_str *arg7 = (struct zx_str *) 0 ;
20965   int result;
20966 
20967   (void)jenv;
20968   (void)jcls;
20969   arg1 = *(zxid_conf **)&jarg1;
20970   arg2 = (int)jarg2;
20971   arg3 = 0;
20972   if (jarg3) {
20973     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
20974     if (!arg3) return 0;
20975   }
20976   arg4 = 0;
20977   if (jarg4) {
20978     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
20979     if (!arg4) return 0;
20980   }
20981   arg5 = *(zxid_nid **)&jarg5;
20982   arg6 = 0;
20983   if (jarg6) {
20984     arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
20985     if (!arg6) return 0;
20986   }
20987   arg7 = *(struct zx_str **)&jarg7;
20988   result = (int)zxid_mk_at_cert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
20989   jresult = (jint)result;
20990   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
20991   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
20992   if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, ( char *)arg6);
20993   return jresult;
20994 }
20995 
20996 
20997 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1show_1conf(JNIEnv *jenv, jclass jcls, jlong jarg1) {
20998   jstring jresult = 0 ;
20999   zxid_conf *arg1 = (zxid_conf *) 0 ;
21000   struct zx_str *result = 0 ;
21001 
21002   (void)jenv;
21003   (void)jcls;
21004   arg1 = *(zxid_conf **)&jarg1;
21005   result = (struct zx_str *)zxid_show_conf(arg1);
21006   {
21007     // Unfortunately Java does not provide NewStringUTF() that would explicitly
21008     // take length field - they insist on nul termination instead. Sigh.
21009     if (result && result->s) {
21010       char* tmp = malloc(result->len + 1);
21011       if (!tmp) {
21012         ERR("Out of memory len=%d", result->len); return 0;
21013       }
21014       memcpy(tmp, result->s, result->len);
21015       tmp[result->len] = 0;
21016       jresult = (*jenv)->NewStringUTF(jenv, tmp);
21017       free(tmp);
21018       // Do not free underlying zx_str because they are usually returned by reference.
21019     } else {
21020       jresult = 0;
21021     }
21022   }
21023   return jresult;
21024 }
21025 
21026 
21027 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1parse_1cgi(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) {
21028   jint jresult = 0 ;
21029   zxid_conf *arg1 = (zxid_conf *) 0 ;
21030   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
21031   char *arg3 = (char *) 0 ;
21032   int result;
21033 
21034   (void)jenv;
21035   (void)jcls;
21036   arg1 = *(zxid_conf **)&jarg1;
21037   arg2 = *(zxid_cgi **)&jarg2;
21038   arg3 = 0;
21039   if (jarg3) {
21040     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
21041     if (!arg3) return 0;
21042   }
21043   result = (int)zxid_parse_cgi(arg1,arg2,arg3);
21044   jresult = (jint)result;
21045   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
21046   return jresult;
21047 }
21048 
21049 
21050 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1new_1cgi(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
21051   jlong jresult = 0 ;
21052   zxid_conf *arg1 = (zxid_conf *) 0 ;
21053   char *arg2 = (char *) 0 ;
21054   zxid_cgi *result = 0 ;
21055 
21056   (void)jenv;
21057   (void)jcls;
21058   arg1 = *(zxid_conf **)&jarg1;
21059   arg2 = 0;
21060   if (jarg2) {
21061     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
21062     if (!arg2) return 0;
21063   }
21064   result = (zxid_cgi *)zxid_new_cgi(arg1,arg2);
21065   *(zxid_cgi **)&jresult = result;
21066   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
21067   return jresult;
21068 }
21069 
21070 
21071 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1sid_1from_1cookie(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) {
21072   zxid_conf *arg1 = (zxid_conf *) 0 ;
21073   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
21074   char *arg3 = (char *) 0 ;
21075 
21076   (void)jenv;
21077   (void)jcls;
21078   arg1 = *(zxid_conf **)&jarg1;
21079   arg2 = *(zxid_cgi **)&jarg2;
21080   arg3 = 0;
21081   if (jarg3) {
21082     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
21083     if (!arg3) return ;
21084   }
21085   zxid_get_sid_from_cookie(arg1,arg2,arg3);
21086   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
21087 }
21088 
21089 
21090 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1alloc_1ses(JNIEnv *jenv, jclass jcls, jlong jarg1) {
21091   jlong jresult = 0 ;
21092   zxid_conf *arg1 = (zxid_conf *) 0 ;
21093   zxid_ses *result = 0 ;
21094 
21095   (void)jenv;
21096   (void)jcls;
21097   arg1 = *(zxid_conf **)&jarg1;
21098   result = (zxid_ses *)zxid_alloc_ses(arg1);
21099   *(zxid_ses **)&jresult = result;
21100   return jresult;
21101 }
21102 
21103 
21104 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1fetch_1ses(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
21105   jlong jresult = 0 ;
21106   zxid_conf *arg1 = (zxid_conf *) 0 ;
21107   char *arg2 = (char *) 0 ;
21108   zxid_ses *result = 0 ;
21109 
21110   (void)jenv;
21111   (void)jcls;
21112   arg1 = *(zxid_conf **)&jarg1;
21113   arg2 = 0;
21114   if (jarg2) {
21115     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
21116     if (!arg2) return 0;
21117   }
21118   result = (zxid_ses *)zxid_fetch_ses(arg1,arg2);
21119   *(zxid_ses **)&jresult = result;
21120   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
21121   return jresult;
21122 }
21123 
21124 
21125 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1ses(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) {
21126   jint jresult = 0 ;
21127   zxid_conf *arg1 = (zxid_conf *) 0 ;
21128   zxid_ses *arg2 = (zxid_ses *) 0 ;
21129   char *arg3 = (char *) 0 ;
21130   int result;
21131 
21132   (void)jenv;
21133   (void)jcls;
21134   arg1 = *(zxid_conf **)&jarg1;
21135   arg2 = *(zxid_ses **)&jarg2;
21136   arg3 = 0;
21137   if (jarg3) {
21138     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
21139     if (!arg3) return 0;
21140   }
21141   result = (int)zxid_get_ses(arg1,arg2,arg3);
21142   jresult = (jint)result;
21143   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
21144   return jresult;
21145 }
21146 
21147 
21148 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1put_1ses(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
21149   jint jresult = 0 ;
21150   zxid_conf *arg1 = (zxid_conf *) 0 ;
21151   zxid_ses *arg2 = (zxid_ses *) 0 ;
21152   int result;
21153 
21154   (void)jenv;
21155   (void)jcls;
21156   arg1 = *(zxid_conf **)&jarg1;
21157   arg2 = *(zxid_ses **)&jarg2;
21158   result = (int)zxid_put_ses(arg1,arg2);
21159   jresult = (jint)result;
21160   return jresult;
21161 }
21162 
21163 
21164 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1del_1ses(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
21165   jint jresult = 0 ;
21166   zxid_conf *arg1 = (zxid_conf *) 0 ;
21167   zxid_ses *arg2 = (zxid_ses *) 0 ;
21168   int result;
21169 
21170   (void)jenv;
21171   (void)jcls;
21172   arg1 = *(zxid_conf **)&jarg1;
21173   arg2 = *(zxid_ses **)&jarg2;
21174   result = (int)zxid_del_ses(arg1,arg2);
21175   jresult = (jint)result;
21176   return jresult;
21177 }
21178 
21179 
21180 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1ses_1sso_1a7n(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
21181   jint jresult = 0 ;
21182   zxid_conf *arg1 = (zxid_conf *) 0 ;
21183   zxid_ses *arg2 = (zxid_ses *) 0 ;
21184   int result;
21185 
21186   (void)jenv;
21187   (void)jcls;
21188   arg1 = *(zxid_conf **)&jarg1;
21189   arg2 = *(zxid_ses **)&jarg2;
21190   result = (int)zxid_get_ses_sso_a7n(arg1,arg2);
21191   jresult = (jint)result;
21192   return jresult;
21193 }
21194 
21195 
21196 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1ses_1idp(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
21197   jlong jresult = 0 ;
21198   zxid_conf *arg1 = (zxid_conf *) 0 ;
21199   zxid_ses *arg2 = (zxid_ses *) 0 ;
21200   zxid_entity *result = 0 ;
21201 
21202   (void)jenv;
21203   (void)jcls;
21204   arg1 = *(zxid_conf **)&jarg1;
21205   arg2 = *(zxid_ses **)&jarg2;
21206   result = (zxid_entity *)zxid_get_ses_idp(arg1,arg2);
21207   *(zxid_entity **)&jresult = result;
21208   return jresult;
21209 }
21210 
21211 
21212 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1find_1ses(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4) {
21213   jint jresult = 0 ;
21214   zxid_conf *arg1 = (zxid_conf *) 0 ;
21215   zxid_ses *arg2 = (zxid_ses *) 0 ;
21216   struct zx_str *arg3 = (struct zx_str *) 0 ;
21217   struct zx_str *arg4 = (struct zx_str *) 0 ;
21218   int result;
21219 
21220   (void)jenv;
21221   (void)jcls;
21222   arg1 = *(zxid_conf **)&jarg1;
21223   arg2 = *(zxid_ses **)&jarg2;
21224   arg3 = *(struct zx_str **)&jarg3;
21225   arg4 = *(struct zx_str **)&jarg4;
21226   result = (int)zxid_find_ses(arg1,arg2,arg3,arg4);
21227   jresult = (jint)result;
21228   return jresult;
21229 }
21230 
21231 
21232 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1to_1ldif(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
21233   jstring jresult = 0 ;
21234   zxid_conf *arg1 = (zxid_conf *) 0 ;
21235   zxid_ses *arg2 = (zxid_ses *) 0 ;
21236   struct zx_str *result = 0 ;
21237 
21238   (void)jenv;
21239   (void)jcls;
21240   arg1 = *(zxid_conf **)&jarg1;
21241   arg2 = *(zxid_ses **)&jarg2;
21242   result = (struct zx_str *)zxid_ses_to_ldif(arg1,arg2);
21243   {
21244     // Unfortunately Java does not provide NewStringUTF() that would explicitly
21245     // take length field - they insist on nul termination instead. Sigh.
21246     if (result && result->s) {
21247       char* tmp = malloc(result->len + 1);
21248       if (!tmp) {
21249         ERR("Out of memory len=%d", result->len); return 0;
21250       }
21251       memcpy(tmp, result->s, result->len);
21252       tmp[result->len] = 0;
21253       jresult = (*jenv)->NewStringUTF(jenv, tmp);
21254       free(tmp);
21255       // Do not free underlying zx_str because they are usually returned by reference.
21256     } else {
21257       jresult = 0;
21258     }
21259   }
21260   return jresult;
21261 }
21262 
21263 
21264 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1to_1json(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
21265   jstring jresult = 0 ;
21266   zxid_conf *arg1 = (zxid_conf *) 0 ;
21267   zxid_ses *arg2 = (zxid_ses *) 0 ;
21268   struct zx_str *result = 0 ;
21269 
21270   (void)jenv;
21271   (void)jcls;
21272   arg1 = *(zxid_conf **)&jarg1;
21273   arg2 = *(zxid_ses **)&jarg2;
21274   result = (struct zx_str *)zxid_ses_to_json(arg1,arg2);
21275   {
21276     // Unfortunately Java does not provide NewStringUTF() that would explicitly
21277     // take length field - they insist on nul termination instead. Sigh.
21278     if (result && result->s) {
21279       char* tmp = malloc(result->len + 1);
21280       if (!tmp) {
21281         ERR("Out of memory len=%d", result->len); return 0;
21282       }
21283       memcpy(tmp, result->s, result->len);
21284       tmp[result->len] = 0;
21285       jresult = (*jenv)->NewStringUTF(jenv, tmp);
21286       free(tmp);
21287       // Do not free underlying zx_str because they are usually returned by reference.
21288     } else {
21289       jresult = 0;
21290     }
21291   }
21292   return jresult;
21293 }
21294 
21295 
21296 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1to_1qs(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
21297   jstring jresult = 0 ;
21298   zxid_conf *arg1 = (zxid_conf *) 0 ;
21299   zxid_ses *arg2 = (zxid_ses *) 0 ;
21300   struct zx_str *result = 0 ;
21301 
21302   (void)jenv;
21303   (void)jcls;
21304   arg1 = *(zxid_conf **)&jarg1;
21305   arg2 = *(zxid_ses **)&jarg2;
21306   result = (struct zx_str *)zxid_ses_to_qs(arg1,arg2);
21307   {
21308     // Unfortunately Java does not provide NewStringUTF() that would explicitly
21309     // take length field - they insist on nul termination instead. Sigh.
21310     if (result && result->s) {
21311       char* tmp = malloc(result->len + 1);
21312       if (!tmp) {
21313         ERR("Out of memory len=%d", result->len); return 0;
21314       }
21315       memcpy(tmp, result->s, result->len);
21316       tmp[result->len] = 0;
21317       jresult = (*jenv)->NewStringUTF(jenv, tmp);
21318       free(tmp);
21319       // Do not free underlying zx_str because they are usually returned by reference.
21320     } else {
21321       jresult = 0;
21322     }
21323   }
21324   return jresult;
21325 }
21326 
21327 
21328 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1ses_1to_1pool(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
21329   zxid_conf *arg1 = (zxid_conf *) 0 ;
21330   zxid_ses *arg2 = (zxid_ses *) 0 ;
21331 
21332   (void)jenv;
21333   (void)jcls;
21334   arg1 = *(zxid_conf **)&jarg1;
21335   arg2 = *(zxid_ses **)&jarg2;
21336   zxid_ses_to_pool(arg1,arg2);
21337 }
21338 
21339 
21340 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1add_1attr_1to_1ses(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4) {
21341   zxid_conf *arg1 = (zxid_conf *) 0 ;
21342   zxid_ses *arg2 = (zxid_ses *) 0 ;
21343   char *arg3 = (char *) 0 ;
21344   struct zx_str *arg4 = (struct zx_str *) 0 ;
21345 
21346   (void)jenv;
21347   (void)jcls;
21348   arg1 = *(zxid_conf **)&jarg1;
21349   arg2 = *(zxid_ses **)&jarg2;
21350   arg3 = 0;
21351   if (jarg3) {
21352     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
21353     if (!arg3) return ;
21354   }
21355   arg4 = *(struct zx_str **)&jarg4;
21356   zxid_add_attr_to_ses(arg1,arg2,arg3,arg4);
21357   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
21358 }
21359 
21360 
21361 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1add_1qs2ses(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jint jarg4) {
21362   jint jresult = 0 ;
21363   zxid_conf *arg1 = (zxid_conf *) 0 ;
21364   zxid_ses *arg2 = (zxid_ses *) 0 ;
21365   char *arg3 = (char *) 0 ;
21366   int arg4 ;
21367   int result;
21368 
21369   (void)jenv;
21370   (void)jcls;
21371   arg1 = *(zxid_conf **)&jarg1;
21372   arg2 = *(zxid_ses **)&jarg2;
21373   arg3 = 0;
21374   if (jarg3) {
21375     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
21376     if (!arg3) return 0;
21377   }
21378   arg4 = (int)jarg4;
21379   result = (int)zxid_add_qs2ses(arg1,arg2,arg3,arg4);
21380   jresult = (jint)result;
21381   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
21382   return jresult;
21383 }
21384 
21385 
21386 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1user_1sha1_1name(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jstring jarg4) {
21387   zxid_conf *arg1 = (zxid_conf *) 0 ;
21388   struct zx_str *arg2 = (struct zx_str *) 0 ;
21389   struct zx_str *arg3 = (struct zx_str *) 0 ;
21390   char *arg4 = (char *) 0 ;
21391 
21392   (void)jenv;
21393   (void)jcls;
21394   arg1 = *(zxid_conf **)&jarg1;
21395   arg2 = *(struct zx_str **)&jarg2;
21396   arg3 = *(struct zx_str **)&jarg3;
21397   arg4 = 0;
21398   if (jarg4) {
21399     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
21400     if (!arg4) return ;
21401   }
21402   zxid_user_sha1_name(arg1,arg2,arg3,arg4);
21403   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
21404 }
21405 
21406 
21407 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1put_1user(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jstring jarg4, jstring jarg5, jstring jarg6) {
21408   jint jresult = 0 ;
21409   zxid_conf *arg1 = (zxid_conf *) 0 ;
21410   struct zx_str *arg2 = (struct zx_str *) 0 ;
21411   struct zx_str *arg3 = (struct zx_str *) 0 ;
21412   struct zx_str *arg4 = (struct zx_str *) 0 ;
21413   struct zx_str *arg5 = (struct zx_str *) 0 ;
21414   char *arg6 = (char *) 0 ;
21415   int result;
21416 
21417   (void)jenv;
21418   (void)jcls;
21419   arg1 = *(zxid_conf **)&jarg1;
21420   arg2 = *(struct zx_str **)&jarg2;
21421   arg3 = *(struct zx_str **)&jarg3;
21422   arg4 = *(struct zx_str **)&jarg4;
21423   arg5 = *(struct zx_str **)&jarg5;
21424   arg6 = 0;
21425   if (jarg6) {
21426     arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
21427     if (!arg6) return 0;
21428   }
21429   result = (int)zxid_put_user(arg1,arg2,arg3,arg4,arg5,arg6);
21430   jresult = (jint)result;
21431   if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, ( char *)arg6);
21432   return jresult;
21433 }
21434 
21435 
21436 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1user_1nameid(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
21437   jlong jresult = 0 ;
21438   zxid_conf *arg1 = (zxid_conf *) 0 ;
21439   zxid_nid *arg2 = (zxid_nid *) 0 ;
21440   zxid_nid *result = 0 ;
21441 
21442   (void)jenv;
21443   (void)jcls;
21444   arg1 = *(zxid_conf **)&jarg1;
21445   arg2 = *(zxid_nid **)&jarg2;
21446   result = (zxid_nid *)zxid_get_user_nameid(arg1,arg2);
21447   *(zxid_nid **)&jresult = result;
21448   return jresult;
21449 }
21450 
21451 
21452 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1user_1change_1nameid(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) {
21453   zxid_conf *arg1 = (zxid_conf *) 0 ;
21454   zxid_nid *arg2 = (zxid_nid *) 0 ;
21455   struct zx_str *arg3 = (struct zx_str *) 0 ;
21456 
21457   (void)jenv;
21458   (void)jcls;
21459   arg1 = *(zxid_conf **)&jarg1;
21460   arg2 = *(zxid_nid **)&jarg2;
21461   arg3 = *(struct zx_str **)&jarg3;
21462   zxid_user_change_nameid(arg1,arg2,arg3);
21463 }
21464 
21465 
21466 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1pw_1authn(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
21467   jint jresult = 0 ;
21468   zxid_conf *arg1 = (zxid_conf *) 0 ;
21469   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
21470   zxid_ses *arg3 = (zxid_ses *) 0 ;
21471   int result;
21472 
21473   (void)jenv;
21474   (void)jcls;
21475   arg1 = *(zxid_conf **)&jarg1;
21476   arg2 = *(zxid_cgi **)&jarg2;
21477   arg3 = *(zxid_ses **)&jarg3;
21478   result = (int)zxid_pw_authn(arg1,arg2,arg3);
21479   jresult = (jint)result;
21480   return jresult;
21481 }
21482 
21483 
21484 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1http_1cli(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3, jint jarg4, jstring jarg5, jstring jarg6, jstring jarg7, jint jarg8) {
21485   jstring jresult = 0 ;
21486   zxid_conf *arg1 = (zxid_conf *) 0 ;
21487   int arg2 ;
21488   char *arg3 = (char *) 0 ;
21489   int arg4 ;
21490   char *arg5 = (char *) 0 ;
21491   char *arg6 = (char *) 0 ;
21492   char *arg7 = (char *) 0 ;
21493   int arg8 ;
21494   struct zx_str *result = 0 ;
21495 
21496   (void)jenv;
21497   (void)jcls;
21498   arg1 = *(zxid_conf **)&jarg1;
21499   arg2 = (int)jarg2;
21500   arg3 = 0;
21501   if (jarg3) {
21502     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
21503     if (!arg3) return 0;
21504   }
21505   arg4 = (int)jarg4;
21506   arg5 = 0;
21507   if (jarg5) {
21508     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
21509     if (!arg5) return 0;
21510   }
21511   arg6 = 0;
21512   if (jarg6) {
21513     arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
21514     if (!arg6) return 0;
21515   }
21516   arg7 = 0;
21517   if (jarg7) {
21518     arg7 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg7, 0);
21519     if (!arg7) return 0;
21520   }
21521   arg8 = (int)jarg8;
21522   result = (struct zx_str *)zxid_http_cli(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
21523   {
21524     // Unfortunately Java does not provide NewStringUTF() that would explicitly
21525     // take length field - they insist on nul termination instead. Sigh.
21526     if (result && result->s) {
21527       char* tmp = malloc(result->len + 1);
21528       if (!tmp) {
21529         ERR("Out of memory len=%d", result->len); return 0;
21530       }
21531       memcpy(tmp, result->s, result->len);
21532       tmp[result->len] = 0;
21533       jresult = (*jenv)->NewStringUTF(jenv, tmp);
21534       free(tmp);
21535       // Do not free underlying zx_str because they are usually returned by reference.
21536     } else {
21537       jresult = 0;
21538     }
21539   }
21540   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
21541   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
21542   if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, ( char *)arg6);
21543   if (arg7) (*jenv)->ReleaseStringUTFChars(jenv, jarg7, ( char *)arg7);
21544   return jresult;
21545 }
21546 
21547 
21548 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1soap_1call_1raw(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3, jlong jarg4) {
21549   jlong jresult = 0 ;
21550   zxid_conf *arg1 = (zxid_conf *) 0 ;
21551   struct zx_str *arg2 = (struct zx_str *) 0 ;
21552   struct zx_e_Envelope_s *arg3 = (struct zx_e_Envelope_s *) 0 ;
21553   char **arg4 = (char **) 0 ;
21554   struct zx_root_s *result = 0 ;
21555 
21556   (void)jenv;
21557   (void)jcls;
21558   arg1 = *(zxid_conf **)&jarg1;
21559   arg2 = *(struct zx_str **)&jarg2;
21560   arg3 = *(struct zx_e_Envelope_s **)&jarg3;
21561   arg4 = *(char ***)&jarg4;
21562   result = (struct zx_root_s *)zxid_soap_call_raw(arg1,arg2,arg3,arg4);
21563   *(struct zx_root_s **)&jresult = result;
21564   return jresult;
21565 }
21566 
21567 
21568 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1soap_1call_1hdr_1body(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3, jlong jarg4) {
21569   jlong jresult = 0 ;
21570   zxid_conf *arg1 = (zxid_conf *) 0 ;
21571   struct zx_str *arg2 = (struct zx_str *) 0 ;
21572   struct zx_e_Header_s *arg3 = (struct zx_e_Header_s *) 0 ;
21573   struct zx_e_Body_s *arg4 = (struct zx_e_Body_s *) 0 ;
21574   struct zx_root_s *result = 0 ;
21575 
21576   (void)jenv;
21577   (void)jcls;
21578   arg1 = *(zxid_conf **)&jarg1;
21579   arg2 = *(struct zx_str **)&jarg2;
21580   arg3 = *(struct zx_e_Header_s **)&jarg3;
21581   arg4 = *(struct zx_e_Body_s **)&jarg4;
21582   result = (struct zx_root_s *)zxid_soap_call_hdr_body(arg1,arg2,arg3,arg4);
21583   *(struct zx_root_s **)&jresult = result;
21584   return jresult;
21585 }
21586 
21587 
21588 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1soap_1cgi_1resp_1body(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
21589   jint jresult = 0 ;
21590   zxid_conf *arg1 = (zxid_conf *) 0 ;
21591   zxid_ses *arg2 = (zxid_ses *) 0 ;
21592   struct zx_e_Body_s *arg3 = (struct zx_e_Body_s *) 0 ;
21593   int result;
21594 
21595   (void)jenv;
21596   (void)jcls;
21597   arg1 = *(zxid_conf **)&jarg1;
21598   arg2 = *(zxid_ses **)&jarg2;
21599   arg3 = *(struct zx_e_Body_s **)&jarg3;
21600   result = (int)zxid_soap_cgi_resp_body(arg1,arg2,arg3);
21601   jresult = (jint)result;
21602   return jresult;
21603 }
21604 
21605 
21606 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1last_1content_1type(JNIEnv *jenv, jclass jcls, jlong jarg1) {
21607   jstring jresult = 0 ;
21608   zxid_conf *arg1 = (zxid_conf *) 0 ;
21609   char *result = 0 ;
21610 
21611   (void)jenv;
21612   (void)jcls;
21613   arg1 = *(zxid_conf **)&jarg1;
21614   result = (char *)zxid_get_last_content_type(arg1);
21615   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
21616   return jresult;
21617 }
21618 
21619 
21620 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1version(JNIEnv *jenv, jclass jcls) {
21621   jint jresult = 0 ;
21622   int result;
21623 
21624   (void)jenv;
21625   (void)jcls;
21626   result = (int)zxid_version();
21627   jresult = (jint)result;
21628   return jresult;
21629 }
21630 
21631 
21632 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1version_1str(JNIEnv *jenv, jclass jcls) {
21633   jstring jresult = 0 ;
21634   char *result = 0 ;
21635 
21636   (void)jenv;
21637   (void)jcls;
21638   result = (char *)zxid_version_str();
21639   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
21640   return jresult;
21641 }
21642 
21643 
21644 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1easy_1enc_1elem_1opt(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
21645   jstring jresult = 0 ;
21646   zxid_conf *arg1 = (zxid_conf *) 0 ;
21647   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
21648   struct zx_str *result = 0 ;
21649 
21650   (void)jenv;
21651   (void)jcls;
21652   arg1 = *(zxid_conf **)&jarg1;
21653   arg2 = *(struct zx_elem_s **)&jarg2;
21654   result = (struct zx_str *)zx_easy_enc_elem_opt(arg1,arg2);
21655   {
21656     // Unfortunately Java does not provide NewStringUTF() that would explicitly
21657     // take length field - they insist on nul termination instead. Sigh.
21658     if (result && result->s) {
21659       char* tmp = malloc(result->len + 1);
21660       if (!tmp) {
21661         ERR("Out of memory len=%d", result->len); return 0;
21662       }
21663       memcpy(tmp, result->s, result->len);
21664       tmp[result->len] = 0;
21665       jresult = (*jenv)->NewStringUTF(jenv, tmp);
21666       free(tmp);
21667       // Do not free underlying zx_str because they are usually returned by reference.
21668     } else {
21669       jresult = 0;
21670     }
21671   }
21672   return jresult;
21673 }
21674 
21675 
21676 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1easy_1enc_1elem_1sig(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
21677   jstring jresult = 0 ;
21678   zxid_conf *arg1 = (zxid_conf *) 0 ;
21679   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
21680   struct zx_str *result = 0 ;
21681 
21682   (void)jenv;
21683   (void)jcls;
21684   arg1 = *(zxid_conf **)&jarg1;
21685   arg2 = *(struct zx_elem_s **)&jarg2;
21686   result = (struct zx_str *)zx_easy_enc_elem_sig(arg1,arg2);
21687   {
21688     // Unfortunately Java does not provide NewStringUTF() that would explicitly
21689     // take length field - they insist on nul termination instead. Sigh.
21690     if (result && result->s) {
21691       char* tmp = malloc(result->len + 1);
21692       if (!tmp) {
21693         ERR("Out of memory len=%d", result->len); return 0;
21694       }
21695       memcpy(tmp, result->s, result->len);
21696       tmp[result->len] = 0;
21697       jresult = (*jenv)->NewStringUTF(jenv, tmp);
21698       free(tmp);
21699       // Do not free underlying zx_str because they are usually returned by reference.
21700     } else {
21701       jresult = 0;
21702     }
21703   }
21704   return jresult;
21705 }
21706 
21707 
21708 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1date_1time(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
21709   jstring jresult = 0 ;
21710   zxid_conf *arg1 = (zxid_conf *) 0 ;
21711   time_t arg2 ;
21712   time_t *argp2 ;
21713   struct zx_str *result = 0 ;
21714 
21715   (void)jenv;
21716   (void)jcls;
21717   arg1 = *(zxid_conf **)&jarg1;
21718   argp2 = *(time_t **)&jarg2;
21719   if (!argp2) {
21720     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null time_t");
21721     return 0;
21722   }
21723   arg2 = *argp2;
21724   result = (struct zx_str *)zxid_date_time(arg1,arg2);
21725   {
21726     // Unfortunately Java does not provide NewStringUTF() that would explicitly
21727     // take length field - they insist on nul termination instead. Sigh.
21728     if (result && result->s) {
21729       char* tmp = malloc(result->len + 1);
21730       if (!tmp) {
21731         ERR("Out of memory len=%d", result->len); return 0;
21732       }
21733       memcpy(tmp, result->s, result->len);
21734       tmp[result->len] = 0;
21735       jresult = (*jenv)->NewStringUTF(jenv, tmp);
21736       free(tmp);
21737       // Do not free underlying zx_str because they are usually returned by reference.
21738     } else {
21739       jresult = 0;
21740     }
21741   }
21742   return jresult;
21743 }
21744 
21745 
21746 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1id(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jint jarg3) {
21747   jstring jresult = 0 ;
21748   zxid_conf *arg1 = (zxid_conf *) 0 ;
21749   char *arg2 = (char *) 0 ;
21750   int arg3 ;
21751   struct zx_str *result = 0 ;
21752 
21753   (void)jenv;
21754   (void)jcls;
21755   arg1 = *(zxid_conf **)&jarg1;
21756   arg2 = 0;
21757   if (jarg2) {
21758     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
21759     if (!arg2) return 0;
21760   }
21761   arg3 = (int)jarg3;
21762   result = (struct zx_str *)zxid_mk_id(arg1,arg2,arg3);
21763   {
21764     // Unfortunately Java does not provide NewStringUTF() that would explicitly
21765     // take length field - they insist on nul termination instead. Sigh.
21766     if (result && result->s) {
21767       char* tmp = malloc(result->len + 1);
21768       if (!tmp) {
21769         ERR("Out of memory len=%d", result->len); return 0;
21770       }
21771       memcpy(tmp, result->s, result->len);
21772       tmp[result->len] = 0;
21773       jresult = (*jenv)->NewStringUTF(jenv, tmp);
21774       free(tmp);
21775       // Do not free underlying zx_str because they are usually returned by reference.
21776     } else {
21777       jresult = 0;
21778     }
21779   }
21780   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
21781   return jresult;
21782 }
21783 
21784 
21785 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1date_1time_1attr(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jlong jarg4) {
21786   jlong jresult = 0 ;
21787   zxid_conf *arg1 = (zxid_conf *) 0 ;
21788   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
21789   int arg3 ;
21790   time_t arg4 ;
21791   time_t *argp4 ;
21792   struct zx_attr_s *result = 0 ;
21793 
21794   (void)jenv;
21795   (void)jcls;
21796   arg1 = *(zxid_conf **)&jarg1;
21797   arg2 = *(struct zx_elem_s **)&jarg2;
21798   arg3 = (int)jarg3;
21799   argp4 = *(time_t **)&jarg4;
21800   if (!argp4) {
21801     SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null time_t");
21802     return 0;
21803   }
21804   arg4 = *argp4;
21805   result = (struct zx_attr_s *)zxid_date_time_attr(arg1,arg2,arg3,arg4);
21806   *(struct zx_attr_s **)&jresult = result;
21807   return jresult;
21808 }
21809 
21810 
21811 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1id_1attr(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jstring jarg4, jint jarg5) {
21812   jlong jresult = 0 ;
21813   zxid_conf *arg1 = (zxid_conf *) 0 ;
21814   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
21815   int arg3 ;
21816   char *arg4 = (char *) 0 ;
21817   int arg5 ;
21818   struct zx_attr_s *result = 0 ;
21819 
21820   (void)jenv;
21821   (void)jcls;
21822   arg1 = *(zxid_conf **)&jarg1;
21823   arg2 = *(struct zx_elem_s **)&jarg2;
21824   arg3 = (int)jarg3;
21825   arg4 = 0;
21826   if (jarg4) {
21827     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
21828     if (!arg4) return 0;
21829   }
21830   arg5 = (int)jarg5;
21831   result = (struct zx_attr_s *)zxid_mk_id_attr(arg1,arg2,arg3,arg4,arg5);
21832   *(struct zx_attr_s **)&jresult = result;
21833   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
21834   return jresult;
21835 }
21836 
21837 
21838 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1saml2_1post_1enc(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jstring jarg4, jint jarg5, jstring jarg6) {
21839   jstring jresult = 0 ;
21840   zxid_conf *arg1 = (zxid_conf *) 0 ;
21841   char *arg2 = (char *) 0 ;
21842   struct zx_str *arg3 = (struct zx_str *) 0 ;
21843   char *arg4 = (char *) 0 ;
21844   int arg5 ;
21845   struct zx_str *arg6 = (struct zx_str *) 0 ;
21846   struct zx_str *result = 0 ;
21847 
21848   (void)jenv;
21849   (void)jcls;
21850   arg1 = *(zxid_conf **)&jarg1;
21851   arg2 = 0;
21852   if (jarg2) {
21853     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
21854     if (!arg2) return 0;
21855   }
21856   arg3 = *(struct zx_str **)&jarg3;
21857   arg4 = 0;
21858   if (jarg4) {
21859     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
21860     if (!arg4) return 0;
21861   }
21862   arg5 = (int)jarg5;
21863   arg6 = *(struct zx_str **)&jarg6;
21864   result = (struct zx_str *)zxid_saml2_post_enc(arg1,arg2,arg3,arg4,arg5,arg6);
21865   {
21866     // Unfortunately Java does not provide NewStringUTF() that would explicitly
21867     // take length field - they insist on nul termination instead. Sigh.
21868     if (result && result->s) {
21869       char* tmp = malloc(result->len + 1);
21870       if (!tmp) {
21871         ERR("Out of memory len=%d", result->len); return 0;
21872       }
21873       memcpy(tmp, result->s, result->len);
21874       tmp[result->len] = 0;
21875       jresult = (*jenv)->NewStringUTF(jenv, tmp);
21876       free(tmp);
21877       // Do not free underlying zx_str because they are usually returned by reference.
21878     } else {
21879       jresult = 0;
21880     }
21881   }
21882   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
21883   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
21884   return jresult;
21885 }
21886 
21887 
21888 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1saml2_1redir_1enc(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jstring jarg4) {
21889   jstring jresult = 0 ;
21890   zxid_conf *arg1 = (zxid_conf *) 0 ;
21891   char *arg2 = (char *) 0 ;
21892   struct zx_str *arg3 = (struct zx_str *) 0 ;
21893   char *arg4 = (char *) 0 ;
21894   struct zx_str *result = 0 ;
21895 
21896   (void)jenv;
21897   (void)jcls;
21898   arg1 = *(zxid_conf **)&jarg1;
21899   arg2 = 0;
21900   if (jarg2) {
21901     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
21902     if (!arg2) return 0;
21903   }
21904   arg3 = *(struct zx_str **)&jarg3;
21905   arg4 = 0;
21906   if (jarg4) {
21907     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
21908     if (!arg4) return 0;
21909   }
21910   result = (struct zx_str *)zxid_saml2_redir_enc(arg1,arg2,arg3,arg4);
21911   {
21912     // Unfortunately Java does not provide NewStringUTF() that would explicitly
21913     // take length field - they insist on nul termination instead. Sigh.
21914     if (result && result->s) {
21915       char* tmp = malloc(result->len + 1);
21916       if (!tmp) {
21917         ERR("Out of memory len=%d", result->len); return 0;
21918       }
21919       memcpy(tmp, result->s, result->len);
21920       tmp[result->len] = 0;
21921       jresult = (*jenv)->NewStringUTF(jenv, tmp);
21922       free(tmp);
21923       // Do not free underlying zx_str because they are usually returned by reference.
21924     } else {
21925       jresult = 0;
21926     }
21927   }
21928   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
21929   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
21930   return jresult;
21931 }
21932 
21933 
21934 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1saml2_1redir_1url(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jstring jarg4) {
21935   jstring jresult = 0 ;
21936   zxid_conf *arg1 = (zxid_conf *) 0 ;
21937   struct zx_str *arg2 = (struct zx_str *) 0 ;
21938   struct zx_str *arg3 = (struct zx_str *) 0 ;
21939   char *arg4 = (char *) 0 ;
21940   struct zx_str *result = 0 ;
21941 
21942   (void)jenv;
21943   (void)jcls;
21944   arg1 = *(zxid_conf **)&jarg1;
21945   arg2 = *(struct zx_str **)&jarg2;
21946   arg3 = *(struct zx_str **)&jarg3;
21947   arg4 = 0;
21948   if (jarg4) {
21949     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
21950     if (!arg4) return 0;
21951   }
21952   result = (struct zx_str *)zxid_saml2_redir_url(arg1,arg2,arg3,arg4);
21953   {
21954     // Unfortunately Java does not provide NewStringUTF() that would explicitly
21955     // take length field - they insist on nul termination instead. Sigh.
21956     if (result && result->s) {
21957       char* tmp = malloc(result->len + 1);
21958       if (!tmp) {
21959         ERR("Out of memory len=%d", result->len); return 0;
21960       }
21961       memcpy(tmp, result->s, result->len);
21962       tmp[result->len] = 0;
21963       jresult = (*jenv)->NewStringUTF(jenv, tmp);
21964       free(tmp);
21965       // Do not free underlying zx_str because they are usually returned by reference.
21966     } else {
21967       jresult = 0;
21968     }
21969   }
21970   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
21971   return jresult;
21972 }
21973 
21974 
21975 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1saml2_1redir(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jstring jarg4) {
21976   jstring jresult = 0 ;
21977   zxid_conf *arg1 = (zxid_conf *) 0 ;
21978   struct zx_str *arg2 = (struct zx_str *) 0 ;
21979   struct zx_str *arg3 = (struct zx_str *) 0 ;
21980   char *arg4 = (char *) 0 ;
21981   struct zx_str *result = 0 ;
21982 
21983   (void)jenv;
21984   (void)jcls;
21985   arg1 = *(zxid_conf **)&jarg1;
21986   arg2 = *(struct zx_str **)&jarg2;
21987   arg3 = *(struct zx_str **)&jarg3;
21988   arg4 = 0;
21989   if (jarg4) {
21990     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
21991     if (!arg4) return 0;
21992   }
21993   result = (struct zx_str *)zxid_saml2_redir(arg1,arg2,arg3,arg4);
21994   {
21995     // Unfortunately Java does not provide NewStringUTF() that would explicitly
21996     // take length field - they insist on nul termination instead. Sigh.
21997     if (result && result->s) {
21998       char* tmp = malloc(result->len + 1);
21999       if (!tmp) {
22000         ERR("Out of memory len=%d", result->len); return 0;
22001       }
22002       memcpy(tmp, result->s, result->len);
22003       tmp[result->len] = 0;
22004       jresult = (*jenv)->NewStringUTF(jenv, tmp);
22005       free(tmp);
22006       // Do not free underlying zx_str because they are usually returned by reference.
22007     } else {
22008       jresult = 0;
22009     }
22010   }
22011   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
22012   return jresult;
22013 }
22014 
22015 
22016 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1saml2_1resp_1redir(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jstring jarg4) {
22017   jstring jresult = 0 ;
22018   zxid_conf *arg1 = (zxid_conf *) 0 ;
22019   struct zx_str *arg2 = (struct zx_str *) 0 ;
22020   struct zx_str *arg3 = (struct zx_str *) 0 ;
22021   char *arg4 = (char *) 0 ;
22022   struct zx_str *result = 0 ;
22023 
22024   (void)jenv;
22025   (void)jcls;
22026   arg1 = *(zxid_conf **)&jarg1;
22027   arg2 = *(struct zx_str **)&jarg2;
22028   arg3 = *(struct zx_str **)&jarg3;
22029   arg4 = 0;
22030   if (jarg4) {
22031     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
22032     if (!arg4) return 0;
22033   }
22034   result = (struct zx_str *)zxid_saml2_resp_redir(arg1,arg2,arg3,arg4);
22035   {
22036     // Unfortunately Java does not provide NewStringUTF() that would explicitly
22037     // take length field - they insist on nul termination instead. Sigh.
22038     if (result && result->s) {
22039       char* tmp = malloc(result->len + 1);
22040       if (!tmp) {
22041         ERR("Out of memory len=%d", result->len); return 0;
22042       }
22043       memcpy(tmp, result->s, result->len);
22044       tmp[result->len] = 0;
22045       jresult = (*jenv)->NewStringUTF(jenv, tmp);
22046       free(tmp);
22047       // Do not free underlying zx_str because they are usually returned by reference.
22048     } else {
22049       jresult = 0;
22050     }
22051   }
22052   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
22053   return jresult;
22054 }
22055 
22056 
22057 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1saml_1ok(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jstring jarg4) {
22058   jint jresult = 0 ;
22059   zxid_conf *arg1 = (zxid_conf *) 0 ;
22060   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
22061   struct zx_sp_Status_s *arg3 = (struct zx_sp_Status_s *) 0 ;
22062   char *arg4 = (char *) 0 ;
22063   int result;
22064 
22065   (void)jenv;
22066   (void)jcls;
22067   arg1 = *(zxid_conf **)&jarg1;
22068   arg2 = *(zxid_cgi **)&jarg2;
22069   arg3 = *(struct zx_sp_Status_s **)&jarg3;
22070   arg4 = 0;
22071   if (jarg4) {
22072     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
22073     if (!arg4) return 0;
22074   }
22075   result = (int)zxid_saml_ok(arg1,arg2,arg3,arg4);
22076   jresult = (jint)result;
22077   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
22078   return jresult;
22079 }
22080 
22081 
22082 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1decrypt_1nameid(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
22083   jlong jresult = 0 ;
22084   zxid_conf *arg1 = (zxid_conf *) 0 ;
22085   zxid_nid *arg2 = (zxid_nid *) 0 ;
22086   struct zx_sa_EncryptedID_s *arg3 = (struct zx_sa_EncryptedID_s *) 0 ;
22087   zxid_nid *result = 0 ;
22088 
22089   (void)jenv;
22090   (void)jcls;
22091   arg1 = *(zxid_conf **)&jarg1;
22092   arg2 = *(zxid_nid **)&jarg2;
22093   arg3 = *(struct zx_sa_EncryptedID_s **)&jarg3;
22094   result = (zxid_nid *)zxid_decrypt_nameid(arg1,arg2,arg3);
22095   *(zxid_nid **)&jresult = result;
22096   return jresult;
22097 }
22098 
22099 
22100 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1decrypt_1newnym(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3) {
22101   jstring jresult = 0 ;
22102   zxid_conf *arg1 = (zxid_conf *) 0 ;
22103   struct zx_str *arg2 = (struct zx_str *) 0 ;
22104   struct zx_sp_NewEncryptedID_s *arg3 = (struct zx_sp_NewEncryptedID_s *) 0 ;
22105   struct zx_str *result = 0 ;
22106 
22107   (void)jenv;
22108   (void)jcls;
22109   arg1 = *(zxid_conf **)&jarg1;
22110   arg2 = *(struct zx_str **)&jarg2;
22111   arg3 = *(struct zx_sp_NewEncryptedID_s **)&jarg3;
22112   result = (struct zx_str *)zxid_decrypt_newnym(arg1,arg2,arg3);
22113   {
22114     // Unfortunately Java does not provide NewStringUTF() that would explicitly
22115     // take length field - they insist on nul termination instead. Sigh.
22116     if (result && result->s) {
22117       char* tmp = malloc(result->len + 1);
22118       if (!tmp) {
22119         ERR("Out of memory len=%d", result->len); return 0;
22120       }
22121       memcpy(tmp, result->s, result->len);
22122       tmp[result->len] = 0;
22123       jresult = (*jenv)->NewStringUTF(jenv, tmp);
22124       free(tmp);
22125       // Do not free underlying zx_str because they are usually returned by reference.
22126     } else {
22127       jresult = 0;
22128     }
22129   }
22130   return jresult;
22131 }
22132 
22133 
22134 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1extract_1body(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
22135   jstring jresult = 0 ;
22136   zxid_conf *arg1 = (zxid_conf *) 0 ;
22137   char *arg2 = (char *) 0 ;
22138   char *result = 0 ;
22139 
22140   (void)jenv;
22141   (void)jcls;
22142   arg1 = *(zxid_conf **)&jarg1;
22143   arg2 = 0;
22144   if (jarg2) {
22145     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
22146     if (!arg2) return 0;
22147   }
22148   result = (char *)zxid_extract_body(arg1,arg2);
22149   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
22150   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
22151   return jresult;
22152 }
22153 
22154 
22155 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1get_1symkey(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3) {
22156   jstring jresult = 0 ;
22157   zxid_conf *arg1 = (zxid_conf *) 0 ;
22158   char *arg2 = (char *) 0 ;
22159   char *arg3 = (char *) 0 ;
22160   char *result = 0 ;
22161 
22162   (void)jenv;
22163   (void)jcls;
22164   arg1 = *(zxid_conf **)&jarg1;
22165   arg2 = 0;
22166   if (jarg2) {
22167     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
22168     if (!arg2) return 0;
22169   }
22170   arg3 = 0;
22171   if (jarg3) {
22172     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
22173     if (!arg3) return 0;
22174   }
22175   result = (char *)zx_get_symkey(arg1,arg2,arg3);
22176   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
22177   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
22178   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
22179   return jresult;
22180 }
22181 
22182 
22183 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1idp_1soap(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jint jarg5, jlong jarg6) {
22184   jlong jresult = 0 ;
22185   zxid_conf *arg1 = (zxid_conf *) 0 ;
22186   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
22187   zxid_ses *arg3 = (zxid_ses *) 0 ;
22188   zxid_entity *arg4 = (zxid_entity *) 0 ;
22189   int arg5 ;
22190   struct zx_e_Body_s *arg6 = (struct zx_e_Body_s *) 0 ;
22191   struct zx_root_s *result = 0 ;
22192 
22193   (void)jenv;
22194   (void)jcls;
22195   arg1 = *(zxid_conf **)&jarg1;
22196   arg2 = *(zxid_cgi **)&jarg2;
22197   arg3 = *(zxid_ses **)&jarg3;
22198   arg4 = *(zxid_entity **)&jarg4;
22199   arg5 = (int)jarg5;
22200   arg6 = *(struct zx_e_Body_s **)&jarg6;
22201   result = (struct zx_root_s *)zxid_idp_soap(arg1,arg2,arg3,arg4,arg5,arg6);
22202   *(struct zx_root_s **)&jresult = result;
22203   return jresult;
22204 }
22205 
22206 
22207 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1soap(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jint jarg5, jlong jarg6) {
22208   jlong jresult = 0 ;
22209   zxid_conf *arg1 = (zxid_conf *) 0 ;
22210   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
22211   zxid_ses *arg3 = (zxid_ses *) 0 ;
22212   zxid_entity *arg4 = (zxid_entity *) 0 ;
22213   int arg5 ;
22214   struct zx_e_Body_s *arg6 = (struct zx_e_Body_s *) 0 ;
22215   struct zx_root_s *result = 0 ;
22216 
22217   (void)jenv;
22218   (void)jcls;
22219   arg1 = *(zxid_conf **)&jarg1;
22220   arg2 = *(zxid_cgi **)&jarg2;
22221   arg3 = *(zxid_ses **)&jarg3;
22222   arg4 = *(zxid_entity **)&jarg4;
22223   arg5 = (int)jarg5;
22224   arg6 = *(struct zx_e_Body_s **)&jarg6;
22225   result = (struct zx_root_s *)zxid_sp_soap(arg1,arg2,arg3,arg4,arg5,arg6);
22226   *(struct zx_root_s **)&jresult = result;
22227   return jresult;
22228 }
22229 
22230 
22231 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1extract_1issuer(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4) {
22232   jlong jresult = 0 ;
22233   zxid_conf *arg1 = (zxid_conf *) 0 ;
22234   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
22235   zxid_ses *arg3 = (zxid_ses *) 0 ;
22236   struct zx_root_s *arg4 = (struct zx_root_s *) 0 ;
22237   struct zx_sa_Issuer_s *result = 0 ;
22238 
22239   (void)jenv;
22240   (void)jcls;
22241   arg1 = *(zxid_conf **)&jarg1;
22242   arg2 = *(zxid_cgi **)&jarg2;
22243   arg3 = *(zxid_ses **)&jarg3;
22244   arg4 = *(struct zx_root_s **)&jarg4;
22245   result = (struct zx_sa_Issuer_s *)zxid_extract_issuer(arg1,arg2,arg3,arg4);
22246   *(struct zx_sa_Issuer_s **)&jresult = result;
22247   return jresult;
22248 }
22249 
22250 
22251 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1decode_1redir_1or_1post(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jint jarg4) {
22252   jlong jresult = 0 ;
22253   zxid_conf *arg1 = (zxid_conf *) 0 ;
22254   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
22255   zxid_ses *arg3 = (zxid_ses *) 0 ;
22256   int arg4 ;
22257   struct zx_root_s *result = 0 ;
22258 
22259   (void)jenv;
22260   (void)jcls;
22261   arg1 = *(zxid_conf **)&jarg1;
22262   arg2 = *(zxid_cgi **)&jarg2;
22263   arg3 = *(zxid_ses **)&jarg3;
22264   arg4 = (int)jarg4;
22265   result = (struct zx_root_s *)zxid_decode_redir_or_post(arg1,arg2,arg3,arg4);
22266   *(struct zx_root_s **)&jresult = result;
22267   return jresult;
22268 }
22269 
22270 
22271 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1dec_1a7n(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
22272   jlong jresult = 0 ;
22273   zxid_conf *arg1 = (zxid_conf *) 0 ;
22274   zxid_a7n *arg2 = (zxid_a7n *) 0 ;
22275   struct zx_sa_EncryptedAssertion_s *arg3 = (struct zx_sa_EncryptedAssertion_s *) 0 ;
22276   zxid_a7n *result = 0 ;
22277 
22278   (void)jenv;
22279   (void)jcls;
22280   arg1 = *(zxid_conf **)&jarg1;
22281   arg2 = *(zxid_a7n **)&jarg2;
22282   arg3 = *(struct zx_sa_EncryptedAssertion_s **)&jarg3;
22283   result = (zxid_a7n *)zxid_dec_a7n(arg1,arg2,arg3);
22284   *(zxid_a7n **)&jresult = result;
22285   return jresult;
22286 }
22287 
22288 
22289 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1deref_1art(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
22290   jint jresult = 0 ;
22291   zxid_conf *arg1 = (zxid_conf *) 0 ;
22292   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
22293   zxid_ses *arg3 = (zxid_ses *) 0 ;
22294   int result;
22295 
22296   (void)jenv;
22297   (void)jcls;
22298   arg1 = *(zxid_conf **)&jarg1;
22299   arg2 = *(zxid_cgi **)&jarg2;
22300   arg3 = *(zxid_ses **)&jarg3;
22301   result = (int)zxid_sp_deref_art(arg1,arg2,arg3);
22302   jresult = (jint)result;
22303   return jresult;
22304 }
22305 
22306 
22307 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1as_1call_1ses(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4) {
22308   jint jresult = 0 ;
22309   zxid_conf *arg1 = (zxid_conf *) 0 ;
22310   zxid_entity *arg2 = (zxid_entity *) 0 ;
22311   zxid_cgi *arg3 = (zxid_cgi *) 0 ;
22312   zxid_ses *arg4 = (zxid_ses *) 0 ;
22313   int result;
22314 
22315   (void)jenv;
22316   (void)jcls;
22317   arg1 = *(zxid_conf **)&jarg1;
22318   arg2 = *(zxid_entity **)&jarg2;
22319   arg3 = *(zxid_cgi **)&jarg3;
22320   arg4 = *(zxid_ses **)&jarg4;
22321   result = (int)zxid_as_call_ses(arg1,arg2,arg3,arg4);
22322   jresult = (jint)result;
22323   return jresult;
22324 }
22325 
22326 
22327 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1as_1call(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4) {
22328   jlong jresult = 0 ;
22329   zxid_conf *arg1 = (zxid_conf *) 0 ;
22330   zxid_entity *arg2 = (zxid_entity *) 0 ;
22331   char *arg3 = (char *) 0 ;
22332   char *arg4 = (char *) 0 ;
22333   zxid_ses *result = 0 ;
22334 
22335   (void)jenv;
22336   (void)jcls;
22337   arg1 = *(zxid_conf **)&jarg1;
22338   arg2 = *(zxid_entity **)&jarg2;
22339   arg3 = 0;
22340   if (jarg3) {
22341     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
22342     if (!arg3) return 0;
22343   }
22344   arg4 = 0;
22345   if (jarg4) {
22346     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
22347     if (!arg4) return 0;
22348   }
22349   result = (zxid_ses *)zxid_as_call(arg1,arg2,arg3,arg4);
22350   *(zxid_ses **)&jresult = result;
22351   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
22352   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
22353   return jresult;
22354 }
22355 
22356 
22357 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1start_1sso_1url(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
22358   jstring jresult = 0 ;
22359   zxid_conf *arg1 = (zxid_conf *) 0 ;
22360   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
22361   struct zx_str *result = 0 ;
22362 
22363   (void)jenv;
22364   (void)jcls;
22365   arg1 = *(zxid_conf **)&jarg1;
22366   arg2 = *(zxid_cgi **)&jarg2;
22367   result = (struct zx_str *)zxid_start_sso_url(arg1,arg2);
22368   {
22369     // Unfortunately Java does not provide NewStringUTF() that would explicitly
22370     // take length field - they insist on nul termination instead. Sigh.
22371     if (result && result->s) {
22372       char* tmp = malloc(result->len + 1);
22373       if (!tmp) {
22374         ERR("Out of memory len=%d", result->len); return 0;
22375       }
22376       memcpy(tmp, result->s, result->len);
22377       tmp[result->len] = 0;
22378       jresult = (*jenv)->NewStringUTF(jenv, tmp);
22379       free(tmp);
22380       // Do not free underlying zx_str because they are usually returned by reference.
22381     } else {
22382       jresult = 0;
22383     }
22384   }
22385   return jresult;
22386 }
22387 
22388 
22389 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1slo_1soap(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
22390   jint jresult = 0 ;
22391   zxid_conf *arg1 = (zxid_conf *) 0 ;
22392   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
22393   zxid_ses *arg3 = (zxid_ses *) 0 ;
22394   int result;
22395 
22396   (void)jenv;
22397   (void)jcls;
22398   arg1 = *(zxid_conf **)&jarg1;
22399   arg2 = *(zxid_cgi **)&jarg2;
22400   arg3 = *(zxid_ses **)&jarg3;
22401   result = (int)zxid_sp_slo_soap(arg1,arg2,arg3);
22402   jresult = (jint)result;
22403   return jresult;
22404 }
22405 
22406 
22407 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1slo_1redir(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
22408   jstring jresult = 0 ;
22409   zxid_conf *arg1 = (zxid_conf *) 0 ;
22410   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
22411   zxid_ses *arg3 = (zxid_ses *) 0 ;
22412   struct zx_str *result = 0 ;
22413 
22414   (void)jenv;
22415   (void)jcls;
22416   arg1 = *(zxid_conf **)&jarg1;
22417   arg2 = *(zxid_cgi **)&jarg2;
22418   arg3 = *(zxid_ses **)&jarg3;
22419   result = (struct zx_str *)zxid_sp_slo_redir(arg1,arg2,arg3);
22420   {
22421     // Unfortunately Java does not provide NewStringUTF() that would explicitly
22422     // take length field - they insist on nul termination instead. Sigh.
22423     if (result && result->s) {
22424       char* tmp = malloc(result->len + 1);
22425       if (!tmp) {
22426         ERR("Out of memory len=%d", result->len); return 0;
22427       }
22428       memcpy(tmp, result->s, result->len);
22429       tmp[result->len] = 0;
22430       jresult = (*jenv)->NewStringUTF(jenv, tmp);
22431       free(tmp);
22432       // Do not free underlying zx_str because they are usually returned by reference.
22433     } else {
22434       jresult = 0;
22435     }
22436   }
22437   return jresult;
22438 }
22439 
22440 
22441 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1mni_1soap(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jstring jarg4) {
22442   jint jresult = 0 ;
22443   zxid_conf *arg1 = (zxid_conf *) 0 ;
22444   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
22445   zxid_ses *arg3 = (zxid_ses *) 0 ;
22446   struct zx_str *arg4 = (struct zx_str *) 0 ;
22447   int result;
22448 
22449   (void)jenv;
22450   (void)jcls;
22451   arg1 = *(zxid_conf **)&jarg1;
22452   arg2 = *(zxid_cgi **)&jarg2;
22453   arg3 = *(zxid_ses **)&jarg3;
22454   arg4 = *(struct zx_str **)&jarg4;
22455   result = (int)zxid_sp_mni_soap(arg1,arg2,arg3,arg4);
22456   jresult = (jint)result;
22457   return jresult;
22458 }
22459 
22460 
22461 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1sp_1mni_1redir(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jstring jarg4) {
22462   jstring jresult = 0 ;
22463   zxid_conf *arg1 = (zxid_conf *) 0 ;
22464   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
22465   zxid_ses *arg3 = (zxid_ses *) 0 ;
22466   struct zx_str *arg4 = (struct zx_str *) 0 ;
22467   struct zx_str *result = 0 ;
22468 
22469   (void)jenv;
22470   (void)jcls;
22471   arg1 = *(zxid_conf **)&jarg1;
22472   arg2 = *(zxid_cgi **)&jarg2;
22473   arg3 = *(zxid_ses **)&jarg3;
22474   arg4 = *(struct zx_str **)&jarg4;
22475   result = (struct zx_str *)zxid_sp_mni_redir(arg1,arg2,arg3,arg4);
22476   {
22477     // Unfortunately Java does not provide NewStringUTF() that would explicitly
22478     // take length field - they insist on nul termination instead. Sigh.
22479     if (result && result->s) {
22480       char* tmp = malloc(result->len + 1);
22481       if (!tmp) {
22482         ERR("Out of memory len=%d", result->len); return 0;
22483       }
22484       memcpy(tmp, result->s, result->len);
22485       tmp[result->len] = 0;
22486       jresult = (*jenv)->NewStringUTF(jenv, tmp);
22487       free(tmp);
22488       // Do not free underlying zx_str because they are usually returned by reference.
22489     } else {
22490       jresult = 0;
22491     }
22492   }
22493   return jresult;
22494 }
22495 
22496 
22497 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1az_1cf_1ses(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3) {
22498   jstring jresult = 0 ;
22499   zxid_conf *arg1 = (zxid_conf *) 0 ;
22500   char *arg2 = (char *) 0 ;
22501   zxid_ses *arg3 = (zxid_ses *) 0 ;
22502   char *result = 0 ;
22503 
22504   (void)jenv;
22505   (void)jcls;
22506   arg1 = *(zxid_conf **)&jarg1;
22507   arg2 = 0;
22508   if (jarg2) {
22509     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
22510     if (!arg2) return 0;
22511   }
22512   arg3 = *(zxid_ses **)&jarg3;
22513   result = (char *)zxid_az_cf_ses(arg1,arg2,arg3);
22514   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
22515   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
22516   return jresult;
22517 }
22518 
22519 
22520 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1az_1cf(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3) {
22521   jstring jresult = 0 ;
22522   zxid_conf *arg1 = (zxid_conf *) 0 ;
22523   char *arg2 = (char *) 0 ;
22524   char *arg3 = (char *) 0 ;
22525   char *result = 0 ;
22526 
22527   (void)jenv;
22528   (void)jcls;
22529   arg1 = *(zxid_conf **)&jarg1;
22530   arg2 = 0;
22531   if (jarg2) {
22532     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
22533     if (!arg2) return 0;
22534   }
22535   arg3 = 0;
22536   if (jarg3) {
22537     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
22538     if (!arg3) return 0;
22539   }
22540   result = (char *)zxid_az_cf(arg1,arg2,arg3);
22541   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
22542   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
22543   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
22544   return jresult;
22545 }
22546 
22547 
22548 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1az(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2, jstring jarg3) {
22549   jstring jresult = 0 ;
22550   char *arg1 = (char *) 0 ;
22551   char *arg2 = (char *) 0 ;
22552   char *arg3 = (char *) 0 ;
22553   char *result = 0 ;
22554 
22555   (void)jenv;
22556   (void)jcls;
22557   arg1 = 0;
22558   if (jarg1) {
22559     arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
22560     if (!arg1) return 0;
22561   }
22562   arg2 = 0;
22563   if (jarg2) {
22564     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
22565     if (!arg2) return 0;
22566   }
22567   arg3 = 0;
22568   if (jarg3) {
22569     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
22570     if (!arg3) return 0;
22571   }
22572   result = (char *)zxid_az(arg1,arg2,arg3);
22573   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
22574   if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, ( char *)arg1);
22575   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
22576   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
22577   return jresult;
22578 }
22579 
22580 
22581 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1az_1base_1cf_1ses(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3) {
22582   jstring jresult = 0 ;
22583   zxid_conf *arg1 = (zxid_conf *) 0 ;
22584   char *arg2 = (char *) 0 ;
22585   zxid_ses *arg3 = (zxid_ses *) 0 ;
22586   char *result = 0 ;
22587 
22588   (void)jenv;
22589   (void)jcls;
22590   arg1 = *(zxid_conf **)&jarg1;
22591   arg2 = 0;
22592   if (jarg2) {
22593     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
22594     if (!arg2) return 0;
22595   }
22596   arg3 = *(zxid_ses **)&jarg3;
22597   result = (char *)zxid_az_base_cf_ses(arg1,arg2,arg3);
22598   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
22599   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
22600   return jresult;
22601 }
22602 
22603 
22604 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1az_1base_1cf(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3) {
22605   jstring jresult = 0 ;
22606   zxid_conf *arg1 = (zxid_conf *) 0 ;
22607   char *arg2 = (char *) 0 ;
22608   char *arg3 = (char *) 0 ;
22609   char *result = 0 ;
22610 
22611   (void)jenv;
22612   (void)jcls;
22613   arg1 = *(zxid_conf **)&jarg1;
22614   arg2 = 0;
22615   if (jarg2) {
22616     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
22617     if (!arg2) return 0;
22618   }
22619   arg3 = 0;
22620   if (jarg3) {
22621     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
22622     if (!arg3) return 0;
22623   }
22624   result = (char *)zxid_az_base_cf(arg1,arg2,arg3);
22625   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
22626   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
22627   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
22628   return jresult;
22629 }
22630 
22631 
22632 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1az_1base(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2, jstring jarg3) {
22633   jstring jresult = 0 ;
22634   char *arg1 = (char *) 0 ;
22635   char *arg2 = (char *) 0 ;
22636   char *arg3 = (char *) 0 ;
22637   char *result = 0 ;
22638 
22639   (void)jenv;
22640   (void)jcls;
22641   arg1 = 0;
22642   if (jarg1) {
22643     arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
22644     if (!arg1) return 0;
22645   }
22646   arg2 = 0;
22647   if (jarg2) {
22648     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
22649     if (!arg2) return 0;
22650   }
22651   arg3 = 0;
22652   if (jarg3) {
22653     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
22654     if (!arg3) return 0;
22655   }
22656   result = (char *)zxid_az_base(arg1,arg2,arg3);
22657   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
22658   if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, ( char *)arg1);
22659   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
22660   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
22661   return jresult;
22662 }
22663 
22664 
22665 SWIGEXPORT 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) {
22666   jlong jresult = 0 ;
22667   zxid_a7n *arg1 = (zxid_a7n *) 0 ;
22668   int arg2 ;
22669   char *arg3 = (char *) 0 ;
22670   int arg4 ;
22671   char *arg5 = (char *) 0 ;
22672   int arg6 ;
22673   char *arg7 = (char *) 0 ;
22674   int arg8 ;
22675   struct zx_sa_Attribute_s *result = 0 ;
22676 
22677   (void)jenv;
22678   (void)jcls;
22679   arg1 = *(zxid_a7n **)&jarg1;
22680   arg2 = (int)jarg2;
22681   arg3 = 0;
22682   if (jarg3) {
22683     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
22684     if (!arg3) return 0;
22685   }
22686   arg4 = (int)jarg4;
22687   arg5 = 0;
22688   if (jarg5) {
22689     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
22690     if (!arg5) return 0;
22691   }
22692   arg6 = (int)jarg6;
22693   arg7 = 0;
22694   if (jarg7) {
22695     arg7 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg7, 0);
22696     if (!arg7) return 0;
22697   }
22698   arg8 = (int)jarg8;
22699   result = (struct zx_sa_Attribute_s *)zxid_find_attribute(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
22700   *(struct zx_sa_Attribute_s **)&jresult = result;
22701   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
22702   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
22703   if (arg7) (*jenv)->ReleaseStringUTFChars(jenv, jarg7, ( char *)arg7);
22704   return jresult;
22705 }
22706 
22707 
22708 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1Status(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4, jstring jarg5) {
22709   jlong jresult = 0 ;
22710   zxid_conf *arg1 = (zxid_conf *) 0 ;
22711   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
22712   char *arg3 = (char *) 0 ;
22713   char *arg4 = (char *) 0 ;
22714   char *arg5 = (char *) 0 ;
22715   struct zx_sp_Status_s *result = 0 ;
22716 
22717   (void)jenv;
22718   (void)jcls;
22719   arg1 = *(zxid_conf **)&jarg1;
22720   arg2 = *(struct zx_elem_s **)&jarg2;
22721   arg3 = 0;
22722   if (jarg3) {
22723     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
22724     if (!arg3) return 0;
22725   }
22726   arg4 = 0;
22727   if (jarg4) {
22728     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
22729     if (!arg4) return 0;
22730   }
22731   arg5 = 0;
22732   if (jarg5) {
22733     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
22734     if (!arg5) return 0;
22735   }
22736   result = (struct zx_sp_Status_s *)zxid_mk_Status(arg1,arg2,arg3,arg4,arg5);
22737   *(struct zx_sp_Status_s **)&jresult = result;
22738   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
22739   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
22740   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
22741   return jresult;
22742 }
22743 
22744 
22745 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1OK(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
22746   jlong jresult = 0 ;
22747   zxid_conf *arg1 = (zxid_conf *) 0 ;
22748   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
22749   struct zx_sp_Status_s *result = 0 ;
22750 
22751   (void)jenv;
22752   (void)jcls;
22753   arg1 = *(zxid_conf **)&jarg1;
22754   arg2 = *(struct zx_elem_s **)&jarg2;
22755   result = (struct zx_sp_Status_s *)zxid_OK(arg1,arg2);
22756   *(struct zx_sp_Status_s **)&jresult = result;
22757   return jresult;
22758 }
22759 
22760 
22761 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1oauth_1az_1req(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4) {
22762   jstring jresult = 0 ;
22763   zxid_conf *arg1 = (zxid_conf *) 0 ;
22764   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
22765   struct zx_str *arg3 = (struct zx_str *) 0 ;
22766   char *arg4 = (char *) 0 ;
22767   struct zx_str *result = 0 ;
22768 
22769   (void)jenv;
22770   (void)jcls;
22771   arg1 = *(zxid_conf **)&jarg1;
22772   arg2 = *(zxid_cgi **)&jarg2;
22773   arg3 = *(struct zx_str **)&jarg3;
22774   arg4 = 0;
22775   if (jarg4) {
22776     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
22777     if (!arg4) return 0;
22778   }
22779   result = (struct zx_str *)zxid_mk_oauth_az_req(arg1,arg2,arg3,arg4);
22780   {
22781     // Unfortunately Java does not provide NewStringUTF() that would explicitly
22782     // take length field - they insist on nul termination instead. Sigh.
22783     if (result && result->s) {
22784       char* tmp = malloc(result->len + 1);
22785       if (!tmp) {
22786         ERR("Out of memory len=%d", result->len); return 0;
22787       }
22788       memcpy(tmp, result->s, result->len);
22789       tmp[result->len] = 0;
22790       jresult = (*jenv)->NewStringUTF(jenv, tmp);
22791       free(tmp);
22792       // Do not free underlying zx_str because they are usually returned by reference.
22793     } else {
22794       jresult = 0;
22795     }
22796   }
22797   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
22798   return jresult;
22799 }
22800 
22801 
22802 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1jwks(JNIEnv *jenv, jclass jcls, jlong jarg1) {
22803   jstring jresult = 0 ;
22804   zxid_conf *arg1 = (zxid_conf *) 0 ;
22805   char *result = 0 ;
22806 
22807   (void)jenv;
22808   (void)jcls;
22809   arg1 = *(zxid_conf **)&jarg1;
22810   result = (char *)zxid_mk_jwks(arg1);
22811   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
22812   return jresult;
22813 }
22814 
22815 
22816 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1oauth2_1dyn_1cli_1reg_1req(JNIEnv *jenv, jclass jcls, jlong jarg1) {
22817   jstring jresult = 0 ;
22818   zxid_conf *arg1 = (zxid_conf *) 0 ;
22819   char *result = 0 ;
22820 
22821   (void)jenv;
22822   (void)jcls;
22823   arg1 = *(zxid_conf **)&jarg1;
22824   result = (char *)zxid_mk_oauth2_dyn_cli_reg_req(arg1);
22825   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
22826   return jresult;
22827 }
22828 
22829 
22830 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1oauth2_1dyn_1cli_1reg_1res(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
22831   jstring jresult = 0 ;
22832   zxid_conf *arg1 = (zxid_conf *) 0 ;
22833   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
22834   char *result = 0 ;
22835 
22836   (void)jenv;
22837   (void)jcls;
22838   arg1 = *(zxid_conf **)&jarg1;
22839   arg2 = *(zxid_cgi **)&jarg2;
22840   result = (char *)zxid_mk_oauth2_dyn_cli_reg_res(arg1,arg2);
22841   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
22842   return jresult;
22843 }
22844 
22845 
22846 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1oauth2_1rsrc_1reg_1req(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jstring jarg4, jstring jarg5) {
22847   jstring jresult = 0 ;
22848   zxid_conf *arg1 = (zxid_conf *) 0 ;
22849   char *arg2 = (char *) 0 ;
22850   char *arg3 = (char *) 0 ;
22851   char *arg4 = (char *) 0 ;
22852   char *arg5 = (char *) 0 ;
22853   char *result = 0 ;
22854 
22855   (void)jenv;
22856   (void)jcls;
22857   arg1 = *(zxid_conf **)&jarg1;
22858   arg2 = 0;
22859   if (jarg2) {
22860     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
22861     if (!arg2) return 0;
22862   }
22863   arg3 = 0;
22864   if (jarg3) {
22865     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
22866     if (!arg3) return 0;
22867   }
22868   arg4 = 0;
22869   if (jarg4) {
22870     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
22871     if (!arg4) return 0;
22872   }
22873   arg5 = 0;
22874   if (jarg5) {
22875     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
22876     if (!arg5) return 0;
22877   }
22878   result = (char *)zxid_mk_oauth2_rsrc_reg_req(arg1,arg2,arg3,arg4,arg5);
22879   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
22880   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
22881   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
22882   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
22883   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
22884   return jresult;
22885 }
22886 
22887 
22888 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1oauth2_1rsrc_1reg_1res(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) {
22889   jstring jresult = 0 ;
22890   zxid_conf *arg1 = (zxid_conf *) 0 ;
22891   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
22892   char *arg3 = (char *) 0 ;
22893   char *result = 0 ;
22894 
22895   (void)jenv;
22896   (void)jcls;
22897   arg1 = *(zxid_conf **)&jarg1;
22898   arg2 = *(zxid_cgi **)&jarg2;
22899   arg3 = 0;
22900   if (jarg3) {
22901     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
22902     if (!arg3) return 0;
22903   }
22904   result = (char *)zxid_mk_oauth2_rsrc_reg_res(arg1,arg2,arg3);
22905   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
22906   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
22907   return jresult;
22908 }
22909 
22910 
22911 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1oauth_1get_1well_1known_1item(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3) {
22912   jstring jresult = 0 ;
22913   zxid_conf *arg1 = (zxid_conf *) 0 ;
22914   char *arg2 = (char *) 0 ;
22915   char *arg3 = (char *) 0 ;
22916   char *result = 0 ;
22917 
22918   (void)jenv;
22919   (void)jcls;
22920   arg1 = *(zxid_conf **)&jarg1;
22921   arg2 = 0;
22922   if (jarg2) {
22923     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
22924     if (!arg2) return 0;
22925   }
22926   arg3 = 0;
22927   if (jarg3) {
22928     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
22929     if (!arg3) return 0;
22930   }
22931   result = (char *)zxid_oauth_get_well_known_item(arg1,arg2,arg3);
22932   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
22933   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
22934   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
22935   return jresult;
22936 }
22937 
22938 
22939 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1oauth_1dynclireg_1client(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jstring jarg4) {
22940   jstring jresult = 0 ;
22941   zxid_conf *arg1 = (zxid_conf *) 0 ;
22942   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
22943   zxid_ses *arg3 = (zxid_ses *) 0 ;
22944   char *arg4 = (char *) 0 ;
22945   struct zx_str *result = 0 ;
22946 
22947   (void)jenv;
22948   (void)jcls;
22949   arg1 = *(zxid_conf **)&jarg1;
22950   arg2 = *(zxid_cgi **)&jarg2;
22951   arg3 = *(zxid_ses **)&jarg3;
22952   arg4 = 0;
22953   if (jarg4) {
22954     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
22955     if (!arg4) return 0;
22956   }
22957   result = (struct zx_str *)zxid_oauth_dynclireg_client(arg1,arg2,arg3,arg4);
22958   {
22959     // Unfortunately Java does not provide NewStringUTF() that would explicitly
22960     // take length field - they insist on nul termination instead. Sigh.
22961     if (result && result->s) {
22962       char* tmp = malloc(result->len + 1);
22963       if (!tmp) {
22964         ERR("Out of memory len=%d", result->len); return 0;
22965       }
22966       memcpy(tmp, result->s, result->len);
22967       tmp[result->len] = 0;
22968       jresult = (*jenv)->NewStringUTF(jenv, tmp);
22969       free(tmp);
22970       // Do not free underlying zx_str because they are usually returned by reference.
22971     } else {
22972       jresult = 0;
22973     }
22974   }
22975   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
22976   return jresult;
22977 }
22978 
22979 
22980 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1oauth_1rsrcreg_1client(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jstring jarg4, jstring jarg5, jstring jarg6, jstring jarg7, jstring jarg8) {
22981   zxid_conf *arg1 = (zxid_conf *) 0 ;
22982   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
22983   zxid_ses *arg3 = (zxid_ses *) 0 ;
22984   char *arg4 = (char *) 0 ;
22985   char *arg5 = (char *) 0 ;
22986   char *arg6 = (char *) 0 ;
22987   char *arg7 = (char *) 0 ;
22988   char *arg8 = (char *) 0 ;
22989 
22990   (void)jenv;
22991   (void)jcls;
22992   arg1 = *(zxid_conf **)&jarg1;
22993   arg2 = *(zxid_cgi **)&jarg2;
22994   arg3 = *(zxid_ses **)&jarg3;
22995   arg4 = 0;
22996   if (jarg4) {
22997     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
22998     if (!arg4) return ;
22999   }
23000   arg5 = 0;
23001   if (jarg5) {
23002     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
23003     if (!arg5) return ;
23004   }
23005   arg6 = 0;
23006   if (jarg6) {
23007     arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
23008     if (!arg6) return ;
23009   }
23010   arg7 = 0;
23011   if (jarg7) {
23012     arg7 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg7, 0);
23013     if (!arg7) return ;
23014   }
23015   arg8 = 0;
23016   if (jarg8) {
23017     arg8 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg8, 0);
23018     if (!arg8) return ;
23019   }
23020   zxid_oauth_rsrcreg_client(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
23021   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
23022   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
23023   if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, ( char *)arg6);
23024   if (arg7) (*jenv)->ReleaseStringUTFChars(jenv, jarg7, ( char *)arg7);
23025   if (arg8) (*jenv)->ReleaseStringUTFChars(jenv, jarg8, ( char *)arg8);
23026 }
23027 
23028 
23029 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1oauth_1call_1rpt_1endpoint(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4) {
23030   jstring jresult = 0 ;
23031   zxid_conf *arg1 = (zxid_conf *) 0 ;
23032   zxid_ses *arg2 = (zxid_ses *) 0 ;
23033   char *arg3 = (char *) 0 ;
23034   char *arg4 = (char *) 0 ;
23035   char *result = 0 ;
23036 
23037   (void)jenv;
23038   (void)jcls;
23039   arg1 = *(zxid_conf **)&jarg1;
23040   arg2 = *(zxid_ses **)&jarg2;
23041   arg3 = 0;
23042   if (jarg3) {
23043     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
23044     if (!arg3) return 0;
23045   }
23046   arg4 = 0;
23047   if (jarg4) {
23048     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
23049     if (!arg4) return 0;
23050   }
23051   result = (char *)zxid_oauth_call_rpt_endpoint(arg1,arg2,arg3,arg4);
23052   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
23053   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
23054   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
23055   return jresult;
23056 }
23057 
23058 
23059 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1oauth_1call_1az_1endpoint(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4, jstring jarg5) {
23060   jstring jresult = 0 ;
23061   zxid_conf *arg1 = (zxid_conf *) 0 ;
23062   zxid_ses *arg2 = (zxid_ses *) 0 ;
23063   char *arg3 = (char *) 0 ;
23064   char *arg4 = (char *) 0 ;
23065   char *arg5 = (char *) 0 ;
23066   char *result = 0 ;
23067 
23068   (void)jenv;
23069   (void)jcls;
23070   arg1 = *(zxid_conf **)&jarg1;
23071   arg2 = *(zxid_ses **)&jarg2;
23072   arg3 = 0;
23073   if (jarg3) {
23074     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
23075     if (!arg3) return 0;
23076   }
23077   arg4 = 0;
23078   if (jarg4) {
23079     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
23080     if (!arg4) return 0;
23081   }
23082   arg5 = 0;
23083   if (jarg5) {
23084     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
23085     if (!arg5) return 0;
23086   }
23087   result = (char *)zxid_oauth_call_az_endpoint(arg1,arg2,arg3,arg4,arg5);
23088   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
23089   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
23090   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
23091   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
23092   return jresult;
23093 }
23094 
23095 
23096 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1oidc_1as_1call(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jstring jarg4) {
23097   jint jresult = 0 ;
23098   zxid_conf *arg1 = (zxid_conf *) 0 ;
23099   zxid_ses *arg2 = (zxid_ses *) 0 ;
23100   zxid_entity *arg3 = (zxid_entity *) 0 ;
23101   char *arg4 = (char *) 0 ;
23102   int result;
23103 
23104   (void)jenv;
23105   (void)jcls;
23106   arg1 = *(zxid_conf **)&jarg1;
23107   arg2 = *(zxid_ses **)&jarg2;
23108   arg3 = *(zxid_entity **)&jarg3;
23109   arg4 = 0;
23110   if (jarg4) {
23111     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
23112     if (!arg4) return 0;
23113   }
23114   result = (int)zxid_oidc_as_call(arg1,arg2,arg3,arg4);
23115   jresult = (jint)result;
23116   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
23117   return jresult;
23118 }
23119 
23120 
23121 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1lu_1Status(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4, jstring jarg5, jstring jarg6) {
23122   jlong jresult = 0 ;
23123   zxid_conf *arg1 = (zxid_conf *) 0 ;
23124   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
23125   char *arg3 = (char *) 0 ;
23126   char *arg4 = (char *) 0 ;
23127   char *arg5 = (char *) 0 ;
23128   char *arg6 = (char *) 0 ;
23129   struct zx_lu_Status_s *result = 0 ;
23130 
23131   (void)jenv;
23132   (void)jcls;
23133   arg1 = *(zxid_conf **)&jarg1;
23134   arg2 = *(struct zx_elem_s **)&jarg2;
23135   arg3 = 0;
23136   if (jarg3) {
23137     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
23138     if (!arg3) return 0;
23139   }
23140   arg4 = 0;
23141   if (jarg4) {
23142     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
23143     if (!arg4) return 0;
23144   }
23145   arg5 = 0;
23146   if (jarg5) {
23147     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
23148     if (!arg5) return 0;
23149   }
23150   arg6 = 0;
23151   if (jarg6) {
23152     arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
23153     if (!arg6) return 0;
23154   }
23155   result = (struct zx_lu_Status_s *)zxid_mk_lu_Status(arg1,arg2,arg3,arg4,arg5,arg6);
23156   *(struct zx_lu_Status_s **)&jresult = result;
23157   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
23158   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
23159   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
23160   if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, ( char *)arg6);
23161   return jresult;
23162 }
23163 
23164 
23165 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1tas3_1status(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4, jstring jarg5, jstring jarg6, jstring jarg7) {
23166   jlong jresult = 0 ;
23167   zxid_conf *arg1 = (zxid_conf *) 0 ;
23168   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
23169   char *arg3 = (char *) 0 ;
23170   char *arg4 = (char *) 0 ;
23171   char *arg5 = (char *) 0 ;
23172   char *arg6 = (char *) 0 ;
23173   char *arg7 = (char *) 0 ;
23174   zxid_tas3_status *result = 0 ;
23175 
23176   (void)jenv;
23177   (void)jcls;
23178   arg1 = *(zxid_conf **)&jarg1;
23179   arg2 = *(struct zx_elem_s **)&jarg2;
23180   arg3 = 0;
23181   if (jarg3) {
23182     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
23183     if (!arg3) return 0;
23184   }
23185   arg4 = 0;
23186   if (jarg4) {
23187     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
23188     if (!arg4) return 0;
23189   }
23190   arg5 = 0;
23191   if (jarg5) {
23192     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
23193     if (!arg5) return 0;
23194   }
23195   arg6 = 0;
23196   if (jarg6) {
23197     arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
23198     if (!arg6) return 0;
23199   }
23200   arg7 = 0;
23201   if (jarg7) {
23202     arg7 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg7, 0);
23203     if (!arg7) return 0;
23204   }
23205   result = (zxid_tas3_status *)zxid_mk_tas3_status(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
23206   *(zxid_tas3_status **)&jresult = result;
23207   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
23208   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
23209   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
23210   if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, ( char *)arg6);
23211   if (arg7) (*jenv)->ReleaseStringUTFChars(jenv, jarg7, ( char *)arg7);
23212   return jresult;
23213 }
23214 
23215 
23216 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1fault(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4, jstring jarg5, jstring jarg6, jstring jarg7, jstring jarg8, jstring jarg9) {
23217   jlong jresult = 0 ;
23218   zxid_conf *arg1 = (zxid_conf *) 0 ;
23219   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
23220   char *arg3 = (char *) 0 ;
23221   char *arg4 = (char *) 0 ;
23222   char *arg5 = (char *) 0 ;
23223   char *arg6 = (char *) 0 ;
23224   char *arg7 = (char *) 0 ;
23225   char *arg8 = (char *) 0 ;
23226   char *arg9 = (char *) 0 ;
23227   zxid_fault *result = 0 ;
23228 
23229   (void)jenv;
23230   (void)jcls;
23231   arg1 = *(zxid_conf **)&jarg1;
23232   arg2 = *(struct zx_elem_s **)&jarg2;
23233   arg3 = 0;
23234   if (jarg3) {
23235     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
23236     if (!arg3) return 0;
23237   }
23238   arg4 = 0;
23239   if (jarg4) {
23240     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
23241     if (!arg4) return 0;
23242   }
23243   arg5 = 0;
23244   if (jarg5) {
23245     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
23246     if (!arg5) return 0;
23247   }
23248   arg6 = 0;
23249   if (jarg6) {
23250     arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
23251     if (!arg6) return 0;
23252   }
23253   arg7 = 0;
23254   if (jarg7) {
23255     arg7 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg7, 0);
23256     if (!arg7) return 0;
23257   }
23258   arg8 = 0;
23259   if (jarg8) {
23260     arg8 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg8, 0);
23261     if (!arg8) return 0;
23262   }
23263   arg9 = 0;
23264   if (jarg9) {
23265     arg9 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg9, 0);
23266     if (!arg9) return 0;
23267   }
23268   result = (zxid_fault *)zxid_mk_fault(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
23269   *(zxid_fault **)&jresult = result;
23270   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
23271   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
23272   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
23273   if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, ( char *)arg6);
23274   if (arg7) (*jenv)->ReleaseStringUTFChars(jenv, jarg7, ( char *)arg7);
23275   if (arg8) (*jenv)->ReleaseStringUTFChars(jenv, jarg8, ( char *)arg8);
23276   if (arg9) (*jenv)->ReleaseStringUTFChars(jenv, jarg9, ( char *)arg9);
23277   return jresult;
23278 }
23279 
23280 
23281 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1mk_1fault_1zx_1str(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4, jstring jarg5) {
23282   jlong jresult = 0 ;
23283   zxid_conf *arg1 = (zxid_conf *) 0 ;
23284   struct zx_elem_s *arg2 = (struct zx_elem_s *) 0 ;
23285   struct zx_str *arg3 = (struct zx_str *) 0 ;
23286   struct zx_str *arg4 = (struct zx_str *) 0 ;
23287   struct zx_str *arg5 = (struct zx_str *) 0 ;
23288   zxid_fault *result = 0 ;
23289 
23290   (void)jenv;
23291   (void)jcls;
23292   arg1 = *(zxid_conf **)&jarg1;
23293   arg2 = *(struct zx_elem_s **)&jarg2;
23294   arg3 = *(struct zx_str **)&jarg3;
23295   arg4 = *(struct zx_str **)&jarg4;
23296   arg5 = *(struct zx_str **)&jarg5;
23297   result = (zxid_fault *)zxid_mk_fault_zx_str(arg1,arg2,arg3,arg4,arg5);
23298   *(zxid_fault **)&jresult = result;
23299   return jresult;
23300 }
23301 
23302 
23303 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1set_1fault(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
23304   zxid_conf *arg1 = (zxid_conf *) 0 ;
23305   zxid_ses *arg2 = (zxid_ses *) 0 ;
23306   zxid_fault *arg3 = (zxid_fault *) 0 ;
23307 
23308   (void)jenv;
23309   (void)jcls;
23310   arg1 = *(zxid_conf **)&jarg1;
23311   arg2 = *(zxid_ses **)&jarg2;
23312   arg3 = *(zxid_fault **)&jarg3;
23313   zxid_set_fault(arg1,arg2,arg3);
23314 }
23315 
23316 
23317 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1fault(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
23318   jlong jresult = 0 ;
23319   zxid_conf *arg1 = (zxid_conf *) 0 ;
23320   zxid_ses *arg2 = (zxid_ses *) 0 ;
23321   zxid_fault *result = 0 ;
23322 
23323   (void)jenv;
23324   (void)jcls;
23325   arg1 = *(zxid_conf **)&jarg1;
23326   arg2 = *(zxid_ses **)&jarg2;
23327   result = (zxid_fault *)zxid_get_fault(arg1,arg2);
23328   *(zxid_fault **)&jresult = result;
23329   return jresult;
23330 }
23331 
23332 
23333 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1tas3_1fault_1sc1(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
23334   jstring jresult = 0 ;
23335   zxid_conf *arg1 = (zxid_conf *) 0 ;
23336   zxid_fault *arg2 = (zxid_fault *) 0 ;
23337   char *result = 0 ;
23338 
23339   (void)jenv;
23340   (void)jcls;
23341   arg1 = *(zxid_conf **)&jarg1;
23342   arg2 = *(zxid_fault **)&jarg2;
23343   result = (char *)zxid_get_tas3_fault_sc1(arg1,arg2);
23344   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
23345   return jresult;
23346 }
23347 
23348 
23349 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1tas3_1fault_1sc2(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
23350   jstring jresult = 0 ;
23351   zxid_conf *arg1 = (zxid_conf *) 0 ;
23352   zxid_fault *arg2 = (zxid_fault *) 0 ;
23353   char *result = 0 ;
23354 
23355   (void)jenv;
23356   (void)jcls;
23357   arg1 = *(zxid_conf **)&jarg1;
23358   arg2 = *(zxid_fault **)&jarg2;
23359   result = (char *)zxid_get_tas3_fault_sc2(arg1,arg2);
23360   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
23361   return jresult;
23362 }
23363 
23364 
23365 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1tas3_1fault_1comment(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
23366   jstring jresult = 0 ;
23367   zxid_conf *arg1 = (zxid_conf *) 0 ;
23368   zxid_fault *arg2 = (zxid_fault *) 0 ;
23369   char *result = 0 ;
23370 
23371   (void)jenv;
23372   (void)jcls;
23373   arg1 = *(zxid_conf **)&jarg1;
23374   arg2 = *(zxid_fault **)&jarg2;
23375   result = (char *)zxid_get_tas3_fault_comment(arg1,arg2);
23376   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
23377   return jresult;
23378 }
23379 
23380 
23381 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1tas3_1fault_1ref(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
23382   jstring jresult = 0 ;
23383   zxid_conf *arg1 = (zxid_conf *) 0 ;
23384   zxid_fault *arg2 = (zxid_fault *) 0 ;
23385   char *result = 0 ;
23386 
23387   (void)jenv;
23388   (void)jcls;
23389   arg1 = *(zxid_conf **)&jarg1;
23390   arg2 = *(zxid_fault **)&jarg2;
23391   result = (char *)zxid_get_tas3_fault_ref(arg1,arg2);
23392   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
23393   return jresult;
23394 }
23395 
23396 
23397 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1tas3_1fault_1actor(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
23398   jstring jresult = 0 ;
23399   zxid_conf *arg1 = (zxid_conf *) 0 ;
23400   zxid_fault *arg2 = (zxid_fault *) 0 ;
23401   char *result = 0 ;
23402 
23403   (void)jenv;
23404   (void)jcls;
23405   arg1 = *(zxid_conf **)&jarg1;
23406   arg2 = *(zxid_fault **)&jarg2;
23407   result = (char *)zxid_get_tas3_fault_actor(arg1,arg2);
23408   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
23409   return jresult;
23410 }
23411 
23412 
23413 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1fault_1status(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
23414   jlong jresult = 0 ;
23415   zxid_conf *arg1 = (zxid_conf *) 0 ;
23416   zxid_fault *arg2 = (zxid_fault *) 0 ;
23417   zxid_tas3_status *result = 0 ;
23418 
23419   (void)jenv;
23420   (void)jcls;
23421   arg1 = *(zxid_conf **)&jarg1;
23422   arg2 = *(zxid_fault **)&jarg2;
23423   result = (zxid_tas3_status *)zxid_get_fault_status(arg1,arg2);
23424   *(zxid_tas3_status **)&jresult = result;
23425   return jresult;
23426 }
23427 
23428 
23429 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1set_1tas3_1status(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
23430   zxid_conf *arg1 = (zxid_conf *) 0 ;
23431   zxid_ses *arg2 = (zxid_ses *) 0 ;
23432   zxid_tas3_status *arg3 = (zxid_tas3_status *) 0 ;
23433 
23434   (void)jenv;
23435   (void)jcls;
23436   arg1 = *(zxid_conf **)&jarg1;
23437   arg2 = *(zxid_ses **)&jarg2;
23438   arg3 = *(zxid_tas3_status **)&jarg3;
23439   zxid_set_tas3_status(arg1,arg2,arg3);
23440 }
23441 
23442 
23443 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1tas3_1status(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
23444   jlong jresult = 0 ;
23445   zxid_conf *arg1 = (zxid_conf *) 0 ;
23446   zxid_ses *arg2 = (zxid_ses *) 0 ;
23447   zxid_tas3_status *result = 0 ;
23448 
23449   (void)jenv;
23450   (void)jcls;
23451   arg1 = *(zxid_conf **)&jarg1;
23452   arg2 = *(zxid_ses **)&jarg2;
23453   result = (zxid_tas3_status *)zxid_get_tas3_status(arg1,arg2);
23454   *(zxid_tas3_status **)&jresult = result;
23455   return jresult;
23456 }
23457 
23458 
23459 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1tas3_1status_1sc1(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
23460   jstring jresult = 0 ;
23461   zxid_conf *arg1 = (zxid_conf *) 0 ;
23462   zxid_tas3_status *arg2 = (zxid_tas3_status *) 0 ;
23463   char *result = 0 ;
23464 
23465   (void)jenv;
23466   (void)jcls;
23467   arg1 = *(zxid_conf **)&jarg1;
23468   arg2 = *(zxid_tas3_status **)&jarg2;
23469   result = (char *)zxid_get_tas3_status_sc1(arg1,arg2);
23470   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
23471   return jresult;
23472 }
23473 
23474 
23475 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1tas3_1status_1sc2(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
23476   jstring jresult = 0 ;
23477   zxid_conf *arg1 = (zxid_conf *) 0 ;
23478   zxid_tas3_status *arg2 = (zxid_tas3_status *) 0 ;
23479   char *result = 0 ;
23480 
23481   (void)jenv;
23482   (void)jcls;
23483   arg1 = *(zxid_conf **)&jarg1;
23484   arg2 = *(zxid_tas3_status **)&jarg2;
23485   result = (char *)zxid_get_tas3_status_sc2(arg1,arg2);
23486   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
23487   return jresult;
23488 }
23489 
23490 
23491 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1tas3_1status_1comment(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
23492   jstring jresult = 0 ;
23493   zxid_conf *arg1 = (zxid_conf *) 0 ;
23494   zxid_tas3_status *arg2 = (zxid_tas3_status *) 0 ;
23495   char *result = 0 ;
23496 
23497   (void)jenv;
23498   (void)jcls;
23499   arg1 = *(zxid_conf **)&jarg1;
23500   arg2 = *(zxid_tas3_status **)&jarg2;
23501   result = (char *)zxid_get_tas3_status_comment(arg1,arg2);
23502   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
23503   return jresult;
23504 }
23505 
23506 
23507 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1tas3_1status_1ref(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
23508   jstring jresult = 0 ;
23509   zxid_conf *arg1 = (zxid_conf *) 0 ;
23510   zxid_tas3_status *arg2 = (zxid_tas3_status *) 0 ;
23511   char *result = 0 ;
23512 
23513   (void)jenv;
23514   (void)jcls;
23515   arg1 = *(zxid_conf **)&jarg1;
23516   arg2 = *(zxid_tas3_status **)&jarg2;
23517   result = (char *)zxid_get_tas3_status_ref(arg1,arg2);
23518   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
23519   return jresult;
23520 }
23521 
23522 
23523 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1tas3_1status_1ctlpt(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
23524   jstring jresult = 0 ;
23525   zxid_conf *arg1 = (zxid_conf *) 0 ;
23526   zxid_tas3_status *arg2 = (zxid_tas3_status *) 0 ;
23527   char *result = 0 ;
23528 
23529   (void)jenv;
23530   (void)jcls;
23531   arg1 = *(zxid_conf **)&jarg1;
23532   arg2 = *(zxid_tas3_status **)&jarg2;
23533   result = (char *)zxid_get_tas3_status_ctlpt(arg1,arg2);
23534   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
23535   return jresult;
23536 }
23537 
23538 
23539 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1wsp_1validate_1env(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jlong jarg4) {
23540   jstring jresult = 0 ;
23541   zxid_conf *arg1 = (zxid_conf *) 0 ;
23542   zxid_ses *arg2 = (zxid_ses *) 0 ;
23543   char *arg3 = (char *) 0 ;
23544   struct zx_e_Envelope_s *arg4 = (struct zx_e_Envelope_s *) 0 ;
23545   char *result = 0 ;
23546 
23547   (void)jenv;
23548   (void)jcls;
23549   arg1 = *(zxid_conf **)&jarg1;
23550   arg2 = *(zxid_ses **)&jarg2;
23551   arg3 = 0;
23552   if (jarg3) {
23553     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
23554     if (!arg3) return 0;
23555   }
23556   arg4 = *(struct zx_e_Envelope_s **)&jarg4;
23557   result = (char *)zxid_wsp_validate_env(arg1,arg2,arg3,arg4);
23558   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
23559   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
23560   return jresult;
23561 }
23562 
23563 
23564 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1wsp_1validate(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4) {
23565   jstring jresult = 0 ;
23566   zxid_conf *arg1 = (zxid_conf *) 0 ;
23567   zxid_ses *arg2 = (zxid_ses *) 0 ;
23568   char *arg3 = (char *) 0 ;
23569   char *arg4 = (char *) 0 ;
23570   char *result = 0 ;
23571 
23572   (void)jenv;
23573   (void)jcls;
23574   arg1 = *(zxid_conf **)&jarg1;
23575   arg2 = *(zxid_ses **)&jarg2;
23576   arg3 = 0;
23577   if (jarg3) {
23578     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
23579     if (!arg3) return 0;
23580   }
23581   arg4 = 0;
23582   if (jarg4) {
23583     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
23584     if (!arg4) return 0;
23585   }
23586   result = (char *)zxid_wsp_validate(arg1,arg2,arg3,arg4);
23587   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
23588   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
23589   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
23590   return jresult;
23591 }
23592 
23593 
23594 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1wsp_1decorate(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4) {
23595   jstring jresult = 0 ;
23596   zxid_conf *arg1 = (zxid_conf *) 0 ;
23597   zxid_ses *arg2 = (zxid_ses *) 0 ;
23598   char *arg3 = (char *) 0 ;
23599   char *arg4 = (char *) 0 ;
23600   struct zx_str *result = 0 ;
23601 
23602   (void)jenv;
23603   (void)jcls;
23604   arg1 = *(zxid_conf **)&jarg1;
23605   arg2 = *(zxid_ses **)&jarg2;
23606   arg3 = 0;
23607   if (jarg3) {
23608     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
23609     if (!arg3) return 0;
23610   }
23611   arg4 = 0;
23612   if (jarg4) {
23613     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
23614     if (!arg4) return 0;
23615   }
23616   result = (struct zx_str *)zxid_wsp_decorate(arg1,arg2,arg3,arg4);
23617   {
23618     // Unfortunately Java does not provide NewStringUTF() that would explicitly
23619     // take length field - they insist on nul termination instead. Sigh.
23620     if (result && result->s) {
23621       char* tmp = malloc(result->len + 1);
23622       if (!tmp) {
23623         ERR("Out of memory len=%d", result->len); return 0;
23624       }
23625       memcpy(tmp, result->s, result->len);
23626       tmp[result->len] = 0;
23627       jresult = (*jenv)->NewStringUTF(jenv, tmp);
23628       free(tmp);
23629       // Do not free underlying zx_str because they are usually returned by reference.
23630     } else {
23631       jresult = 0;
23632     }
23633   }
23634   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
23635   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
23636   return jresult;
23637 }
23638 
23639 
23640 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1wsp_1decoratef(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4) {
23641   jstring jresult = 0 ;
23642   zxid_conf *arg1 = (zxid_conf *) 0 ;
23643   zxid_ses *arg2 = (zxid_ses *) 0 ;
23644   char *arg3 = (char *) 0 ;
23645   char *arg4 = (char *) 0 ;
23646   void *arg5 = 0 ;
23647   struct zx_str *result = 0 ;
23648 
23649   (void)jenv;
23650   (void)jcls;
23651   arg1 = *(zxid_conf **)&jarg1;
23652   arg2 = *(zxid_ses **)&jarg2;
23653   arg3 = 0;
23654   if (jarg3) {
23655     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
23656     if (!arg3) return 0;
23657   }
23658   arg4 = 0;
23659   if (jarg4) {
23660     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
23661     if (!arg4) return 0;
23662   }
23663   result = (struct zx_str *)zxid_wsp_decoratef(arg1,arg2,arg3,arg4,arg5);
23664   {
23665     // Unfortunately Java does not provide NewStringUTF() that would explicitly
23666     // take length field - they insist on nul termination instead. Sigh.
23667     if (result && result->s) {
23668       char* tmp = malloc(result->len + 1);
23669       if (!tmp) {
23670         ERR("Out of memory len=%d", result->len); return 0;
23671       }
23672       memcpy(tmp, result->s, result->len);
23673       tmp[result->len] = 0;
23674       jresult = (*jenv)->NewStringUTF(jenv, tmp);
23675       free(tmp);
23676       // Do not free underlying zx_str because they are usually returned by reference.
23677     } else {
23678       jresult = 0;
23679     }
23680   }
23681   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
23682   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
23683   return jresult;
23684 }
23685 
23686 
23687 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1wsf_1decor(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jint jarg4, jlong jarg5) {
23688   jint jresult = 0 ;
23689   zxid_conf *arg1 = (zxid_conf *) 0 ;
23690   zxid_ses *arg2 = (zxid_ses *) 0 ;
23691   struct zx_e_Envelope_s *arg3 = (struct zx_e_Envelope_s *) 0 ;
23692   int arg4 ;
23693   zxid_epr *arg5 = (zxid_epr *) 0 ;
23694   int result;
23695 
23696   (void)jenv;
23697   (void)jcls;
23698   arg1 = *(zxid_conf **)&jarg1;
23699   arg2 = *(zxid_ses **)&jarg2;
23700   arg3 = *(struct zx_e_Envelope_s **)&jarg3;
23701   arg4 = (int)jarg4;
23702   arg5 = *(zxid_epr **)&jarg5;
23703   result = (int)zxid_wsf_decor(arg1,arg2,arg3,arg4,arg5);
23704   jresult = (jint)result;
23705   return jresult;
23706 }
23707 
23708 
23709 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1call(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4, jstring jarg5, jstring jarg6, jstring jarg7) {
23710   jstring jresult = 0 ;
23711   zxid_conf *arg1 = (zxid_conf *) 0 ;
23712   zxid_ses *arg2 = (zxid_ses *) 0 ;
23713   char *arg3 = (char *) 0 ;
23714   char *arg4 = (char *) 0 ;
23715   char *arg5 = (char *) 0 ;
23716   char *arg6 = (char *) 0 ;
23717   char *arg7 = (char *) 0 ;
23718   struct zx_str *result = 0 ;
23719 
23720   (void)jenv;
23721   (void)jcls;
23722   arg1 = *(zxid_conf **)&jarg1;
23723   arg2 = *(zxid_ses **)&jarg2;
23724   arg3 = 0;
23725   if (jarg3) {
23726     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
23727     if (!arg3) return 0;
23728   }
23729   arg4 = 0;
23730   if (jarg4) {
23731     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
23732     if (!arg4) return 0;
23733   }
23734   arg5 = 0;
23735   if (jarg5) {
23736     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
23737     if (!arg5) return 0;
23738   }
23739   arg6 = 0;
23740   if (jarg6) {
23741     arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
23742     if (!arg6) return 0;
23743   }
23744   arg7 = 0;
23745   if (jarg7) {
23746     arg7 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg7, 0);
23747     if (!arg7) return 0;
23748   }
23749   result = (struct zx_str *)zxid_call(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
23750   {
23751     // Unfortunately Java does not provide NewStringUTF() that would explicitly
23752     // take length field - they insist on nul termination instead. Sigh.
23753     if (result && result->s) {
23754       char* tmp = malloc(result->len + 1);
23755       if (!tmp) {
23756         ERR("Out of memory len=%d", result->len); return 0;
23757       }
23758       memcpy(tmp, result->s, result->len);
23759       tmp[result->len] = 0;
23760       jresult = (*jenv)->NewStringUTF(jenv, tmp);
23761       free(tmp);
23762       // Do not free underlying zx_str because they are usually returned by reference.
23763     } else {
23764       jresult = 0;
23765     }
23766   }
23767   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
23768   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
23769   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
23770   if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, ( char *)arg6);
23771   if (arg7) (*jenv)->ReleaseStringUTFChars(jenv, jarg7, ( char *)arg7);
23772   return jresult;
23773 }
23774 
23775 
23776 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1callf(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4, jstring jarg5, jstring jarg6, jstring jarg7) {
23777   jstring jresult = 0 ;
23778   zxid_conf *arg1 = (zxid_conf *) 0 ;
23779   zxid_ses *arg2 = (zxid_ses *) 0 ;
23780   char *arg3 = (char *) 0 ;
23781   char *arg4 = (char *) 0 ;
23782   char *arg5 = (char *) 0 ;
23783   char *arg6 = (char *) 0 ;
23784   char *arg7 = (char *) 0 ;
23785   void *arg8 = 0 ;
23786   struct zx_str *result = 0 ;
23787 
23788   (void)jenv;
23789   (void)jcls;
23790   arg1 = *(zxid_conf **)&jarg1;
23791   arg2 = *(zxid_ses **)&jarg2;
23792   arg3 = 0;
23793   if (jarg3) {
23794     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
23795     if (!arg3) return 0;
23796   }
23797   arg4 = 0;
23798   if (jarg4) {
23799     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
23800     if (!arg4) return 0;
23801   }
23802   arg5 = 0;
23803   if (jarg5) {
23804     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
23805     if (!arg5) return 0;
23806   }
23807   arg6 = 0;
23808   if (jarg6) {
23809     arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
23810     if (!arg6) return 0;
23811   }
23812   arg7 = 0;
23813   if (jarg7) {
23814     arg7 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg7, 0);
23815     if (!arg7) return 0;
23816   }
23817   result = (struct zx_str *)zxid_callf(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
23818   {
23819     // Unfortunately Java does not provide NewStringUTF() that would explicitly
23820     // take length field - they insist on nul termination instead. Sigh.
23821     if (result && result->s) {
23822       char* tmp = malloc(result->len + 1);
23823       if (!tmp) {
23824         ERR("Out of memory len=%d", result->len); return 0;
23825       }
23826       memcpy(tmp, result->s, result->len);
23827       tmp[result->len] = 0;
23828       jresult = (*jenv)->NewStringUTF(jenv, tmp);
23829       free(tmp);
23830       // Do not free underlying zx_str because they are usually returned by reference.
23831     } else {
23832       jresult = 0;
23833     }
23834   }
23835   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
23836   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
23837   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
23838   if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, ( char *)arg6);
23839   if (arg7) (*jenv)->ReleaseStringUTFChars(jenv, jarg7, ( char *)arg7);
23840   return jresult;
23841 }
23842 
23843 
23844 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1call_1epr(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jstring jarg4, jstring jarg5) {
23845   jstring jresult = 0 ;
23846   zxid_conf *arg1 = (zxid_conf *) 0 ;
23847   zxid_ses *arg2 = (zxid_ses *) 0 ;
23848   zxid_epr *arg3 = (zxid_epr *) 0 ;
23849   char *arg4 = (char *) 0 ;
23850   char *arg5 = (char *) 0 ;
23851   struct zx_str *result = 0 ;
23852 
23853   (void)jenv;
23854   (void)jcls;
23855   arg1 = *(zxid_conf **)&jarg1;
23856   arg2 = *(zxid_ses **)&jarg2;
23857   arg3 = *(zxid_epr **)&jarg3;
23858   arg4 = 0;
23859   if (jarg4) {
23860     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
23861     if (!arg4) return 0;
23862   }
23863   arg5 = 0;
23864   if (jarg5) {
23865     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
23866     if (!arg5) return 0;
23867   }
23868   result = (struct zx_str *)zxid_call_epr(arg1,arg2,arg3,arg4,arg5);
23869   {
23870     // Unfortunately Java does not provide NewStringUTF() that would explicitly
23871     // take length field - they insist on nul termination instead. Sigh.
23872     if (result && result->s) {
23873       char* tmp = malloc(result->len + 1);
23874       if (!tmp) {
23875         ERR("Out of memory len=%d", result->len); return 0;
23876       }
23877       memcpy(tmp, result->s, result->len);
23878       tmp[result->len] = 0;
23879       jresult = (*jenv)->NewStringUTF(jenv, tmp);
23880       free(tmp);
23881       // Do not free underlying zx_str because they are usually returned by reference.
23882     } else {
23883       jresult = 0;
23884     }
23885   }
23886   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
23887   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
23888   return jresult;
23889 }
23890 
23891 
23892 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1callf_1epr(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jstring jarg4, jstring jarg5) {
23893   jstring jresult = 0 ;
23894   zxid_conf *arg1 = (zxid_conf *) 0 ;
23895   zxid_ses *arg2 = (zxid_ses *) 0 ;
23896   zxid_epr *arg3 = (zxid_epr *) 0 ;
23897   char *arg4 = (char *) 0 ;
23898   char *arg5 = (char *) 0 ;
23899   void *arg6 = 0 ;
23900   struct zx_str *result = 0 ;
23901 
23902   (void)jenv;
23903   (void)jcls;
23904   arg1 = *(zxid_conf **)&jarg1;
23905   arg2 = *(zxid_ses **)&jarg2;
23906   arg3 = *(zxid_epr **)&jarg3;
23907   arg4 = 0;
23908   if (jarg4) {
23909     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
23910     if (!arg4) return 0;
23911   }
23912   arg5 = 0;
23913   if (jarg5) {
23914     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
23915     if (!arg5) return 0;
23916   }
23917   result = (struct zx_str *)zxid_callf_epr(arg1,arg2,arg3,arg4,arg5,arg6);
23918   {
23919     // Unfortunately Java does not provide NewStringUTF() that would explicitly
23920     // take length field - they insist on nul termination instead. Sigh.
23921     if (result && result->s) {
23922       char* tmp = malloc(result->len + 1);
23923       if (!tmp) {
23924         ERR("Out of memory len=%d", result->len); return 0;
23925       }
23926       memcpy(tmp, result->s, result->len);
23927       tmp[result->len] = 0;
23928       jresult = (*jenv)->NewStringUTF(jenv, tmp);
23929       free(tmp);
23930       // Do not free underlying zx_str because they are usually returned by reference.
23931     } else {
23932       jresult = 0;
23933     }
23934   }
23935   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
23936   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
23937   return jresult;
23938 }
23939 
23940 
23941 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1wsc_1prepare_1call(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jstring jarg4, jstring jarg5) {
23942   jstring jresult = 0 ;
23943   zxid_conf *arg1 = (zxid_conf *) 0 ;
23944   zxid_ses *arg2 = (zxid_ses *) 0 ;
23945   zxid_epr *arg3 = (zxid_epr *) 0 ;
23946   char *arg4 = (char *) 0 ;
23947   char *arg5 = (char *) 0 ;
23948   struct zx_str *result = 0 ;
23949 
23950   (void)jenv;
23951   (void)jcls;
23952   arg1 = *(zxid_conf **)&jarg1;
23953   arg2 = *(zxid_ses **)&jarg2;
23954   arg3 = *(zxid_epr **)&jarg3;
23955   arg4 = 0;
23956   if (jarg4) {
23957     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
23958     if (!arg4) return 0;
23959   }
23960   arg5 = 0;
23961   if (jarg5) {
23962     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
23963     if (!arg5) return 0;
23964   }
23965   result = (struct zx_str *)zxid_wsc_prepare_call(arg1,arg2,arg3,arg4,arg5);
23966   {
23967     // Unfortunately Java does not provide NewStringUTF() that would explicitly
23968     // take length field - they insist on nul termination instead. Sigh.
23969     if (result && result->s) {
23970       char* tmp = malloc(result->len + 1);
23971       if (!tmp) {
23972         ERR("Out of memory len=%d", result->len); return 0;
23973       }
23974       memcpy(tmp, result->s, result->len);
23975       tmp[result->len] = 0;
23976       jresult = (*jenv)->NewStringUTF(jenv, tmp);
23977       free(tmp);
23978       // Do not free underlying zx_str because they are usually returned by reference.
23979     } else {
23980       jresult = 0;
23981     }
23982   }
23983   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
23984   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
23985   return jresult;
23986 }
23987 
23988 
23989 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1wsc_1prepare_1callf(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jstring jarg4, jstring jarg5) {
23990   jstring jresult = 0 ;
23991   zxid_conf *arg1 = (zxid_conf *) 0 ;
23992   zxid_ses *arg2 = (zxid_ses *) 0 ;
23993   zxid_epr *arg3 = (zxid_epr *) 0 ;
23994   char *arg4 = (char *) 0 ;
23995   char *arg5 = (char *) 0 ;
23996   void *arg6 = 0 ;
23997   struct zx_str *result = 0 ;
23998 
23999   (void)jenv;
24000   (void)jcls;
24001   arg1 = *(zxid_conf **)&jarg1;
24002   arg2 = *(zxid_ses **)&jarg2;
24003   arg3 = *(zxid_epr **)&jarg3;
24004   arg4 = 0;
24005   if (jarg4) {
24006     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
24007     if (!arg4) return 0;
24008   }
24009   arg5 = 0;
24010   if (jarg5) {
24011     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
24012     if (!arg5) return 0;
24013   }
24014   result = (struct zx_str *)zxid_wsc_prepare_callf(arg1,arg2,arg3,arg4,arg5,arg6);
24015   {
24016     // Unfortunately Java does not provide NewStringUTF() that would explicitly
24017     // take length field - they insist on nul termination instead. Sigh.
24018     if (result && result->s) {
24019       char* tmp = malloc(result->len + 1);
24020       if (!tmp) {
24021         ERR("Out of memory len=%d", result->len); return 0;
24022       }
24023       memcpy(tmp, result->s, result->len);
24024       tmp[result->len] = 0;
24025       jresult = (*jenv)->NewStringUTF(jenv, tmp);
24026       free(tmp);
24027       // Do not free underlying zx_str because they are usually returned by reference.
24028     } else {
24029       jresult = 0;
24030     }
24031   }
24032   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
24033   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
24034   return jresult;
24035 }
24036 
24037 
24038 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zxid_1wsc_1valid_1resp(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4) {
24039   jint jresult = 0 ;
24040   zxid_conf *arg1 = (zxid_conf *) 0 ;
24041   zxid_ses *arg2 = (zxid_ses *) 0 ;
24042   char *arg3 = (char *) 0 ;
24043   char *arg4 = (char *) 0 ;
24044   int result;
24045 
24046   (void)jenv;
24047   (void)jcls;
24048   arg1 = *(zxid_conf **)&jarg1;
24049   arg2 = *(zxid_ses **)&jarg2;
24050   arg3 = 0;
24051   if (jarg3) {
24052     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
24053     if (!arg3) return 0;
24054   }
24055   arg4 = 0;
24056   if (jarg4) {
24057     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
24058     if (!arg4) return 0;
24059   }
24060   result = (int)zxid_wsc_valid_resp(arg1,arg2,arg3,arg4);
24061   jresult = (jint)result;
24062   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
24063   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
24064   return jresult;
24065 }
24066 
24067 
24068 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1epr(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4, jstring jarg5, jstring jarg6, jint jarg7) {
24069   jlong jresult = 0 ;
24070   zxid_conf *arg1 = (zxid_conf *) 0 ;
24071   zxid_ses *arg2 = (zxid_ses *) 0 ;
24072   char *arg3 = (char *) 0 ;
24073   char *arg4 = (char *) 0 ;
24074   char *arg5 = (char *) 0 ;
24075   char *arg6 = (char *) 0 ;
24076   int arg7 ;
24077   zxid_epr *result = 0 ;
24078 
24079   (void)jenv;
24080   (void)jcls;
24081   arg1 = *(zxid_conf **)&jarg1;
24082   arg2 = *(zxid_ses **)&jarg2;
24083   arg3 = 0;
24084   if (jarg3) {
24085     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
24086     if (!arg3) return 0;
24087   }
24088   arg4 = 0;
24089   if (jarg4) {
24090     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
24091     if (!arg4) return 0;
24092   }
24093   arg5 = 0;
24094   if (jarg5) {
24095     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
24096     if (!arg5) return 0;
24097   }
24098   arg6 = 0;
24099   if (jarg6) {
24100     arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
24101     if (!arg6) return 0;
24102   }
24103   arg7 = (int)jarg7;
24104   result = (zxid_epr *)zxid_get_epr(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
24105   *(zxid_epr **)&jresult = result;
24106   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
24107   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
24108   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
24109   if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, ( char *)arg6);
24110   return jresult;
24111 }
24112 
24113 
24114 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1find_1epr(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jstring jarg4, jstring jarg5, jstring jarg6, jint jarg7) {
24115   jlong jresult = 0 ;
24116   zxid_conf *arg1 = (zxid_conf *) 0 ;
24117   zxid_ses *arg2 = (zxid_ses *) 0 ;
24118   char *arg3 = (char *) 0 ;
24119   char *arg4 = (char *) 0 ;
24120   char *arg5 = (char *) 0 ;
24121   char *arg6 = (char *) 0 ;
24122   int arg7 ;
24123   zxid_epr *result = 0 ;
24124 
24125   (void)jenv;
24126   (void)jcls;
24127   arg1 = *(zxid_conf **)&jarg1;
24128   arg2 = *(zxid_ses **)&jarg2;
24129   arg3 = 0;
24130   if (jarg3) {
24131     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
24132     if (!arg3) return 0;
24133   }
24134   arg4 = 0;
24135   if (jarg4) {
24136     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
24137     if (!arg4) return 0;
24138   }
24139   arg5 = 0;
24140   if (jarg5) {
24141     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
24142     if (!arg5) return 0;
24143   }
24144   arg6 = 0;
24145   if (jarg6) {
24146     arg6 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg6, 0);
24147     if (!arg6) return 0;
24148   }
24149   arg7 = (int)jarg7;
24150   result = (zxid_epr *)zxid_find_epr(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
24151   *(zxid_epr **)&jresult = result;
24152   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
24153   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
24154   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
24155   if (arg6) (*jenv)->ReleaseStringUTFChars(jenv, jarg6, ( char *)arg6);
24156   return jresult;
24157 }
24158 
24159 
24160 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1epr_1address(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
24161   jstring jresult = 0 ;
24162   zxid_conf *arg1 = (zxid_conf *) 0 ;
24163   zxid_epr *arg2 = (zxid_epr *) 0 ;
24164   struct zx_str *result = 0 ;
24165 
24166   (void)jenv;
24167   (void)jcls;
24168   arg1 = *(zxid_conf **)&jarg1;
24169   arg2 = *(zxid_epr **)&jarg2;
24170   result = (struct zx_str *)zxid_get_epr_address(arg1,arg2);
24171   {
24172     // Unfortunately Java does not provide NewStringUTF() that would explicitly
24173     // take length field - they insist on nul termination instead. Sigh.
24174     if (result && result->s) {
24175       char* tmp = malloc(result->len + 1);
24176       if (!tmp) {
24177         ERR("Out of memory len=%d", result->len); return 0;
24178       }
24179       memcpy(tmp, result->s, result->len);
24180       tmp[result->len] = 0;
24181       jresult = (*jenv)->NewStringUTF(jenv, tmp);
24182       free(tmp);
24183       // Do not free underlying zx_str because they are usually returned by reference.
24184     } else {
24185       jresult = 0;
24186     }
24187   }
24188   return jresult;
24189 }
24190 
24191 
24192 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1epr_1entid(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
24193   jstring jresult = 0 ;
24194   zxid_conf *arg1 = (zxid_conf *) 0 ;
24195   zxid_epr *arg2 = (zxid_epr *) 0 ;
24196   struct zx_str *result = 0 ;
24197 
24198   (void)jenv;
24199   (void)jcls;
24200   arg1 = *(zxid_conf **)&jarg1;
24201   arg2 = *(zxid_epr **)&jarg2;
24202   result = (struct zx_str *)zxid_get_epr_entid(arg1,arg2);
24203   {
24204     // Unfortunately Java does not provide NewStringUTF() that would explicitly
24205     // take length field - they insist on nul termination instead. Sigh.
24206     if (result && result->s) {
24207       char* tmp = malloc(result->len + 1);
24208       if (!tmp) {
24209         ERR("Out of memory len=%d", result->len); return 0;
24210       }
24211       memcpy(tmp, result->s, result->len);
24212       tmp[result->len] = 0;
24213       jresult = (*jenv)->NewStringUTF(jenv, tmp);
24214       free(tmp);
24215       // Do not free underlying zx_str because they are usually returned by reference.
24216     } else {
24217       jresult = 0;
24218     }
24219   }
24220   return jresult;
24221 }
24222 
24223 
24224 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1epr_1desc(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
24225   jstring jresult = 0 ;
24226   zxid_conf *arg1 = (zxid_conf *) 0 ;
24227   zxid_epr *arg2 = (zxid_epr *) 0 ;
24228   struct zx_str *result = 0 ;
24229 
24230   (void)jenv;
24231   (void)jcls;
24232   arg1 = *(zxid_conf **)&jarg1;
24233   arg2 = *(zxid_epr **)&jarg2;
24234   result = (struct zx_str *)zxid_get_epr_desc(arg1,arg2);
24235   {
24236     // Unfortunately Java does not provide NewStringUTF() that would explicitly
24237     // take length field - they insist on nul termination instead. Sigh.
24238     if (result && result->s) {
24239       char* tmp = malloc(result->len + 1);
24240       if (!tmp) {
24241         ERR("Out of memory len=%d", result->len); return 0;
24242       }
24243       memcpy(tmp, result->s, result->len);
24244       tmp[result->len] = 0;
24245       jresult = (*jenv)->NewStringUTF(jenv, tmp);
24246       free(tmp);
24247       // Do not free underlying zx_str because they are usually returned by reference.
24248     } else {
24249       jresult = 0;
24250     }
24251   }
24252   return jresult;
24253 }
24254 
24255 
24256 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1epr_1tas3_1trust(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
24257   jstring jresult = 0 ;
24258   zxid_conf *arg1 = (zxid_conf *) 0 ;
24259   zxid_epr *arg2 = (zxid_epr *) 0 ;
24260   struct zx_str *result = 0 ;
24261 
24262   (void)jenv;
24263   (void)jcls;
24264   arg1 = *(zxid_conf **)&jarg1;
24265   arg2 = *(zxid_epr **)&jarg2;
24266   result = (struct zx_str *)zxid_get_epr_tas3_trust(arg1,arg2);
24267   {
24268     // Unfortunately Java does not provide NewStringUTF() that would explicitly
24269     // take length field - they insist on nul termination instead. Sigh.
24270     if (result && result->s) {
24271       char* tmp = malloc(result->len + 1);
24272       if (!tmp) {
24273         ERR("Out of memory len=%d", result->len); return 0;
24274       }
24275       memcpy(tmp, result->s, result->len);
24276       tmp[result->len] = 0;
24277       jresult = (*jenv)->NewStringUTF(jenv, tmp);
24278       free(tmp);
24279       // Do not free underlying zx_str because they are usually returned by reference.
24280     } else {
24281       jresult = 0;
24282     }
24283   }
24284   return jresult;
24285 }
24286 
24287 
24288 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1epr_1secmech(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
24289   jstring jresult = 0 ;
24290   zxid_conf *arg1 = (zxid_conf *) 0 ;
24291   zxid_epr *arg2 = (zxid_epr *) 0 ;
24292   struct zx_str *result = 0 ;
24293 
24294   (void)jenv;
24295   (void)jcls;
24296   arg1 = *(zxid_conf **)&jarg1;
24297   arg2 = *(zxid_epr **)&jarg2;
24298   result = (struct zx_str *)zxid_get_epr_secmech(arg1,arg2);
24299   {
24300     // Unfortunately Java does not provide NewStringUTF() that would explicitly
24301     // take length field - they insist on nul termination instead. Sigh.
24302     if (result && result->s) {
24303       char* tmp = malloc(result->len + 1);
24304       if (!tmp) {
24305         ERR("Out of memory len=%d", result->len); return 0;
24306       }
24307       memcpy(tmp, result->s, result->len);
24308       tmp[result->len] = 0;
24309       jresult = (*jenv)->NewStringUTF(jenv, tmp);
24310       free(tmp);
24311       // Do not free underlying zx_str because they are usually returned by reference.
24312     } else {
24313       jresult = 0;
24314     }
24315   }
24316   return jresult;
24317 }
24318 
24319 
24320 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1set_1epr_1secmech(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) {
24321   zxid_conf *arg1 = (zxid_conf *) 0 ;
24322   zxid_epr *arg2 = (zxid_epr *) 0 ;
24323   char *arg3 = (char *) 0 ;
24324 
24325   (void)jenv;
24326   (void)jcls;
24327   arg1 = *(zxid_conf **)&jarg1;
24328   arg2 = *(zxid_epr **)&jarg2;
24329   arg3 = 0;
24330   if (jarg3) {
24331     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
24332     if (!arg3) return ;
24333   }
24334   zxid_set_epr_secmech(arg1,arg2,arg3);
24335   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
24336 }
24337 
24338 
24339 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1epr_1token(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
24340   jlong jresult = 0 ;
24341   zxid_conf *arg1 = (zxid_conf *) 0 ;
24342   zxid_epr *arg2 = (zxid_epr *) 0 ;
24343   zxid_tok *result = 0 ;
24344 
24345   (void)jenv;
24346   (void)jcls;
24347   arg1 = *(zxid_conf **)&jarg1;
24348   arg2 = *(zxid_epr **)&jarg2;
24349   result = (zxid_tok *)zxid_get_epr_token(arg1,arg2);
24350   *(zxid_tok **)&jresult = result;
24351   return jresult;
24352 }
24353 
24354 
24355 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1set_1epr_1token(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
24356   zxid_conf *arg1 = (zxid_conf *) 0 ;
24357   zxid_epr *arg2 = (zxid_epr *) 0 ;
24358   zxid_tok *arg3 = (zxid_tok *) 0 ;
24359 
24360   (void)jenv;
24361   (void)jcls;
24362   arg1 = *(zxid_conf **)&jarg1;
24363   arg2 = *(zxid_epr **)&jarg2;
24364   arg3 = *(zxid_tok **)&jarg3;
24365   zxid_set_epr_token(arg1,arg2,arg3);
24366 }
24367 
24368 
24369 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1new_1epr(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jstring jarg4, jstring jarg5) {
24370   jlong jresult = 0 ;
24371   zxid_conf *arg1 = (zxid_conf *) 0 ;
24372   char *arg2 = (char *) 0 ;
24373   char *arg3 = (char *) 0 ;
24374   char *arg4 = (char *) 0 ;
24375   char *arg5 = (char *) 0 ;
24376   zxid_epr *result = 0 ;
24377 
24378   (void)jenv;
24379   (void)jcls;
24380   arg1 = *(zxid_conf **)&jarg1;
24381   arg2 = 0;
24382   if (jarg2) {
24383     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
24384     if (!arg2) return 0;
24385   }
24386   arg3 = 0;
24387   if (jarg3) {
24388     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
24389     if (!arg3) return 0;
24390   }
24391   arg4 = 0;
24392   if (jarg4) {
24393     arg4 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg4, 0);
24394     if (!arg4) return 0;
24395   }
24396   arg5 = 0;
24397   if (jarg5) {
24398     arg5 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg5, 0);
24399     if (!arg5) return 0;
24400   }
24401   result = (zxid_epr *)zxid_new_epr(arg1,arg2,arg3,arg4,arg5);
24402   *(zxid_epr **)&jresult = result;
24403   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
24404   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
24405   if (arg4) (*jenv)->ReleaseStringUTFChars(jenv, jarg4, ( char *)arg4);
24406   if (arg5) (*jenv)->ReleaseStringUTFChars(jenv, jarg5, ( char *)arg5);
24407   return jresult;
24408 }
24409 
24410 
24411 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1delegated_1discovery_1epr(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
24412   jlong jresult = 0 ;
24413   zxid_conf *arg1 = (zxid_conf *) 0 ;
24414   zxid_ses *arg2 = (zxid_ses *) 0 ;
24415   zxid_epr *result = 0 ;
24416 
24417   (void)jenv;
24418   (void)jcls;
24419   arg1 = *(zxid_conf **)&jarg1;
24420   arg2 = *(zxid_ses **)&jarg2;
24421   result = (zxid_epr *)zxid_get_delegated_discovery_epr(arg1,arg2);
24422   *(zxid_epr **)&jresult = result;
24423   return jresult;
24424 }
24425 
24426 
24427 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1set_1delegated_1discovery_1epr(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
24428   zxid_conf *arg1 = (zxid_conf *) 0 ;
24429   zxid_ses *arg2 = (zxid_ses *) 0 ;
24430   zxid_epr *arg3 = (zxid_epr *) 0 ;
24431 
24432   (void)jenv;
24433   (void)jcls;
24434   arg1 = *(zxid_conf **)&jarg1;
24435   arg2 = *(zxid_ses **)&jarg2;
24436   arg3 = *(zxid_epr **)&jarg3;
24437   zxid_set_delegated_discovery_epr(arg1,arg2,arg3);
24438 }
24439 
24440 
24441 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1call_1invoktok(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
24442   jlong jresult = 0 ;
24443   zxid_conf *arg1 = (zxid_conf *) 0 ;
24444   zxid_ses *arg2 = (zxid_ses *) 0 ;
24445   zxid_tok *result = 0 ;
24446 
24447   (void)jenv;
24448   (void)jcls;
24449   arg1 = *(zxid_conf **)&jarg1;
24450   arg2 = *(zxid_ses **)&jarg2;
24451   result = (zxid_tok *)zxid_get_call_invoktok(arg1,arg2);
24452   *(zxid_tok **)&jresult = result;
24453   return jresult;
24454 }
24455 
24456 
24457 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1set_1call_1invoktok(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
24458   zxid_conf *arg1 = (zxid_conf *) 0 ;
24459   zxid_ses *arg2 = (zxid_ses *) 0 ;
24460   zxid_tok *arg3 = (zxid_tok *) 0 ;
24461 
24462   (void)jenv;
24463   (void)jcls;
24464   arg1 = *(zxid_conf **)&jarg1;
24465   arg2 = *(zxid_ses **)&jarg2;
24466   arg3 = *(zxid_tok **)&jarg3;
24467   zxid_set_call_invoktok(arg1,arg2,arg3);
24468 }
24469 
24470 
24471 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1call_1tgttok(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
24472   jlong jresult = 0 ;
24473   zxid_conf *arg1 = (zxid_conf *) 0 ;
24474   zxid_ses *arg2 = (zxid_ses *) 0 ;
24475   zxid_tok *result = 0 ;
24476 
24477   (void)jenv;
24478   (void)jcls;
24479   arg1 = *(zxid_conf **)&jarg1;
24480   arg2 = *(zxid_ses **)&jarg2;
24481   result = (zxid_tok *)zxid_get_call_tgttok(arg1,arg2);
24482   *(zxid_tok **)&jresult = result;
24483   return jresult;
24484 }
24485 
24486 
24487 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1set_1call_1tgttok(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
24488   zxid_conf *arg1 = (zxid_conf *) 0 ;
24489   zxid_ses *arg2 = (zxid_ses *) 0 ;
24490   zxid_tok *arg3 = (zxid_tok *) 0 ;
24491 
24492   (void)jenv;
24493   (void)jcls;
24494   arg1 = *(zxid_conf **)&jarg1;
24495   arg2 = *(zxid_ses **)&jarg2;
24496   arg3 = *(zxid_tok **)&jarg3;
24497   zxid_set_call_tgttok(arg1,arg2,arg3);
24498 }
24499 
24500 
24501 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1epr2str(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
24502   jstring jresult = 0 ;
24503   zxid_conf *arg1 = (zxid_conf *) 0 ;
24504   zxid_epr *arg2 = (zxid_epr *) 0 ;
24505   struct zx_str *result = 0 ;
24506 
24507   (void)jenv;
24508   (void)jcls;
24509   arg1 = *(zxid_conf **)&jarg1;
24510   arg2 = *(zxid_epr **)&jarg2;
24511   result = (struct zx_str *)zxid_epr2str(arg1,arg2);
24512   {
24513     // Unfortunately Java does not provide NewStringUTF() that would explicitly
24514     // take length field - they insist on nul termination instead. Sigh.
24515     if (result && result->s) {
24516       char* tmp = malloc(result->len + 1);
24517       if (!tmp) {
24518         ERR("Out of memory len=%d", result->len); return 0;
24519       }
24520       memcpy(tmp, result->s, result->len);
24521       tmp[result->len] = 0;
24522       jresult = (*jenv)->NewStringUTF(jenv, tmp);
24523       free(tmp);
24524       // Do not free underlying zx_str because they are usually returned by reference.
24525     } else {
24526       jresult = 0;
24527     }
24528   }
24529   return jresult;
24530 }
24531 
24532 
24533 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1token2str(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
24534   jstring jresult = 0 ;
24535   zxid_conf *arg1 = (zxid_conf *) 0 ;
24536   zxid_tok *arg2 = (zxid_tok *) 0 ;
24537   struct zx_str *result = 0 ;
24538 
24539   (void)jenv;
24540   (void)jcls;
24541   arg1 = *(zxid_conf **)&jarg1;
24542   arg2 = *(zxid_tok **)&jarg2;
24543   result = (struct zx_str *)zxid_token2str(arg1,arg2);
24544   {
24545     // Unfortunately Java does not provide NewStringUTF() that would explicitly
24546     // take length field - they insist on nul termination instead. Sigh.
24547     if (result && result->s) {
24548       char* tmp = malloc(result->len + 1);
24549       if (!tmp) {
24550         ERR("Out of memory len=%d", result->len); return 0;
24551       }
24552       memcpy(tmp, result->s, result->len);
24553       tmp[result->len] = 0;
24554       jresult = (*jenv)->NewStringUTF(jenv, tmp);
24555       free(tmp);
24556       // Do not free underlying zx_str because they are usually returned by reference.
24557     } else {
24558       jresult = 0;
24559     }
24560   }
24561   return jresult;
24562 }
24563 
24564 
24565 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1str2token(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
24566   jlong jresult = 0 ;
24567   zxid_conf *arg1 = (zxid_conf *) 0 ;
24568   struct zx_str *arg2 = (struct zx_str *) 0 ;
24569   zxid_tok *result = 0 ;
24570 
24571   (void)jenv;
24572   (void)jcls;
24573   arg1 = *(zxid_conf **)&jarg1;
24574   arg2 = *(struct zx_str **)&jarg2;
24575   result = (zxid_tok *)zxid_str2token(arg1,arg2);
24576   *(zxid_tok **)&jresult = result;
24577   return jresult;
24578 }
24579 
24580 
24581 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1a7n2str(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
24582   jstring jresult = 0 ;
24583   zxid_conf *arg1 = (zxid_conf *) 0 ;
24584   zxid_a7n *arg2 = (zxid_a7n *) 0 ;
24585   struct zx_str *result = 0 ;
24586 
24587   (void)jenv;
24588   (void)jcls;
24589   arg1 = *(zxid_conf **)&jarg1;
24590   arg2 = *(zxid_a7n **)&jarg2;
24591   result = (struct zx_str *)zxid_a7n2str(arg1,arg2);
24592   {
24593     // Unfortunately Java does not provide NewStringUTF() that would explicitly
24594     // take length field - they insist on nul termination instead. Sigh.
24595     if (result && result->s) {
24596       char* tmp = malloc(result->len + 1);
24597       if (!tmp) {
24598         ERR("Out of memory len=%d", result->len); return 0;
24599       }
24600       memcpy(tmp, result->s, result->len);
24601       tmp[result->len] = 0;
24602       jresult = (*jenv)->NewStringUTF(jenv, tmp);
24603       free(tmp);
24604       // Do not free underlying zx_str because they are usually returned by reference.
24605     } else {
24606       jresult = 0;
24607     }
24608   }
24609   return jresult;
24610 }
24611 
24612 
24613 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1str2a7n(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
24614   jlong jresult = 0 ;
24615   zxid_conf *arg1 = (zxid_conf *) 0 ;
24616   struct zx_str *arg2 = (struct zx_str *) 0 ;
24617   zxid_a7n *result = 0 ;
24618 
24619   (void)jenv;
24620   (void)jcls;
24621   arg1 = *(zxid_conf **)&jarg1;
24622   arg2 = *(struct zx_str **)&jarg2;
24623   result = (zxid_a7n *)zxid_str2a7n(arg1,arg2);
24624   *(zxid_a7n **)&jresult = result;
24625   return jresult;
24626 }
24627 
24628 
24629 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1nid2str(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
24630   jstring jresult = 0 ;
24631   zxid_conf *arg1 = (zxid_conf *) 0 ;
24632   zxid_nid *arg2 = (zxid_nid *) 0 ;
24633   struct zx_str *result = 0 ;
24634 
24635   (void)jenv;
24636   (void)jcls;
24637   arg1 = *(zxid_conf **)&jarg1;
24638   arg2 = *(zxid_nid **)&jarg2;
24639   result = (struct zx_str *)zxid_nid2str(arg1,arg2);
24640   {
24641     // Unfortunately Java does not provide NewStringUTF() that would explicitly
24642     // take length field - they insist on nul termination instead. Sigh.
24643     if (result && result->s) {
24644       char* tmp = malloc(result->len + 1);
24645       if (!tmp) {
24646         ERR("Out of memory len=%d", result->len); return 0;
24647       }
24648       memcpy(tmp, result->s, result->len);
24649       tmp[result->len] = 0;
24650       jresult = (*jenv)->NewStringUTF(jenv, tmp);
24651       free(tmp);
24652       // Do not free underlying zx_str because they are usually returned by reference.
24653     } else {
24654       jresult = 0;
24655     }
24656   }
24657   return jresult;
24658 }
24659 
24660 
24661 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1str2nid(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) {
24662   jlong jresult = 0 ;
24663   zxid_conf *arg1 = (zxid_conf *) 0 ;
24664   struct zx_str *arg2 = (struct zx_str *) 0 ;
24665   zxid_nid *result = 0 ;
24666 
24667   (void)jenv;
24668   (void)jcls;
24669   arg1 = *(zxid_conf **)&jarg1;
24670   arg2 = *(struct zx_str **)&jarg2;
24671   result = (zxid_nid *)zxid_str2nid(arg1,arg2);
24672   *(zxid_nid **)&jresult = result;
24673   return jresult;
24674 }
24675 
24676 
24677 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1nameid(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
24678   jlong jresult = 0 ;
24679   zxid_conf *arg1 = (zxid_conf *) 0 ;
24680   zxid_ses *arg2 = (zxid_ses *) 0 ;
24681   zxid_nid *result = 0 ;
24682 
24683   (void)jenv;
24684   (void)jcls;
24685   arg1 = *(zxid_conf **)&jarg1;
24686   arg2 = *(zxid_ses **)&jarg2;
24687   result = (zxid_nid *)zxid_get_nameid(arg1,arg2);
24688   *(zxid_nid **)&jresult = result;
24689   return jresult;
24690 }
24691 
24692 
24693 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1set_1nameid(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
24694   zxid_conf *arg1 = (zxid_conf *) 0 ;
24695   zxid_ses *arg2 = (zxid_ses *) 0 ;
24696   zxid_nid *arg3 = (zxid_nid *) 0 ;
24697 
24698   (void)jenv;
24699   (void)jcls;
24700   arg1 = *(zxid_conf **)&jarg1;
24701   arg2 = *(zxid_ses **)&jarg2;
24702   arg3 = *(zxid_nid **)&jarg3;
24703   zxid_set_nameid(arg1,arg2,arg3);
24704 }
24705 
24706 
24707 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1tgtnameid(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
24708   jlong jresult = 0 ;
24709   zxid_conf *arg1 = (zxid_conf *) 0 ;
24710   zxid_ses *arg2 = (zxid_ses *) 0 ;
24711   zxid_nid *result = 0 ;
24712 
24713   (void)jenv;
24714   (void)jcls;
24715   arg1 = *(zxid_conf **)&jarg1;
24716   arg2 = *(zxid_ses **)&jarg2;
24717   result = (zxid_nid *)zxid_get_tgtnameid(arg1,arg2);
24718   *(zxid_nid **)&jresult = result;
24719   return jresult;
24720 }
24721 
24722 
24723 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1set_1tgtnameid(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
24724   zxid_conf *arg1 = (zxid_conf *) 0 ;
24725   zxid_ses *arg2 = (zxid_ses *) 0 ;
24726   zxid_nid *arg3 = (zxid_nid *) 0 ;
24727 
24728   (void)jenv;
24729   (void)jcls;
24730   arg1 = *(zxid_conf **)&jarg1;
24731   arg2 = *(zxid_ses **)&jarg2;
24732   arg3 = *(zxid_nid **)&jarg3;
24733   zxid_set_tgtnameid(arg1,arg2,arg3);
24734 }
24735 
24736 
24737 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1a7n(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
24738   jlong jresult = 0 ;
24739   zxid_conf *arg1 = (zxid_conf *) 0 ;
24740   zxid_ses *arg2 = (zxid_ses *) 0 ;
24741   zxid_a7n *result = 0 ;
24742 
24743   (void)jenv;
24744   (void)jcls;
24745   arg1 = *(zxid_conf **)&jarg1;
24746   arg2 = *(zxid_ses **)&jarg2;
24747   result = (zxid_a7n *)zxid_get_a7n(arg1,arg2);
24748   *(zxid_a7n **)&jresult = result;
24749   return jresult;
24750 }
24751 
24752 
24753 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1set_1a7n(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
24754   zxid_conf *arg1 = (zxid_conf *) 0 ;
24755   zxid_ses *arg2 = (zxid_ses *) 0 ;
24756   zxid_a7n *arg3 = (zxid_a7n *) 0 ;
24757 
24758   (void)jenv;
24759   (void)jcls;
24760   arg1 = *(zxid_conf **)&jarg1;
24761   arg2 = *(zxid_ses **)&jarg2;
24762   arg3 = *(zxid_a7n **)&jarg3;
24763   zxid_set_a7n(arg1,arg2,arg3);
24764 }
24765 
24766 
24767 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1tgta7n(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
24768   jlong jresult = 0 ;
24769   zxid_conf *arg1 = (zxid_conf *) 0 ;
24770   zxid_ses *arg2 = (zxid_ses *) 0 ;
24771   zxid_a7n *result = 0 ;
24772 
24773   (void)jenv;
24774   (void)jcls;
24775   arg1 = *(zxid_conf **)&jarg1;
24776   arg2 = *(zxid_ses **)&jarg2;
24777   result = (zxid_a7n *)zxid_get_tgta7n(arg1,arg2);
24778   *(zxid_a7n **)&jresult = result;
24779   return jresult;
24780 }
24781 
24782 
24783 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zxid_1set_1tgta7n(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
24784   zxid_conf *arg1 = (zxid_conf *) 0 ;
24785   zxid_ses *arg2 = (zxid_ses *) 0 ;
24786   zxid_a7n *arg3 = (zxid_a7n *) 0 ;
24787 
24788   (void)jenv;
24789   (void)jcls;
24790   arg1 = *(zxid_conf **)&jarg1;
24791   arg2 = *(zxid_ses **)&jarg2;
24792   arg3 = *(zxid_a7n **)&jarg3;
24793   zxid_set_tgta7n(arg1,arg2,arg3);
24794 }
24795 
24796 
24797 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1map_1identity_1token(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jint jarg4) {
24798   jlong jresult = 0 ;
24799   zxid_conf *arg1 = (zxid_conf *) 0 ;
24800   zxid_ses *arg2 = (zxid_ses *) 0 ;
24801   char *arg3 = (char *) 0 ;
24802   int arg4 ;
24803   zxid_tok *result = 0 ;
24804 
24805   (void)jenv;
24806   (void)jcls;
24807   arg1 = *(zxid_conf **)&jarg1;
24808   arg2 = *(zxid_ses **)&jarg2;
24809   arg3 = 0;
24810   if (jarg3) {
24811     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
24812     if (!arg3) return 0;
24813   }
24814   arg4 = (int)jarg4;
24815   result = (zxid_tok *)zxid_map_identity_token(arg1,arg2,arg3,arg4);
24816   *(zxid_tok **)&jresult = result;
24817   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
24818   return jresult;
24819 }
24820 
24821 
24822 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zxid_1nidmap_1identity_1token(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jint jarg4) {
24823   jlong jresult = 0 ;
24824   zxid_conf *arg1 = (zxid_conf *) 0 ;
24825   zxid_ses *arg2 = (zxid_ses *) 0 ;
24826   char *arg3 = (char *) 0 ;
24827   int arg4 ;
24828   zxid_tok *result = 0 ;
24829 
24830   (void)jenv;
24831   (void)jcls;
24832   arg1 = *(zxid_conf **)&jarg1;
24833   arg2 = *(zxid_ses **)&jarg2;
24834   arg3 = 0;
24835   if (jarg3) {
24836     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
24837     if (!arg3) return 0;
24838   }
24839   arg4 = (int)jarg4;
24840   result = (zxid_tok *)zxid_nidmap_identity_token(arg1,arg2,arg3,arg4);
24841   *(zxid_tok **)&jresult = result;
24842   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
24843   return jresult;
24844 }
24845 
24846 
24847 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ps_1accept_1invite(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jint jarg5) {
24848   jstring jresult = 0 ;
24849   zxid_conf *arg1 = (zxid_conf *) 0 ;
24850   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
24851   zxid_ses *arg3 = (zxid_ses *) 0 ;
24852   int *arg4 = (int *) 0 ;
24853   int arg5 ;
24854   char *result = 0 ;
24855 
24856   (void)jenv;
24857   (void)jcls;
24858   arg1 = *(zxid_conf **)&jarg1;
24859   arg2 = *(zxid_cgi **)&jarg2;
24860   arg3 = *(zxid_ses **)&jarg3;
24861   arg4 = *(int **)&jarg4;
24862   arg5 = (int)jarg5;
24863   result = (char *)zxid_ps_accept_invite(arg1,arg2,arg3,arg4,arg5);
24864   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
24865   return jresult;
24866 }
24867 
24868 
24869 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1ps_1finalize_1invite(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jint jarg5) {
24870   jstring jresult = 0 ;
24871   zxid_conf *arg1 = (zxid_conf *) 0 ;
24872   zxid_cgi *arg2 = (zxid_cgi *) 0 ;
24873   zxid_ses *arg3 = (zxid_ses *) 0 ;
24874   int *arg4 = (int *) 0 ;
24875   int arg5 ;
24876   char *result = 0 ;
24877 
24878   (void)jenv;
24879   (void)jcls;
24880   arg1 = *(zxid_conf **)&jarg1;
24881   arg2 = *(zxid_cgi **)&jarg2;
24882   arg3 = *(zxid_ses **)&jarg3;
24883   arg4 = *(int **)&jarg4;
24884   arg5 = (int)jarg5;
24885   result = (char *)zxid_ps_finalize_invite(arg1,arg2,arg3,arg4,arg5);
24886   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
24887   return jresult;
24888 }
24889 
24890 
24891 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zxid_1get_1idpnid_1at_1eid(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3, jint jarg4) {
24892   jstring jresult = 0 ;
24893   zxid_conf *arg1 = (zxid_conf *) 0 ;
24894   char *arg2 = (char *) 0 ;
24895   char *arg3 = (char *) 0 ;
24896   int arg4 ;
24897   char *result = 0 ;
24898 
24899   (void)jenv;
24900   (void)jcls;
24901   arg1 = *(zxid_conf **)&jarg1;
24902   arg2 = 0;
24903   if (jarg2) {
24904     arg2 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg2, 0);
24905     if (!arg2) return 0;
24906   }
24907   arg3 = 0;
24908   if (jarg3) {
24909     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
24910     if (!arg3) return 0;
24911   }
24912   arg4 = (int)jarg4;
24913   result = (char *)zxid_get_idpnid_at_eid(arg1,arg2,arg3,arg4);
24914   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
24915   if (arg2) (*jenv)->ReleaseStringUTFChars(jenv, jarg2, ( char *)arg2);
24916   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
24917   return jresult;
24918 }
24919 
24920 
24921 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1DAP_1SCOPE_1BASE_1get(JNIEnv *jenv, jclass jcls) {
24922   jint jresult = 0 ;
24923   int result;
24924 
24925   (void)jenv;
24926   (void)jcls;
24927   result = (int)(0);
24928   jresult = (jint)result;
24929   return jresult;
24930 }
24931 
24932 
24933 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1DAP_1SCOPE_1SINGLE_1get(JNIEnv *jenv, jclass jcls) {
24934   jint jresult = 0 ;
24935   int result;
24936 
24937   (void)jenv;
24938   (void)jcls;
24939   result = (int)(1);
24940   jresult = (jint)result;
24941   return jresult;
24942 }
24943 
24944 
24945 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1DAP_1SCOPE_1SUBTREE_1get(JNIEnv *jenv, jclass jcls) {
24946   jint jresult = 0 ;
24947   int result;
24948 
24949   (void)jenv;
24950   (void)jcls;
24951   result = (int)(2);
24952   jresult = (jint)result;
24953   return jresult;
24954 }
24955 
24956 
24957 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1CDC_1CHOICE_1ALWAYS_1FIRST_1get(JNIEnv *jenv, jclass jcls) {
24958   jint jresult = 0 ;
24959   int result;
24960 
24961   (void)jenv;
24962   (void)jcls;
24963   result = (int)(1);
24964   jresult = (jint)result;
24965   return jresult;
24966 }
24967 
24968 
24969 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1CDC_1CHOICE_1ALWAYS_1LAST_1get(JNIEnv *jenv, jclass jcls) {
24970   jint jresult = 0 ;
24971   int result;
24972 
24973   (void)jenv;
24974   (void)jcls;
24975   result = (int)(2);
24976   jresult = (jint)result;
24977   return jresult;
24978 }
24979 
24980 
24981 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1CDC_1CHOICE_1ALWAYS_1ONLY_1get(JNIEnv *jenv, jclass jcls) {
24982   jint jresult = 0 ;
24983   int result;
24984 
24985   (void)jenv;
24986   (void)jcls;
24987   result = (int)(3);
24988   jresult = (jint)result;
24989   return jresult;
24990 }
24991 
24992 
24993 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1CDC_1CHOICE_1UI_1PREF_1get(JNIEnv *jenv, jclass jcls) {
24994   jint jresult = 0 ;
24995   int result;
24996 
24997   (void)jenv;
24998   (void)jcls;
24999   result = (int)(4);
25000   jresult = (jint)result;
25001   return jresult;
25002 }
25003 
25004 
25005 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1CDC_1CHOICE_1UI_1NOPREF_1get(JNIEnv *jenv, jclass jcls) {
25006   jint jresult = 0 ;
25007   int result;
25008 
25009   (void)jenv;
25010   (void)jcls;
25011   result = (int)(5);
25012   jresult = (jint)result;
25013   return jresult;
25014 }
25015 
25016 
25017 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1CDC_1CHOICE_1UI_1ONLY_1CDC_1get(JNIEnv *jenv, jclass jcls) {
25018   jint jresult = 0 ;
25019   int result;
25020 
25021   (void)jenv;
25022   (void)jcls;
25023   result = (int)(6);
25024   jresult = (jint)result;
25025   return jresult;
25026 }
25027 
25028 
25029 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1DEFAULT_1PR_1IX_1get(JNIEnv *jenv, jclass jcls) {
25030   jint jresult = 0 ;
25031   int result;
25032 
25033   (void)jenv;
25034   (void)jcls;
25035   result = (int)(0);
25036   jresult = (jint)result;
25037   return jresult;
25038 }
25039 
25040 
25041 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SAML2_1ART_1get(JNIEnv *jenv, jclass jcls) {
25042   jint jresult = 0 ;
25043   int result;
25044 
25045   (void)jenv;
25046   (void)jcls;
25047   result = (int)(1);
25048   jresult = (jint)result;
25049   return jresult;
25050 }
25051 
25052 
25053 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SAML2_1POST_1get(JNIEnv *jenv, jclass jcls) {
25054   jint jresult = 0 ;
25055   int result;
25056 
25057   (void)jenv;
25058   (void)jcls;
25059   result = (int)(2);
25060   jresult = (jint)result;
25061   return jresult;
25062 }
25063 
25064 
25065 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SAML2_1SOAP_1get(JNIEnv *jenv, jclass jcls) {
25066   jint jresult = 0 ;
25067   int result;
25068 
25069   (void)jenv;
25070   (void)jcls;
25071   result = (int)(3);
25072   jresult = (jint)result;
25073   return jresult;
25074 }
25075 
25076 
25077 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SAML2_1PAOS_1get(JNIEnv *jenv, jclass jcls) {
25078   jint jresult = 0 ;
25079   int result;
25080 
25081   (void)jenv;
25082   (void)jcls;
25083   result = (int)(4);
25084   jresult = (jint)result;
25085   return jresult;
25086 }
25087 
25088 
25089 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SAML2_1POST_1SIMPLE_1SIGN_1get(JNIEnv *jenv, jclass jcls) {
25090   jint jresult = 0 ;
25091   int result;
25092 
25093   (void)jenv;
25094   (void)jcls;
25095   result = (int)(5);
25096   jresult = (jint)result;
25097   return jresult;
25098 }
25099 
25100 
25101 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SAML2_1REDIR_1get(JNIEnv *jenv, jclass jcls) {
25102   jint jresult = 0 ;
25103   int result;
25104 
25105   (void)jenv;
25106   (void)jcls;
25107   result = (int)(6);
25108   jresult = (jint)result;
25109   return jresult;
25110 }
25111 
25112 
25113 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SAML2_1URI_1get(JNIEnv *jenv, jclass jcls) {
25114   jint jresult = 0 ;
25115   int result;
25116 
25117   (void)jenv;
25118   (void)jcls;
25119   result = (int)(7);
25120   jresult = (jint)result;
25121   return jresult;
25122 }
25123 
25124 
25125 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1OIDC1_1CODE_1get(JNIEnv *jenv, jclass jcls) {
25126   jint jresult = 0 ;
25127   int result;
25128 
25129   (void)jenv;
25130   (void)jcls;
25131   result = (int)(8);
25132   jresult = (jint)result;
25133   return jresult;
25134 }
25135 
25136 
25137 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1OIDC1_1ID_1TOK_1TOK_1get(JNIEnv *jenv, jclass jcls) {
25138   jint jresult = 0 ;
25139   int result;
25140 
25141   (void)jenv;
25142   (void)jcls;
25143   result = (int)(9);
25144   jresult = (jint)result;
25145   return jresult;
25146 }
25147 
25148 
25149 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SLO_1SVC_1get(JNIEnv *jenv, jclass jcls) {
25150   jint jresult = 0 ;
25151   int result;
25152 
25153   (void)jenv;
25154   (void)jcls;
25155   result = (int)(1);
25156   jresult = (jint)result;
25157   return jresult;
25158 }
25159 
25160 
25161 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1MNI_1SVC_1get(JNIEnv *jenv, jclass jcls) {
25162   jint jresult = 0 ;
25163   int result;
25164 
25165   (void)jenv;
25166   (void)jcls;
25167   result = (int)(2);
25168   jresult = (jint)result;
25169   return jresult;
25170 }
25171 
25172 
25173 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1ACS_1SVC_1get(JNIEnv *jenv, jclass jcls) {
25174   jint jresult = 0 ;
25175   int result;
25176 
25177   (void)jenv;
25178   (void)jcls;
25179   result = (int)(3);
25180   jresult = (jint)result;
25181   return jresult;
25182 }
25183 
25184 
25185 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SEC_1MECH_1NULL_1get(JNIEnv *jenv, jclass jcls) {
25186   jint jresult = 0 ;
25187   int result;
25188 
25189   (void)jenv;
25190   (void)jcls;
25191   result = (int)(1);
25192   jresult = (jint)result;
25193   return jresult;
25194 }
25195 
25196 
25197 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SEC_1MECH_1BEARER_1get(JNIEnv *jenv, jclass jcls) {
25198   jint jresult = 0 ;
25199   int result;
25200 
25201   (void)jenv;
25202   (void)jcls;
25203   result = (int)(2);
25204   jresult = (jint)result;
25205   return jresult;
25206 }
25207 
25208 
25209 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SEC_1MECH_1SAML_1get(JNIEnv *jenv, jclass jcls) {
25210   jint jresult = 0 ;
25211   int result;
25212 
25213   (void)jenv;
25214   (void)jcls;
25215   result = (int)(3);
25216   jresult = (jint)result;
25217   return jresult;
25218 }
25219 
25220 
25221 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SEC_1MECH_1X509_1get(JNIEnv *jenv, jclass jcls) {
25222   jint jresult = 0 ;
25223   int result;
25224 
25225   (void)jenv;
25226   (void)jcls;
25227   result = (int)(4);
25228   jresult = (jint)result;
25229   return jresult;
25230 }
25231 
25232 
25233 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SEC_1MECH_1PEERS_1get(JNIEnv *jenv, jclass jcls) {
25234   jint jresult = 0 ;
25235   int result;
25236 
25237   (void)jenv;
25238   (void)jcls;
25239   result = (int)(5);
25240   jresult = (jint)result;
25241   return jresult;
25242 }
25243 
25244 
25245 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1FAIL_1get(JNIEnv *jenv, jclass jcls) {
25246   jint jresult = 0 ;
25247   int result;
25248 
25249   (void)jenv;
25250   (void)jcls;
25251   result = (int)(0);
25252   jresult = (jint)result;
25253   return jresult;
25254 }
25255 
25256 
25257 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1OK_1get(JNIEnv *jenv, jclass jcls) {
25258   jint jresult = 0 ;
25259   int result;
25260 
25261   (void)jenv;
25262   (void)jcls;
25263   result = (int)(1);
25264   jresult = (jint)result;
25265   return jresult;
25266 }
25267 
25268 
25269 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1REDIR_1OK_1get(JNIEnv *jenv, jclass jcls) {
25270   jint jresult = 0 ;
25271   int result;
25272 
25273   (void)jenv;
25274   (void)jcls;
25275   result = (int)(2);
25276   jresult = (jint)result;
25277   return jresult;
25278 }
25279 
25280 
25281 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1SSO_1OK_1get(JNIEnv *jenv, jclass jcls) {
25282   jint jresult = 0 ;
25283   int result;
25284 
25285   (void)jenv;
25286   (void)jcls;
25287   result = (int)(3);
25288   jresult = (jint)result;
25289   return jresult;
25290 }
25291 
25292 
25293 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1IDP_1REQ_1get(JNIEnv *jenv, jclass jcls) {
25294   jint jresult = 0 ;
25295   int result;
25296 
25297   (void)jenv;
25298   (void)jcls;
25299   result = (int)(4);
25300   jresult = (jint)result;
25301   return jresult;
25302 }
25303 
25304 
25305 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_sha1_1safe_1base64(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2, jstring jarg3) {
25306   jstring jresult = 0 ;
25307   char *arg1 = (char *) 0 ;
25308   int arg2 ;
25309   char *arg3 = (char *) 0 ;
25310   char *result = 0 ;
25311 
25312   (void)jenv;
25313   (void)jcls;
25314   arg1 = 0;
25315   if (jarg1) {
25316     arg1 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg1, 0);
25317     if (!arg1) return 0;
25318   }
25319   arg2 = (int)jarg2;
25320   arg3 = 0;
25321   if (jarg3) {
25322     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
25323     if (!arg3) return 0;
25324   }
25325   result = (char *)sha1_safe_base64(arg1,arg2,arg3);
25326   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25327   if (arg1) (*jenv)->ReleaseStringUTFChars(jenv, jarg1, ( char *)arg1);
25328   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
25329   return jresult;
25330 }
25331 
25332 
25333 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1url_1encode(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2, jstring jarg3, jlong jarg4) {
25334   jstring jresult = 0 ;
25335   struct zx_ctx *arg1 = (struct zx_ctx *) 0 ;
25336   int arg2 ;
25337   char *arg3 = (char *) 0 ;
25338   int *arg4 = (int *) 0 ;
25339   char *result = 0 ;
25340 
25341   (void)jenv;
25342   (void)jcls;
25343   arg1 = *(struct zx_ctx **)&jarg1;
25344   arg2 = (int)jarg2;
25345   arg3 = 0;
25346   if (jarg3) {
25347     arg3 = (char *)(*jenv)->GetStringUTFChars(jenv, jarg3, 0);
25348     if (!arg3) return 0;
25349   }
25350   arg4 = *(int **)&jarg4;
25351   result = (char *)zx_url_encode(arg1,arg2,arg3,arg4);
25352   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25353   if (arg3) (*jenv)->ReleaseStringUTFChars(jenv, jarg3, ( char *)arg3);
25354   return jresult;
25355 }
25356 
25357 
25358 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1PROTO_1get(JNIEnv *jenv, jclass jcls) {
25359   jstring jresult = 0 ;
25360   char *result = 0 ;
25361 
25362   (void)jenv;
25363   (void)jcls;
25364   result = (char *)("urn:oasis:names:tc:SAML:2.0:protocol");
25365   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25366   return jresult;
25367 }
25368 
25369 
25370 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1VERSION_1get(JNIEnv *jenv, jclass jcls) {
25371   jstring jresult = 0 ;
25372   char *result = 0 ;
25373 
25374   (void)jenv;
25375   (void)jcls;
25376   result = (char *)("2.0");
25377   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25378   return jresult;
25379 }
25380 
25381 
25382 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1SUCCESS_1get(JNIEnv *jenv, jclass jcls) {
25383   jstring jresult = 0 ;
25384   char *result = 0 ;
25385 
25386   (void)jenv;
25387   (void)jcls;
25388   result = (char *)("urn:oasis:names:tc:SAML:2.0:status:Success");
25389   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25390   return jresult;
25391 }
25392 
25393 
25394 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1REQUESTER_1get(JNIEnv *jenv, jclass jcls) {
25395   jstring jresult = 0 ;
25396   char *result = 0 ;
25397 
25398   (void)jenv;
25399   (void)jcls;
25400   result = (char *)("urn:oasis:names:tc:SAML:2.0:status:Requester");
25401   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25402   return jresult;
25403 }
25404 
25405 
25406 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1RESPONDER_1get(JNIEnv *jenv, jclass jcls) {
25407   jstring jresult = 0 ;
25408   char *result = 0 ;
25409 
25410   (void)jenv;
25411   (void)jcls;
25412   result = (char *)("urn:oasis:names:tc:SAML:2.0:status:Responder");
25413   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25414   return jresult;
25415 }
25416 
25417 
25418 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1VERSION_1get(JNIEnv *jenv, jclass jcls) {
25419   jstring jresult = 0 ;
25420   char *result = 0 ;
25421 
25422   (void)jenv;
25423   (void)jcls;
25424   result = (char *)("urn:oasis:names:tc:SAML:2.0:status:VersionMismatch");
25425   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25426   return jresult;
25427 }
25428 
25429 
25430 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1AUTHNFAIL_1get(JNIEnv *jenv, jclass jcls) {
25431   jstring jresult = 0 ;
25432   char *result = 0 ;
25433 
25434   (void)jenv;
25435   (void)jcls;
25436   result = (char *)("urn:oasis:names:tc:SAML:2.0:status:AuthnFailed");
25437   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25438   return jresult;
25439 }
25440 
25441 
25442 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1INVATTRNV_1get(JNIEnv *jenv, jclass jcls) {
25443   jstring jresult = 0 ;
25444   char *result = 0 ;
25445 
25446   (void)jenv;
25447   (void)jcls;
25448   result = (char *)("urn:oasis:names:tc:SAML:2.0:status:InvalidAttrnameOrValue");
25449   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25450   return jresult;
25451 }
25452 
25453 
25454 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1INVNIDPOL_1get(JNIEnv *jenv, jclass jcls) {
25455   jstring jresult = 0 ;
25456   char *result = 0 ;
25457 
25458   (void)jenv;
25459   (void)jcls;
25460   result = (char *)("urn:oasis:names:tc:SAML:2.0:status:InvalidNameIDPolicy");
25461   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25462   return jresult;
25463 }
25464 
25465 
25466 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1NOAUTNCTX_1get(JNIEnv *jenv, jclass jcls) {
25467   jstring jresult = 0 ;
25468   char *result = 0 ;
25469 
25470   (void)jenv;
25471   (void)jcls;
25472   result = (char *)("urn:oasis:names:tc:SAML:2.0:status:NoAuthnContext");
25473   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25474   return jresult;
25475 }
25476 
25477 
25478 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1NOAVALIDP_1get(JNIEnv *jenv, jclass jcls) {
25479   jstring jresult = 0 ;
25480   char *result = 0 ;
25481 
25482   (void)jenv;
25483   (void)jcls;
25484   result = (char *)("urn:oasis:names:tc:SAML:2.0:status:NoAvailableIDP");
25485   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25486   return jresult;
25487 }
25488 
25489 
25490 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1NOPASSIVE_1get(JNIEnv *jenv, jclass jcls) {
25491   jstring jresult = 0 ;
25492   char *result = 0 ;
25493 
25494   (void)jenv;
25495   (void)jcls;
25496   result = (char *)("urn:oasis:names:tc:SAML:2.0:status:NoPassive");
25497   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25498   return jresult;
25499 }
25500 
25501 
25502 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1NOSUPPIDP_1get(JNIEnv *jenv, jclass jcls) {
25503   jstring jresult = 0 ;
25504   char *result = 0 ;
25505 
25506   (void)jenv;
25507   (void)jcls;
25508   result = (char *)("urn:oasis:names:tc:SAML:2.0:status:NoSupportedIDP");
25509   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25510   return jresult;
25511 }
25512 
25513 
25514 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1PARLOGOUT_1get(JNIEnv *jenv, jclass jcls) {
25515   jstring jresult = 0 ;
25516   char *result = 0 ;
25517 
25518   (void)jenv;
25519   (void)jcls;
25520   result = (char *)("urn:oasis:names:tc:SAML:2.0:status:PartialLogout");
25521   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25522   return jresult;
25523 }
25524 
25525 
25526 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1PROXYCEXC_1get(JNIEnv *jenv, jclass jcls) {
25527   jstring jresult = 0 ;
25528   char *result = 0 ;
25529 
25530   (void)jenv;
25531   (void)jcls;
25532   result = (char *)("urn:oasis:names:tc:SAML:2.0:status:ProxyCountExceeded");
25533   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25534   return jresult;
25535 }
25536 
25537 
25538 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1REQDENIED_1get(JNIEnv *jenv, jclass jcls) {
25539   jstring jresult = 0 ;
25540   char *result = 0 ;
25541 
25542   (void)jenv;
25543   (void)jcls;
25544   result = (char *)("urn:oasis:names:tc:SAML:2.0:status:RequestDenied");
25545   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25546   return jresult;
25547 }
25548 
25549 
25550 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1REQUNSUPP_1get(JNIEnv *jenv, jclass jcls) {
25551   jstring jresult = 0 ;
25552   char *result = 0 ;
25553 
25554   (void)jenv;
25555   (void)jcls;
25556   result = (char *)("urn:oasis:names:tc:SAML:2.0:status:RequestUnsupported");
25557   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25558   return jresult;
25559 }
25560 
25561 
25562 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1REQVERDEP_1get(JNIEnv *jenv, jclass jcls) {
25563   jstring jresult = 0 ;
25564   char *result = 0 ;
25565 
25566   (void)jenv;
25567   (void)jcls;
25568   result = (char *)("urn:oasis:names:tc:SAML:2.0:status:RequestVersionDeprecated");
25569   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25570   return jresult;
25571 }
25572 
25573 
25574 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1REQVERHIG_1get(JNIEnv *jenv, jclass jcls) {
25575   jstring jresult = 0 ;
25576   char *result = 0 ;
25577 
25578   (void)jenv;
25579   (void)jcls;
25580   result = (char *)("urn:oasis:names:tc:SAML:2.0:status:RequestVersionTooHigh");
25581   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25582   return jresult;
25583 }
25584 
25585 
25586 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1REQVERLOW_1get(JNIEnv *jenv, jclass jcls) {
25587   jstring jresult = 0 ;
25588   char *result = 0 ;
25589 
25590   (void)jenv;
25591   (void)jcls;
25592   result = (char *)("urn:oasis:names:tc:SAML:2.0:status:RequestVersionTooLow");
25593   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25594   return jresult;
25595 }
25596 
25597 
25598 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1RESONRECG_1get(JNIEnv *jenv, jclass jcls) {
25599   jstring jresult = 0 ;
25600   char *result = 0 ;
25601 
25602   (void)jenv;
25603   (void)jcls;
25604   result = (char *)("urn:oasis:names:tc:SAML:2.0:status:ResourceNotRecognized");
25605   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25606   return jresult;
25607 }
25608 
25609 
25610 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1TOOMNYRES_1get(JNIEnv *jenv, jclass jcls) {
25611   jstring jresult = 0 ;
25612   char *result = 0 ;
25613 
25614   (void)jenv;
25615   (void)jcls;
25616   result = (char *)("urn:oasis:names:tc:SAML:2.0:status:TooManyResponses");
25617   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25618   return jresult;
25619 }
25620 
25621 
25622 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1UNKATTPRO_1get(JNIEnv *jenv, jclass jcls) {
25623   jstring jresult = 0 ;
25624   char *result = 0 ;
25625 
25626   (void)jenv;
25627   (void)jcls;
25628   result = (char *)("urn:oasis:names:tc:SAML:2.0:status:UnknownAttributeProfile");
25629   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25630   return jresult;
25631 }
25632 
25633 
25634 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1UNKPRNCPL_1get(JNIEnv *jenv, jclass jcls) {
25635   jstring jresult = 0 ;
25636   char *result = 0 ;
25637 
25638   (void)jenv;
25639   (void)jcls;
25640   result = (char *)("urn:oasis:names:tc:SAML:2.0:status:UnknownPrincipal");
25641   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25642   return jresult;
25643 }
25644 
25645 
25646 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SC_1UNSUPPBIN_1get(JNIEnv *jenv, jclass jcls) {
25647   jstring jresult = 0 ;
25648   char *result = 0 ;
25649 
25650   (void)jenv;
25651   (void)jcls;
25652   result = (char *)("urn:oasis:names:tc:SAML:2.0:status:UnsupportedBinding");
25653   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25654   return jresult;
25655 }
25656 
25657 
25658 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML_1AUTHCTX_1PASSWORDPROTECTED_1get(JNIEnv *jenv, jclass jcls) {
25659   jstring jresult = 0 ;
25660   char *result = 0 ;
25661 
25662   (void)jenv;
25663   (void)jcls;
25664   result = (char *)("urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport");
25665   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25666   return jresult;
25667 }
25668 
25669 
25670 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML_1AUTHCTX_1PASSWORD_1get(JNIEnv *jenv, jclass jcls) {
25671   jstring jresult = 0 ;
25672   char *result = 0 ;
25673 
25674   (void)jenv;
25675   (void)jcls;
25676   result = (char *)("urn:oasis:names:tc:SAML:2.0:ac:classes:Password");
25677   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25678   return jresult;
25679 }
25680 
25681 
25682 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML_1AUTHCTX_1SSL_1TLS_1CERT_1get(JNIEnv *jenv, jclass jcls) {
25683   jstring jresult = 0 ;
25684   char *result = 0 ;
25685 
25686   (void)jenv;
25687   (void)jcls;
25688   result = (char *)("urn:oasis:names:tc:SAML:2.0:ac:classes:TLSClient");
25689   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25690   return jresult;
25691 }
25692 
25693 
25694 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML_1AUTHCTX_1PREVSESS_1get(JNIEnv *jenv, jclass jcls) {
25695   jstring jresult = 0 ;
25696   char *result = 0 ;
25697 
25698   (void)jenv;
25699   (void)jcls;
25700   result = (char *)("urn:oasis:names:tc:SAML:2.0:ac:classes:PreviousSession");
25701   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25702   return jresult;
25703 }
25704 
25705 
25706 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML_1AUTHCTX_1UNSPCFD_1get(JNIEnv *jenv, jclass jcls) {
25707   jstring jresult = 0 ;
25708   char *result = 0 ;
25709 
25710   (void)jenv;
25711   (void)jcls;
25712   result = (char *)("urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified");
25713   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25714   return jresult;
25715 }
25716 
25717 
25718 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML_1AUTHCTX_1INPROT_1get(JNIEnv *jenv, jclass jcls) {
25719   jstring jresult = 0 ;
25720   char *result = 0 ;
25721 
25722   (void)jenv;
25723   (void)jcls;
25724   result = (char *)("urn:oasis:names:tc:SAML:2.0:ac:classes:InternetProtocol");
25725   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25726   return jresult;
25727 }
25728 
25729 
25730 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1UNSPECIFIED_1NID_1FMT_1get(JNIEnv *jenv, jclass jcls) {
25731   jstring jresult = 0 ;
25732   char *result = 0 ;
25733 
25734   (void)jenv;
25735   (void)jcls;
25736   result = (char *)("urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified");
25737   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25738   return jresult;
25739 }
25740 
25741 
25742 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1EMAILADDR_1NID_1FMT_1get(JNIEnv *jenv, jclass jcls) {
25743   jstring jresult = 0 ;
25744   char *result = 0 ;
25745 
25746   (void)jenv;
25747   (void)jcls;
25748   result = (char *)("urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress");
25749   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25750   return jresult;
25751 }
25752 
25753 
25754 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1X509_1NID_1FMT_1get(JNIEnv *jenv, jclass jcls) {
25755   jstring jresult = 0 ;
25756   char *result = 0 ;
25757 
25758   (void)jenv;
25759   (void)jcls;
25760   result = (char *)("urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName");
25761   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25762   return jresult;
25763 }
25764 
25765 
25766 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1WINDOMAINQN_1NID_1FMT_1get(JNIEnv *jenv, jclass jcls) {
25767   jstring jresult = 0 ;
25768   char *result = 0 ;
25769 
25770   (void)jenv;
25771   (void)jcls;
25772   result = (char *)("urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName");
25773   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25774   return jresult;
25775 }
25776 
25777 
25778 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1KERBEROS_1NID_1FMT_1get(JNIEnv *jenv, jclass jcls) {
25779   jstring jresult = 0 ;
25780   char *result = 0 ;
25781 
25782   (void)jenv;
25783   (void)jcls;
25784   result = (char *)("urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos");
25785   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25786   return jresult;
25787 }
25788 
25789 
25790 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1ENTITY_1NID_1FMT_1get(JNIEnv *jenv, jclass jcls) {
25791   jstring jresult = 0 ;
25792   char *result = 0 ;
25793 
25794   (void)jenv;
25795   (void)jcls;
25796   result = (char *)("urn:oasis:names:tc:SAML:2.0:nameid-format:entity");
25797   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25798   return jresult;
25799 }
25800 
25801 
25802 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1PERSISTENT_1NID_1FMT_1get(JNIEnv *jenv, jclass jcls) {
25803   jstring jresult = 0 ;
25804   char *result = 0 ;
25805 
25806   (void)jenv;
25807   (void)jcls;
25808   result = (char *)("urn:oasis:names:tc:SAML:2.0:nameid-format:persistent");
25809   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25810   return jresult;
25811 }
25812 
25813 
25814 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1TRANSIENT_1NID_1FMT_1get(JNIEnv *jenv, jclass jcls) {
25815   jstring jresult = 0 ;
25816   char *result = 0 ;
25817 
25818   (void)jenv;
25819   (void)jcls;
25820   result = (char *)("urn:oasis:names:tc:SAML:2.0:nameid-format:transient");
25821   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25822   return jresult;
25823 }
25824 
25825 
25826 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SSO_1BRWS_1get(JNIEnv *jenv, jclass jcls) {
25827   jstring jresult = 0 ;
25828   char *result = 0 ;
25829 
25830   (void)jenv;
25831   (void)jcls;
25832   result = (char *)("urn:oasis:names:tc:SAML:2.0:profiles:SSO:browser");
25833   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25834   return jresult;
25835 }
25836 
25837 
25838 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SSO_1ECP_1get(JNIEnv *jenv, jclass jcls) {
25839   jstring jresult = 0 ;
25840   char *result = 0 ;
25841 
25842   (void)jenv;
25843   (void)jcls;
25844   result = (char *)("urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp");
25845   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25846   return jresult;
25847 }
25848 
25849 
25850 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SLO_1get(JNIEnv *jenv, jclass jcls) {
25851   jstring jresult = 0 ;
25852   char *result = 0 ;
25853 
25854   (void)jenv;
25855   (void)jcls;
25856   result = (char *)("urn:oasis:names:tc:SAML:2.0:profiles:SSO:logout");
25857   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25858   return jresult;
25859 }
25860 
25861 
25862 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1NIREG_1get(JNIEnv *jenv, jclass jcls) {
25863   jstring jresult = 0 ;
25864   char *result = 0 ;
25865 
25866   (void)jenv;
25867   (void)jcls;
25868   result = (char *)("urn:oasis:names:tc:SAML:2.0:profiles:SSO:nameid-mgmt");
25869   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25870   return jresult;
25871 }
25872 
25873 
25874 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1NIMAP_1get(JNIEnv *jenv, jclass jcls) {
25875   jstring jresult = 0 ;
25876   char *result = 0 ;
25877 
25878   (void)jenv;
25879   (void)jcls;
25880   result = (char *)("urn:oasis:names:tc:SAML:2.0:profiles:SSO:nameidmapping");
25881   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25882   return jresult;
25883 }
25884 
25885 
25886 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1ARTIFACT_1get(JNIEnv *jenv, jclass jcls) {
25887   jstring jresult = 0 ;
25888   char *result = 0 ;
25889 
25890   (void)jenv;
25891   (void)jcls;
25892   result = (char *)("urn:oasis:names:tc:SAML:2.0:profiles:SSO:artifact");
25893   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25894   return jresult;
25895 }
25896 
25897 
25898 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1QUERY_1get(JNIEnv *jenv, jclass jcls) {
25899   jstring jresult = 0 ;
25900   char *result = 0 ;
25901 
25902   (void)jenv;
25903   (void)jcls;
25904   result = (char *)("urn:oasis:names:tc:SAML:2.0:profiles:SSO:query");
25905   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25906   return jresult;
25907 }
25908 
25909 
25910 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1PAOS_1get(JNIEnv *jenv, jclass jcls) {
25911   jstring jresult = 0 ;
25912   char *result = 0 ;
25913 
25914   (void)jenv;
25915   (void)jcls;
25916   result = (char *)("urn:oasis:names:tc:SAML:2.0:bindings:PAOS");
25917   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25918   return jresult;
25919 }
25920 
25921 
25922 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SOAP_1get(JNIEnv *jenv, jclass jcls) {
25923   jstring jresult = 0 ;
25924   char *result = 0 ;
25925 
25926   (void)jenv;
25927   (void)jcls;
25928   result = (char *)("urn:oasis:names:tc:SAML:2.0:bindings:SOAP");
25929   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25930   return jresult;
25931 }
25932 
25933 
25934 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1REDIR_1get(JNIEnv *jenv, jclass jcls) {
25935   jstring jresult = 0 ;
25936   char *result = 0 ;
25937 
25938   (void)jenv;
25939   (void)jcls;
25940   result = (char *)("urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect");
25941   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25942   return jresult;
25943 }
25944 
25945 
25946 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1ART_1get(JNIEnv *jenv, jclass jcls) {
25947   jstring jresult = 0 ;
25948   char *result = 0 ;
25949 
25950   (void)jenv;
25951   (void)jcls;
25952   result = (char *)("urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact");
25953   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25954   return jresult;
25955 }
25956 
25957 
25958 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1POST_1get(JNIEnv *jenv, jclass jcls) {
25959   jstring jresult = 0 ;
25960   char *result = 0 ;
25961 
25962   (void)jenv;
25963   (void)jcls;
25964   result = (char *)("urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST");
25965   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25966   return jresult;
25967 }
25968 
25969 
25970 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1POST_1SIMPLE_1SIGN_1get(JNIEnv *jenv, jclass jcls) {
25971   jstring jresult = 0 ;
25972   char *result = 0 ;
25973 
25974   (void)jenv;
25975   (void)jcls;
25976   result = (char *)("urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign");
25977   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25978   return jresult;
25979 }
25980 
25981 
25982 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1URI_1get(JNIEnv *jenv, jclass jcls) {
25983   jstring jresult = 0 ;
25984   char *result = 0 ;
25985 
25986   (void)jenv;
25987   (void)jcls;
25988   result = (char *)("urn:oasis:names:tc:SAML:2.0:bindings:URI");
25989   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
25990   return jresult;
25991 }
25992 
25993 
25994 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OAUTH2_1REDIR_1get(JNIEnv *jenv, jclass jcls) {
25995   jstring jresult = 0 ;
25996   char *result = 0 ;
25997 
25998   (void)jenv;
25999   (void)jcls;
26000   result = (char *)("urn:zxid:OAUTH:2.0:bindings:HTTP-Redirect");
26001   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26002   return jresult;
26003 }
26004 
26005 
26006 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1AP_1BASIC_1get(JNIEnv *jenv, jclass jcls) {
26007   jstring jresult = 0 ;
26008   char *result = 0 ;
26009 
26010   (void)jenv;
26011   (void)jcls;
26012   result = (char *)("urn:oasis:names:tc:SAML:2.0:profiles:attribute:basic");
26013   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26014   return jresult;
26015 }
26016 
26017 
26018 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1AP_1X500_1get(JNIEnv *jenv, jclass jcls) {
26019   jstring jresult = 0 ;
26020   char *result = 0 ;
26021 
26022   (void)jenv;
26023   (void)jcls;
26024   result = (char *)("urn:oasis:names:tc:SAML:2.0:profiles:attribute:X500");
26025   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26026   return jresult;
26027 }
26028 
26029 
26030 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1AP_1UUID_1get(JNIEnv *jenv, jclass jcls) {
26031   jstring jresult = 0 ;
26032   char *result = 0 ;
26033 
26034   (void)jenv;
26035   (void)jcls;
26036   result = (char *)("urn:oasis:names:tc:SAML:2.0:profiles:attribute:UUID");
26037   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26038   return jresult;
26039 }
26040 
26041 
26042 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1AP_1DCE_1get(JNIEnv *jenv, jclass jcls) {
26043   jstring jresult = 0 ;
26044   char *result = 0 ;
26045 
26046   (void)jenv;
26047   (void)jcls;
26048   result = (char *)("urn:oasis:names:tc:SAML:2.0:profiles:attribute:DCE");
26049   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26050   return jresult;
26051 }
26052 
26053 
26054 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1AP_1XACML_1get(JNIEnv *jenv, jclass jcls) {
26055   jstring jresult = 0 ;
26056   char *result = 0 ;
26057 
26058   (void)jenv;
26059   (void)jcls;
26060   result = (char *)("urn:oasis:names:tc:SAML:2.0:profiles:attribute:XACML");
26061   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26062   return jresult;
26063 }
26064 
26065 
26066 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ATTRNAME_1UNSPECIFIED_1get(JNIEnv *jenv, jclass jcls) {
26067   jstring jresult = 0 ;
26068   char *result = 0 ;
26069 
26070   (void)jenv;
26071   (void)jcls;
26072   result = (char *)("urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified");
26073   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26074   return jresult;
26075 }
26076 
26077 
26078 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ATTRNAME_1BASIC_1get(JNIEnv *jenv, jclass jcls) {
26079   jstring jresult = 0 ;
26080   char *result = 0 ;
26081 
26082   (void)jenv;
26083   (void)jcls;
26084   result = (char *)("urn:oasis:names:tc:SAML:2.0:attrname-format:basic");
26085   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26086   return jresult;
26087 }
26088 
26089 
26090 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SOAP_1ACTOR_1NEXT_1get(JNIEnv *jenv, jclass jcls) {
26091   jstring jresult = 0 ;
26092   char *result = 0 ;
26093 
26094   (void)jenv;
26095   (void)jcls;
26096   result = (char *)("http://schemas.xmlsoap.org/soap/actor/next");
26097   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26098   return jresult;
26099 }
26100 
26101 
26102 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1BEARER_1get(JNIEnv *jenv, jclass jcls) {
26103   jstring jresult = 0 ;
26104   char *result = 0 ;
26105 
26106   (void)jenv;
26107   (void)jcls;
26108   result = (char *)("urn:oasis:names:tc:SAML:2.0:cm:bearer");
26109   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26110   return jresult;
26111 }
26112 
26113 
26114 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1SOAP_1ACTION_1get(JNIEnv *jenv, jclass jcls) {
26115   jstring jresult = 0 ;
26116   char *result = 0 ;
26117 
26118   (void)jenv;
26119   (void)jcls;
26120   result = (char *)("http://www.oasis-open.org/committees/security");
26121   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26122   return jresult;
26123 }
26124 
26125 
26126 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACTION_1RW_1get(JNIEnv *jenv, jclass jcls) {
26127   jstring jresult = 0 ;
26128   char *result = 0 ;
26129 
26130   (void)jenv;
26131   (void)jcls;
26132   result = (char *)("urn:oasis:names:tc:SAML:1.0:action:rwedc");
26133   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26134   return jresult;
26135 }
26136 
26137 
26138 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACTION_1RWN_1get(JNIEnv *jenv, jclass jcls) {
26139   jstring jresult = 0 ;
26140   char *result = 0 ;
26141 
26142   (void)jenv;
26143   (void)jcls;
26144   result = (char *)("urn:oasis:names:tc:SAML:1.0:action:rwedc-negation");
26145   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26146   return jresult;
26147 }
26148 
26149 
26150 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACTION_1GHPP_1get(JNIEnv *jenv, jclass jcls) {
26151   jstring jresult = 0 ;
26152   char *result = 0 ;
26153 
26154   (void)jenv;
26155   (void)jcls;
26156   result = (char *)("urn:oasis:names:tc:SAML:1.0:action:ghpp");
26157   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26158   return jresult;
26159 }
26160 
26161 
26162 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACTION_1UNIX_1get(JNIEnv *jenv, jclass jcls) {
26163   jstring jresult = 0 ;
26164   char *result = 0 ;
26165 
26166   (void)jenv;
26167   (void)jcls;
26168   result = (char *)("urn:oasis:names:tc:SAML:1.0:action:unix");
26169   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26170   return jresult;
26171 }
26172 
26173 
26174 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_PAOS_1CONTENT_1get(JNIEnv *jenv, jclass jcls) {
26175   jstring jresult = 0 ;
26176   char *result = 0 ;
26177 
26178   (void)jenv;
26179   (void)jcls;
26180   result = (char *)("application/vnd.paos+xml");
26181   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26182   return jresult;
26183 }
26184 
26185 
26186 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1SA_1get(JNIEnv *jenv, jclass jcls) {
26187   jstring jresult = 0 ;
26188   char *result = 0 ;
26189 
26190   (void)jenv;
26191   (void)jcls;
26192   result = (char *)("urn:liberty:sa:2006-08");
26193   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26194   return jresult;
26195 }
26196 
26197 
26198 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1IMS_1get(JNIEnv *jenv, jclass jcls) {
26199   jstring jresult = 0 ;
26200   char *result = 0 ;
26201 
26202   (void)jenv;
26203   (void)jcls;
26204   result = (char *)("urn:liberty:ims:2006-08");
26205   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26206   return jresult;
26207 }
26208 
26209 
26210 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1LIB_1get(JNIEnv *jenv, jclass jcls) {
26211   jstring jresult = 0 ;
26212   char *result = 0 ;
26213 
26214   (void)jenv;
26215   (void)jcls;
26216   result = (char *)("urn:liberty:iff:2003-08");
26217   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26218   return jresult;
26219 }
26220 
26221 
26222 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1SASL_1REQ_1get(JNIEnv *jenv, jclass jcls) {
26223   jstring jresult = 0 ;
26224   char *result = 0 ;
26225 
26226   (void)jenv;
26227   (void)jcls;
26228   result = (char *)("urn:liberty:sa:2006-08:SASLRequest");
26229   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26230   return jresult;
26231 }
26232 
26233 
26234 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1SASL_1RES_1get(JNIEnv *jenv, jclass jcls) {
26235   jstring jresult = 0 ;
26236   char *result = 0 ;
26237 
26238   (void)jenv;
26239   (void)jcls;
26240   result = (char *)("urn:liberty:sa:2006-08:SASLResponse");
26241   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26242   return jresult;
26243 }
26244 
26245 
26246 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_PWTRUNCATE_1get(JNIEnv *jenv, jclass jcls) {
26247   jstring jresult = 0 ;
26248   char *result = 0 ;
26249 
26250   (void)jenv;
26251   (void)jcls;
26252   result = (char *)("urn:liberty:sa:pw:truncate");
26253   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26254   return jresult;
26255 }
26256 
26257 
26258 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_PWLOWERCASE_1get(JNIEnv *jenv, jclass jcls) {
26259   jstring jresult = 0 ;
26260   char *result = 0 ;
26261 
26262   (void)jenv;
26263   (void)jcls;
26264   result = (char *)("urn:liberty:sa:pw:lowercase");
26265   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26266   return jresult;
26267 }
26268 
26269 
26270 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_PWUPPERCASE_1get(JNIEnv *jenv, jclass jcls) {
26271   jstring jresult = 0 ;
26272   char *result = 0 ;
26273 
26274   (void)jenv;
26275   (void)jcls;
26276   result = (char *)("urn:liberty:sa:pw:uppercase");
26277   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26278   return jresult;
26279 }
26280 
26281 
26282 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_PWSELECT_1get(JNIEnv *jenv, jclass jcls) {
26283   jstring jresult = 0 ;
26284   char *result = 0 ;
26285 
26286   (void)jenv;
26287   (void)jcls;
26288   result = (char *)("urn:liberty:sa:pw:select");
26289   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26290   return jresult;
26291 }
26292 
26293 
26294 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1SUBS_1get(JNIEnv *jenv, jclass jcls) {
26295   jstring jresult = 0 ;
26296   char *result = 0 ;
26297 
26298   (void)jenv;
26299   (void)jcls;
26300   result = (char *)("urn:liberty:ssos:2006-08");
26301   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26302   return jresult;
26303 }
26304 
26305 
26306 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1SUBSREF_1get(JNIEnv *jenv, jclass jcls) {
26307   jstring jresult = 0 ;
26308   char *result = 0 ;
26309 
26310   (void)jenv;
26311   (void)jcls;
26312   result = (char *)("urn:liberty:ssos:2006-08:ref");
26313   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26314   return jresult;
26315 }
26316 
26317 
26318 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SUBS_1OPT_1NOSUBSCIB_1get(JNIEnv *jenv, jclass jcls) {
26319   jstring jresult = 0 ;
26320   char *result = 0 ;
26321 
26322   (void)jenv;
26323   (void)jcls;
26324   result = (char *)("urn:liberty:subs:noSubscribe");
26325   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26326   return jresult;
26327 }
26328 
26329 
26330 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SUBS_1OPT_1NOQUESUBS_1get(JNIEnv *jenv, jclass jcls) {
26331   jstring jresult = 0 ;
26332   char *result = 0 ;
26333 
26334   (void)jenv;
26335   (void)jcls;
26336   result = (char *)("urn:liberty:subs:noQuerySubscriptions");
26337   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26338   return jresult;
26339 }
26340 
26341 
26342 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SUBS_1END_1EXPIRED_1get(JNIEnv *jenv, jclass jcls) {
26343   jstring jresult = 0 ;
26344   char *result = 0 ;
26345 
26346   (void)jenv;
26347   (void)jcls;
26348   result = (char *)("urn:liberty:dst:endreason:expired");
26349   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26350   return jresult;
26351 }
26352 
26353 
26354 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SUBS_1END_1DELETED_1get(JNIEnv *jenv, jclass jcls) {
26355   jstring jresult = 0 ;
26356   char *result = 0 ;
26357 
26358   (void)jenv;
26359   (void)jcls;
26360   result = (char *)("urn:liberty:dst:endreason:resourcedeleted");
26361   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26362   return jresult;
26363 }
26364 
26365 
26366 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1DI_1RO_1get(JNIEnv *jenv, jclass jcls) {
26367   jstring jresult = 0 ;
26368   char *result = 0 ;
26369 
26370   (void)jenv;
26371   (void)jcls;
26372   result = (char *)("DiscoveryResourceOffering");
26373   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26374   return jresult;
26375 }
26376 
26377 
26378 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF20_1DI_1RO_1get(JNIEnv *jenv, jclass jcls) {
26379   jstring jresult = 0 ;
26380   char *result = 0 ;
26381 
26382   (void)jenv;
26383   (void)jcls;
26384   result = (char *)("urn:liberty:disco:2006-08:DiscoveryEPR");
26385   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26386   return jresult;
26387 }
26388 
26389 
26390 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TAS3_1EPR_1get(JNIEnv *jenv, jclass jcls) {
26391   jstring jresult = 0 ;
26392   char *result = 0 ;
26393 
26394   (void)jenv;
26395   (void)jcls;
26396   result = (char *)("urn:tas3:epr");
26397   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26398   return jresult;
26399 }
26400 
26401 
26402 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TAS3_1PTM_1get(JNIEnv *jenv, jclass jcls) {
26403   jstring jresult = 0 ;
26404   char *result = 0 ;
26405 
26406   (void)jenv;
26407   (void)jcls;
26408   result = (char *)("urn:tas3:ptm:2012");
26409   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26410   return jresult;
26411 }
26412 
26413 
26414 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_IMPLIED_1RSC_1get(JNIEnv *jenv, jclass jcls) {
26415   jstring jresult = 0 ;
26416   char *result = 0 ;
26417 
26418   (void)jenv;
26419   (void)jcls;
26420   result = (char *)("urn:liberty:isf:implied-resource");
26421   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26422   return jresult;
26423 }
26424 
26425 
26426 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1DISCO_11_11_1get(JNIEnv *jenv, jclass jcls) {
26427   jstring jresult = 0 ;
26428   char *result = 0 ;
26429 
26430   (void)jenv;
26431   (void)jcls;
26432   result = (char *)("urn:liberty:disco:2003-08");
26433   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26434   return jresult;
26435 }
26436 
26437 
26438 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1DISCO_1EXT_1get(JNIEnv *jenv, jclass jcls) {
26439   jstring jresult = 0 ;
26440   char *result = 0 ;
26441 
26442   (void)jenv;
26443   (void)jcls;
26444   result = (char *)("urn:liberty:disco:2004-04");
26445   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26446   return jresult;
26447 }
26448 
26449 
26450 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1DISCO_12_10_1get(JNIEnv *jenv, jclass jcls) {
26451   jstring jresult = 0 ;
26452   char *result = 0 ;
26453 
26454   (void)jenv;
26455   (void)jcls;
26456   result = (char *)("urn:liberty:disco:2006-08");
26457   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26458   return jresult;
26459 }
26460 
26461 
26462 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1SBF_1get(JNIEnv *jenv, jclass jcls) {
26463   jstring jresult = 0 ;
26464   char *result = 0 ;
26465 
26466   (void)jenv;
26467   (void)jcls;
26468   result = (char *)("urn:liberty:sb");
26469   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26470   return jresult;
26471 }
26472 
26473 
26474 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1QUE_1get(JNIEnv *jenv, jclass jcls) {
26475   jstring jresult = 0 ;
26476   char *result = 0 ;
26477 
26478   (void)jenv;
26479   (void)jcls;
26480   result = (char *)("urn:liberty:disco:2006-08:Query");
26481   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26482   return jresult;
26483 }
26484 
26485 
26486 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1QUE_1RES_1get(JNIEnv *jenv, jclass jcls) {
26487   jstring jresult = 0 ;
26488   char *result = 0 ;
26489 
26490   (void)jenv;
26491   (void)jcls;
26492   result = (char *)("urn:liberty:disco:2006-08:QueryResponse");
26493   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26494   return jresult;
26495 }
26496 
26497 
26498 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1ASSO_1QUE_1get(JNIEnv *jenv, jclass jcls) {
26499   jstring jresult = 0 ;
26500   char *result = 0 ;
26501 
26502   (void)jenv;
26503   (void)jcls;
26504   result = (char *)("urn:liberty:disco:2006-08:SvcMDAssociationQuery");
26505   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26506   return jresult;
26507 }
26508 
26509 
26510 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1ASSO_1QUE_1RES_1get(JNIEnv *jenv, jclass jcls) {
26511   jstring jresult = 0 ;
26512   char *result = 0 ;
26513 
26514   (void)jenv;
26515   (void)jcls;
26516   result = (char *)("urn:liberty:disco:2006-08:SvcMDAssociationQueryResponse");
26517   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26518   return jresult;
26519 }
26520 
26521 
26522 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1ASSO_1ADD_1get(JNIEnv *jenv, jclass jcls) {
26523   jstring jresult = 0 ;
26524   char *result = 0 ;
26525 
26526   (void)jenv;
26527   (void)jcls;
26528   result = (char *)("urn:liberty:disco:2006-08:SvcMDAssociationAdd");
26529   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26530   return jresult;
26531 }
26532 
26533 
26534 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1ASSO_1ADD_1RES_1get(JNIEnv *jenv, jclass jcls) {
26535   jstring jresult = 0 ;
26536   char *result = 0 ;
26537 
26538   (void)jenv;
26539   (void)jcls;
26540   result = (char *)("urn:liberty:disco:2006-08:SvcMDAssociationAddResponse");
26541   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26542   return jresult;
26543 }
26544 
26545 
26546 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1ASSO_1DEL_1get(JNIEnv *jenv, jclass jcls) {
26547   jstring jresult = 0 ;
26548   char *result = 0 ;
26549 
26550   (void)jenv;
26551   (void)jcls;
26552   result = (char *)("urn:liberty:disco:2006-08:SvcMDAssociationDelete");
26553   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26554   return jresult;
26555 }
26556 
26557 
26558 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1ASSO_1DEL_1RES_1get(JNIEnv *jenv, jclass jcls) {
26559   jstring jresult = 0 ;
26560   char *result = 0 ;
26561 
26562   (void)jenv;
26563   (void)jcls;
26564   result = (char *)("urn:liberty:disco:2006-08:SvcMDAssociationDeleteResponse");
26565   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26566   return jresult;
26567 }
26568 
26569 
26570 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1SVCMD_1QUE_1get(JNIEnv *jenv, jclass jcls) {
26571   jstring jresult = 0 ;
26572   char *result = 0 ;
26573 
26574   (void)jenv;
26575   (void)jcls;
26576   result = (char *)("urn:liberty:disco:2006-08:SvcMDQuery");
26577   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26578   return jresult;
26579 }
26580 
26581 
26582 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1SVCMD_1QUE_1RES_1get(JNIEnv *jenv, jclass jcls) {
26583   jstring jresult = 0 ;
26584   char *result = 0 ;
26585 
26586   (void)jenv;
26587   (void)jcls;
26588   result = (char *)("urn:liberty:disco:2006-08:SvcMDQueryResponse");
26589   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26590   return jresult;
26591 }
26592 
26593 
26594 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1SVCMD_1REG_1get(JNIEnv *jenv, jclass jcls) {
26595   jstring jresult = 0 ;
26596   char *result = 0 ;
26597 
26598   (void)jenv;
26599   (void)jcls;
26600   result = (char *)("urn:liberty:disco:2006-08:SvcMDRegister");
26601   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26602   return jresult;
26603 }
26604 
26605 
26606 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1SVCMD_1REG_1RES_1get(JNIEnv *jenv, jclass jcls) {
26607   jstring jresult = 0 ;
26608   char *result = 0 ;
26609 
26610   (void)jenv;
26611   (void)jcls;
26612   result = (char *)("urn:liberty:disco:2006-08:SvcMDRegisterResponse");
26613   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26614   return jresult;
26615 }
26616 
26617 
26618 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1SVCMD_1REP_1get(JNIEnv *jenv, jclass jcls) {
26619   jstring jresult = 0 ;
26620   char *result = 0 ;
26621 
26622   (void)jenv;
26623   (void)jcls;
26624   result = (char *)("urn:liberty:disco:2006-08:SvcMDReplace");
26625   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26626   return jresult;
26627 }
26628 
26629 
26630 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1SVCMD_1REP_1RES_1get(JNIEnv *jenv, jclass jcls) {
26631   jstring jresult = 0 ;
26632   char *result = 0 ;
26633 
26634   (void)jenv;
26635   (void)jcls;
26636   result = (char *)("urn:liberty:disco:2006-08:SvcMDReplaceResponse");
26637   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26638   return jresult;
26639 }
26640 
26641 
26642 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1SVCMD_1DEL_1get(JNIEnv *jenv, jclass jcls) {
26643   jstring jresult = 0 ;
26644   char *result = 0 ;
26645 
26646   (void)jenv;
26647   (void)jcls;
26648   result = (char *)("urn:liberty:disco:2006-08:SvcMDDelete");
26649   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26650   return jresult;
26651 }
26652 
26653 
26654 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1SVCMD_1DEL_1RES_1get(JNIEnv *jenv, jclass jcls) {
26655   jstring jresult = 0 ;
26656   char *result = 0 ;
26657 
26658   (void)jenv;
26659   (void)jcls;
26660   result = (char *)("urn:liberty:disco:2006-08:SvcMDDeleteResponse");
26661   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26662   return jresult;
26663 }
26664 
26665 
26666 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1GL_1get(JNIEnv *jenv, jclass jcls) {
26667   jstring jresult = 0 ;
26668   char *result = 0 ;
26669 
26670   (void)jenv;
26671   (void)jcls;
26672   result = (char *)("urn:liberty:id-sis-gl:2005-07");
26673   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26674   return jresult;
26675 }
26676 
26677 
26678 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_GL_1OPT_1SHAPE_1get(JNIEnv *jenv, jclass jcls) {
26679   jstring jresult = 0 ;
26680   char *result = 0 ;
26681 
26682   (void)jenv;
26683   (void)jcls;
26684   result = (char *)("urn:liberty:id-sis-gl:shape");
26685   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26686   return jresult;
26687 }
26688 
26689 
26690 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_GL_1OPT_1SPEED_1get(JNIEnv *jenv, jclass jcls) {
26691   jstring jresult = 0 ;
26692   char *result = 0 ;
26693 
26694   (void)jenv;
26695   (void)jcls;
26696   result = (char *)("urn:liberty:id-sis-gl:speed");
26697   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26698   return jresult;
26699 }
26700 
26701 
26702 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_GL_1OPT_1DIRECTION_1get(JNIEnv *jenv, jclass jcls) {
26703   jstring jresult = 0 ;
26704   char *result = 0 ;
26705 
26706   (void)jenv;
26707   (void)jcls;
26708   result = (char *)("urn:liberty:id-sis-gl:direction");
26709   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26710   return jresult;
26711 }
26712 
26713 
26714 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_GL_1OPT_1HEADING_1get(JNIEnv *jenv, jclass jcls) {
26715   jstring jresult = 0 ;
26716   char *result = 0 ;
26717 
26718   (void)jenv;
26719   (void)jcls;
26720   result = (char *)("urn:liberty:id-sis-gl:heading");
26721   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26722   return jresult;
26723 }
26724 
26725 
26726 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_GL_1OPT_1ALT_1get(JNIEnv *jenv, jclass jcls) {
26727   jstring jresult = 0 ;
26728   char *result = 0 ;
26729 
26730   (void)jenv;
26731   (void)jcls;
26732   result = (char *)("urn:liberty:id-sis-gl:alt");
26733   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26734   return jresult;
26735 }
26736 
26737 
26738 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_GL_1OPT_1CIVIL_1DATA_1get(JNIEnv *jenv, jclass jcls) {
26739   jstring jresult = 0 ;
26740   char *result = 0 ;
26741 
26742   (void)jenv;
26743   (void)jcls;
26744   result = (char *)("urn:liberty:id-sis-gl:civil-data");
26745   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26746   return jresult;
26747 }
26748 
26749 
26750 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_GL_1OPT_1AC_1get(JNIEnv *jenv, jclass jcls) {
26751   jstring jresult = 0 ;
26752   char *result = 0 ;
26753 
26754   (void)jenv;
26755   (void)jcls;
26756   result = (char *)("urn:liberty:id-sis-gl:areacomparison");
26757   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26758   return jresult;
26759 }
26760 
26761 
26762 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_GL_1OPT_1AC_1ONLY_1get(JNIEnv *jenv, jclass jcls) {
26763   jstring jresult = 0 ;
26764   char *result = 0 ;
26765 
26766   (void)jenv;
26767   (void)jcls;
26768   result = (char *)("urn:liberty:id-sis-gl:onlyareacomparison");
26769   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26770   return jresult;
26771 }
26772 
26773 
26774 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_GL_1OPT_1ACC_1HIGH_1get(JNIEnv *jenv, jclass jcls) {
26775   jstring jresult = 0 ;
26776   char *result = 0 ;
26777 
26778   (void)jenv;
26779   (void)jcls;
26780   result = (char *)("urn:liberty:id-sis-gl:accuracy:high");
26781   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26782   return jresult;
26783 }
26784 
26785 
26786 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_GL_1OPT_1ACC_1MEDIUM_1get(JNIEnv *jenv, jclass jcls) {
26787   jstring jresult = 0 ;
26788   char *result = 0 ;
26789 
26790   (void)jenv;
26791   (void)jcls;
26792   result = (char *)("urn:liberty:id-sis-gl:accuracy:medium");
26793   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26794   return jresult;
26795 }
26796 
26797 
26798 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_GL_1OPT_1ACC_1LOW_1get(JNIEnv *jenv, jclass jcls) {
26799   jstring jresult = 0 ;
26800   char *result = 0 ;
26801 
26802   (void)jenv;
26803   (void)jcls;
26804   result = (char *)("urn:liberty:id-sis-gl:accuracy:low");
26805   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26806   return jresult;
26807 }
26808 
26809 
26810 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1IS11_1get(JNIEnv *jenv, jclass jcls) {
26811   jstring jresult = 0 ;
26812   char *result = 0 ;
26813 
26814   (void)jenv;
26815   (void)jcls;
26816   result = (char *)("urn:liberty:is:2003-08");
26817   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26818   return jresult;
26819 }
26820 
26821 
26822 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1IS20_1get(JNIEnv *jenv, jclass jcls) {
26823   jstring jresult = 0 ;
26824   char *result = 0 ;
26825 
26826   (void)jenv;
26827   (void)jcls;
26828   result = (char *)("urn:liberty:is:2006-08");
26829   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26830   return jresult;
26831 }
26832 
26833 
26834 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1IREQ_1get(JNIEnv *jenv, jclass jcls) {
26835   jstring jresult = 0 ;
26836   char *result = 0 ;
26837 
26838   (void)jenv;
26839   (void)jcls;
26840   result = (char *)("urn:liberty:is:2006-08:InteractionRequest");
26841   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26842   return jresult;
26843 }
26844 
26845 
26846 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1IRES_1get(JNIEnv *jenv, jclass jcls) {
26847   jstring jresult = 0 ;
26848   char *result = 0 ;
26849 
26850   (void)jenv;
26851   (void)jcls;
26852   result = (char *)("urn:liberty:is:2006-08:InteractionResponse");
26853   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26854   return jresult;
26855 }
26856 
26857 
26858 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPT_1PP_1get(JNIEnv *jenv, jclass jcls) {
26859   jstring jresult = 0 ;
26860   char *result = 0 ;
26861 
26862   (void)jenv;
26863   (void)jcls;
26864   result = (char *)("urn:liberty:id-sis-pp");
26865   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26866   return jresult;
26867 }
26868 
26869 
26870 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPT_1PP_1INAME_1get(JNIEnv *jenv, jclass jcls) {
26871   jstring jresult = 0 ;
26872   char *result = 0 ;
26873 
26874   (void)jenv;
26875   (void)jcls;
26876   result = (char *)("urn:liberty:id-sis-pp:informalName");
26877   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26878   return jresult;
26879 }
26880 
26881 
26882 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPT_1PP_1CN_1get(JNIEnv *jenv, jclass jcls) {
26883   jstring jresult = 0 ;
26884   char *result = 0 ;
26885 
26886   (void)jenv;
26887   (void)jcls;
26888   result = (char *)("urn:liberty:id-sis-pp:cn");
26889   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26890   return jresult;
26891 }
26892 
26893 
26894 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPT_1PP_1LEG_1get(JNIEnv *jenv, jclass jcls) {
26895   jstring jresult = 0 ;
26896   char *result = 0 ;
26897 
26898   (void)jenv;
26899   (void)jcls;
26900   result = (char *)("urn:liberty:id-sis-pp:legal");
26901   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26902   return jresult;
26903 }
26904 
26905 
26906 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPT_1PP_1ADD_1get(JNIEnv *jenv, jclass jcls) {
26907   jstring jresult = 0 ;
26908   char *result = 0 ;
26909 
26910   (void)jenv;
26911   (void)jcls;
26912   result = (char *)("urn:liberty:id-sis-pp:address");
26913   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26914   return jresult;
26915 }
26916 
26917 
26918 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPTC_1PP_1get(JNIEnv *jenv, jclass jcls) {
26919   jstring jresult = 0 ;
26920   char *result = 0 ;
26921 
26922   (void)jenv;
26923   (void)jcls;
26924   result = (char *)("urn:liberty:id-sis-pp:can");
26925   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26926   return jresult;
26927 }
26928 
26929 
26930 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPTC_1PP_1INAME_1get(JNIEnv *jenv, jclass jcls) {
26931   jstring jresult = 0 ;
26932   char *result = 0 ;
26933 
26934   (void)jenv;
26935   (void)jcls;
26936   result = (char *)("urn:liberty:id-sis-pp:can:informalName");
26937   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26938   return jresult;
26939 }
26940 
26941 
26942 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPTC_1PP_1CN_1get(JNIEnv *jenv, jclass jcls) {
26943   jstring jresult = 0 ;
26944   char *result = 0 ;
26945 
26946   (void)jenv;
26947   (void)jcls;
26948   result = (char *)("urn:liberty:id-sis-pp:can:cn");
26949   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26950   return jresult;
26951 }
26952 
26953 
26954 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPTC_1PP_1LEG_1get(JNIEnv *jenv, jclass jcls) {
26955   jstring jresult = 0 ;
26956   char *result = 0 ;
26957 
26958   (void)jenv;
26959   (void)jcls;
26960   result = (char *)("urn:liberty:id-sis-pp:can:legal");
26961   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26962   return jresult;
26963 }
26964 
26965 
26966 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPTC_1PP_1ADD_1get(JNIEnv *jenv, jclass jcls) {
26967   jstring jresult = 0 ;
26968   char *result = 0 ;
26969 
26970   (void)jenv;
26971   (void)jcls;
26972   result = (char *)("urn:liberty:id-sis-pp:can:address");
26973   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26974   return jresult;
26975 }
26976 
26977 
26978 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPT_1MULT_1QI_1get(JNIEnv *jenv, jclass jcls) {
26979   jstring jresult = 0 ;
26980   char *result = 0 ;
26981 
26982   (void)jenv;
26983   (void)jcls;
26984   result = (char *)("urn:liberty:dst:multipleQueryItems");
26985   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26986   return jresult;
26987 }
26988 
26989 
26990 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_OPT_1MULT_1MI_1get(JNIEnv *jenv, jclass jcls) {
26991   jstring jresult = 0 ;
26992   char *result = 0 ;
26993 
26994   (void)jenv;
26995   (void)jcls;
26996   result = (char *)("urn:liberty:dst:multipleModification");
26997   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
26998   return jresult;
26999 }
27000 
27001 
27002 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1PP_1get(JNIEnv *jenv, jclass jcls) {
27003   jstring jresult = 0 ;
27004   char *result = 0 ;
27005 
27006   (void)jenv;
27007   (void)jcls;
27008   result = (char *)("urn:liberty:id-sis-pp:2003-08");
27009   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27010   return jresult;
27011 }
27012 
27013 
27014 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_PS_1COL_1get(JNIEnv *jenv, jclass jcls) {
27015   jstring jresult = 0 ;
27016   char *result = 0 ;
27017 
27018   (void)jenv;
27019   (void)jcls;
27020   result = (char *)("urn:liberty:ps:collection");
27021   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27022   return jresult;
27023 }
27024 
27025 
27026 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_PS_1ENT_1get(JNIEnv *jenv, jclass jcls) {
27027   jstring jresult = 0 ;
27028   char *result = 0 ;
27029 
27030   (void)jenv;
27031   (void)jcls;
27032   result = (char *)("urn:liberty:ps:entity");
27033   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27034   return jresult;
27035 }
27036 
27037 
27038 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1PS_1get(JNIEnv *jenv, jclass jcls) {
27039   jstring jresult = 0 ;
27040   char *result = 0 ;
27041 
27042   (void)jenv;
27043   (void)jcls;
27044   result = (char *)("urn:liberty:ps:2006-08");
27045   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27046   return jresult;
27047 }
27048 
27049 
27050 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1ADDENT_1REQ_1get(JNIEnv *jenv, jclass jcls) {
27051   jstring jresult = 0 ;
27052   char *result = 0 ;
27053 
27054   (void)jenv;
27055   (void)jcls;
27056   result = (char *)("urn:liberty:ps:2006-08:AddEntityRequest");
27057   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27058   return jresult;
27059 }
27060 
27061 
27062 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1ADDENT_1RES_1get(JNIEnv *jenv, jclass jcls) {
27063   jstring jresult = 0 ;
27064   char *result = 0 ;
27065 
27066   (void)jenv;
27067   (void)jcls;
27068   result = (char *)("urn:liberty:ps:2006-08:AddEntityResponse");
27069   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27070   return jresult;
27071 }
27072 
27073 
27074 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1ADDKENT_1REQ_1get(JNIEnv *jenv, jclass jcls) {
27075   jstring jresult = 0 ;
27076   char *result = 0 ;
27077 
27078   (void)jenv;
27079   (void)jcls;
27080   result = (char *)("urn:liberty:ps:2006-08:AddKnownEntityRequest");
27081   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27082   return jresult;
27083 }
27084 
27085 
27086 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1ADDKENT_1RES_1get(JNIEnv *jenv, jclass jcls) {
27087   jstring jresult = 0 ;
27088   char *result = 0 ;
27089 
27090   (void)jenv;
27091   (void)jcls;
27092   result = (char *)("urn:liberty:ps:2006-08:AddKnownEntityResponse");
27093   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27094   return jresult;
27095 }
27096 
27097 
27098 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1REMENT_1REQ_1get(JNIEnv *jenv, jclass jcls) {
27099   jstring jresult = 0 ;
27100   char *result = 0 ;
27101 
27102   (void)jenv;
27103   (void)jcls;
27104   result = (char *)("urn:liberty:ps:2006-08:RemoveEntityRequest");
27105   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27106   return jresult;
27107 }
27108 
27109 
27110 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1REMENT_1RES_1get(JNIEnv *jenv, jclass jcls) {
27111   jstring jresult = 0 ;
27112   char *result = 0 ;
27113 
27114   (void)jenv;
27115   (void)jcls;
27116   result = (char *)("urn:liberty:ps:2006-08:RemoveEntityResponse");
27117   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27118   return jresult;
27119 }
27120 
27121 
27122 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1ADDCOL_1REQ_1get(JNIEnv *jenv, jclass jcls) {
27123   jstring jresult = 0 ;
27124   char *result = 0 ;
27125 
27126   (void)jenv;
27127   (void)jcls;
27128   result = (char *)("urn:liberty:ps:2006-08:AddCollectionRequest");
27129   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27130   return jresult;
27131 }
27132 
27133 
27134 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1ADDCOL_1RES_1get(JNIEnv *jenv, jclass jcls) {
27135   jstring jresult = 0 ;
27136   char *result = 0 ;
27137 
27138   (void)jenv;
27139   (void)jcls;
27140   result = (char *)("urn:liberty:ps:2006-08:AddCollectionResponse");
27141   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27142   return jresult;
27143 }
27144 
27145 
27146 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1REMCOL_1REQ_1get(JNIEnv *jenv, jclass jcls) {
27147   jstring jresult = 0 ;
27148   char *result = 0 ;
27149 
27150   (void)jenv;
27151   (void)jcls;
27152   result = (char *)("urn:liberty:ps:2006-08:RemoveCollectionRequest");
27153   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27154   return jresult;
27155 }
27156 
27157 
27158 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1REMCOL_1RES_1get(JNIEnv *jenv, jclass jcls) {
27159   jstring jresult = 0 ;
27160   char *result = 0 ;
27161 
27162   (void)jenv;
27163   (void)jcls;
27164   result = (char *)("urn:liberty:ps:2006-08:RemoveCollectionResponse");
27165   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27166   return jresult;
27167 }
27168 
27169 
27170 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1ADDTOCOL_1REQ_1get(JNIEnv *jenv, jclass jcls) {
27171   jstring jresult = 0 ;
27172   char *result = 0 ;
27173 
27174   (void)jenv;
27175   (void)jcls;
27176   result = (char *)("urn:liberty:ps:2006-08:AddToCollectionRequest");
27177   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27178   return jresult;
27179 }
27180 
27181 
27182 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1ADDTOCOL_1RES_1get(JNIEnv *jenv, jclass jcls) {
27183   jstring jresult = 0 ;
27184   char *result = 0 ;
27185 
27186   (void)jenv;
27187   (void)jcls;
27188   result = (char *)("urn:liberty:ps:2006-08:AddToCollectionResponse");
27189   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27190   return jresult;
27191 }
27192 
27193 
27194 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1REMFROMCOL_1REQ_1get(JNIEnv *jenv, jclass jcls) {
27195   jstring jresult = 0 ;
27196   char *result = 0 ;
27197 
27198   (void)jenv;
27199   (void)jcls;
27200   result = (char *)("urn:liberty:ps:2006-08:RemoveFromCollectionRequest");
27201   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27202   return jresult;
27203 }
27204 
27205 
27206 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1REMFROMCOL_1RES_1get(JNIEnv *jenv, jclass jcls) {
27207   jstring jresult = 0 ;
27208   char *result = 0 ;
27209 
27210   (void)jenv;
27211   (void)jcls;
27212   result = (char *)("urn:liberty:ps:2006-08:RemoveFromCollectionResponse");
27213   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27214   return jresult;
27215 }
27216 
27217 
27218 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1LISTMEM_1REQ_1get(JNIEnv *jenv, jclass jcls) {
27219   jstring jresult = 0 ;
27220   char *result = 0 ;
27221 
27222   (void)jenv;
27223   (void)jcls;
27224   result = (char *)("urn:liberty:ps:2006-08:ListMembersRequest");
27225   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27226   return jresult;
27227 }
27228 
27229 
27230 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1LISTMEM_1RES_1get(JNIEnv *jenv, jclass jcls) {
27231   jstring jresult = 0 ;
27232   char *result = 0 ;
27233 
27234   (void)jenv;
27235   (void)jcls;
27236   result = (char *)("urn:liberty:ps:2006-08:ListMembersResponse");
27237   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27238   return jresult;
27239 }
27240 
27241 
27242 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1GETOBJ_1REQ_1get(JNIEnv *jenv, jclass jcls) {
27243   jstring jresult = 0 ;
27244   char *result = 0 ;
27245 
27246   (void)jenv;
27247   (void)jcls;
27248   result = (char *)("urn:liberty:ps:2006-08:GetObjectInfoRequest");
27249   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27250   return jresult;
27251 }
27252 
27253 
27254 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1GETOBJ_1RES_1get(JNIEnv *jenv, jclass jcls) {
27255   jstring jresult = 0 ;
27256   char *result = 0 ;
27257 
27258   (void)jenv;
27259   (void)jcls;
27260   result = (char *)("urn:liberty:ps:2006-08:GetObjectInfoResponse");
27261   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27262   return jresult;
27263 }
27264 
27265 
27266 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1SETOBJ_1REQ_1get(JNIEnv *jenv, jclass jcls) {
27267   jstring jresult = 0 ;
27268   char *result = 0 ;
27269 
27270   (void)jenv;
27271   (void)jcls;
27272   result = (char *)("urn:liberty:ps:2006-08:SetObjectInfoRequest");
27273   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27274   return jresult;
27275 }
27276 
27277 
27278 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1SETOBJ_1RES_1get(JNIEnv *jenv, jclass jcls) {
27279   jstring jresult = 0 ;
27280   char *result = 0 ;
27281 
27282   (void)jenv;
27283   (void)jcls;
27284   result = (char *)("urn:liberty:ps:2006-08:SetObjectInfoResponse");
27285   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27286   return jresult;
27287 }
27288 
27289 
27290 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1QUEOBJ_1REQ_1get(JNIEnv *jenv, jclass jcls) {
27291   jstring jresult = 0 ;
27292   char *result = 0 ;
27293 
27294   (void)jenv;
27295   (void)jcls;
27296   result = (char *)("urn:liberty:ps:2006-08:QueryObjectsRequest");
27297   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27298   return jresult;
27299 }
27300 
27301 
27302 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1QUEOBJ_1RES_1get(JNIEnv *jenv, jclass jcls) {
27303   jstring jresult = 0 ;
27304   char *result = 0 ;
27305 
27306   (void)jenv;
27307   (void)jcls;
27308   result = (char *)("urn:liberty:ps:2006-08:AueryObjectsResponse");
27309   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27310   return jresult;
27311 }
27312 
27313 
27314 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1TESTMEM_1REQ_1get(JNIEnv *jenv, jclass jcls) {
27315   jstring jresult = 0 ;
27316   char *result = 0 ;
27317 
27318   (void)jenv;
27319   (void)jcls;
27320   result = (char *)("urn:liberty:ps:2006-08:TestMembershipRequest");
27321   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27322   return jresult;
27323 }
27324 
27325 
27326 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1TESTMEM_1RES_1get(JNIEnv *jenv, jclass jcls) {
27327   jstring jresult = 0 ;
27328   char *result = 0 ;
27329 
27330   (void)jenv;
27331   (void)jcls;
27332   result = (char *)("urn:liberty:ps:2006-08:TestMembershipResponse");
27333   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27334   return jresult;
27335 }
27336 
27337 
27338 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1RSLVID_1REQ_1get(JNIEnv *jenv, jclass jcls) {
27339   jstring jresult = 0 ;
27340   char *result = 0 ;
27341 
27342   (void)jenv;
27343   (void)jcls;
27344   result = (char *)("urn:liberty:ps:2006-08:ResolveIdentifierRequest");
27345   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27346   return jresult;
27347 }
27348 
27349 
27350 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1RSLVID_1RES_1get(JNIEnv *jenv, jclass jcls) {
27351   jstring jresult = 0 ;
27352   char *result = 0 ;
27353 
27354   (void)jenv;
27355   (void)jcls;
27356   result = (char *)("urn:liberty:ps:2006-08:ResolveIdentifierResponse");
27357   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27358   return jresult;
27359 }
27360 
27361 
27362 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1NOTIFY_1get(JNIEnv *jenv, jclass jcls) {
27363   jstring jresult = 0 ;
27364   char *result = 0 ;
27365 
27366   (void)jenv;
27367   (void)jcls;
27368   result = (char *)("urn:liberty:ps:2006-08:Notify");
27369   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27370   return jresult;
27371 }
27372 
27373 
27374 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ACT_1PS_1NOTIFY_1RES_1get(JNIEnv *jenv, jclass jcls) {
27375   jstring jresult = 0 ;
27376   char *result = 0 ;
27377 
27378   (void)jenv;
27379   (void)jcls;
27380   result = (char *)("urn:liberty:ps:2006-08:NotifyResponse");
27381   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27382   return jresult;
27383 }
27384 
27385 
27386 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1SEC_1get(JNIEnv *jenv, jclass jcls) {
27387   jstring jresult = 0 ;
27388   char *result = 0 ;
27389 
27390   (void)jenv;
27391   (void)jcls;
27392   result = (char *)("urn:liberty:security:2006-08");
27393   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27394   return jresult;
27395 }
27396 
27397 
27398 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TOKNUSG_1SEC_1get(JNIEnv *jenv, jclass jcls) {
27399   jstring jresult = 0 ;
27400   char *result = 0 ;
27401 
27402   (void)jenv;
27403   (void)jcls;
27404   result = (char *)("urn:liberty:security:tokenusage:2006-08:SecurityToken");
27405   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27406   return jresult;
27407 }
27408 
27409 
27410 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TOKNUSG_1TID_1get(JNIEnv *jenv, jclass jcls) {
27411   jstring jresult = 0 ;
27412   char *result = 0 ;
27413 
27414   (void)jenv;
27415   (void)jcls;
27416   result = (char *)("urn:liberty:security:tokenusage:2006-08:TargetIdentity");
27417   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27418   return jresult;
27419 }
27420 
27421 
27422 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TOKNUSG_1IID_1get(JNIEnv *jenv, jclass jcls) {
27423   jstring jresult = 0 ;
27424   char *result = 0 ;
27425 
27426   (void)jenv;
27427   (void)jcls;
27428   result = (char *)("urn:liberty:security:tokenusage:2006-08:InvocationIdentity");
27429   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27430   return jresult;
27431 }
27432 
27433 
27434 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF10_1SEC_1MECH_1NULL_1BEARER_1get(JNIEnv *jenv, jclass jcls) {
27435   jstring jresult = 0 ;
27436   char *result = 0 ;
27437 
27438   (void)jenv;
27439   (void)jcls;
27440   result = (char *)("urn:liberty:security:2004-04:null:Bearer");
27441   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27442   return jresult;
27443 }
27444 
27445 
27446 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF10_1SEC_1MECH_1TLS_1BEARER_1get(JNIEnv *jenv, jclass jcls) {
27447   jstring jresult = 0 ;
27448   char *result = 0 ;
27449 
27450   (void)jenv;
27451   (void)jcls;
27452   result = (char *)("urn:liberty:security:2004-04:TLS:Bearer");
27453   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27454   return jresult;
27455 }
27456 
27457 
27458 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1NULL_1NULL_1get(JNIEnv *jenv, jclass jcls) {
27459   jstring jresult = 0 ;
27460   char *result = 0 ;
27461 
27462   (void)jenv;
27463   (void)jcls;
27464   result = (char *)("urn:liberty:security:2003-08:null:null");
27465   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27466   return jresult;
27467 }
27468 
27469 
27470 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1TLS_1NULL_1get(JNIEnv *jenv, jclass jcls) {
27471   jstring jresult = 0 ;
27472   char *result = 0 ;
27473 
27474   (void)jenv;
27475   (void)jcls;
27476   result = (char *)("urn:liberty:security:2003-08:TLS:null");
27477   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27478   return jresult;
27479 }
27480 
27481 
27482 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1CLTLS_1NULL_1get(JNIEnv *jenv, jclass jcls) {
27483   jstring jresult = 0 ;
27484   char *result = 0 ;
27485 
27486   (void)jenv;
27487   (void)jcls;
27488   result = (char *)("urn:liberty:security:2003-08:ClientTLS:null");
27489   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27490   return jresult;
27491 }
27492 
27493 
27494 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1NULL_1BEARER_1get(JNIEnv *jenv, jclass jcls) {
27495   jstring jresult = 0 ;
27496   char *result = 0 ;
27497 
27498   (void)jenv;
27499   (void)jcls;
27500   result = (char *)("urn:liberty:security:2005-02:null:Bearer");
27501   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27502   return jresult;
27503 }
27504 
27505 
27506 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1TLS_1BEARER_1get(JNIEnv *jenv, jclass jcls) {
27507   jstring jresult = 0 ;
27508   char *result = 0 ;
27509 
27510   (void)jenv;
27511   (void)jcls;
27512   result = (char *)("urn:liberty:security:2005-02:TLS:Bearer");
27513   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27514   return jresult;
27515 }
27516 
27517 
27518 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1CLTLS_1BEARER_1get(JNIEnv *jenv, jclass jcls) {
27519   jstring jresult = 0 ;
27520   char *result = 0 ;
27521 
27522   (void)jenv;
27523   (void)jcls;
27524   result = (char *)("urn:liberty:security:2005-02:ClientTLS:Bearer");
27525   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27526   return jresult;
27527 }
27528 
27529 
27530 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1NULL_1X509_1get(JNIEnv *jenv, jclass jcls) {
27531   jstring jresult = 0 ;
27532   char *result = 0 ;
27533 
27534   (void)jenv;
27535   (void)jcls;
27536   result = (char *)("urn:liberty:security:2005-02:null:X509");
27537   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27538   return jresult;
27539 }
27540 
27541 
27542 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1TLS_1X509_1get(JNIEnv *jenv, jclass jcls) {
27543   jstring jresult = 0 ;
27544   char *result = 0 ;
27545 
27546   (void)jenv;
27547   (void)jcls;
27548   result = (char *)("urn:liberty:security:2005-02:TLS:X509");
27549   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27550   return jresult;
27551 }
27552 
27553 
27554 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1CLTLS_1X509_1get(JNIEnv *jenv, jclass jcls) {
27555   jstring jresult = 0 ;
27556   char *result = 0 ;
27557 
27558   (void)jenv;
27559   (void)jcls;
27560   result = (char *)("urn:liberty:security:2005-02:ClientTLS:X509");
27561   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27562   return jresult;
27563 }
27564 
27565 
27566 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1NULL_1SAML_1get(JNIEnv *jenv, jclass jcls) {
27567   jstring jresult = 0 ;
27568   char *result = 0 ;
27569 
27570   (void)jenv;
27571   (void)jcls;
27572   result = (char *)("urn:liberty:security:2005-02:null:SAML");
27573   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27574   return jresult;
27575 }
27576 
27577 
27578 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1TLS_1SAML_1get(JNIEnv *jenv, jclass jcls) {
27579   jstring jresult = 0 ;
27580   char *result = 0 ;
27581 
27582   (void)jenv;
27583   (void)jcls;
27584   result = (char *)("urn:liberty:security:2005-02:TLS:SAML");
27585   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27586   return jresult;
27587 }
27588 
27589 
27590 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF11_1SEC_1MECH_1CLTLS_1SAML_1get(JNIEnv *jenv, jclass jcls) {
27591   jstring jresult = 0 ;
27592   char *result = 0 ;
27593 
27594   (void)jenv;
27595   (void)jcls;
27596   result = (char *)("urn:liberty:security:2005-02:ClientTLS:SAML");
27597   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27598   return jresult;
27599 }
27600 
27601 
27602 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF20_1SEC_1MECH_1NULL_1NULL_1get(JNIEnv *jenv, jclass jcls) {
27603   jstring jresult = 0 ;
27604   char *result = 0 ;
27605 
27606   (void)jenv;
27607   (void)jcls;
27608   result = (char *)("urn:liberty:security:2005-02:null:null");
27609   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27610   return jresult;
27611 }
27612 
27613 
27614 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF20_1SEC_1MECH_1TLS_1NULL_1get(JNIEnv *jenv, jclass jcls) {
27615   jstring jresult = 0 ;
27616   char *result = 0 ;
27617 
27618   (void)jenv;
27619   (void)jcls;
27620   result = (char *)("urn:liberty:security:2005-02:TLS:null");
27621   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27622   return jresult;
27623 }
27624 
27625 
27626 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF20_1SEC_1MECH_1NULL_1BEARER_1get(JNIEnv *jenv, jclass jcls) {
27627   jstring jresult = 0 ;
27628   char *result = 0 ;
27629 
27630   (void)jenv;
27631   (void)jcls;
27632   result = (char *)("urn:liberty:security:2005-02:null:Bearer");
27633   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27634   return jresult;
27635 }
27636 
27637 
27638 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF20_1SEC_1MECH_1TLS_1BEARER_1get(JNIEnv *jenv, jclass jcls) {
27639   jstring jresult = 0 ;
27640   char *result = 0 ;
27641 
27642   (void)jenv;
27643   (void)jcls;
27644   result = (char *)("urn:liberty:security:2005-02:TLS:Bearer");
27645   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27646   return jresult;
27647 }
27648 
27649 
27650 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF20_1SEC_1MECH_1NULL_1SAML2_1get(JNIEnv *jenv, jclass jcls) {
27651   jstring jresult = 0 ;
27652   char *result = 0 ;
27653 
27654   (void)jenv;
27655   (void)jcls;
27656   result = (char *)("urn:liberty:security:2006-08:null:SAMLV2");
27657   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27658   return jresult;
27659 }
27660 
27661 
27662 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF20_1SEC_1MECH_1TLS_1SAML2_1get(JNIEnv *jenv, jclass jcls) {
27663   jstring jresult = 0 ;
27664   char *result = 0 ;
27665 
27666   (void)jenv;
27667   (void)jcls;
27668   result = (char *)("urn:liberty:security:2006-08:TLS:SAMLV2");
27669   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27670   return jresult;
27671 }
27672 
27673 
27674 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF20_1SEC_1MECH_1CLTLS_1SAML2_1get(JNIEnv *jenv, jclass jcls) {
27675   jstring jresult = 0 ;
27676   char *result = 0 ;
27677 
27678   (void)jenv;
27679   (void)jcls;
27680   result = (char *)("urn:liberty:security:2006-08:ClientTLS:SAMLV2");
27681   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27682   return jresult;
27683 }
27684 
27685 
27686 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSF20_1SEC_1MECH_1CLTLS_1PEERS2_1get(JNIEnv *jenv, jclass jcls) {
27687   jstring jresult = 0 ;
27688   char *result = 0 ;
27689 
27690   (void)jenv;
27691   (void)jcls;
27692   result = (char *)("urn:liberty:security:2006-08:ClientTLS:peerSAMLV2");
27693   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27694   return jresult;
27695 }
27696 
27697 
27698 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAML2_1TOK_1PROFILE_1get(JNIEnv *jenv, jclass jcls) {
27699   jstring jresult = 0 ;
27700   char *result = 0 ;
27701 
27702   (void)jenv;
27703   (void)jcls;
27704   result = (char *)("http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV2.0");
27705   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27706   return jresult;
27707 }
27708 
27709 
27710 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SAMLID_1TOK_1PROFILE_1get(JNIEnv *jenv, jclass jcls) {
27711   jstring jresult = 0 ;
27712   char *result = 0 ;
27713 
27714   (void)jenv;
27715   (void)jcls;
27716   result = (char *)("http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLID");
27717   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27718   return jresult;
27719 }
27720 
27721 
27722 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_WSS_1X509_1TOKEN_1PROFILE_1get(JNIEnv *jenv, jclass jcls) {
27723   jstring jresult = 0 ;
27724   char *result = 0 ;
27725 
27726   (void)jenv;
27727   (void)jcls;
27728   result = (char *)("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3");
27729   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27730   return jresult;
27731 }
27732 
27733 
27734 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SB_1EPUPD_1COMP_1get(JNIEnv *jenv, jclass jcls) {
27735   jstring jresult = 0 ;
27736   char *result = 0 ;
27737 
27738   (void)jenv;
27739   (void)jcls;
27740   result = (char *)("urn:liberty:sb:2006-08:EndpointUpdate:Complete");
27741   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27742   return jresult;
27743 }
27744 
27745 
27746 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SB_1EPUPD_1PART_1get(JNIEnv *jenv, jclass jcls) {
27747   jstring jresult = 0 ;
27748   char *result = 0 ;
27749 
27750   (void)jenv;
27751   (void)jcls;
27752   result = (char *)("urn:liberty:sb:2006-08:EndpointUpdate:Partial");
27753   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27754   return jresult;
27755 }
27756 
27757 
27758 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_SB_1EPUPD_1NOCH_1get(JNIEnv *jenv, jclass jcls) {
27759   jstring jresult = 0 ;
27760   char *result = 0 ;
27761 
27762   (void)jenv;
27763   (void)jcls;
27764   result = (char *)("urn:liberty:sb:2006-08:EndpointUpdate:NoChange");
27765   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27766   return jresult;
27767 }
27768 
27769 
27770 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_A_1ANON_12005_103_1get(JNIEnv *jenv, jclass jcls) {
27771   jstring jresult = 0 ;
27772   char *result = 0 ;
27773 
27774   (void)jenv;
27775   (void)jcls;
27776   result = (char *)("http://www.w3.org/2005/03/addressing/role/anonymous");
27777   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27778   return jresult;
27779 }
27780 
27781 
27782 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_A_1ANON_1get(JNIEnv *jenv, jclass jcls) {
27783   jstring jresult = 0 ;
27784   char *result = 0 ;
27785 
27786   (void)jenv;
27787   (void)jcls;
27788   result = (char *)("http://www.w3.org/2005/08/addressing/anonymous");
27789   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27790   return jresult;
27791 }
27792 
27793 
27794 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1CSM_1get(JNIEnv *jenv, jclass jcls) {
27795   jstring jresult = 0 ;
27796   char *result = 0 ;
27797 
27798   (void)jenv;
27799   (void)jcls;
27800   result = (char *)("urn:liberty:id-sis-csm:2006-02");
27801   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27802   return jresult;
27803 }
27804 
27805 
27806 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1LU_1get(JNIEnv *jenv, jclass jcls) {
27807   jstring jresult = 0 ;
27808   char *result = 0 ;
27809 
27810   (void)jenv;
27811   (void)jcls;
27812   result = (char *)("urn:liberty:util:2006-08");
27813   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27814   return jresult;
27815 }
27816 
27817 
27818 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1HLO_1get(JNIEnv *jenv, jclass jcls) {
27819   jstring jresult = 0 ;
27820   char *result = 0 ;
27821 
27822   (void)jenv;
27823   (void)jcls;
27824   result = (char *)("urn:liberty:id-sis-hlo:2006-08:dst-2.1");
27825   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27826   return jresult;
27827 }
27828 
27829 
27830 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_DST_1ACC_1CHALLENGE_1get(JNIEnv *jenv, jclass jcls) {
27831   jstring jresult = 0 ;
27832   char *result = 0 ;
27833 
27834   (void)jenv;
27835   (void)jcls;
27836   result = (char *)("urn:liberty:dst:acc:challenge");
27837   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27838   return jresult;
27839 }
27840 
27841 
27842 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1CXP_1get(JNIEnv *jenv, jclass jcls) {
27843   jstring jresult = 0 ;
27844   char *result = 0 ;
27845 
27846   (void)jenv;
27847   (void)jcls;
27848   result = (char *)("urn:liberty:id-sis-cxp:2005-10:dst-2.1");
27849   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27850   return jresult;
27851 }
27852 
27853 
27854 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1LIB_1MD_1get(JNIEnv *jenv, jclass jcls) {
27855   jstring jresult = 0 ;
27856   char *result = 0 ;
27857 
27858   (void)jenv;
27859   (void)jcls;
27860   result = (char *)("urn:liberty:metadata:2003-08");
27861   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27862   return jresult;
27863 }
27864 
27865 
27866 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1AC_1get(JNIEnv *jenv, jclass jcls) {
27867   jstring jresult = 0 ;
27868   char *result = 0 ;
27869 
27870   (void)jenv;
27871   (void)jcls;
27872   result = (char *)("urn:liberty:ac:2003-08");
27873   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27874   return jresult;
27875 }
27876 
27877 
27878 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_LIBERTY_1NAMEID_1FMT_1FED_1get(JNIEnv *jenv, jclass jcls) {
27879   jstring jresult = 0 ;
27880   char *result = 0 ;
27881 
27882   (void)jenv;
27883   (void)jcls;
27884   result = (char *)("urn:liberty:iff:nameid:federated");
27885   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27886   return jresult;
27887 }
27888 
27889 
27890 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_LIBERTY_1NAMEID_1FMT_1ONE_1get(JNIEnv *jenv, jclass jcls) {
27891   jstring jresult = 0 ;
27892   char *result = 0 ;
27893 
27894   (void)jenv;
27895   (void)jcls;
27896   result = (char *)("urn:liberty:iff:nameid:one-time");
27897   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27898   return jresult;
27899 }
27900 
27901 
27902 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_LIBERTY_1NAMEID_1FMT_1ENC_1get(JNIEnv *jenv, jclass jcls) {
27903   jstring jresult = 0 ;
27904   char *result = 0 ;
27905 
27906   (void)jenv;
27907   (void)jcls;
27908   result = (char *)("urn:liberty:iff:nameid:encrypted");
27909   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27910   return jresult;
27911 }
27912 
27913 
27914 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_LIBERTY_1NAMEID_1FMT_1ENT_1get(JNIEnv *jenv, jclass jcls) {
27915   jstring jresult = 0 ;
27916   char *result = 0 ;
27917 
27918   (void)jenv;
27919   (void)jcls;
27920   result = (char *)("urn:liberty:iff:nameid:entityID");
27921   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27922   return jresult;
27923 }
27924 
27925 
27926 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1PAOS_1get(JNIEnv *jenv, jclass jcls) {
27927   jstring jresult = 0 ;
27928   char *result = 0 ;
27929 
27930   (void)jenv;
27931   (void)jcls;
27932   result = (char *)("urn:liberty:paos:2003-08");
27933   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27934   return jresult;
27935 }
27936 
27937 
27938 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_PAOS_1HDR_1get(JNIEnv *jenv, jclass jcls) {
27939   jstring jresult = 0 ;
27940   char *result = 0 ;
27941 
27942   (void)jenv;
27943   (void)jcls;
27944   result = (char *)("ver=\"urn:liberty:paos:2003-08\"; \"urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp\"");
27945   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27946   return jresult;
27947 }
27948 
27949 
27950 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_LIBERTY_1ENA_1HDR_1get(JNIEnv *jenv, jclass jcls) {
27951   jstring jresult = 0 ;
27952   char *result = 0 ;
27953 
27954   (void)jenv;
27955   (void)jcls;
27956   result = (char *)("LIBV=urn:liberty:iff:2003-08 http://projectliberty.org/specs/v1");
27957   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27958   return jresult;
27959 }
27960 
27961 
27962 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_LIBERTY_1CONSENT_1OBTAINED_1get(JNIEnv *jenv, jclass jcls) {
27963   jstring jresult = 0 ;
27964   char *result = 0 ;
27965 
27966   (void)jenv;
27967   (void)jcls;
27968   result = (char *)("urn:liberty:consent:obtained");
27969   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27970   return jresult;
27971 }
27972 
27973 
27974 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_XMLNS_1DAP_1get(JNIEnv *jenv, jclass jcls) {
27975   jstring jresult = 0 ;
27976   char *result = 0 ;
27977 
27978   (void)jenv;
27979   (void)jcls;
27980   result = (char *)("urn:liberty:id-sis-dap:2006-02:dst-2.1");
27981   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27982   return jresult;
27983 }
27984 
27985 
27986 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TAS3_1WSC_1RQ_1OUT_1get(JNIEnv *jenv, jclass jcls) {
27987   jstring jresult = 0 ;
27988   char *result = 0 ;
27989 
27990   (void)jenv;
27991   (void)jcls;
27992   result = (char *)("urn:tas3:ctlpt:wsc:rq:out");
27993   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
27994   return jresult;
27995 }
27996 
27997 
27998 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TAS3_1PEP_1RQ_1OUT_1get(JNIEnv *jenv, jclass jcls) {
27999   jstring jresult = 0 ;
28000   char *result = 0 ;
28001 
28002   (void)jenv;
28003   (void)jcls;
28004   result = (char *)("urn:tas3:ctlpt:pep:rq:out");
28005   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28006   return jresult;
28007 }
28008 
28009 
28010 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TAS3_1PEP_1RQ_1IN_1get(JNIEnv *jenv, jclass jcls) {
28011   jstring jresult = 0 ;
28012   char *result = 0 ;
28013 
28014   (void)jenv;
28015   (void)jcls;
28016   result = (char *)("urn:tas3:ctlpt:pep:rq:in");
28017   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28018   return jresult;
28019 }
28020 
28021 
28022 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TAS3_1PEP_1RS_1PARSE_1get(JNIEnv *jenv, jclass jcls) {
28023   jstring jresult = 0 ;
28024   char *result = 0 ;
28025 
28026   (void)jenv;
28027   (void)jcls;
28028   result = (char *)("urn:tas3:ctlpt:pep:rs:parse");
28029   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28030   return jresult;
28031 }
28032 
28033 
28034 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TAS3_1PEP_1RS_1VAL_1get(JNIEnv *jenv, jclass jcls) {
28035   jstring jresult = 0 ;
28036   char *result = 0 ;
28037 
28038   (void)jenv;
28039   (void)jcls;
28040   result = (char *)("urn:tas3:ctlpt:pep:rs:val");
28041   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28042   return jresult;
28043 }
28044 
28045 
28046 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TAS3_1PEP_1RS_1OUT_1get(JNIEnv *jenv, jclass jcls) {
28047   jstring jresult = 0 ;
28048   char *result = 0 ;
28049 
28050   (void)jenv;
28051   (void)jcls;
28052   result = (char *)("urn:tas3:ctlpt:pep:rs:out");
28053   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28054   return jresult;
28055 }
28056 
28057 
28058 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TAS3_1PEP_1RS_1IN_1get(JNIEnv *jenv, jclass jcls) {
28059   jstring jresult = 0 ;
28060   char *result = 0 ;
28061 
28062   (void)jenv;
28063   (void)jcls;
28064   result = (char *)("urn:tas3:ctlpt:pep:rs:in");
28065   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28066   return jresult;
28067 }
28068 
28069 
28070 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TAS3_1STATUS_1OK_1get(JNIEnv *jenv, jclass jcls) {
28071   jstring jresult = 0 ;
28072   char *result = 0 ;
28073 
28074   (void)jenv;
28075   (void)jcls;
28076   result = (char *)("OK");
28077   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28078   return jresult;
28079 }
28080 
28081 
28082 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TAS3_1STATUS_1PERMIT_1get(JNIEnv *jenv, jclass jcls) {
28083   jstring jresult = 0 ;
28084   char *result = 0 ;
28085 
28086   (void)jenv;
28087   (void)jcls;
28088   result = (char *)("urn:tas3:status:permit");
28089   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28090   return jresult;
28091 }
28092 
28093 
28094 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TAS3_1STATUS_1DENY_1get(JNIEnv *jenv, jclass jcls) {
28095   jstring jresult = 0 ;
28096   char *result = 0 ;
28097 
28098   (void)jenv;
28099   (void)jcls;
28100   result = (char *)("urn:tas3:status:deny");
28101   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28102   return jresult;
28103 }
28104 
28105 
28106 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TAS3_1STATUS_1NOSIG_1get(JNIEnv *jenv, jclass jcls) {
28107   jstring jresult = 0 ;
28108   char *result = 0 ;
28109 
28110   (void)jenv;
28111   (void)jcls;
28112   result = (char *)("urn:tas3:status:nosig");
28113   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28114   return jresult;
28115 }
28116 
28117 
28118 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TAS3_1STATUS_1BADSIG_1get(JNIEnv *jenv, jclass jcls) {
28119   jstring jresult = 0 ;
28120   char *result = 0 ;
28121 
28122   (void)jenv;
28123   (void)jcls;
28124   result = (char *)("urn:tas3:status:badsig");
28125   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28126   return jresult;
28127 }
28128 
28129 
28130 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TAS3_1STATUS_1BADCOND_1get(JNIEnv *jenv, jclass jcls) {
28131   jstring jresult = 0 ;
28132   char *result = 0 ;
28133 
28134   (void)jenv;
28135   (void)jcls;
28136   result = (char *)("urn:tas3:status:badcond");
28137   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28138   return jresult;
28139 }
28140 
28141 
28142 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TAS3_1STATUS_1REPLAY_1get(JNIEnv *jenv, jclass jcls) {
28143   jstring jresult = 0 ;
28144   char *result = 0 ;
28145 
28146   (void)jenv;
28147   (void)jcls;
28148   result = (char *)("urn:tas3:status:replay");
28149   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28150   return jresult;
28151 }
28152 
28153 
28154 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TAS3_1STATUS_1BADXML_1get(JNIEnv *jenv, jclass jcls) {
28155   jstring jresult = 0 ;
28156   char *result = 0 ;
28157 
28158   (void)jenv;
28159   (void)jcls;
28160   result = (char *)("urn:tas3:status:badxml");
28161   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28162   return jresult;
28163 }
28164 
28165 
28166 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TAS3_1STATUS_1FAULT_1get(JNIEnv *jenv, jclass jcls) {
28167   jstring jresult = 0 ;
28168   char *result = 0 ;
28169 
28170   (void)jenv;
28171   (void)jcls;
28172   result = (char *)("urn:tas3:status:fault");
28173   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28174   return jresult;
28175 }
28176 
28177 
28178 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TAS3_1STATUS_1EXPIRED_1get(JNIEnv *jenv, jclass jcls) {
28179   jstring jresult = 0 ;
28180   char *result = 0 ;
28181 
28182   (void)jenv;
28183   (void)jcls;
28184   result = (char *)("urn:tas3:status:expired");
28185   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28186   return jresult;
28187 }
28188 
28189 
28190 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TAS3_1STATUS_1EPR_1NOT_1FOUND_1get(JNIEnv *jenv, jclass jcls) {
28191   jstring jresult = 0 ;
28192   char *result = 0 ;
28193 
28194   (void)jenv;
28195   (void)jcls;
28196   result = (char *)("urn:tas3:status:epr-not-found");
28197   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28198   return jresult;
28199 }
28200 
28201 
28202 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TAS3_1SOL1_1ENGINE_1get(JNIEnv *jenv, jclass jcls) {
28203   jstring jresult = 0 ;
28204   char *result = 0 ;
28205 
28206   (void)jenv;
28207   (void)jcls;
28208   result = (char *)("urn:tas3:sol1");
28209   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28210   return jresult;
28211 }
28212 
28213 
28214 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TAS3_1PLEDGE_1get(JNIEnv *jenv, jclass jcls) {
28215   jstring jresult = 0 ;
28216   char *result = 0 ;
28217 
28218   (void)jenv;
28219   (void)jcls;
28220   result = (char *)("urn:tas3:sol1:pledge");
28221   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28222   return jresult;
28223 }
28224 
28225 
28226 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_TAS3_1REQUIRE_1get(JNIEnv *jenv, jclass jcls) {
28227   jstring jresult = 0 ;
28228   char *result = 0 ;
28229 
28230   (void)jenv;
28231   (void)jcls;
28232   result = (char *)("urn:tas3:sol1:require");
28233   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28234   return jresult;
28235 }
28236 
28237 
28238 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_ZXID_1VERSION_1get(JNIEnv *jenv, jclass jcls) {
28239   jint jresult = 0 ;
28240   int result;
28241 
28242   (void)jenv;
28243   (void)jcls;
28244   result = (int)(0x000142);
28245   jresult = (jint)result;
28246   return jresult;
28247 }
28248 
28249 
28250 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1REL_1get(JNIEnv *jenv, jclass jcls) {
28251   jstring jresult = 0 ;
28252   char *result = 0 ;
28253 
28254   (void)jenv;
28255   (void)jcls;
28256   result = (char *)("1.42");
28257   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28258   return jresult;
28259 }
28260 
28261 
28262 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1COMPILE_1DATE_1get(JNIEnv *jenv, jclass jcls) {
28263   jstring jresult = 0 ;
28264   char *result = 0 ;
28265 
28266   (void)jenv;
28267   (void)jcls;
28268   result = (char *)("1455626548");
28269   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28270   return jresult;
28271 }
28272 
28273 
28274 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_ZXID_1REV_1get(JNIEnv *jenv, jclass jcls) {
28275   jstring jresult = 0 ;
28276   char *result = 0 ;
28277 
28278   (void)jenv;
28279   (void)jcls;
28280   result = (char *)("$Id: 1.41-soconnor-6-g6a74223 20160124-151915 sampo@ $");
28281   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28282   return jresult;
28283 }
28284 
28285 
28286 SWIGEXPORT jint JNICALL Java_zxidjava_zxidjniJNI_zx_1N_1NS_1get(JNIEnv *jenv, jclass jcls) {
28287   jint jresult = 0 ;
28288   int result;
28289 
28290   (void)jenv;
28291   (void)jcls;
28292   result = (int)(61);
28293   jresult = (jint)result;
28294   return jresult;
28295 }
28296 
28297 
28298 SWIGEXPORT void JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1tab_1set(JNIEnv *jenv, jclass jcls, jlong jarg1) {
28299   struct zx_ns_s *arg1 ;
28300 
28301   (void)jenv;
28302   (void)jcls;
28303   arg1 = *(struct zx_ns_s **)&jarg1;
28304   {
28305     size_t ii;
28306     struct zx_ns_s *b = (struct zx_ns_s *) zx_ns_tab;
28307     for (ii = 0; ii < (size_t)zx__NS_MAX; ii++) b[ii] = *((struct zx_ns_s *) arg1 + ii);
28308   }
28309 
28310 }
28311 
28312 
28313 SWIGEXPORT jlong JNICALL Java_zxidjava_zxidjniJNI_zx_1ns_1tab_1get(JNIEnv *jenv, jclass jcls) {
28314   jlong jresult = 0 ;
28315   struct zx_ns_s *result = 0 ;
28316 
28317   (void)jenv;
28318   (void)jcls;
28319   result = (struct zx_ns_s *)(struct zx_ns_s *)zx_ns_tab;
28320   *(struct zx_ns_s **)&jresult = result;
28321   return jresult;
28322 }
28323 
28324 
28325 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ds_1get(JNIEnv *jenv, jclass jcls) {
28326   jstring jresult = 0 ;
28327   char *result = 0 ;
28328 
28329   (void)jenv;
28330   (void)jcls;
28331   result = (char *)("http://www.w3.org/2000/09/xmldsig#");
28332   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28333   return jresult;
28334 }
28335 
28336 
28337 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1xenc_1get(JNIEnv *jenv, jclass jcls) {
28338   jstring jresult = 0 ;
28339   char *result = 0 ;
28340 
28341   (void)jenv;
28342   (void)jcls;
28343   result = (char *)("http://www.w3.org/2001/04/xmlenc#");
28344   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28345   return jresult;
28346 }
28347 
28348 
28349 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1exca_1get(JNIEnv *jenv, jclass jcls) {
28350   jstring jresult = 0 ;
28351   char *result = 0 ;
28352 
28353   (void)jenv;
28354   (void)jcls;
28355   result = (char *)("http://www.w3.org/2001/10/xml-exc-c14n#");
28356   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28357   return jresult;
28358 }
28359 
28360 
28361 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1e_1get(JNIEnv *jenv, jclass jcls) {
28362   jstring jresult = 0 ;
28363   char *result = 0 ;
28364 
28365   (void)jenv;
28366   (void)jcls;
28367   result = (char *)("http://schemas.xmlsoap.org/soap/envelope/");
28368   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28369   return jresult;
28370 }
28371 
28372 
28373 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1sa_1get(JNIEnv *jenv, jclass jcls) {
28374   jstring jresult = 0 ;
28375   char *result = 0 ;
28376 
28377   (void)jenv;
28378   (void)jcls;
28379   result = (char *)("urn:oasis:names:tc:SAML:2.0:assertion");
28380   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28381   return jresult;
28382 }
28383 
28384 
28385 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1sp_1get(JNIEnv *jenv, jclass jcls) {
28386   jstring jresult = 0 ;
28387   char *result = 0 ;
28388 
28389   (void)jenv;
28390   (void)jcls;
28391   result = (char *)("urn:oasis:names:tc:SAML:2.0:protocol");
28392   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28393   return jresult;
28394 }
28395 
28396 
28397 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ecp_1get(JNIEnv *jenv, jclass jcls) {
28398   jstring jresult = 0 ;
28399   char *result = 0 ;
28400 
28401   (void)jenv;
28402   (void)jcls;
28403   result = (char *)("urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp");
28404   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28405   return jresult;
28406 }
28407 
28408 
28409 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1paos_1get(JNIEnv *jenv, jclass jcls) {
28410   jstring jresult = 0 ;
28411   char *result = 0 ;
28412 
28413   (void)jenv;
28414   (void)jcls;
28415   result = (char *)("urn:liberty:paos:2006-08");
28416   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28417   return jresult;
28418 }
28419 
28420 
28421 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1md_1get(JNIEnv *jenv, jclass jcls) {
28422   jstring jresult = 0 ;
28423   char *result = 0 ;
28424 
28425   (void)jenv;
28426   (void)jcls;
28427   result = (char *)("urn:oasis:names:tc:SAML:2.0:metadata");
28428   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28429   return jresult;
28430 }
28431 
28432 
28433 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1shibmd_1get(JNIEnv *jenv, jclass jcls) {
28434   jstring jresult = 0 ;
28435   char *result = 0 ;
28436 
28437   (void)jenv;
28438   (void)jcls;
28439   result = (char *)("urn:mace:shibboleth:metadata:1.0");
28440   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28441   return jresult;
28442 }
28443 
28444 
28445 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1idpdisc_1get(JNIEnv *jenv, jclass jcls) {
28446   jstring jresult = 0 ;
28447   char *result = 0 ;
28448 
28449   (void)jenv;
28450   (void)jcls;
28451   result = (char *)("urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol");
28452   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28453   return jresult;
28454 }
28455 
28456 
28457 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1xac_1get(JNIEnv *jenv, jclass jcls) {
28458   jstring jresult = 0 ;
28459   char *result = 0 ;
28460 
28461   (void)jenv;
28462   (void)jcls;
28463   result = (char *)("urn:oasis:names:tc:xacml:2.0:context:schema:os");
28464   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28465   return jresult;
28466 }
28467 
28468 
28469 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1xa_1get(JNIEnv *jenv, jclass jcls) {
28470   jstring jresult = 0 ;
28471   char *result = 0 ;
28472 
28473   (void)jenv;
28474   (void)jcls;
28475   result = (char *)("urn:oasis:names:tc:xacml:2.0:policy:schema:os");
28476   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28477   return jresult;
28478 }
28479 
28480 
28481 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1xasa_1get(JNIEnv *jenv, jclass jcls) {
28482   jstring jresult = 0 ;
28483   char *result = 0 ;
28484 
28485   (void)jenv;
28486   (void)jcls;
28487   result = (char *)("urn:oasis:xacml:2.0:saml:assertion:schema:os");
28488   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28489   return jresult;
28490 }
28491 
28492 
28493 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1xasp_1get(JNIEnv *jenv, jclass jcls) {
28494   jstring jresult = 0 ;
28495   char *result = 0 ;
28496 
28497   (void)jenv;
28498   (void)jcls;
28499   result = (char *)("urn:oasis:xacml:2.0:saml:protocol:schema:os");
28500   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28501   return jresult;
28502 }
28503 
28504 
28505 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1xaspcd1_1get(JNIEnv *jenv, jclass jcls) {
28506   jstring jresult = 0 ;
28507   char *result = 0 ;
28508 
28509   (void)jenv;
28510   (void)jcls;
28511   result = (char *)("urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:protocol:cd-01");
28512   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28513   return jresult;
28514 }
28515 
28516 
28517 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1xasacd1_1get(JNIEnv *jenv, jclass jcls) {
28518   jstring jresult = 0 ;
28519   char *result = 0 ;
28520 
28521   (void)jenv;
28522   (void)jcls;
28523   result = (char *)("urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:assertion:cd-01");
28524   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28525   return jresult;
28526 }
28527 
28528 
28529 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1a_1get(JNIEnv *jenv, jclass jcls) {
28530   jstring jresult = 0 ;
28531   char *result = 0 ;
28532 
28533   (void)jenv;
28534   (void)jcls;
28535   result = (char *)("http://www.w3.org/2005/08/addressing");
28536   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28537   return jresult;
28538 }
28539 
28540 
28541 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1wsse_1get(JNIEnv *jenv, jclass jcls) {
28542   jstring jresult = 0 ;
28543   char *result = 0 ;
28544 
28545   (void)jenv;
28546   (void)jcls;
28547   result = (char *)("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd");
28548   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28549   return jresult;
28550 }
28551 
28552 
28553 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1wsu_1get(JNIEnv *jenv, jclass jcls) {
28554   jstring jresult = 0 ;
28555   char *result = 0 ;
28556 
28557   (void)jenv;
28558   (void)jcls;
28559   result = (char *)("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd");
28560   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28561   return jresult;
28562 }
28563 
28564 
28565 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1sbf_1get(JNIEnv *jenv, jclass jcls) {
28566   jstring jresult = 0 ;
28567   char *result = 0 ;
28568 
28569   (void)jenv;
28570   (void)jcls;
28571   result = (char *)("urn:liberty:sb");
28572   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28573   return jresult;
28574 }
28575 
28576 
28577 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1b_1get(JNIEnv *jenv, jclass jcls) {
28578   jstring jresult = 0 ;
28579   char *result = 0 ;
28580 
28581   (void)jenv;
28582   (void)jcls;
28583   result = (char *)("urn:liberty:sb:2006-08");
28584   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28585   return jresult;
28586 }
28587 
28588 
28589 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1sec_1get(JNIEnv *jenv, jclass jcls) {
28590   jstring jresult = 0 ;
28591   char *result = 0 ;
28592 
28593   (void)jenv;
28594   (void)jcls;
28595   result = (char *)("urn:liberty:security:2006-08");
28596   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28597   return jresult;
28598 }
28599 
28600 
28601 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1di_1get(JNIEnv *jenv, jclass jcls) {
28602   jstring jresult = 0 ;
28603   char *result = 0 ;
28604 
28605   (void)jenv;
28606   (void)jcls;
28607   result = (char *)("urn:liberty:disco:2006-08");
28608   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28609   return jresult;
28610 }
28611 
28612 
28613 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1is_1get(JNIEnv *jenv, jclass jcls) {
28614   jstring jresult = 0 ;
28615   char *result = 0 ;
28616 
28617   (void)jenv;
28618   (void)jcls;
28619   result = (char *)("urn:liberty:is:2006-08");
28620   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28621   return jresult;
28622 }
28623 
28624 
28625 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1lu_1get(JNIEnv *jenv, jclass jcls) {
28626   jstring jresult = 0 ;
28627   char *result = 0 ;
28628 
28629   (void)jenv;
28630   (void)jcls;
28631   result = (char *)("urn:liberty:util:2006-08");
28632   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28633   return jresult;
28634 }
28635 
28636 
28637 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1dap_1get(JNIEnv *jenv, jclass jcls) {
28638   jstring jresult = 0 ;
28639   char *result = 0 ;
28640 
28641   (void)jenv;
28642   (void)jcls;
28643   result = (char *)("urn:liberty:id-sis-dap:2006-08:dst-2.1");
28644   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28645   return jresult;
28646 }
28647 
28648 
28649 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1subs_1get(JNIEnv *jenv, jclass jcls) {
28650   jstring jresult = 0 ;
28651   char *result = 0 ;
28652 
28653   (void)jenv;
28654   (void)jcls;
28655   result = (char *)("urn:liberty:ssos:2006-08");
28656   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28657   return jresult;
28658 }
28659 
28660 
28661 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1dst_1get(JNIEnv *jenv, jclass jcls) {
28662   jstring jresult = 0 ;
28663   char *result = 0 ;
28664 
28665   (void)jenv;
28666   (void)jcls;
28667   result = (char *)("urn:liberty:dst:2006-08");
28668   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28669   return jresult;
28670 }
28671 
28672 
28673 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1im_1get(JNIEnv *jenv, jclass jcls) {
28674   jstring jresult = 0 ;
28675   char *result = 0 ;
28676 
28677   (void)jenv;
28678   (void)jcls;
28679   result = (char *)("urn:liberty:ims:2006-08");
28680   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28681   return jresult;
28682 }
28683 
28684 
28685 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ps_1get(JNIEnv *jenv, jclass jcls) {
28686   jstring jresult = 0 ;
28687   char *result = 0 ;
28688 
28689   (void)jenv;
28690   (void)jcls;
28691   result = (char *)("urn:liberty:ps:2006-08");
28692   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28693   return jresult;
28694 }
28695 
28696 
28697 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1as_1get(JNIEnv *jenv, jclass jcls) {
28698   jstring jresult = 0 ;
28699   char *result = 0 ;
28700 
28701   (void)jenv;
28702   (void)jcls;
28703   result = (char *)("urn:liberty:sa:2006-08");
28704   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28705   return jresult;
28706 }
28707 
28708 
28709 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1xml_1get(JNIEnv *jenv, jclass jcls) {
28710   jstring jresult = 0 ;
28711   char *result = 0 ;
28712 
28713   (void)jenv;
28714   (void)jcls;
28715   result = (char *)("http://www.w3.org/XML/1998/namespace");
28716   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28717   return jresult;
28718 }
28719 
28720 
28721 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1xsi_1get(JNIEnv *jenv, jclass jcls) {
28722   jstring jresult = 0 ;
28723   char *result = 0 ;
28724 
28725   (void)jenv;
28726   (void)jcls;
28727   result = (char *)("http://www.w3.org/2001/XMLSchema-instance");
28728   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28729   return jresult;
28730 }
28731 
28732 
28733 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1xs_1get(JNIEnv *jenv, jclass jcls) {
28734   jstring jresult = 0 ;
28735   char *result = 0 ;
28736 
28737   (void)jenv;
28738   (void)jcls;
28739   result = (char *)("http://www.w3.org/2001/XMLSchema");
28740   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28741   return jresult;
28742 }
28743 
28744 
28745 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1mm7_1get(JNIEnv *jenv, jclass jcls) {
28746   jstring jresult = 0 ;
28747   char *result = 0 ;
28748 
28749   (void)jenv;
28750   (void)jcls;
28751   result = (char *)("http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-4");
28752   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28753   return jresult;
28754 }
28755 
28756 
28757 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1cb_1get(JNIEnv *jenv, jclass jcls) {
28758   jstring jresult = 0 ;
28759   char *result = 0 ;
28760 
28761   (void)jenv;
28762   (void)jcls;
28763   result = (char *)("urn:liberty:id-sis-cb:2004-10");
28764   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28765   return jresult;
28766 }
28767 
28768 
28769 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1cdm_1get(JNIEnv *jenv, jclass jcls) {
28770   jstring jresult = 0 ;
28771   char *result = 0 ;
28772 
28773   (void)jenv;
28774   (void)jcls;
28775   result = (char *)("urn:liberty:cb:conceptual-data-model:2004-10");
28776   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28777   return jresult;
28778 }
28779 
28780 
28781 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1gl_1get(JNIEnv *jenv, jclass jcls) {
28782   jstring jresult = 0 ;
28783   char *result = 0 ;
28784 
28785   (void)jenv;
28786   (void)jcls;
28787   result = (char *)("urn:liberty:id-sis-gl:2005-07");
28788   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28789   return jresult;
28790 }
28791 
28792 
28793 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1dp_1get(JNIEnv *jenv, jclass jcls) {
28794   jstring jresult = 0 ;
28795   char *result = 0 ;
28796 
28797   (void)jenv;
28798   (void)jcls;
28799   result = (char *)("urn:liberty:dp:2006-12");
28800   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28801   return jresult;
28802 }
28803 
28804 
28805 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1idp_1get(JNIEnv *jenv, jclass jcls) {
28806   jstring jresult = 0 ;
28807   char *result = 0 ;
28808 
28809   (void)jenv;
28810   (void)jcls;
28811   result = (char *)("urn:liberty:idp:2006-12");
28812   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28813   return jresult;
28814 }
28815 
28816 
28817 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1pmm_1get(JNIEnv *jenv, jclass jcls) {
28818   jstring jresult = 0 ;
28819   char *result = 0 ;
28820 
28821   (void)jenv;
28822   (void)jcls;
28823   result = (char *)("urn:liberty:pmm:2006-12");
28824   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28825   return jresult;
28826 }
28827 
28828 
28829 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1prov_1get(JNIEnv *jenv, jclass jcls) {
28830   jstring jresult = 0 ;
28831   char *result = 0 ;
28832 
28833   (void)jenv;
28834   (void)jcls;
28835   result = (char *)("urn:liberty:prov:2006-12");
28836   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28837   return jresult;
28838 }
28839 
28840 
28841 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1shps_1get(JNIEnv *jenv, jclass jcls) {
28842   jstring jresult = 0 ;
28843   char *result = 0 ;
28844 
28845   (void)jenv;
28846   (void)jcls;
28847   result = (char *)("urn:liberty:shps:2006-12");
28848   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28849   return jresult;
28850 }
28851 
28852 
28853 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1hrxml_1get(JNIEnv *jenv, jclass jcls) {
28854   jstring jresult = 0 ;
28855   char *result = 0 ;
28856 
28857   (void)jenv;
28858   (void)jcls;
28859   result = (char *)("http://ns.hr-xml.org/2007-04-15");
28860   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28861   return jresult;
28862 }
28863 
28864 
28865 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1idhrxml_1get(JNIEnv *jenv, jclass jcls) {
28866   jstring jresult = 0 ;
28867   char *result = 0 ;
28868 
28869   (void)jenv;
28870   (void)jcls;
28871   result = (char *)("urn:id-sis-idhrxml:2007-06:dst-2.1");
28872   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28873   return jresult;
28874 }
28875 
28876 
28877 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1demomed_1get(JNIEnv *jenv, jclass jcls) {
28878   jstring jresult = 0 ;
28879   char *result = 0 ;
28880 
28881   (void)jenv;
28882   (void)jcls;
28883   result = (char *)("urn:x-demo:me:2006-01");
28884   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28885   return jresult;
28886 }
28887 
28888 
28889 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1sp11_1get(JNIEnv *jenv, jclass jcls) {
28890   jstring jresult = 0 ;
28891   char *result = 0 ;
28892 
28893   (void)jenv;
28894   (void)jcls;
28895   result = (char *)("urn:oasis:names:tc:SAML:1.0:protocol");
28896   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28897   return jresult;
28898 }
28899 
28900 
28901 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1sa11_1get(JNIEnv *jenv, jclass jcls) {
28902   jstring jresult = 0 ;
28903   char *result = 0 ;
28904 
28905   (void)jenv;
28906   (void)jcls;
28907   result = (char *)("urn:oasis:names:tc:SAML:1.0:assertion");
28908   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28909   return jresult;
28910 }
28911 
28912 
28913 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ff12_1get(JNIEnv *jenv, jclass jcls) {
28914   jstring jresult = 0 ;
28915   char *result = 0 ;
28916 
28917   (void)jenv;
28918   (void)jcls;
28919   result = (char *)("urn:liberty:iff:2003-08");
28920   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28921   return jresult;
28922 }
28923 
28924 
28925 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1ac_1get(JNIEnv *jenv, jclass jcls) {
28926   jstring jresult = 0 ;
28927   char *result = 0 ;
28928 
28929   (void)jenv;
28930   (void)jcls;
28931   result = (char *)("urn:liberty:ac:2004-12");
28932   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28933   return jresult;
28934 }
28935 
28936 
28937 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1m20_1get(JNIEnv *jenv, jclass jcls) {
28938   jstring jresult = 0 ;
28939   char *result = 0 ;
28940 
28941   (void)jenv;
28942   (void)jcls;
28943   result = (char *)("urn:liberty:metadata:2004-12");
28944   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28945   return jresult;
28946 }
28947 
28948 
28949 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1b12_1get(JNIEnv *jenv, jclass jcls) {
28950   jstring jresult = 0 ;
28951   char *result = 0 ;
28952 
28953   (void)jenv;
28954   (void)jcls;
28955   result = (char *)("urn:liberty:sb:2003-08");
28956   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28957   return jresult;
28958 }
28959 
28960 
28961 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1sec12_1get(JNIEnv *jenv, jclass jcls) {
28962   jstring jresult = 0 ;
28963   char *result = 0 ;
28964 
28965   (void)jenv;
28966   (void)jcls;
28967   result = (char *)("urn:liberty:sec:2003-08");
28968   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28969   return jresult;
28970 }
28971 
28972 
28973 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1di12_1get(JNIEnv *jenv, jclass jcls) {
28974   jstring jresult = 0 ;
28975   char *result = 0 ;
28976 
28977   (void)jenv;
28978   (void)jcls;
28979   result = (char *)("urn:liberty:disco:2003-08");
28980   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28981   return jresult;
28982 }
28983 
28984 
28985 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1is12_1get(JNIEnv *jenv, jclass jcls) {
28986   jstring jresult = 0 ;
28987   char *result = 0 ;
28988 
28989   (void)jenv;
28990   (void)jcls;
28991   result = (char *)("urn:liberty:is:2003-08");
28992   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
28993   return jresult;
28994 }
28995 
28996 
28997 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1wst_1get(JNIEnv *jenv, jclass jcls) {
28998   jstring jresult = 0 ;
28999   char *result = 0 ;
29000 
29001   (void)jenv;
29002   (void)jcls;
29003   result = (char *)("http://docs.oasis-open.org/ws-sx/ws-trust/200512/");
29004   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
29005   return jresult;
29006 }
29007 
29008 
29009 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1wsp_1get(JNIEnv *jenv, jclass jcls) {
29010   jstring jresult = 0 ;
29011   char *result = 0 ;
29012 
29013   (void)jenv;
29014   (void)jcls;
29015   result = (char *)("http://schemas.xmlsoap.org/ws/2004/09/policy");
29016   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
29017   return jresult;
29018 }
29019 
29020 
29021 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1wsc_1get(JNIEnv *jenv, jclass jcls) {
29022   jstring jresult = 0 ;
29023   char *result = 0 ;
29024 
29025   (void)jenv;
29026   (void)jcls;
29027   result = (char *)("http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512");
29028   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
29029   return jresult;
29030 }
29031 
29032 
29033 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1tas3_1get(JNIEnv *jenv, jclass jcls) {
29034   jstring jresult = 0 ;
29035   char *result = 0 ;
29036 
29037   (void)jenv;
29038   (void)jcls;
29039   result = (char *)("http://tas3.eu/tas3/200911/");
29040   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
29041   return jresult;
29042 }
29043 
29044 
29045 SWIGEXPORT jstring JNICALL Java_zxidjava_zxidjniJNI_zx_1xmlns_1tas3sol_1get(JNIEnv *jenv, jclass jcls) {
29046   jstring jresult = 0 ;
29047   char *result = 0 ;
29048 
29049   (void)jenv;
29050   (void)jcls;
29051   result = (char *)("http://tas3.eu/tas3sol/200911/");
29052   if (result) jresult = (*jenv)->NewStringUTF(jenv, ( char *)result);
29053   return jresult;
29054 }
29055 
29056 
29057 #ifdef __cplusplus
29058 }
29059 #endif
29060 
29061