2006-08-02 15:03:49 +00:00
|
|
|
/*
|
2006-11-27 15:11:14 +00:00
|
|
|
* $Id: jni.h,v 1.11 2006-11-27 15:10:34 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);
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL Java_ase_awk_Awk_addbfn (
|
|
|
|
JNIEnv* env, jobject obj, jstring name, jint min_args, jint max_args);
|
|
|
|
JNIEXPORT jint JNICALL Java_ase_awk_Awk_setfilename (
|
|
|
|
JNIEnv* env, jobject obj, jlong run_id, jstring name);
|
|
|
|
JNIEXPORT jint JNICALL Java_ase_awk_Awk_setofilename (
|
|
|
|
JNIEnv* env, jobject obj, jlong run_id, jstring name);
|
2006-08-02 15:03:49 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|