Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add Process.getProperty, Host.getProperty, Host.setProperty (update Changelog)
[simgrid.git] / src / jmsg.h
index 16c10fb..e614876 100644 (file)
@@ -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
@@ -17,7 +17,7 @@ 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
@@ -44,10 +44,21 @@ 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);