X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b7233718def37e1bc1e2a469ac45c738fab0c582..eb72021a43c03453941437148607e47c7a3d45a2:/src/jmsg_comm.h diff --git a/src/jmsg_comm.h b/src/jmsg_comm.h index 31c033bf0b..ce86f9d468 100644 --- a/src/jmsg_comm.h +++ b/src/jmsg_comm.h @@ -6,10 +6,17 @@ #define MSG_JCOMM_H #include #include +/** + * This function binds the task associated with the communication to + * the java communication object. + */ void jcomm_bind_task(JNIEnv *env, jobject jcomm); -void jcomm_throw(JNIEnv *env, MSG_error_t status); + +JNIEXPORT void JNICALL +Java_org_simgrid_msg_Comm_nativeInit(JNIEnv *env, jclass cls); + JNIEXPORT void JNICALL -Java_org_simgrid_msg_Comm_unbind(JNIEnv *env, jobject jcomm); +Java_org_simgrid_msg_Comm_destroy(JNIEnv *env, jobject jcomm); JNIEXPORT jboolean JNICALL Java_org_simgrid_msg_Comm_test(JNIEnv *env, jobject jcomm);