X-Git-Url: https://rtime.felk.cvut.cz/gitweb/orte.git/blobdiff_plain/eaa3798b75ff67f357ab16639438b1cf3b4a596c..51bf20f848625b4b9ec02dc016537945efc21a02:/orte/include/jorte/jorte_protos_api.h diff --git a/orte/include/jorte/jorte_protos_api.h b/orte/include/jorte/jorte_protos_api.h index bcd07d3..b659866 100644 --- a/orte/include/jorte/jorte_protos_api.h +++ b/orte/include/jorte/jorte_protos_api.h @@ -1,6 +1,39 @@ /* jorte_typedefs_api.h */ -#include +/** + * This code provides conversion between JAVA a C environments. + * The C functions are calling here and results are send to JAVA + * native functions. It uses the header pregenerated by JAVA + * (by command 'javah -jni class_with_native_function') + * + * @author Lukas Pokorny (lukas_pokorny@centrum.cz) + * @author Martin Vajnar (martin.vajnar@gmail.com) + * @author CTU FEE Prague - Department of Control Engineering (dce.felk.cvut.cz) + * @author Project ORTE - OCERA Real Time Ethernet (www.ocera.org) + * @author dedication to Kj + * @version 0.1 + * + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +#ifndef _JORTE_PROTOS_API_H +#define _JORTE_PROTOS_API_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include #include "orte.h" extern int @@ -59,3 +92,9 @@ onRegFail(void *param); extern jclass findClass(JNIEnv *env, const char* name); + +#ifdef __cplusplus +} /* extern "C"*/ +#endif + +#endif // _JORTE_PROTOS_API_H \ No newline at end of file