File: javasasl.h

package info (click to toggle)
cyrus-sasl2 2.1.23.dfsg1-7
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 8,692 kB
  • ctags: 7,265
  • sloc: ansic: 50,844; sh: 12,869; java: 1,614; xml: 1,498; makefile: 649; perl: 11
file content (322 lines) | stat: -rw-r--r-- 8,109 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class CyrusSasl_Sasl */

#ifndef _Included_CyrusSasl_Sasl
#define _Included_CyrusSasl_Sasl
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
#endif
/* Header for class CyrusSasl_GenericClient */

#ifndef _Included_CyrusSasl_GenericClient
#define _Included_CyrusSasl_GenericClient
#ifdef __cplusplus
extern "C" {
#endif
/*
 * Class:     CyrusSasl_GenericClient
 * Method:    jni_sasl_client_start
 * Signature: (ILjava/lang/String;)[B
 */
JNIEXPORT jbyteArray JNICALL Java_CyrusSasl_GenericClient_jni_1sasl_1client_1start
  (JNIEnv *, jobject, jint, jstring);

/*
 * Class:     CyrusSasl_GenericClient
 * Method:    jni_sasl_client_step
 * Signature: (I[BI)[B
 */
JNIEXPORT jbyteArray JNICALL Java_CyrusSasl_GenericClient_jni_1sasl_1client_1step
  (JNIEnv *, jobject, jint, jbyteArray, jint);

#ifdef __cplusplus
}
#endif
#endif
/* Header for class CyrusSasl_ClientFactory */

#ifndef _Included_CyrusSasl_ClientFactory
#define _Included_CyrusSasl_ClientFactory
#ifdef __cplusplus
extern "C" {
#endif
/*
 * Class:     CyrusSasl_ClientFactory
 * Method:    jni_sasl_client_init
 * Signature: (Ljava/lang/String;)I
 */
JNIEXPORT jint JNICALL Java_CyrusSasl_ClientFactory_jni_1sasl_1client_1init
  (JNIEnv *, jobject, jstring);

/*
 * Class:     CyrusSasl_ClientFactory
 * Method:    jni_sasl_client_new
 * Signature: (Ljava/lang/String;Ljava/lang/String;IZ)I
 */
JNIEXPORT jint JNICALL Java_CyrusSasl_ClientFactory_jni_1sasl_1client_1new
  (JNIEnv *, jobject, jstring, jstring, jint, jboolean);

#ifdef __cplusplus
}
#endif
#endif
/* Header for class CyrusSasl_GenericCommon */

#ifndef _Included_CyrusSasl_GenericCommon
#define _Included_CyrusSasl_GenericCommon
#ifdef __cplusplus
extern "C" {
#endif
/*
 * Class:     CyrusSasl_GenericCommon
 * Method:    jni_sasl_set_prop_string
 * Signature: (IILjava/lang/String;)V
 */
JNIEXPORT void JNICALL Java_CyrusSasl_GenericCommon_jni_1sasl_1set_1prop_1string
  (JNIEnv *, jobject, jint, jint, jstring);

/*
 * Class:     CyrusSasl_GenericCommon
 * Method:    jni_sasl_set_prop_int
 * Signature: (III)V
 */
JNIEXPORT void JNICALL Java_CyrusSasl_GenericCommon_jni_1sasl_1set_1prop_1int
  (JNIEnv *, jobject, jint, jint, jint);

/*
 * Class:     CyrusSasl_GenericCommon
 * Method:    jni_sasl_set_prop_bytes
 * Signature: (II[B)V
 */
JNIEXPORT void JNICALL Java_CyrusSasl_GenericCommon_jni_1sasl_1set_1prop_1bytes
  (JNIEnv *, jobject, jint, jint, jbyteArray);

/*
 * Class:     CyrusSasl_GenericCommon
 * Method:    jni_sasl_set_server
 * Signature: (I[BI)V
 */
JNIEXPORT void JNICALL Java_CyrusSasl_GenericCommon_jni_1sasl_1set_1server
  (JNIEnv *, jobject, jint, jbyteArray, jint);

/*
 * Class:     CyrusSasl_GenericCommon
 * Method:    jni_sasl_set_client
 * Signature: (I[BI)V
 */
JNIEXPORT void JNICALL Java_CyrusSasl_GenericCommon_jni_1sasl_1set_1client
  (JNIEnv *, jobject, jint, jbyteArray, jint);

/*
 * Class:     CyrusSasl_GenericCommon
 * Method:    jni_sasl_setSecurity
 * Signature: (III)V
 */
JNIEXPORT void JNICALL Java_CyrusSasl_GenericCommon_jni_1sasl_1setSecurity
  (JNIEnv *, jobject, jint, jint, jint);

/*
 * Class:     CyrusSasl_GenericCommon
 * Method:    jni_sasl_getSecurity
 * Signature: (I)I
 */
JNIEXPORT jint JNICALL Java_CyrusSasl_GenericCommon_jni_1sasl_1getSecurity
  (JNIEnv *, jobject, jint);

/*
 * Class:     CyrusSasl_GenericCommon
 * Method:    jni_sasl_encode
 * Signature: (I[BI)[B
 */
JNIEXPORT jbyteArray JNICALL Java_CyrusSasl_GenericCommon_jni_1sasl_1encode
  (JNIEnv *, jobject, jint, jbyteArray, jint);

/*
 * Class:     CyrusSasl_GenericCommon
 * Method:    jni_sasl_decode
 * Signature: (I[BI)[B
 */
JNIEXPORT jbyteArray JNICALL Java_CyrusSasl_GenericCommon_jni_1sasl_1decode
  (JNIEnv *, jobject, jint, jbyteArray, jint);

/*
 * Class:     CyrusSasl_GenericCommon
 * Method:    jni_sasl_dispose
 * Signature: (I)V
 */
JNIEXPORT void JNICALL Java_CyrusSasl_GenericCommon_jni_1sasl_1dispose
  (JNIEnv *, jobject, jint);

#ifdef __cplusplus
}
#endif
#endif
/* Header for class CyrusSasl_SaslClient */

