tizen_2.0_build
[framework/pim/calendar-service.git] / include / cals-db-info.h
1 /*
2  * Calendar Service
3  *
4  * Copyright (c) 2000 - 2012 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  */
19 #ifndef __CALENDAR_SVC_DB_INFO_H__
20 #define __CALENDAR_SVC_DB_INFO_H__
21
22 #define CALS_DB_PATH "/opt/dbspace/.calendar-svc.db"
23 #define CALS_DB_JOURNAL_PATH "/opt/dbspace/.calendar-svc.db-journal"
24
25 // For Security
26 #define CALS_SECURITY_FILE_GROUP 6003
27 #define CALS_SECURITY_DEFAULT_PERMISSION 0660
28 #define CALS_SECURITY_DIR_DEFAULT_PERMISSION 0770
29
30 #define CALS_TABLE_SCHEDULE "schedule_table"
31 #define CALS_TABLE_ALARM "alarm_table"
32 #define CALS_TABLE_CALENDAR "calendar_table"
33 #define CALS_TABLE_PARTICIPANT "cal_participant_table"
34 #define CALS_TABLE_TIMEZONE "timezone_table"
35 #define CALS_TABLE_VERSION "version_table"
36 #define CALS_TABLE_DELETED "deleted_table"
37 #define CALS_TABLE_RRULE "rrule_table"
38 #define CALS_TABLE_NORMAL_INSTANCE "normal_instance_table"
39 #define CALS_TABLE_ALLDAY_INSTANCE "allday_instance_table"
40
41 #endif /* __CALENDAR_SVC_DB_INFO_H__ */
42