-/* main.c - main header, contains global variables
+/* cacao/cacao.h - main header, contains global variables
- Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
- Institut f. Computersprachen, TU Wien
- R. Grafl, A. Krall, C. Kruegel, C. Oates, R. Obermaisser, M. Probst,
- S. Ring, E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich,
- J. Wenninger
+ Copyright (C) 1996-2005 R. Grafl, A. Krall, C. Kruegel, C. Oates,
+ R. Obermaisser, M. Platter, M. Probst, S. Ring, E. Steiner,
+ C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich, J. Wenninger,
+ Institut f. Computersprachen - TU Wien
This file is part of CACAO.
Authors: Christian Thalinger
- $Id: cacao.h 581 2003-11-09 19:08:49Z twisti $
+ $Id: cacao.h 1839 2005-01-04 11:16:06Z twisti $
*/
-#ifndef _MAIN_H
-#define _MAIN_H
+#ifndef _CACAO_H
+#define _CACAO_H
-#include "global.h"
+#include "native/jni.h"
+#include "vm/global.h"
-/* global variables */
-extern bool compileall;
-extern bool verbose;
-extern bool runverbose;
-extern bool collectverbose;
-#endif /* _MAIN_H */
+/* global variables ***********************************************************/
+
+extern JavaVM *jvm;
+extern JNIEnv *env;
+
+extern char *bootclasspath;
+extern char *classpath;
+
+extern char *mainstring; /* class.method with main method */
+
+
+/* function prototypes ********************************************************/
+
+void cacao_exit(s4 status);
+void cacao_shutdown(s4 status);
+
+#endif /* _CACAO_H */
/*