This file is indexed.

/usr/include/kolab/kolabdefinitions.h is in libkolab-dev 1.0.2-10ubuntu6.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/*
 * Copyright (C) 2012  Christian Mollekopf <mollekopf@kolabsys.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef KOLABDEFINITIONS_H
#define KOLABDEFINITIONS_H

namespace Kolab {

#define KOLAB_FOLDER_TYPE_MAIL    "mail"
#define KOLAB_FOLDER_TYPE_CONTACT "contact"
#define KOLAB_FOLDER_TYPE_EVENT   "event"
#define KOLAB_FOLDER_TYPE_TASK    "task"
#define KOLAB_FOLDER_TYPE_JOURNAL "journal"
#define KOLAB_FOLDER_TYPE_NOTE    "note"
#define KOLAB_FOLDER_TYPE_CONFIGURATION "configuration"
#define KOLAB_FOLDER_TYPE_FREEBUSY      "freebusy"
#define KOLAB_FOLDER_TYPE_FILE    "file"

#define KOLAB_FOLDER_TYPE_DEFAULT_SUFFIX ".default"
#define KOLAB_FOLDER_TYPE_DRAFT_SUFFIX ".drafts"
#define KOLAB_FOLDER_TYPE_SENT_SUFFIX ".sentitems"
#define KOLAB_FOLDER_TYPE_OUTBOX_SUFFIX ".outbox"
#define KOLAB_FOLDER_TYPE_TRASH_SUFFIX ".wastebasket"
#define KOLAB_FOLDER_TYPE_JUNK_SUFFIX ".junkemail"
#define KOLAB_FOLDER_TYPE_INBOX_SUFFIX ".inbox"

#define KOLAB_FOLDER_TYPE_ANNOTATION "/vendor/kolab/folder-type"

#define X_KOLAB_TYPE_HEADER "X-Kolab-Type"
#define X_KOLAB_MIME_VERSION_HEADER "X-Kolab-Mime-Version"
#define X_KOLAB_MIME_VERSION_HEADER_COMPAT "X-Kolab-Version"
#define KOLAB_VERSION_V2 "2.0"
#define KOLAB_VERSION_V3 "3.0"

#define KOLAB_OBJECT_FILENAME "kolab.xml"

#define MIME_TYPE_XCAL "application/calendar+xml"
#define MIME_TYPE_XCARD "application/vcard+xml"
#define MIME_TYPE_KOLAB "application/vnd.kolab+xml"

#define KOLAB_TYPE_EVENT    "application/x-vnd.kolab.event"
#define KOLAB_TYPE_TASK    "application/x-vnd.kolab.task"
#define KOLAB_TYPE_JOURNAL    "application/x-vnd.kolab.journal"
#define KOLAB_TYPE_CONTACT    "application/x-vnd.kolab.contact"
#define KOLAB_TYPE_DISTLIST_V2    "application/x-vnd.kolab.contact.distlist"
#define KOLAB_TYPE_DISTLIST  "application/x-vnd.kolab.distribution-list"
#define KOLAB_TYPE_NOTE   "application/x-vnd.kolab.note"
#define KOLAB_TYPE_CONFIGURATION    "application/x-vnd.kolab.configuration"
#define KOLAB_TYPE_DICT    "application/x-vnd.kolab.configuration.dictionary"
#define KOLAB_TYPE_FREEBUSY    "application/x-vnd.kolab.freebusy"
#define KOLAB_TYPE_FILE    "application/x-vnd.kolab.file"
#define KOLAB_TYPE_RELATION "application/x-vnd.kolab.configuration.relation"

enum Version {
    KolabV2,
    KolabV3
};

enum ObjectType {
    InvalidObject,
    EventObject,
    TodoObject,
    JournalObject,
    ContactObject,
    DistlistObject,
    NoteObject,
    DictionaryConfigurationObject,
    FreebusyObject,
    RelationConfigurationObject
};

}

#endif