import cyrus-sasl-2.1.23
[cyrus-sasl.git] / java / CyrusSasl / javasasl.h
1 /* DO NOT EDIT THIS FILE - it is machine generated */
2 #include <jni.h>
3 /* Header for class CyrusSasl_Sasl */
4
5 #ifndef _Included_CyrusSasl_Sasl
6 #define _Included_CyrusSasl_Sasl
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 #ifdef __cplusplus
11 }
12 #endif
13 #endif
14 /* Header for class CyrusSasl_GenericClient */
15
16 #ifndef _Included_CyrusSasl_GenericClient
17 #define _Included_CyrusSasl_GenericClient
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 /*
22  * Class:     CyrusSasl_GenericClient
23  * Method:    jni_sasl_client_start
24  * Signature: (ILjava/lang/String;)[B
25  */
26 JNIEXPORT jbyteArray JNICALL Java_CyrusSasl_GenericClient_jni_1sasl_1client_1start
27   (JNIEnv *, jobject, jint, jstring);
28
29 /*
30  * Class:     CyrusSasl_GenericClient
31  * Method:    jni_sasl_client_step
32  * Signature: (I[BI)[B
33  */
34 JNIEXPORT jbyteArray JNICALL Java_CyrusSasl_GenericClient_jni_1sasl_1client_1step
35   (JNIEnv *, jobject, jint, jbyteArray, jint);
36
37 #ifdef __cplusplus
38 }
39 #endif
40 #endif
41 /* Header for class CyrusSasl_ClientFactory */
42
43 #ifndef _Included_CyrusSasl_ClientFactory
44 #define _Included_CyrusSasl_ClientFactory
45 #ifdef __cplusplus
46 extern "C" {
47 #endif
48 /*
49  * Class:     CyrusSasl_ClientFactory
50  * Method:    jni_sasl_client_init
51  * Signature: (Ljava/lang/String;)I
52  */
53 JNIEXPORT jint JNICALL Java_CyrusSasl_ClientFactory_jni_1sasl_1client_1init
54   (JNIEnv *, jobject, jstring);
55
56 /*
57  * Class:     CyrusSasl_ClientFactory
58  * Method:    jni_sasl_client_new
59  * Signature: (Ljava/lang/String;Ljava/lang/String;IZ)I
60  */
61 JNIEXPORT jint JNICALL Java_CyrusSasl_ClientFactory_jni_1sasl_1client_1new
62   (JNIEnv *, jobject, jstring, jstring, jint, jboolean);
63
64 #ifdef __cplusplus
65 }
66 #endif
67 #endif
68 /* Header for class CyrusSasl_GenericCommon */
69
70 #ifndef _Included_CyrusSasl_GenericCommon
71 #define _Included_CyrusSasl_GenericCommon
72 #ifdef __cplusplus
73 extern "C" {
74 #endif
75 /*
76  * Class:     CyrusSasl_GenericCommon
77  * Method:    jni_sasl_set_prop_string
78  * Signature: (IILjava/lang/String;)V
79  */
80 JNIEXPORT void JNICALL Java_CyrusSasl_GenericCommon_jni_1sasl_1set_1prop_1string
81   (JNIEnv *, jobject, jint, jint, jstring);
82
83 /*
84  * Class:     CyrusSasl_GenericCommon
85  * Method:    jni_sasl_set_prop_int
86  * Signature: (III)V
87  */
88 JNIEXPORT void JNICALL Java_CyrusSasl_GenericCommon_jni_1sasl_1set_1prop_1int
89   (JNIEnv *, jobject, jint, jint, jint);
90
91 /*
92  * Class:     CyrusSasl_GenericCommon
93  * Method:    jni_sasl_set_prop_bytes
94  * Signature: (II[B)V
95  */
96 JNIEXPORT void JNICALL Java_CyrusSasl_GenericCommon_jni_1sasl_1set_1prop_1bytes
97   (JNIEnv *, jobject, jint, jint, jbyteArray);
98
99 /*
100  * Class:     CyrusSasl_GenericCommon
101  * Method:    jni_sasl_set_server
102  * Signature: (I[BI)V
103  */
104 JNIEXPORT void JNICALL Java_CyrusSasl_GenericCommon_jni_1sasl_1set_1server
105   (JNIEnv *, jobject, jint, jbyteArray, jint);
106
107 /*
108  * Class:     CyrusSasl_GenericCommon
109  * Method:    jni_sasl_set_client
110  * Signature: (I[BI)V
111  */
112 JNIEXPORT void JNICALL Java_CyrusSasl_GenericCommon_jni_1sasl_1set_1client
113   (JNIEnv *, jobject, jint, jbyteArray, jint);
114
115 /*
116  * Class:     CyrusSasl_GenericCommon
117  * Method:    jni_sasl_setSecurity
118  * Signature: (III)V
119  */
120 JNIEXPORT void JNICALL Java_CyrusSasl_GenericCommon_jni_1sasl_1setSecurity
121   (JNIEnv *, jobject, jint, jint, jint);
122
123 /*
124  * Class:     CyrusSasl_GenericCommon
125  * Method:    jni_sasl_getSecurity
126  * Signature: (I)I
127  */
128 JNIEXPORT jint JNICALL Java_CyrusSasl_GenericCommon_jni_1sasl_1getSecurity
129   (JNIEnv *, jobject, jint);
130
131 /*
132  * Class:     CyrusSasl_GenericCommon
133  * Method:    jni_sasl_encode
134  * Signature: (I[BI)[B
135  */
136 JNIEXPORT jbyteArray JNICALL Java_CyrusSasl_GenericCommon_jni_1sasl_1encode
137   (JNIEnv *, jobject, jint, jbyteArray, jint);
138
139 /*
140  * Class:     CyrusSasl_GenericCommon
141  * Method:    jni_sasl_decode
142  * Signature: (I[BI)[B
143  */
144 JNIEXPORT jbyteArray JNICALL Java_CyrusSasl_GenericCommon_jni_1sasl_1decode
145   (JNIEnv *, jobject, jint, jbyteArray, jint);
146
147 /*
148  * Class:     CyrusSasl_GenericCommon
149  * Method:    jni_sasl_dispose
150  * Signature: (I)V
151  */
152 JNIEXPORT void JNICALL Java_CyrusSasl_GenericCommon_jni_1sasl_1dispose
153   (JNIEnv *, jobject, jint);
154
155 #ifdef __cplusplus
156 }
157 #endif
158 #endif
159 /* Header for class CyrusSasl_SaslClient */
160
161 #ifndef _Included_CyrusSasl_SaslClient
162 #define _Included_CyrusSasl_SaslClient
163 #ifdef __cplusplus
164 extern "C" {
165 #endif
166 #ifdef __cplusplus
167 }
168 #endif
169 #endif
170 /* Header for class CyrusSasl_SaslClientFactory */
171
172 #ifndef _Included_CyrusSasl_SaslClientFactory
173 #define _Included_CyrusSasl_SaslClientFactory
174 #ifdef __cplusplus
175 extern "C" {
176 #endif
177 #ifdef __cplusplus
178 }
179 #endif
180 #endif
181 /* Header for class CyrusSasl_SaslException */
182
183 #ifndef _Included_CyrusSasl_SaslException
184 #define _Included_CyrusSasl_SaslException
185 #ifdef __cplusplus
186 extern "C" {
187 #endif
188 #undef CyrusSasl_SaslException_serialVersionUID
189 #define CyrusSasl_SaslException_serialVersionUID -3042686055658047285LL
190 #undef CyrusSasl_SaslException_serialVersionUID
191 #define CyrusSasl_SaslException_serialVersionUID -3387516993124229948LL
192 #ifdef __cplusplus
193 }
194 #endif
195 #endif
196 /* Header for class CyrusSasl_SaslInputStream */
197
198 #ifndef _Included_CyrusSasl_SaslInputStream
199 #define _Included_CyrusSasl_SaslInputStream
200 #ifdef __cplusplus
201 extern "C" {
202 #endif
203 #undef CyrusSasl_SaslInputStream_SKIP_BUFFER_SIZE
204 #define CyrusSasl_SaslInputStream_SKIP_BUFFER_SIZE 2048L
205 #undef CyrusSasl_SaslInputStream_DoEncrypt
206 #define CyrusSasl_SaslInputStream_DoEncrypt 1L
207 #undef CyrusSasl_SaslInputStream_DoDebug
208 #define CyrusSasl_SaslInputStream_DoDebug 0L
209 #ifdef __cplusplus
210 }
211 #endif
212 #endif
213 /* Header for class CyrusSasl_SaslOutputStream */
214
215 #ifndef _Included_CyrusSasl_SaslOutputStream
216 #define _Included_CyrusSasl_SaslOutputStream
217 #ifdef __cplusplus
218 extern "C" {
219 #endif
220 #undef CyrusSasl_SaslOutputStream_DoEncrypt
221 #define CyrusSasl_SaslOutputStream_DoEncrypt 1L
222 #undef CyrusSasl_SaslOutputStream_DoDebug
223 #define CyrusSasl_SaslOutputStream_DoDebug 0L
224 #ifdef __cplusplus
225 }
226 #endif
227 #endif
228 /* Header for class CyrusSasl_SaslUtils */
229
230 #ifndef _Included_CyrusSasl_SaslUtils
231 #define _Included_CyrusSasl_SaslUtils
232 #ifdef __cplusplus
233 extern "C" {
234 #endif
235 #ifdef __cplusplus
236 }
237 #endif
238 #endif
239 /* Header for class CyrusSasl_ServerFactory */
240
241 #ifndef _Included_CyrusSasl_ServerFactory
242 #define _Included_CyrusSasl_ServerFactory
243 #ifdef __cplusplus
244 extern "C" {
245 #endif
246 /*
247  * Class:     CyrusSasl_ServerFactory
248  * Method:    jni_sasl_server_init
249  * Signature: (Ljava/lang/String;)I
250  */
251 JNIEXPORT jint JNICALL Java_CyrusSasl_ServerFactory_jni_1sasl_1server_1init
252   (JNIEnv *, jobject, jstring);
253
254 /*
255  * Class:     CyrusSasl_ServerFactory
256  * Method:    jni_sasl_server_new
257  * Signature: (Ljava/lang/String;Ljava/lang/String;I)I
258  */
259 JNIEXPORT jint JNICALL Java_CyrusSasl_ServerFactory_jni_1sasl_1server_1new
260   (JNIEnv *, jobject, jstring, jstring, jint);
261
262 /*
263  * Class:     CyrusSasl_ServerFactory
264  * Method:    jni_sasl_server_getlist
265  * Signature: (ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
266  */
267 JNIEXPORT jstring JNICALL Java_CyrusSasl_ServerFactory_jni_1sasl_1server_1getlist
268   (JNIEnv *, jobject, jint, jstring, jstring, jstring);
269
270 #ifdef __cplusplus
271 }
272 #endif
273 #endif
274 /* Header for class CyrusSasl_SaslServerFactory */
275
276 #ifndef _Included_CyrusSasl_SaslServerFactory
277 #define _Included_CyrusSasl_SaslServerFactory
278 #ifdef __cplusplus
279 extern "C" {
280 #endif
281 #ifdef __cplusplus
282 }
283 #endif
284 #endif
285 /* Header for class CyrusSasl_SaslServer */
286
287 #ifndef _Included_CyrusSasl_SaslServer
288 #define _Included_CyrusSasl_SaslServer
289 #ifdef __cplusplus
290 extern "C" {
291 #endif
292 #ifdef __cplusplus
293 }
294 #endif
295 #endif
296 /* Header for class CyrusSasl_GenericServer */
297
298 #ifndef _Included_CyrusSasl_GenericServer
299 #define _Included_CyrusSasl_GenericServer
300 #ifdef __cplusplus
301 extern "C" {
302 #endif
303 /*
304  * Class:     CyrusSasl_GenericServer
305  * Method:    jni_sasl_server_start
306  * Signature: (ILjava/lang/String;[BI)[B
307  */
308 JNIEXPORT jbyteArray JNICALL Java_CyrusSasl_GenericServer_jni_1sasl_1server_1start
309   (JNIEnv *, jobject, jint, jstring, jbyteArray, jint);
310
311 /*
312  * Class:     CyrusSasl_GenericServer
313  * Method:    jni_sasl_server_step
314  * Signature: (I[BI)[B
315  */
316 JNIEXPORT jbyteArray JNICALL Java_CyrusSasl_GenericServer_jni_1sasl_1server_1step
317   (JNIEnv *, jobject, jint, jbyteArray, jint);
318
319 #ifdef __cplusplus
320 }
321 #endif
322 #endif