-/**
- * This function tests if a java process instance is valid.
- * A java process object is valid if it is bind to a native
- * process.
- *
- * @param jprocess The java process to test the validity.
- * @param env The env of the current thread
- *
- * @return If the java process is valid the function returns true.
- * Otherwise the function returns false.
- */
-jboolean jprocess_is_valid(jobject jprocess, JNIEnv * env);
-
-/**
- * This function gets the name of the specified java process.
- *
- * @param jprocess The java process to get the name.
- * @param env The env of the current thread
- *
- * @exception If the class Process is not found the function throws
- * the ClassNotFoundException. If the field name of
- * this class is not found the function throws the exception
- * NotSuchFieldException.
- *
- * @return The name of the specified java process.
- */
-jstring jprocess_get_name(jobject jprocess, JNIEnv * env);
-
-/*
- * Class org_simgrid_msg_Process
- * Method nativeInit
- * Signature ();
- */
-JNIEXPORT void JNICALL
-Java_org_simgrid_msg_Process_nativeInit(JNIEnv *env, jclass cls);
-
-/*
- * Class org_simgrid_msg_Process
- * Method create
- * Signature (Lorg/simgrid/msg/Host;)V
- */
-JNIEXPORT void JNICALL
-Java_org_simgrid_msg_Process_create(JNIEnv * env,
- jobject jprocess_arg,
- jobject jhostname);
-
-/*
- * Class org_simgrid_msg_Process
- * Method killAll
- * Signature (I)I
- */
-JNIEXPORT jint JNICALL Java_org_simgrid_msg_Process_killAll
- (JNIEnv *, jclass, jint);
-
-/*
- * Class org_simgrid_msg_Process
- * Method fromPID
- * Signature (I)Lorg/simgrid/msg/Process;
- */
-JNIEXPORT jobject JNICALL Java_org_simgrid_msg_Process_fromPID
- (JNIEnv *, jclass, jint);
-/*
- * Class org_simgrid_msg_Process
- * Method waitFor
- * Signature (D)V
- */
-JNIEXPORT jobject JNICALL
-Java_org_simgrid_msg_Process_getProperty(JNIEnv *env, jobject jprocess, jobject jname);
-/*
- * Class org_simgrid_msg_Process
- * Method currentProcess
- * Signature ()Lorg/simgrid/msg/Process;
- */
-JNIEXPORT jobject JNICALL Java_org_simgrid_msg_Process_currentProcess
- (JNIEnv *, jclass);
-/*
- * Class org_simgrid_msg_Process
- * Method suspend
- * Signature (Lorg/simgrid/msg/Process;)V
- */
-JNIEXPORT void JNICALL
-Java_org_simgrid_msg_Process_suspend(JNIEnv * env,
- jobject jprocess);
-/*
- * Class org_simgrid_msg_Process
- * Method resume
- * Signature (Lorg/simgrid/msg/Process;)V
- */
-JNIEXPORT void JNICALL Java_org_simgrid_msg_Process_resume
- (JNIEnv *, jobject);
-/*
- * Class org_simgrid_msg_Process
- * Method setAutoRestart
- * Signature (Lorg/simgrid/msg/Process;Z)V
- */
-JNIEXPORT void JNICALL Java_org_simgrid_msg_Process_setAutoRestart
- (JNIEnv *, jobject, jboolean);
-/*
- * Class org_simgrid_msg_Process
- * Method restart
- * Signature (Lorg/simgrid/msg/Process;)V
- */
-JNIEXPORT void JNICALL Java_org_simgrid_msg_Process_restart
- (JNIEnv *, jobject);
-
-/*
- * Class org_simgrid_msg_Process
- * Method isSuspended
- * Signature (Lorg/simgrid/msg/Process;)Z
- */
-JNIEXPORT jboolean JNICALL Java_org_simgrid_msg_Process_isSuspended
- (JNIEnv *, jobject);
-/*
- * Class org_simgrid_msg_Process
- * Method sleep
- * Signature (DI)V
- */
-JNIEXPORT void JNICALL Java_org_simgrid_msg_Process_sleep
- (JNIEnv *, jclass, jlong, jint);
-
-/*
- * Class org_simgrid_msg_Process
- * Method waitFor
- * Signature (D)V
- */
-JNIEXPORT void JNICALL Java_org_simgrid_msg_Process_waitFor
- (JNIEnv *, jobject, jdouble);
-/*
- * Class org_simgrid_msg_Process
- * Method kill
- * Signature (Lorg/simgrid/msg/Process;)V
- */
-JNIEXPORT void JNICALL Java_org_simgrid_msg_Process_kill
- (JNIEnv *, jobject);
-
-/*
- * Class org_simgrid_msg_Process
- * Method migrate
- * Signature (Lorg/simgrid/msg/Host;)V
- */
-JNIEXPORT void JNICALL Java_org_simgrid_msg_Process_migrate
- (JNIEnv *, jobject, jobject);
-/*
- * Class org_simgrid_msg_Process
- * Method setKillTime
- * Signature (D)V
- */
-JNIEXPORT void JNICALL Java_org_simgrid_msg_Process_setKillTime
- (JNIEnv *, jobject, jdouble);
-
-JNIEXPORT jint JNICALL
-Java_org_simgrid_msg_Process_getCount(JNIEnv * env, jclass cls);