00001 /* 00002 * BEEN: Benchmarking Environment 00003 * ============================== 00004 * 00005 * File author: Branislav Repcek 00006 * 00007 * GNU Lesser General Public License Version 2.1 00008 * --------------------------------------------- 00009 * Copyright (C) 2004-2006 Distributed Systems Research Group, 00010 * Faculty of Mathematics and Physics, Charles University in Prague 00011 * 00012 * This library is free software; you can redistribute it and/or 00013 * modify it under the terms of the GNU Lesser General Public 00014 * License version 2.1, as published by the Free Software Foundation. 00015 * 00016 * This library is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00019 * Lesser General Public License for more details. 00020 * 00021 * You should have received a copy of the GNU Lesser General Public 00022 * License along with this library; if not, write to the Free Software 00023 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, 00024 * MA 02111-1307 USA 00025 */ 00026 00033 #ifndef _Included_NativeDetector 00034 #define _Included_NativeDetector 00035 00036 #include <jni.h> 00037 00038 #ifdef __cplusplus 00039 extern "C" 00040 { 00041 #endif 00042 00043 /* 00044 * Class: NativeDetector 00045 * Method: nativeInitialize 00046 * Signature: ()Z 00047 */ 00048 JNIEXPORT jboolean JNICALL Java_cz_cuni_mff_been_task_detector_NativeDetector_nativeInitialize(JNIEnv *, jobject); 00049 00050 /* 00051 * Class: NativeDetector 00052 * Method: nativeExecute 00053 * Signature: ()Z 00054 */ 00055 JNIEXPORT jboolean JNICALL Java_cz_cuni_mff_been_task_detector_NativeDetector_nativeExecute(JNIEnv *, jobject); 00056 00057 /* 00058 * Class: NativeDetector 00059 * Method: nativeGetData 00060 * Signature: ()Ljava/lang/String; 00061 */ 00062 JNIEXPORT jstring JNICALL Java_cz_cuni_mff_been_task_detector_NativeDetector_nativeGetData(JNIEnv *, jobject); 00063 00064 /* 00065 * Class: NativeDetector 00066 * Method: nativeGetMessages 00067 * Signature: ()Ljava/lang/String; 00068 */ 00069 JNIEXPORT jstring JNICALL Java_cz_cuni_mff_been_task_detector_NativeDetector_nativeGetMessages(JNIEnv *, jobject); 00070 00071 /* 00072 * Class: NativeDetector 00073 * Method: nativeDestroy 00074 * Signature: ()Z 00075 */ 00076 JNIEXPORT jboolean JNICALL Java_cz_cuni_mff_been_task_detector_NativeDetector_nativeDestroy(JNIEnv *, jobject); 00077 00078 /* 00079 * Class: NativeDetector 00080 * Method: nativeGetEncoding 00081 * Signature: ()Ljava/lang/String; 00082 */ 00083 JNIEXPORT jstring JNICALL Java_cz_cuni_mff_been_task_detector_NativeDetector_nativeGetEncoding(JNIEnv *, jobject); 00084 00085 #ifdef __cplusplus 00086 } 00087 #endif 00088 00089 #endif