halapi: Add support of RISC-V architecture type
[platform/hal/api/common.git] / src / hal-api-conf.h
1 /*
2  * Copyright (c) 2021 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #ifndef __HAL_API_CONF__
18 #define __HAL_API_CONF__
19
20 #include <gio/gio.h>
21 #include <glib-object.h>
22
23 #include "hal-common-interface.h"
24
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28
29 int _hal_api_conf_init(void);
30 void _hal_api_conf_exit(void);
31
32 struct __hal_module_info *_hal_api_conf_get_module_info(enum hal_module module,
33                                                         const char *library_name);
34
35 enum hal_abi_version _hal_api_conf_get_platform_abi_version(void);
36
37 #ifdef __cplusplus
38 }
39 #endif
40 #endif