/* src/vm/properties.h - handling commandline properties
- Copyright (C) 1996-2005, 2006 R. Grafl, A. Krall, C. Kruegel,
+ Copyright (C) 1996-2005, 2006, 2007 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
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- Contact: cacao@cacaojvm.org
-
- Authors: Christian Thalinger
-
- $Id: properties.h 6239 2006-12-26 23:39:25Z twisti $
-
*/
#define _PROPERTIES_H
#include "config.h"
-#include "vm/types.h"
-#if defined(ENABLE_JAVASE)
-# include "native/jni.h"
-# include "native/include/java_util_Properties.h"
-#endif
+#include <stdint.h>
#include "vm/global.h"
/* function prototypes ********************************************************/
-bool properties_init(void);
-bool properties_postinit(void);
+void properties_init(void);
+void properties_set(void);
void properties_add(char *key, char *value);
char *properties_get(char *key);
+void properties_system_add(java_handle_t *p, char *key, char *value);
+
#if defined(ENABLE_JAVASE)
-void properties_system_add_all(java_util_Properties *p);
+void properties_system_add_all(java_handle_t *p);
#endif
#endif /* _PROPERTIES_H */