qse/ase/awk/jni.h

54 lines
1.6 KiB
C
Raw Normal View History

2006-08-02 15:03:49 +00:00
/*
2007-01-25 14:14:56 +00:00
* $Id: jni.h,v 1.17 2007-01-25 14:10:03 bacon Exp $
2006-08-02 15:03:49 +00:00
*/
2006-10-24 04:10:12 +00:00
#ifndef _ASE_AWK_JNI_H_
#define _ASE_AWK_JNI_H_
2006-08-02 15:03:49 +00:00
#include <jni.h>
#ifdef __cplusplus
extern "C" {
#endif
2006-11-27 15:11:14 +00:00
JNIEXPORT void JNICALL Java_ase_awk_Awk_open (JNIEnv* env, jobject obj);
JNIEXPORT void JNICALL Java_ase_awk_Awk_close (JNIEnv* env, jobject obj);
JNIEXPORT void JNICALL Java_ase_awk_Awk_parse (JNIEnv* env, jobject obj);
JNIEXPORT void JNICALL Java_ase_awk_Awk_run (JNIEnv* env, jobject obj);
2007-01-23 14:23:18 +00:00
JNIEXPORT void JNICALL Java_ase_awk_Awk_addbfn (
2006-11-27 15:11:14 +00:00
JNIEnv* env, jobject obj, jstring name, jint min_args, jint max_args);
2007-01-23 14:23:18 +00:00
JNIEXPORT void JNICALL Java_ase_awk_Awk_delbfn (
2006-11-29 02:39:10 +00:00
JNIEnv* env, jobject obj, jstring name);
2007-01-23 14:23:18 +00:00
JNIEXPORT jint JNICALL Java_ase_awk_Awk_getmaxdepth (
JNIEnv* env, jobject obj, jint id);
JNIEXPORT void JNICALL Java_ase_awk_Awk_setmaxdepth (
JNIEnv* env, jobject obj, jint ids, jint depth);
2007-01-25 14:14:56 +00:00
JNIEXPORT jint JNICALL Java_ase_awk_Awk_getoption (
JNIEnv* env, jobject obj);
JNIEXPORT void JNICALL Java_ase_awk_Awk_setoption (
JNIEnv* env, jobject obj, jint options);
JNIEXPORT jboolean JNICALL Java_ase_awk_Awk_getdebug (
JNIEnv* env, jobject obj);
JNIEXPORT void JNICALL Java_ase_awk_Awk_setdebug (
JNIEnv* env, jobject obj, jboolean debug);
2007-01-24 11:54:16 +00:00
JNIEXPORT void JNICALL Java_ase_awk_Awk_setfilename (
2006-12-02 16:26:29 +00:00
JNIEnv* env, jobject obj, jlong runid, jstring name);
2007-01-24 11:54:16 +00:00
JNIEXPORT void JNICALL Java_ase_awk_Awk_setofilename (
2006-12-02 16:26:29 +00:00
JNIEnv* env, jobject obj, jlong runid, jstring name);
2007-01-25 14:14:56 +00:00
2006-12-02 16:26:29 +00:00
JNIEXPORT jobject JNICALL Java_ase_awk_Awk_strtonum (
JNIEnv* env, jobject obj, jlong runid, jstring str);
2007-01-25 14:14:56 +00:00
JNIEXPORT jstring JNICALL Java_ase_awk_Awk_valtostr (
JNIEnv* env, jobject obj, jlong runid);
2006-08-02 15:03:49 +00:00
#ifdef __cplusplus
}
#endif
#endif