374 NO_ENCODING_YET = 0, /* "sun.jnu.encoding" not yet set */
375 NO_FAST_ENCODING, /* Platform encoding is not fast */
376 FAST_8859_1, /* ISO-8859-1 */
377 FAST_CP1252, /* MS-DOS Cp1252 */
378 FAST_646_US /* US-ASCII : ISO646-US */
379 };
380
381 jstring nativeNewStringPlatform(JNIEnv *env, const char *str);
382
383 char* nativeGetStringPlatformChars(JNIEnv *env, jstring jstr, jboolean *isCopy);
384
385 int getFastEncoding();
386
387 void initializeEncoding();
388
389 void* getProcessHandle();
390
391 void buildJniFunctionName(const char *sym, const char *cname,
392 char *jniEntryName);
393
394 #ifdef __cplusplus
395 } /* extern "C" */
396 #endif /* __cplusplus */
397
398 #endif /* JNI_UTIL_H */
|
374 NO_ENCODING_YET = 0, /* "sun.jnu.encoding" not yet set */
375 NO_FAST_ENCODING, /* Platform encoding is not fast */
376 FAST_8859_1, /* ISO-8859-1 */
377 FAST_CP1252, /* MS-DOS Cp1252 */
378 FAST_646_US /* US-ASCII : ISO646-US */
379 };
380
381 jstring nativeNewStringPlatform(JNIEnv *env, const char *str);
382
383 char* nativeGetStringPlatformChars(JNIEnv *env, jstring jstr, jboolean *isCopy);
384
385 int getFastEncoding();
386
387 void initializeEncoding();
388
389 void* getProcessHandle();
390
391 void buildJniFunctionName(const char *sym, const char *cname,
392 char *jniEntryName);
393
394 extern int getErrorString(int err, char *buf, size_t len);
395 #ifdef __cplusplus
396 } /* extern "C" */
397 #endif /* __cplusplus */
398
399 #endif /* JNI_UTIL_H */
|