This file is indexed.

/usr/include/libical-glib/i-cal-time.h is in libical-dev 3.0.1-5.

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
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
/* Generated file (by generator) */

/*
 * Copyright (C) 2015 William Yu <williamyu@gnome.org>
 *
 * This library is free software: you can redistribute it and/or modify it
 * under the terms of version 2.1. of the GNU Lesser General Public License
 * as published by the Free Software Foundation.
 *
 * 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, see <http://www.gnu.org/licenses/>.
 */

#if !defined (__LIBICAL_GLIB_H_INSIDE__) && !defined (LIBICAL_GLIB_COMPILATION)
#error "Only <libical-glib/libical-glib.h> can be included directly."
#endif

#ifndef I_CAL_TIME_H
#define I_CAL_TIME_H

#include <libical-glib/i-cal-forward-declarations.h>
#include <libical-glib/i-cal-object.h>

G_BEGIN_DECLS


LIBICAL_ICAL_EXPORT
ICalTimetype *	i_cal_time_null_time		(void);

LIBICAL_ICAL_EXPORT
ICalTimetype *	i_cal_time_null_date		(void);

LIBICAL_ICAL_EXPORT
ICalTimetype *	i_cal_time_current_time_with_zone
						(ICalTimezone *zone);

LIBICAL_ICAL_EXPORT
ICalTimetype *	i_cal_time_today		(void);

LIBICAL_ICAL_EXPORT
ICalTimetype *	i_cal_time_from_timet_with_zone	(const time_t v,
						 gint is_date,
						 ICalTimezone *zone);

LIBICAL_ICAL_EXPORT
ICalTimetype *	i_cal_time_from_string		(const gchar *str);

LIBICAL_ICAL_EXPORT
ICalTimetype *	i_cal_time_from_day_of_year	(const gint day,
						 const gint year);

LIBICAL_ICAL_EXPORT
time_t 		i_cal_time_as_timet		(ICalTimetype *tt);

LIBICAL_ICAL_EXPORT
time_t 		i_cal_time_as_timet_with_zone	(ICalTimetype *tt,
						 ICalTimezone *zone);

LIBICAL_ICAL_EXPORT
gchar *		i_cal_time_as_ical_string_r	(ICalTimetype *tt);

LIBICAL_ICAL_EXPORT
const ICalTimezone *
		i_cal_time_get_timezone		(ICalTimetype *tt);

LIBICAL_ICAL_EXPORT
ICalTimetype *	i_cal_time_set_timezone		(ICalTimetype *tt,
						 ICalTimezone *zone);

LIBICAL_ICAL_EXPORT
const gchar *	i_cal_time_get_tzid		(ICalTimetype *tt);

LIBICAL_ICAL_EXPORT
gint 		i_cal_time_day_of_year		(ICalTimetype *tt);

LIBICAL_ICAL_EXPORT
gint 		i_cal_time_day_of_week		(ICalTimetype *tt);

LIBICAL_ICAL_EXPORT
gint 		i_cal_time_start_doy_week	(ICalTimetype *tt,
						 gint fdow);

LIBICAL_ICAL_EXPORT
gint 		i_cal_time_week_number		(ICalTimetype *tt);

LIBICAL_ICAL_EXPORT
gint 		i_cal_time_is_null_time		(ICalTimetype *tt);

LIBICAL_ICAL_EXPORT
gint 		i_cal_time_is_valid_time	(ICalTimetype *tt);

LIBICAL_ICAL_EXPORT
gint 		i_cal_time_is_date		(ICalTimetype *tt);

LIBICAL_ICAL_EXPORT
gint 		i_cal_time_is_utc		(ICalTimetype *tt);

LIBICAL_ICAL_EXPORT
gint 		i_cal_time_compare		(ICalTimetype *a,
						 ICalTimetype *b);

LIBICAL_ICAL_EXPORT
gint 		i_cal_time_compare_date_only	(ICalTimetype *a,
						 ICalTimetype *b);

LIBICAL_ICAL_EXPORT
gint 		i_cal_time_compare_date_only_tz	(ICalTimetype *a,
						 ICalTimetype *b,
						 ICalTimezone *zone);

LIBICAL_ICAL_EXPORT
void		i_cal_time_adjust		(ICalTimetype *tt,
						 const gint days,
						 const gint hours,
						 const gint minutes,
						 const gint seconds);

LIBICAL_ICAL_EXPORT
ICalTimetype *	i_cal_time_normalize		(ICalTimetype *t);

LIBICAL_ICAL_EXPORT
ICalTimetype *	i_cal_time_convert_to_zone	(ICalTimetype *t,
						 ICalTimezone *zone);

LIBICAL_ICAL_EXPORT
gint 		i_cal_time_days_in_month	(const gint month,
						 const gint year);

LIBICAL_ICAL_EXPORT
gint 		i_cal_time_days_is_leap_year	(const gint year);

LIBICAL_ICAL_EXPORT
gint 		i_cal_time_days_in_year		(const gint year);

LIBICAL_ICAL_EXPORT
ICalTimeSpan *	i_cal_time_span_new		(ICalTimetype *dtstart,
						 ICalTimetype *dtend,
						 gint is_busy);

LIBICAL_ICAL_EXPORT
gint 		i_cal_time_span_overlaps	(ICalTimeSpan *s1,
						 ICalTimeSpan *s2);

LIBICAL_ICAL_EXPORT
gint 		i_cal_time_span_contains	(ICalTimeSpan *s,
						 ICalTimeSpan *container);

LIBICAL_ICAL_EXPORT
ICalTimetype *	i_cal_time_add			(ICalTimetype *t,
						 ICalDurationType *d);

LIBICAL_ICAL_EXPORT
ICalDurationType *
		i_cal_time_subtract		(ICalTimetype *t1,
						 ICalTimetype *t2);

G_END_DECLS

#endif /* I_CAL_TIME_H */