Fix lcov option for lcov 2.0
[platform/core/appfw/librua.git] / src / rua_private.h
1 /*
2  * Copyright (c) 2017 - 2019 Samsung Electronics Co., Ltd. All rights reserved.
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 __RUA_PRIVATE_H__
18 #define __RUA_PRIVATE_H__
19
20 #include <dlog.h>
21
22 #ifdef LOG_TAG
23 #undef LOG_TAG
24 #endif
25
26 #define LOG_TAG "RUA"
27
28 #ifndef API
29 #define API __attribute__ ((visibility("default")))
30 #endif
31
32 #define RUA_DB_NAME ".rua.db"
33 #define RUA_STAT_DB_NAME ".rua_stat.db"
34
35 #ifndef _E
36 #define _E LOGE
37 #endif
38
39 #ifndef _W
40 #define _W LOGW
41 #endif
42
43 #ifndef _I
44 #define _I LOGI
45 #endif
46
47 #ifndef _D
48 #define _D LOGD
49 #endif
50
51 #endif /*__RUA_PRIVATE_H__*/