* src/vm/properties.c [ENABLE_JAVASE]
[cacao.git] / src / vm / properties.h
1 /* src/vm/properties.h - handling commandline properties
2
3    Copyright (C) 1996-2005, 2006 R. Grafl, A. Krall, C. Kruegel,
4    C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
5    E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich,
6    J. Wenninger, Institut f. Computersprachen - TU Wien
7
8    This file is part of CACAO.
9
10    This program is free software; you can redistribute it and/or
11    modify it under the terms of the GNU General Public License as
12    published by the Free Software Foundation; either version 2, or (at
13    your option) any later version.
14
15    This program is distributed in the hope that it will be useful, but
16    WITHOUT ANY WARRANTY; without even the implied warranty of
17    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18    General Public License for more details.
19
20    You should have received a copy of the GNU General Public License
21    along with this program; if not, write to the Free Software
22    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23    02110-1301, USA.
24
25    Contact: cacao@cacaojvm.org
26
27    Authors: Christian Thalinger
28
29    $Id: properties.h 6239 2006-12-26 23:39:25Z twisti $
30
31 */
32
33
34 #ifndef _PROPERTIES_H
35 #define _PROPERTIES_H
36
37 #include "config.h"
38 #include "vm/types.h"
39
40 #if defined(ENABLE_JAVASE)
41 # include "native/jni.h"
42 # include "native/include/java_util_Properties.h"
43 #endif
44
45 #include "vm/global.h"
46
47
48 /* function prototypes ********************************************************/
49
50 bool  properties_init(void);
51 bool  properties_postinit(void);
52
53 void  properties_add(char *key, char *value);
54 char *properties_get(char *key);
55
56 #if defined(ENABLE_JAVASE)
57 void  properties_system_add_all(java_util_Properties *p);
58 #endif
59
60 #endif /* _PROPERTIES_H */
61
62
63 /*
64  * These are local overrides for various environment variables in Emacs.
65  * Please do not remove this and leave it at the end of the file, where
66  * Emacs will automagically detect them.
67  * ---------------------------------------------------------------------
68  * Local variables:
69  * mode: c
70  * indent-tabs-mode: t
71  * c-basic-offset: 4
72  * tab-width: 4
73  * End:
74  */