1 /* 2 * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 */ 23 24 #include "systemScale.h" 25 #include "jni.h" 26 #include "jni_util.h" 27 #include "jvm_md.h" 28 #include <dlfcn.h> 29 #include <stdio.h> 30 #include <stdlib.h> 31 #include <string.h> 32 33 typedef void* g_settings_schema_source_get_default(); 34 typedef void* g_settings_schema_source_ref(void *); 35 typedef void g_settings_schema_source_unref(void *); 36 typedef void* g_settings_schema_source_lookup(void *, char *, int); 37 typedef int g_settings_schema_has_key(void *, char *); 38 typedef void* g_settings_new_full(void *, void *, char *); 39 typedef void* g_settings_get_value(void *, char *); 40 typedef int g_variant_is_of_type(void *, char *); 41 typedef unsigned long g_variant_n_children(void *); 42 typedef void* g_variant_get_child_value(void *, unsigned long); | 1 /* 2 * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. Oracle designates this 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 10 * 11 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 * version 2 for more details (a copy is included in the LICENSE file that 15 * accompanied this code). 16 * 17 * You should have received a copy of the GNU General Public License version 18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 #include "systemScale.h" 27 #include "jni.h" 28 #include "jni_util.h" 29 #include "jvm_md.h" 30 #include <dlfcn.h> 31 #include <stdio.h> 32 #include <stdlib.h> 33 #include <string.h> 34 35 typedef void* g_settings_schema_source_get_default(); 36 typedef void* g_settings_schema_source_ref(void *); 37 typedef void g_settings_schema_source_unref(void *); 38 typedef void* g_settings_schema_source_lookup(void *, char *, int); 39 typedef int g_settings_schema_has_key(void *, char *); 40 typedef void* g_settings_new_full(void *, void *, char *); 41 typedef void* g_settings_get_value(void *, char *); 42 typedef int g_variant_is_of_type(void *, char *); 43 typedef unsigned long g_variant_n_children(void *); 44 typedef void* g_variant_get_child_value(void *, unsigned long); |