/usr/include/evolution-data-server-3.2/libecal/e-cal-recur.h is in libecal1.2-dev 3.2.3-0ubuntu6.
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 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Evolution calendar recurrence rule functions
*
* Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
*
* Author: Damon Chaplin <damon@ximian.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU Lesser General Public
* License as published by the Free Software Foundation.
*
* 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, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef E_CAL_RECUR_H
#define E_CAL_RECUR_H
#include <libecal/e-cal-component.h>
G_BEGIN_DECLS
typedef gboolean (* ECalRecurInstanceFn) (ECalComponent *comp,
time_t instance_start,
time_t instance_end,
gpointer data);
typedef icaltimezone * (* ECalRecurResolveTimezoneFn) (const gchar *tzid,
gpointer data);
void e_cal_recur_generate_instances (ECalComponent *comp,
time_t start,
time_t end,
ECalRecurInstanceFn cb,
gpointer cb_data,
ECalRecurResolveTimezoneFn tz_cb,
gpointer tz_cb_data,
icaltimezone *default_timezone);
time_t
e_cal_recur_obtain_enddate (struct icalrecurrencetype *ir,
icalproperty *prop,
icaltimezone *zone,
gboolean convert_end_date);
gboolean
e_cal_recur_ensure_end_dates (ECalComponent *comp,
gboolean refresh,
ECalRecurResolveTimezoneFn tz_cb,
gpointer tz_cb_data);
/* Localized nth-day-of-month strings. (Use with _() ) */
#ifdef G_OS_WIN32
extern const gchar **e_cal_get_recur_nth (void);
#define e_cal_recur_nth (e_cal_get_recur_nth ())
#else
extern const gchar *e_cal_recur_nth[31];
#endif
G_END_DECLS
#endif
|