-/*
- * $Id$
- *
- * Copyright 2006,2007 Martin Quinson, Malek Cherier All right reserved.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the license (GNU LGPL) which comes with this package.
- *
- * This contains the declarations of the functions in relation with the java
- * process instance.
- */
+/* Functions related to the java process instances. */
+
+/* Copyright (c) 2007, 2009, 2010. The SimGrid Team.
+ * All rights reserved. */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
#ifndef MSG_JPROCESS_H
#define MSG_JPROCESS_H
#include <jni.h>
#include "msg/msg.h"
-#include "xbt/context.h"
+#include "simix/simix.h"
/**
* This function returns a global reference to the java process instance
*/
void jprocess_wait_cond(jobject jprocess, JNIEnv * env);
-void jprocess_schedule(xbt_context_t context);
+void jprocess_schedule(smx_context_t context);
-void jprocess_unschedule(xbt_context_t context);
+void jprocess_unschedule(smx_context_t context);
-#endif /* !MSG_JPROCESS_H */
+#endif /* !MSG_JPROCESS_H */