tizen 2.3 release
[apps/livebox/data-provider-master.git] / include / conf.h
1 /*
2  * Copyright 2013  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.1 (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://floralicense.org/license/
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 struct conf {
18         int debug_mode;
19         int slave_max_load;
20 };
21
22 extern struct conf g_conf;
23
24 #define DELAY_TIME 0.0000001f
25 #define HAPI __attribute__((visibility("hidden")))
26
27 #if !defined(VCONFKEY_MASTER_STARTED)
28 #define VCONFKEY_MASTER_STARTED "memory/data-provider-master/started"
29 #endif
30
31 #if !defined(VCONFKEY_MASTER_RESTART_COUNT)
32 #define VCONFKEY_MASTER_RESTART_COUNT   "memory/private/data-provider-master/restart_count"
33 #endif
34
35 #define CR 13
36 #define LF 10
37
38 /* End of a file */