#ifndef _Included_CyrusSasl_SaslClient
#define _Included_CyrusSasl_SaslClient
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
#endif
/* Header for class CyrusSasl_SaslClientFactory */

#ifndef _Included_CyrusSasl_SaslClientFactory
#define _Included_CyrusSasl_SaslClientFactory
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
#endif
/* Header for class CyrusSasl_SaslException */

#ifndef _Included_CyrusSasl_SaslException
#define _Included_CyrusSasl_SaslException
#ifdef __cplusplus
extern "C" {
#endif
#undef CyrusSasl_SaslException_serialVersionUID
#define CyrusSasl_SaslException_serialVersionUID -3042686055658047285LL
#undef CyrusSasl_SaslException_serialVersionUID
#define CyrusSasl_SaslException_serialVersionUID -3387516993124229948LL
#ifdef __cplusplus
}
#endif
#endif
/* Header for class CyrusSasl_SaslInputStream */

#ifndef _Included_CyrusSasl_SaslInputStream
#define _Included_CyrusSasl_SaslInputStream
#ifdef __cplusplus
extern "C" {
#endif
#undef CyrusSasl_SaslInputStream_SKIP_BUFFER_SIZE
#define CyrusSasl_SaslInputStream_SKIP_BUFFER_SIZE 2048L
#undef CyrusSasl_SaslInputStream_DoEncrypt
#define CyrusSasl_SaslInputStream_DoEncrypt 1L
#undef CyrusSasl_SaslInputStream_DoDebug
#define CyrusSasl_SaslInputStream_DoDebug 0L
#ifdef __cplusplus
}
#endif
#endif
/* Header for class CyrusSasl_SaslOutputStream */

#ifndef _Included_CyrusSasl_SaslOutputStream
#define _Included_CyrusSasl_SaslOutputStream
#ifdef __cplusplus
extern "C" {
#endif
#undef CyrusSasl_SaslOutputStream_DoEncrypt
#define CyrusSasl_SaslOutputStream_DoEncrypt 1L
#undef CyrusSasl_SaslOutputStream_DoDebug
#define CyrusSasl_SaslOutputStream_DoDebug 0L
#ifdef __cplusplus
}
#endif
#endif
/* Header for class CyrusSasl_SaslUtils */

#ifndef _Included_CyrusSasl_SaslUtils
#define _Included_CyrusSasl_SaslUtils
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
#endif
/* Header for class CyrusSasl_ServerFactory */

#ifndef _Included_CyrusSasl_ServerFactory
#define _Included_CyrusSasl_ServerFactory
#ifdef __cplusplus
extern "C" {
#endif
/*
 * Class:     CyrusSasl_ServerFactory
 * Method:    jni_sasl_server_init
 * Signature: (Ljava/lang/String;)I
 */
JNIEXPORT jint JNICALL Java_CyrusSasl_ServerFactory_jni_1sasl_1server_1init
  (JNIEnv *, jobject, jstring);

/*
 * Class:     CyrusSasl_ServerFactory
 * Method:    jni_sasl_server_new
 * Signature: (Ljava/lang/String;Ljava/lang/String;I)I
 */
JNIEXPORT jint JNICALL Java_CyrusSasl_ServerFactory_jni_1sasl_1server_1new
  (JNIEnv *, jobject, jstring, jstring, jint);

/*
 * Class:     CyrusSasl_ServerFactory
 * Method:    jni_sasl_server_getlist
 * Signature: (ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_CyrusSasl_ServerFactory_jni_1sasl_1server_1getlist
  (JNIEnv *, jobject, jint, jstring, jstring, jstring);

#ifdef __cplusplus
}
#endif
#endif
/* Header for class CyrusSasl_SaslServerFactory */

#ifndef _Included_CyrusSasl_SaslServerFactory
#define _Included_CyrusSasl_SaslServerFactory
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
#endif
/* Header for class CyrusSasl_SaslServer */

#ifndef _Included_CyrusSasl_SaslServer
#define _Included_CyrusSasl_SaslServer
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
#endif
/* Header for class CyrusSasl_GenericServer */

#ifndef _Included_CyrusSasl_GenericServer
#define _Included_CyrusSasl_GenericServer
#ifdef __cplusplus
extern "C" {
#endif
/*
 * Class:     CyrusSasl_GenericServer
 * Method:    jni_sasl_server_start
 * Signature: (ILjava/lang/String;[BI)[B
 */
JNIEXPORT jbyteArray JNICALL Java_CyrusSasl_GenericServer_jni_1sasl_1server_1start
  (JNIEnv *, jobject, jint, jstring, jbyteArray, jint);

/*
 * Class:     CyrusSasl_GenericServer
 * Method:    jni_sasl_server_step
 * Signature: (I[BI)[B
 */
JNIEXPORT jbyteArray JNICALL Java_CyrusSasl_GenericServer_jni_1sasl_1server_1step
  (JNIEnv *, jobject, jint, jbyteArray, jint);

#ifdef __cplusplus
}
#endif
#endif