X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/eb72021a43c03453941437148607e47c7a3d45a2..b73d1f8d2cab3df6d8fc87c058c5257f5ce0ad5c:/src/jmsg.h diff --git a/src/jmsg.h b/src/jmsg.h index da58d25eaf..e614876a0d 100644 --- a/src/jmsg.h +++ b/src/jmsg.h @@ -1,6 +1,6 @@ /* Java Wrappers to the MSG API. */ -/* Copyright (c) 2007, 2008, 2009, 2010. The SimGrid Team. +/* Copyright (c) 2007-2012. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -12,13 +12,12 @@ #include JavaVM *get_java_VM(void); - JNIEnv *get_current_thread_env(void); /** * This function throws the correct exception according to the status * provided. */ -void jmsg_throw_status(JNIEnv *env, MSG_error_t status); +void jmsg_throw_status(JNIEnv *env, msg_error_t status); /* * Class org_simgrid_msg_Msg @@ -42,9 +41,24 @@ JNIEXPORT void JNICALL JNIEXPORT void JNICALL Java_org_simgrid_msg_Msg_init(JNIEnv * env, jclass cls, jobjectArray jargs); +JNIEXPORT void JNICALL Java_org_simgrid_msg_Msg_debug(JNIEnv *, jclass, + jstring); + +JNIEXPORT void JNICALL Java_org_simgrid_msg_Msg_verb(JNIEnv *, jclass, + jstring); + JNIEXPORT void JNICALL Java_org_simgrid_msg_Msg_info(JNIEnv *, jclass, jstring); +JNIEXPORT void JNICALL Java_org_simgrid_msg_Msg_warn(JNIEnv *, jclass, + jstring); + +JNIEXPORT void JNICALL Java_org_simgrid_msg_Msg_error(JNIEnv *, jclass, + jstring); + +JNIEXPORT void JNICALL Java_org_simgrid_msg_Msg_critical(JNIEnv *, jclass, + jstring); + JNIEXPORT void JNICALL Java_org_simgrid_msg_Msg_createEnvironment(JNIEnv * env, jclass cls, jstring jplatformFile);