summaryrefslogtreecommitdiff
path: root/src/libtracker-common/tracker-enums.h
blob: f3e2bbd53904707e6128d040b51fca0ad814fd47 (plain)
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
/*
 * Copyright (C) 2011, Nokia <ivan.frade@nokia.com>
 *
 * This library 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 2.1 of the License, or (at your option) any later version.
 *
 * This library 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 library; if not, write to the
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA  02110-1301, USA.
 */

#ifndef __TRACKER_ENUMS_H__
#define __TRACKER_ENUMS_H__

G_BEGIN_DECLS

typedef enum {
	TRACKER_VERBOSITY_ERRORS,
	TRACKER_VERBOSITY_MINIMAL,
	TRACKER_VERBOSITY_DETAILED,
	TRACKER_VERBOSITY_DEBUG,
} TrackerVerbosity;

typedef enum {
	TRACKER_SCHED_IDLE_ALWAYS,
	TRACKER_SCHED_IDLE_FIRST_INDEX,
	TRACKER_SCHED_IDLE_NEVER,
} TrackerSchedIdle;

typedef enum {
	TRACKER_SERIALIZATION_FORMAT_SPARQL,
	TRACKER_SERIALIZATION_FORMAT_TURTLE,
	/* JSON and JSON_LD are treated as the same thing right now, but we could
	 * treat them differently if we wanted. also it's nice to be able to pass
	 * both 'json' and 'json-ld' to `tracker extract --output-format=`.
	 */
	TRACKER_SERIALIZATION_FORMAT_JSON,
	TRACKER_SERIALIZATION_FORMAT_JSON_LD,
} TrackerSerializationFormat;

G_END_DECLS

#endif /* __TRACKER_ENUMS_H__ */