summaryrefslogtreecommitdiff
path: root/libjava/include/java-props.h
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/include/java-props.h')
-rw-r--r--libjava/include/java-props.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/libjava/include/java-props.h b/libjava/include/java-props.h
new file mode 100644
index 000000000..f552e1b54
--- /dev/null
+++ b/libjava/include/java-props.h
@@ -0,0 +1,33 @@
+// java-props.h - Properties -*- c++ -*-
+
+/* Copyright (C) 1999 Free Software Foundation
+
+ This file is part of libgcj.
+
+This software is copyrighted work licensed under the terms of the
+Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
+details. */
+
+#ifndef __JAVA_PROPS_H__
+#define __JAVA_PROPS_H__
+
+typedef struct
+{
+ char *key;
+ size_t key_length;
+ char *value;
+ size_t value_length;
+} property_pair;
+
+// Set to NULL-terminated list of properties set at compile time.
+extern const char **_Jv_Compiler_Properties;
+extern int _Jv_Properties_Count;
+
+// Properties taken from the user's environment.
+extern property_pair *_Jv_Environment_Properties;
+
+// Module load path.
+extern char *_Jv_Module_Load_Path;
+
+#endif
+