summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-08-25 11:58:58 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-08-25 11:58:58 (GMT)
commit7e8259aabe9d0700b09ce6d801f939bce9ff69c3 (patch)
tree61c982ad33205c7ba04785916a32f31b334ab5de
parent26183abd9acd44a0382e55cc985795ee7c526aed (diff)
downloaduscxml-7e8259aabe9d0700b09ce6d801f939bce9ff69c3.zip
uscxml-7e8259aabe9d0700b09ce6d801f939bce9ff69c3.tar.gz
uscxml-7e8259aabe9d0700b09ce6d801f939bce9ff69c3.tar.bz2
Some Windows specific bug-fixes
-rw-r--r--CMakeLists.txt4
-rw-r--r--contrib/prebuilt/include/libical/ical.h3969
-rw-r--r--contrib/prebuilt/include/libical/icalarray.h64
-rw-r--r--contrib/prebuilt/include/libical/icalattach.h60
-rw-r--r--contrib/prebuilt/include/libical/icalcalendar.h67
-rw-r--r--contrib/prebuilt/include/libical/icalclassify.h47
-rw-r--r--contrib/prebuilt/include/libical/icalcluster.h61
-rw-r--r--contrib/prebuilt/include/libical/icalcomponent.h285
-rw-r--r--contrib/prebuilt/include/libical/icalderivedparameter.h420
-rw-r--r--contrib/prebuilt/include/libical/icalderivedproperty.h634
-rw-r--r--contrib/prebuilt/include/libical/icalderivedvalue.h371
-rw-r--r--contrib/prebuilt/include/libical/icaldirset.h98
-rw-r--r--contrib/prebuilt/include/libical/icaldirsetimpl.h48
-rw-r--r--contrib/prebuilt/include/libical/icalduration.h64
-rw-r--r--contrib/prebuilt/include/libical/icalenums.h168
-rw-r--r--contrib/prebuilt/include/libical/icalerror.h181
-rw-r--r--contrib/prebuilt/include/libical/icalfileset.h132
-rw-r--r--contrib/prebuilt/include/libical/icalfilesetimpl.h53
-rw-r--r--contrib/prebuilt/include/libical/icalgauge.h63
-rw-r--r--contrib/prebuilt/include/libical/icalgaugeimpl.h63
-rw-r--r--contrib/prebuilt/include/libical/icallangbind.h56
-rw-r--r--contrib/prebuilt/include/libical/icalmemory.h85
-rw-r--r--contrib/prebuilt/include/libical/icalmessage.h71
-rw-r--r--contrib/prebuilt/include/libical/icalmime.h44
-rw-r--r--contrib/prebuilt/include/libical/icalparameter.h80
-rw-r--r--contrib/prebuilt/include/libical/icalparameter_cxx.h170
-rw-r--r--contrib/prebuilt/include/libical/icalparser.h97
-rw-r--r--contrib/prebuilt/include/libical/icalperiod.h57
-rw-r--r--contrib/prebuilt/include/libical/icalproperty.h141
-rw-r--r--contrib/prebuilt/include/libical/icalproperty_cxx.h376
-rw-r--r--contrib/prebuilt/include/libical/icalrecur.h217
-rw-r--r--contrib/prebuilt/include/libical/icalrestriction.h64
-rw-r--r--contrib/prebuilt/include/libical/icalset.h184
-rw-r--r--contrib/prebuilt/include/libical/icalspanlist.h77
-rw-r--r--contrib/prebuilt/include/libical/icalss.h781
-rw-r--r--contrib/prebuilt/include/libical/icalssyacc.h100
-rw-r--r--contrib/prebuilt/include/libical/icaltime.h287
-rw-r--r--contrib/prebuilt/include/libical/icaltimezone.h180
-rw-r--r--contrib/prebuilt/include/libical/icaltypes.h122
-rw-r--r--contrib/prebuilt/include/libical/icaltz-util.h39
-rw-r--r--contrib/prebuilt/include/libical/icalvalue.h94
-rw-r--r--contrib/prebuilt/include/libical/icalvalue_cxx.h162
-rw-r--r--contrib/prebuilt/include/libical/icalvcal.h54
-rw-r--r--contrib/prebuilt/include/libical/icptrholder.h104
-rw-r--r--contrib/prebuilt/include/libical/port.h88
-rw-r--r--contrib/prebuilt/include/libical/pvl.h110
-rw-r--r--contrib/prebuilt/include/libical/sspm.h146
-rw-r--r--contrib/prebuilt/include/libical/vcaltmp.h128
-rw-r--r--contrib/prebuilt/include/libical/vcc.h80
-rw-r--r--contrib/prebuilt/include/libical/vcomponent.h351
-rw-r--r--contrib/prebuilt/include/libical/vobject.h366
-rw-r--r--src/uscxml/URL.cpp3
-rw-r--r--test/CMakeLists.txt10
-rw-r--r--test/src/test-stress.cpp6
54 files changed, 12 insertions, 11770 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 11feca6..8f97435 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,8 +2,8 @@ cmake_minimum_required(VERSION 2.8.4)
# specify USCXML version
SET(USCXML_VERSION_MAJOR "0")
-SET(USCXML_VERSION_MINOR "0")
-SET(USCXML_VERSION_PATCH "6")
+SET(USCXML_VERSION_MINOR "1")
+SET(USCXML_VERSION_PATCH "0")
SET(USCXML_VERSION ${USCXML_VERSION_MAJOR}.${USCXML_VERSION_MINOR}.${USCXML_VERSION_PATCH})
# build type has to be set before the project definition4
diff --git a/contrib/prebuilt/include/libical/ical.h b/contrib/prebuilt/include/libical/ical.h
deleted file mode 100644
index 505756f..0000000
--- a/contrib/prebuilt/include/libical/ical.h
+++ /dev/null
@@ -1,3969 +0,0 @@
-#ifndef LIBICAL_ICAL_H
-#define LIBICAL_ICAL_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-/*
- $Id$
-*/
-#ifndef ICAL_VERSION_H
-#define ICAL_VERSION_H
-
-#define ICAL_PACKAGE "libical"
-#define ICAL_VERSION "1.00"
-
-#endif
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icaltime.h
- CREATOR: eric 02 June 2000
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Original Code is eric. The Initial Developer of the Original
- Code is Eric Busboom
-
-
-======================================================================*/
-
-/** @file icaltime.h
- * @brief struct icaltimetype is a pseudo-object that abstracts time
- * handling.
- *
- * It can represent either a DATE or a DATE-TIME (floating, UTC or in a
- * given timezone), and it keeps track internally of its native timezone.
- *
- * The typical usage is to call the correct constructor specifying the
- * desired timezone. If this is not known until a later time, the
- * correct behavior is to specify a NULL timezone and call
- * icaltime_convert_to_zone() at a later time.
- *
- * There are several ways to create a new icaltimetype:
- *
- * - icaltime_null_time()
- * - icaltime_null_date()
- * - icaltime_current_time_with_zone()
- * - icaltime_today()
- * - icaltime_from_timet_with_zone(time_t tm, int is_date,
- * icaltimezone *zone)
- * - icaltime_from_string_with_zone(const char* str, icaltimezone *zone)
- * - icaltime_from_day_of_year(int doy, int year)
- * - icaltime_from_week_number(int week_number, int year)
- *
- * italtimetype objects can be converted to different formats:
- *
- * - icaltime_as_timet(struct icaltimetype tt)
- * - icaltime_as_timet_with_zone(struct icaltimetype tt,
- * icaltimezone *zone)
- * - icaltime_as_ical_string(struct icaltimetype tt)
- *
- * Accessor methods include:
- *
- * - icaltime_get_timezone(struct icaltimetype t)
- * - icaltime_get_tzid(struct icaltimetype t)
- * - icaltime_set_timezone(struct icaltimetype t, const icaltimezone *zone)
- * - icaltime_day_of_year(struct icaltimetype t)
- * - icaltime_day_of_week(struct icaltimetype t)
- * - icaltime_start_doy_of_week(struct icaltimetype t, int fdow)
- * - icaltime_week_number(struct icaltimetype t)
- *
- * Query methods include:
- *
- * - icaltime_is_null_time(struct icaltimetype t)
- * - icaltime_is_valid_time(struct icaltimetype t)
- * - icaltime_is_date(struct icaltimetype t)
- * - icaltime_is_utc(struct icaltimetype t)
- * - icaltime_is_floating(struct icaltimetype t)
- *
- * Modify, compare and utility methods include:
- *
- * - icaltime_add(struct icaltimetype t, struct icaldurationtype d)
- * - icaltime_subtract(struct icaltimetype t1, struct icaltimetype t2)
- * - icaltime_compare_with_zone(struct icaltimetype a,struct icaltimetype b)
- * - icaltime_compare(struct icaltimetype a,struct icaltimetype b)
- * - icaltime_compare_date_only(struct icaltimetype a,
- * struct icaltimetype b)
- * - icaltime_adjust(struct icaltimetype *tt, int days, int hours,
- * int minutes, int seconds);
- * - icaltime_normalize(struct icaltimetype t);
- * - icaltime_convert_to_zone(const struct icaltimetype tt,
- * icaltimezone *zone);
- */
-
-#ifndef ICALTIME_H
-#define ICALTIME_H
-
-#include <time.h>
-
-/* An opaque struct representing a timezone. We declare this here to avoid
- a circular dependancy. */
-#ifndef ICALTIMEZONE_DEFINED
-#define ICALTIMEZONE_DEFINED
-typedef struct _icaltimezone icaltimezone;
-#endif
-
-/** icaltime_span is returned by icalcomponent_get_span() */
-struct icaltime_span {
- time_t start; /**< in UTC */
- time_t end; /**< in UTC */
- int is_busy; /**< 1->busy time, 0-> free time */
-};
-
-typedef struct icaltime_span icaltime_span;
-
-/*
- * FIXME
- *
- * is_utc is redundant, and might be considered a minor optimization.
- * It might be deprecated, so you should use icaltime_is_utc() instead.
- */
-struct icaltimetype
-{
- int year; /**< Actual year, e.g. 2001. */
- int month; /**< 1 (Jan) to 12 (Dec). */
- int day;
- int hour;
- int minute;
- int second;
-
- int is_utc; /**< 1-> time is in UTC timezone */
-
- int is_date; /**< 1 -> interpret this as date. */
-
- int is_daylight; /**< 1 -> time is in daylight savings time. */
-
- const icaltimezone *zone; /**< timezone */
-};
-
-typedef struct icaltimetype icaltimetype;
-
-/** Return a null time, which indicates no time has been set.
- This time represent the beginning of the epoch */
-struct icaltimetype icaltime_null_time(void);
-
-/** Return a null date */
-struct icaltimetype icaltime_null_date(void);
-
-/** Returns the current time in the given timezone, as an icaltimetype. */
-struct icaltimetype icaltime_current_time_with_zone(const icaltimezone *zone);
-
-/** Returns the current day as an icaltimetype, with is_date set. */
-struct icaltimetype icaltime_today(void);
-
-/** Convert seconds past UNIX epoch to a timetype*/
-struct icaltimetype icaltime_from_timet(const time_t v, const int is_date);
-
-/** Convert seconds past UNIX epoch to a timetype, using timezones. */
-struct icaltimetype icaltime_from_timet_with_zone(const time_t tm,
- const int is_date, const icaltimezone *zone);
-
-/** create a time from an ISO format string */
-struct icaltimetype icaltime_from_string(const char* str);
-
-/** create a time from an ISO format string */
-struct icaltimetype icaltime_from_string_with_zone(const char* str,
- const icaltimezone *zone);
-
-/** Create a new time, given a day of year and a year. */
-struct icaltimetype icaltime_from_day_of_year(const int doy,
- const int year);
-
-/** @brief Contructor (TODO).
- * Create a new time from a weeknumber and a year. */
-struct icaltimetype icaltime_from_week_number(const int week_number,
- const int year);
-
-/** Return the time as seconds past the UNIX epoch */
-time_t icaltime_as_timet(const struct icaltimetype);
-
-/** Return the time as seconds past the UNIX epoch, using timezones. */
-time_t icaltime_as_timet_with_zone(const struct icaltimetype tt,
- const icaltimezone *zone);
-
-/** Return a string represention of the time, in RFC2445 format. */
-const char* icaltime_as_ical_string(const struct icaltimetype tt);
-char* icaltime_as_ical_string_r(const struct icaltimetype tt);
-
-/** @brief Return the timezone */
-const icaltimezone *icaltime_get_timezone(const struct icaltimetype t);
-
-/** @brief Return the tzid, or NULL for a floating time */
-const char *icaltime_get_tzid(const struct icaltimetype t);
-
-/** @brief Set the timezone */
-struct icaltimetype icaltime_set_timezone(struct icaltimetype *t,
- const icaltimezone *zone);
-
-/** Return the day of the year of the given time */
-int icaltime_day_of_year(const struct icaltimetype t);
-
-/** Return the day of the week of the given time. Sunday is 1 */
-int icaltime_day_of_week(const struct icaltimetype t);
-
-/** Return the day of the year for the Sunday of the week that the
- given time is within. */
-int icaltime_start_doy_of_week(const struct icaltimetype t);
-
-/** Return the day of the year for the first day of the week that the
- given time is within. */
-int icaltime_start_doy_week(const struct icaltimetype t, int fdow);
-
-/** Return the week number for the week the given time is within */
-int icaltime_week_number(const struct icaltimetype t);
-
-/** Return true of the time is null. */
-int icaltime_is_null_time(const struct icaltimetype t);
-
-/** Returns false if the time is clearly invalid, but is not null. This
- is usually the result of creating a new time type buy not clearing
- it, or setting one of the flags to an illegal value. */
-int icaltime_is_valid_time(const struct icaltimetype t);
-
-/** @brief Returns true if time is of DATE type, false if DATE-TIME */
-int icaltime_is_date(const struct icaltimetype t);
-
-/** @brief Returns true if time is relative to UTC zone */
-int icaltime_is_utc(const struct icaltimetype t);
-
-/** @brief Returns true if time is a floating time */
-int icaltime_is_floating(const struct icaltimetype t);
-
-/** Return -1, 0, or 1 to indicate that a<b, a==b or a>b */
-int icaltime_compare_with_zone(const struct icaltimetype a,
- const struct icaltimetype b);
-
-/** Return -1, 0, or 1 to indicate that a<b, a==b or a>b */
-int icaltime_compare(const struct icaltimetype a,
- const struct icaltimetype b);
-
-/** like icaltime_compare, but only use the date parts. */
-int icaltime_compare_date_only(const struct icaltimetype a,
- const struct icaltimetype b);
-
-/** like icaltime_compare, but only use the date parts. */
-int icaltime_compare_date_only_tz(const struct icaltimetype a,
- const struct icaltimetype b, icaltimezone *tz);
-
-/** Adds or subtracts a number of days, hours, minutes and seconds. */
-void icaltime_adjust(struct icaltimetype *tt, const int days,
- const int hours, const int minutes, const int seconds);
-
-/** Normalize the icaltime, so that all fields are within the normal range. */
-struct icaltimetype icaltime_normalize(const struct icaltimetype t);
-
-/** convert tt, of timezone tzid, into a utc time. Does nothing if the
- time is already UTC. */
-struct icaltimetype icaltime_convert_to_zone(const struct icaltimetype tt,
- icaltimezone *zone);
-
-/** Return the number of days in the given month */
-int icaltime_days_in_month(const int month, const int year);
-
-/** Return whether you've specified a leapyear or not. */
-int icaltime_is_leap_year (const int year);
-
-/** Return the number of days in this year */
-int icaltime_days_in_year (const int year);
-
-/** @brief calculate an icaltimespan given a start and end time. */
-struct icaltime_span icaltime_span_new(struct icaltimetype dtstart,
- struct icaltimetype dtend,
- int is_busy);
-
-/** @brief Returns true if the two spans overlap **/
-int icaltime_span_overlaps(icaltime_span *s1,
- icaltime_span *s2);
-
-/** @brief Returns true if the span is totally within the containing
- * span
- */
-int icaltime_span_contains(icaltime_span *s,
- icaltime_span *container);
-
-
-#endif /* !ICALTIME_H */
-
-
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalduration.h
- CREATOR: eric 26 Jan 2001
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Original Code is eric. The Initial Developer of the Original
- Code is Eric Busboom
-
-
-======================================================================*/
-
-#ifndef ICALDURATION_H
-#define ICALDURATION_H
-
-
-struct icaldurationtype
-{
- int is_neg;
- unsigned int days;
- unsigned int weeks;
- unsigned int hours;
- unsigned int minutes;
- unsigned int seconds;
-};
-
-struct icaldurationtype icaldurationtype_from_int(int t);
-struct icaldurationtype icaldurationtype_from_string(const char*);
-int icaldurationtype_as_int(struct icaldurationtype duration);
-char* icaldurationtype_as_ical_string(struct icaldurationtype d);
-char* icaldurationtype_as_ical_string_r(struct icaldurationtype d);
-struct icaldurationtype icaldurationtype_null_duration(void);
-struct icaldurationtype icaldurationtype_bad_duration(void);
-int icaldurationtype_is_null_duration(struct icaldurationtype d);
-int icaldurationtype_is_bad_duration(struct icaldurationtype d);
-
-struct icaltimetype icaltime_add(struct icaltimetype t,
- struct icaldurationtype d);
-
-struct icaldurationtype icaltime_subtract(struct icaltimetype t1,
- struct icaltimetype t2);
-
-#endif /* !ICALDURATION_H */
-
-
-
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalperiod.h
- CREATOR: eric 26 Jan 2001
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Original Code is eric. The Initial Developer of the Original
- Code is Eric Busboom
-
-
-======================================================================*/
-
-#ifndef ICALPERIOD_H
-#define ICALPERIOD_H
-
-
-struct icalperiodtype
-{
- struct icaltimetype start;
- struct icaltimetype end;
- struct icaldurationtype duration;
-};
-
-struct icalperiodtype icalperiodtype_from_string (const char* str);
-
-const char* icalperiodtype_as_ical_string(struct icalperiodtype p);
-char* icalperiodtype_as_ical_string_r(struct icalperiodtype p);
-
-struct icalperiodtype icalperiodtype_null_period(void);
-
-int icalperiodtype_is_null_period(struct icalperiodtype p);
-
-int icalperiodtype_is_valid_period(struct icalperiodtype p);
-
-#endif /* !ICALTIME_H */
-
-
-
-
-/* -*- Mode: C -*-*/
-/*======================================================================
- FILE: icalenums.h
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icalenums.h
-
- Contributions from:
- Graham Davison <g.m.davison@computer.org>
-
-======================================================================*/
-
-#ifndef ICALENUMS_H
-#define ICALENUMS_H
-
-
-
-/***********************************************************************
- * Component enumerations
-**********************************************************************/
-
-typedef enum icalcomponent_kind {
- ICAL_NO_COMPONENT,
- ICAL_ANY_COMPONENT, /* Used to select all components*/
- ICAL_XROOT_COMPONENT,
- ICAL_XATTACH_COMPONENT, /* MIME attached data, returned by parser. */
- ICAL_VEVENT_COMPONENT,
- ICAL_VTODO_COMPONENT,
- ICAL_VJOURNAL_COMPONENT,
- ICAL_VCALENDAR_COMPONENT,
- ICAL_VAGENDA_COMPONENT,
- ICAL_VFREEBUSY_COMPONENT,
- ICAL_VALARM_COMPONENT,
- ICAL_XAUDIOALARM_COMPONENT,
- ICAL_XDISPLAYALARM_COMPONENT,
- ICAL_XEMAILALARM_COMPONENT,
- ICAL_XPROCEDUREALARM_COMPONENT,
- ICAL_VTIMEZONE_COMPONENT,
- ICAL_XSTANDARD_COMPONENT,
- ICAL_XDAYLIGHT_COMPONENT,
- ICAL_X_COMPONENT,
- ICAL_VSCHEDULE_COMPONENT,
- ICAL_VQUERY_COMPONENT,
- ICAL_VREPLY_COMPONENT,
- ICAL_VCAR_COMPONENT,
- ICAL_VCOMMAND_COMPONENT,
- ICAL_XLICINVALID_COMPONENT,
- ICAL_XLICMIMEPART_COMPONENT /* a non-stardard component that mirrors
- structure of MIME data */
-
-} icalcomponent_kind;
-
-
-
-/***********************************************************************
- * Request Status codes
- **********************************************************************/
-
-typedef enum icalrequeststatus {
- ICAL_UNKNOWN_STATUS,
- ICAL_2_0_SUCCESS_STATUS,
- ICAL_2_1_FALLBACK_STATUS,
- ICAL_2_2_IGPROP_STATUS,
- ICAL_2_3_IGPARAM_STATUS,
- ICAL_2_4_IGXPROP_STATUS,
- ICAL_2_5_IGXPARAM_STATUS,
- ICAL_2_6_IGCOMP_STATUS,
- ICAL_2_7_FORWARD_STATUS,
- ICAL_2_8_ONEEVENT_STATUS,
- ICAL_2_9_TRUNC_STATUS,
- ICAL_2_10_ONETODO_STATUS,
- ICAL_2_11_TRUNCRRULE_STATUS,
- ICAL_3_0_INVPROPNAME_STATUS,
- ICAL_3_1_INVPROPVAL_STATUS,
- ICAL_3_2_INVPARAM_STATUS,
- ICAL_3_3_INVPARAMVAL_STATUS,
- ICAL_3_4_INVCOMP_STATUS,
- ICAL_3_5_INVTIME_STATUS,
- ICAL_3_6_INVRULE_STATUS,
- ICAL_3_7_INVCU_STATUS,
- ICAL_3_8_NOAUTH_STATUS,
- ICAL_3_9_BADVERSION_STATUS,
- ICAL_3_10_TOOBIG_STATUS,
- ICAL_3_11_MISSREQCOMP_STATUS,
- ICAL_3_12_UNKCOMP_STATUS,
- ICAL_3_13_BADCOMP_STATUS,
- ICAL_3_14_NOCAP_STATUS,
- ICAL_3_15_INVCOMMAND,
- ICAL_4_0_BUSY_STATUS,
- ICAL_4_1_STORE_ACCESS_DENIED,
- ICAL_4_2_STORE_FAILED,
- ICAL_4_3_STORE_NOT_FOUND,
- ICAL_5_0_MAYBE_STATUS,
- ICAL_5_1_UNAVAIL_STATUS,
- ICAL_5_2_NOSERVICE_STATUS,
- ICAL_5_3_NOSCHED_STATUS,
- ICAL_6_1_CONTAINER_NOT_FOUND,
- ICAL_9_0_UNRECOGNIZED_COMMAND
-} icalrequeststatus;
-
-
-const char* icalenum_reqstat_desc(icalrequeststatus stat);
-short icalenum_reqstat_major(icalrequeststatus stat);
-short icalenum_reqstat_minor(icalrequeststatus stat);
-icalrequeststatus icalenum_num_to_reqstat(short major, short minor);
-char* icalenum_reqstat_code(icalrequeststatus stat);
-char* icalenum_reqstat_code_r(icalrequeststatus stat);
-
-/***********************************************************************
- * Conversion functions
-**********************************************************************/
-
-
-/* Thse routines used to be in icalenums.c, but were moved into the
- icalproperty, icalparameter, icalvalue, or icalcomponent modules. */
-
-/* const char* icalproperty_kind_to_string(icalproperty_kind kind);*/
-#define icalenum_property_kind_to_string(x) icalproperty_kind_to_string(x)
-
-/*icalproperty_kind icalproperty_string_to_kind(const char* string)*/
-#define icalenum_string_to_property_kind(x) icalproperty_string_to_kind(x)
-
-/*icalvalue_kind icalproperty_kind_to_value_kind(icalproperty_kind kind);*/
-#define icalenum_property_kind_to_value_kind(x) icalproperty_kind_to_value_kind(x)
-
-/*const char* icalenum_method_to_string(icalproperty_method);*/
-#define icalenum_method_to_string(x) icalproperty_method_to_string(x)
-
-/*icalproperty_method icalenum_string_to_method(const char* string);*/
-#define icalenum_string_to_method(x) icalproperty_string_to_method(x)
-
-/*const char* icalenum_status_to_string(icalproperty_status);*/
-#define icalenum_status_to_string(x) icalproperty_status_to_string(x)
-
-/*icalproperty_status icalenum_string_to_status(const char* string);*/
-#define icalenum_string_to_status(x) icalproperty_string_to_status(x)
-
-/*icalvalue_kind icalenum_string_to_value_kind(const char* str);*/
-#define icalenum_string_to_value_kind(x) icalvalue_string_to_kind(x)
-
-/*const char* icalenum_value_kind_to_string(icalvalue_kind kind);*/
-#define icalenum_value_kind_to_string(x) icalvalue_kind_to_string(x)
-
-/*const char* icalenum_component_kind_to_string(icalcomponent_kind kind);*/
-#define icalenum_component_kind_to_string(x) icalcomponent_kind_to_string(x)
-
-/*icalcomponent_kind icalenum_string_to_component_kind(const char* string);*/
-#define icalenum_string_to_component_kind(x) icalcomponent_string_to_kind(x)
-
-
-#endif /* !ICALENUMS_H */
-
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icaltypes.h
- CREATOR: eric 20 March 1999
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icaltypes.h
-
-======================================================================*/
-
-#ifndef ICALTYPES_H
-#define ICALTYPES_H
-
-#include <time.h>
-
-
-struct icalgeotype
-{
- double lat;
- double lon;
-};
-
-
-struct icaldatetimeperiodtype
-{
- struct icaltimetype time;
- struct icalperiodtype period;
-};
-
-
-struct icaltriggertype
-{
- struct icaltimetype time;
- struct icaldurationtype duration;
-};
-
-struct icaltriggertype icaltriggertype_from_int(const int reltime);
-struct icaltriggertype icaltriggertype_from_string(const char* str);
-
-int icaltriggertype_is_null_trigger(struct icaltriggertype tr);
-int icaltriggertype_is_bad_trigger(struct icaltriggertype tr);
-
-/* struct icalreqstattype. This struct contains two string pointers,
-but don't try to free either of them. The "desc" string is a pointer
-to a static table inside the library. Don't try to free it. The
-"debug" string is a pointer into the string that the called passed
-into to icalreqstattype_from_string. Don't try to free it either, and
-don't use it after the original string has been freed.
-
-BTW, you would get that original string from
-*icalproperty_get_requeststatus() or icalvalue_get_text(), when
-operating on the value of a request_status property. */
-
-struct icalreqstattype {
-
- icalrequeststatus code;
- const char* desc;
- const char* debug;
-};
-
-struct icalreqstattype icalreqstattype_from_string(const char* str);
-const char* icalreqstattype_as_string(struct icalreqstattype);
-char* icalreqstattype_as_string_r(struct icalreqstattype);
-
-
-
-struct icaltimezonephase {
- const char* tzname;
- int is_stdandard; /* 1 = standard tme, 0 = daylight savings time */
- struct icaltimetype dtstart;
- int offsetto;
- int tzoffsetfrom;
- const char* comment;
- struct icaldatetimeperiodtype rdate;
- const char* rrule;
-};
-
-
-struct icaltimezonetype {
- const char* tzid;
- struct icaltimetype last_mod;
- const char* tzurl;
-
- /* Array of phases. The end of the array is a phase with tzname == 0 */
- struct icaltimezonephase *phases;
-};
-
-void icaltimezonetype_free(struct icaltimezonetype tzt);
-
-/* ical_unknown_token_handling :
- * How should the ICAL library handle components, properties and parameters with
- * unknown names?
- * FIXME: Currently only affects parameters. Extend to components and properties.
- */
-typedef enum ical_unknown_token_handling {
- ICAL_ASSUME_IANA_TOKEN = 1,
- ICAL_DISCARD_TOKEN = 2,
- ICAL_TREAT_AS_ERROR = 3
-} ical_unknown_token_handling;
-
-ical_unknown_token_handling ical_get_unknown_token_handling_setting(void);
-void ical_set_unknown_token_handling_setting(ical_unknown_token_handling newSetting);
-
-#endif /* !ICALTYPES_H */
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalrecur.h
- CREATOR: eric 20 March 2000
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-*/
-
-/**
-@file icalrecur.h
-@brief Routines for dealing with recurring time
-
-How to use:
-
-1) Get a rule and a start time from a component
-
-@code
- icalproperty rrule;
- struct icalrecurrencetype recur;
- struct icaltimetype dtstart;
-
- rrule = icalcomponent_get_first_property(comp,ICAL_RRULE_PROPERTY);
- recur = icalproperty_get_rrule(rrule);
- start = icalproperty_get_dtstart(dtstart);
-@endcode
-
-Or, just make them up:
-
-@code
- recur = icalrecurrencetype_from_string("FREQ=YEARLY;BYDAY=SU,WE");
- dtstart = icaltime_from_string("19970101T123000")
-@endcode
-
-2) Create an iterator
-
-@code
- icalrecur_iterator* ritr;
- ritr = icalrecur_iterator_new(recur,start);
-@endcode
-
-3) Iterator over the occurrences
-
-@code
- struct icaltimetype next;
- while (next = icalrecur_iterator_next(ritr)
- && !icaltime_is_null_time(next){
- Do something with next
- }
-@endcode
-
-Note that that the time returned by icalrecur_iterator_next is in
-whatever timezone that dtstart is in.
-
-*/
-
-#ifndef ICALRECUR_H
-#define ICALRECUR_H
-
-#include <time.h>
-
-/*
- * Recurrance enumerations
- */
-
-typedef enum icalrecurrencetype_frequency
-{
- /* These enums are used to index an array, so don't change the
- order or the integers */
-
- ICAL_SECONDLY_RECURRENCE=0,
- ICAL_MINUTELY_RECURRENCE=1,
- ICAL_HOURLY_RECURRENCE=2,
- ICAL_DAILY_RECURRENCE=3,
- ICAL_WEEKLY_RECURRENCE=4,
- ICAL_MONTHLY_RECURRENCE=5,
- ICAL_YEARLY_RECURRENCE=6,
- ICAL_NO_RECURRENCE=7
-
-} icalrecurrencetype_frequency;
-
-typedef enum icalrecurrencetype_weekday
-{
- ICAL_NO_WEEKDAY,
- ICAL_SUNDAY_WEEKDAY,
- ICAL_MONDAY_WEEKDAY,
- ICAL_TUESDAY_WEEKDAY,
- ICAL_WEDNESDAY_WEEKDAY,
- ICAL_THURSDAY_WEEKDAY,
- ICAL_FRIDAY_WEEKDAY,
- ICAL_SATURDAY_WEEKDAY
-} icalrecurrencetype_weekday;
-
-enum {
- ICAL_RECURRENCE_ARRAY_MAX = 0x7f7f,
- ICAL_RECURRENCE_ARRAY_MAX_BYTE = 0x7f
-};
-
-
-
-/**
- * Recurrence type routines
- */
-
-/* See RFC 2445 Section 4.3.10, RECUR Value, for an explaination of
- the values and fields in struct icalrecurrencetype */
-
-#define ICAL_BY_SECOND_SIZE 61
-#define ICAL_BY_MINUTE_SIZE 61
-#define ICAL_BY_HOUR_SIZE 25
-#define ICAL_BY_DAY_SIZE 364 /* 7 days * 52 weeks */
-#define ICAL_BY_MONTHDAY_SIZE 32
-#define ICAL_BY_YEARDAY_SIZE 367
-#define ICAL_BY_WEEKNO_SIZE 54
-#define ICAL_BY_MONTH_SIZE 13
-#define ICAL_BY_SETPOS_SIZE 367
-
-/** Main struct for holding digested recurrence rules */
-struct icalrecurrencetype
-{
- icalrecurrencetype_frequency freq;
-
-
- /* until and count are mutually exclusive. */
- struct icaltimetype until;
- int count;
-
- short interval;
-
- icalrecurrencetype_weekday week_start;
-
- /* The BY* parameters can each take a list of values. Here I
- * assume that the list of values will not be larger than the
- * range of the value -- that is, the client will not name a
- * value more than once.
-
- * Each of the lists is terminated with the value
- * ICAL_RECURRENCE_ARRAY_MAX unless the the list is full.
- */
-
- short by_second[ICAL_BY_SECOND_SIZE];
- short by_minute[ICAL_BY_MINUTE_SIZE];
- short by_hour[ICAL_BY_HOUR_SIZE];
- short by_day[ICAL_BY_DAY_SIZE]; /* Encoded value, see below */
- short by_month_day[ICAL_BY_MONTHDAY_SIZE];
- short by_year_day[ ICAL_BY_YEARDAY_SIZE];
- short by_week_no[ICAL_BY_WEEKNO_SIZE];
- short by_month[ICAL_BY_MONTH_SIZE];
- short by_set_pos[ICAL_BY_SETPOS_SIZE];
-};
-
-
-void icalrecurrencetype_clear(struct icalrecurrencetype *r);
-
-/**
- * Array Encoding
- *
- * The 'day' element of the by_day array is encoded to allow
- * representation of both the day of the week ( Monday, Tueday), but also
- * the Nth day of the week ( First tuesday of the month, last thursday of
- * the year) These routines decode the day values
- */
-
-/** 1 == Monday, etc. */
-enum icalrecurrencetype_weekday icalrecurrencetype_day_day_of_week(short day);
-
-/** 0 == any of day of week. 1 == first, 2 = second, -2 == second to last, etc */
-int icalrecurrencetype_day_position(short day);
-
-icalrecurrencetype_weekday icalrecur_string_to_weekday(const char* str);
-
-/** Recurrance rule parser */
-
-/** Convert between strings and recurrencetype structures. */
-struct icalrecurrencetype icalrecurrencetype_from_string(const char* str);
-char* icalrecurrencetype_as_string(struct icalrecurrencetype *recur);
-char* icalrecurrencetype_as_string_r(struct icalrecurrencetype *recur);
-
-
-/** Recurrence iteration routines */
-
-typedef struct icalrecur_iterator_impl icalrecur_iterator;
-
-/** Create a new recurrence rule iterator */
-icalrecur_iterator* icalrecur_iterator_new(struct icalrecurrencetype rule,
- struct icaltimetype dtstart);
-
-/** Get the next occurrence from an iterator */
-struct icaltimetype icalrecur_iterator_next(icalrecur_iterator*);
-
-void icalrecur_iterator_decrement_count(icalrecur_iterator*);
-
-/** Free the iterator */
-void icalrecur_iterator_free(icalrecur_iterator*);
-
-/**
- * Fills array up with at most 'count' time_t values, each
- * representing an occurrence time in seconds past the POSIX epoch
- */
-int icalrecur_expand_recurrence(char* rule, time_t start,
- int count, time_t* array);
-
-
-#endif
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalattach.h
- CREATOR: acampi 28 May 02
-
-
- (C) COPYRIGHT 2002, Andrea Campi <a.campi@inet.it>
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icalattach.h
-
-======================================================================*/
-
-#ifndef ICALATTACH_H
-#define ICALATTACH_H
-
-
-typedef struct icalattach_impl icalattach;
-
-typedef void (* icalattach_free_fn_t) (unsigned char *data, void *user_data);
-
-icalattach *icalattach_new_from_url (const char *url);
-icalattach *icalattach_new_from_data (const char *data,
- icalattach_free_fn_t free_fn, void *free_fn_data);
-
-void icalattach_ref (icalattach *attach);
-void icalattach_unref (icalattach *attach);
-
-int icalattach_get_is_url (icalattach *attach);
-const char *icalattach_get_url (icalattach *attach);
-unsigned char *icalattach_get_data (icalattach *attach);
-
-struct icalattachtype* icalattachtype_new(void);
-void icalattachtype_add_reference(struct icalattachtype* v);
-void icalattachtype_free(struct icalattachtype* v);
-
-void icalattachtype_set_url(struct icalattachtype* v, char* url);
-char* icalattachtype_get_url(struct icalattachtype* v);
-
-void icalattachtype_set_base64(struct icalattachtype* v, char* base64,
- int owns);
-char* icalattachtype_get_base64(struct icalattachtype* v);
-
-void icalattachtype_set_binary(struct icalattachtype* v, char* binary,
- int owns);
-void* icalattachtype_get_binary(struct icalattachtype* v);
-
-
-
-#endif /* !ICALATTACH_H */
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalvalue.h
- CREATOR: eric 20 March 1999
-
-
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icalvalue.h
-
- ======================================================================*/
-
-#ifndef ICALDERIVEDVALUE_H
-#define ICALDERIVEDVALUE_H
-
-
-typedef struct icalvalue_impl icalvalue;
-
-void icalvalue_set_x(icalvalue* value, const char* v);
-icalvalue* icalvalue_new_x(const char* v);
-const char* icalvalue_get_x(const icalvalue* value);
-
-icalvalue* icalvalue_new_recur (struct icalrecurrencetype v);
-void icalvalue_set_recur(icalvalue* value, struct icalrecurrencetype v);
-struct icalrecurrencetype icalvalue_get_recur(const icalvalue* value);
-
-icalvalue* icalvalue_new_trigger (struct icaltriggertype v);
-void icalvalue_set_trigger(icalvalue* value, struct icaltriggertype v);
-struct icaltriggertype icalvalue_get_trigger(const icalvalue* value);
-
-icalvalue* icalvalue_new_datetime(struct icaltimetype v);
-struct icaltimetype icalvalue_get_datetime(const icalvalue* value);
-void icalvalue_set_datetime(icalvalue* value, struct icaltimetype v);
-
-icalvalue* icalvalue_new_datetimeperiod (struct icaldatetimeperiodtype v);
-void icalvalue_set_datetimeperiod(icalvalue* value, struct icaldatetimeperiodtype v);
-struct icaldatetimeperiodtype icalvalue_get_datetimeperiod(const icalvalue* value);
-
-/* GEO */
-icalvalue* icalvalue_new_geo(struct icalgeotype v);
-struct icalgeotype icalvalue_get_geo(const icalvalue* value);
-void icalvalue_set_geo(icalvalue* value, struct icalgeotype v);
-
-icalvalue *icalvalue_new_attach (icalattach *attach);
-void icalvalue_set_attach (icalvalue *value, icalattach *attach);
-icalattach *icalvalue_get_attach (const icalvalue *value);
-
-void icalvalue_reset_kind(icalvalue* value);
-
-typedef enum icalvalue_kind {
- ICAL_ANY_VALUE=5000,
- ICAL_QUERY_VALUE=5001,
- ICAL_DATE_VALUE=5002,
- ICAL_ATTACH_VALUE=5003,
- ICAL_GEO_VALUE=5004,
- ICAL_STATUS_VALUE=5005,
- ICAL_TRANSP_VALUE=5006,
- ICAL_STRING_VALUE=5007,
- ICAL_TEXT_VALUE=5008,
- ICAL_REQUESTSTATUS_VALUE=5009,
- ICAL_CMD_VALUE=5010,
- ICAL_BINARY_VALUE=5011,
- ICAL_QUERYLEVEL_VALUE=5012,
- ICAL_PERIOD_VALUE=5013,
- ICAL_FLOAT_VALUE=5014,
- ICAL_DATETIMEPERIOD_VALUE=5015,
- ICAL_CARLEVEL_VALUE=5016,
- ICAL_INTEGER_VALUE=5017,
- ICAL_CLASS_VALUE=5018,
- ICAL_URI_VALUE=5019,
- ICAL_DURATION_VALUE=5020,
- ICAL_BOOLEAN_VALUE=5021,
- ICAL_X_VALUE=5022,
- ICAL_CALADDRESS_VALUE=5023,
- ICAL_TRIGGER_VALUE=5024,
- ICAL_XLICCLASS_VALUE=5025,
- ICAL_RECUR_VALUE=5026,
- ICAL_ACTION_VALUE=5027,
- ICAL_DATETIME_VALUE=5028,
- ICAL_UTCOFFSET_VALUE=5029,
- ICAL_METHOD_VALUE=5030,
- ICAL_NO_VALUE=5031
-} icalvalue_kind ;
-
-#define ICALPROPERTY_FIRST_ENUM 10000
-
-typedef enum icalproperty_action {
- ICAL_ACTION_X = 10000,
- ICAL_ACTION_AUDIO = 10001,
- ICAL_ACTION_DISPLAY = 10002,
- ICAL_ACTION_EMAIL = 10003,
- ICAL_ACTION_PROCEDURE = 10004,
- ICAL_ACTION_NONE = 10005
-} icalproperty_action;
-
-typedef enum icalproperty_carlevel {
- ICAL_CARLEVEL_X = 10006,
- ICAL_CARLEVEL_CARNONE = 10007,
- ICAL_CARLEVEL_CARMIN = 10008,
- ICAL_CARLEVEL_CARFULL1 = 10009,
- ICAL_CARLEVEL_NONE = 10010
-} icalproperty_carlevel;
-
-typedef enum icalproperty_class {
- ICAL_CLASS_X = 10011,
- ICAL_CLASS_PUBLIC = 10012,
- ICAL_CLASS_PRIVATE = 10013,
- ICAL_CLASS_CONFIDENTIAL = 10014,
- ICAL_CLASS_NONE = 10015
-} icalproperty_class;
-
-typedef enum icalproperty_cmd {
- ICAL_CMD_X = 10016,
- ICAL_CMD_ABORT = 10017,
- ICAL_CMD_CONTINUE = 10018,
- ICAL_CMD_CREATE = 10019,
- ICAL_CMD_DELETE = 10020,
- ICAL_CMD_GENERATEUID = 10021,
- ICAL_CMD_GETCAPABILITY = 10022,
- ICAL_CMD_IDENTIFY = 10023,
- ICAL_CMD_MODIFY = 10024,
- ICAL_CMD_MOVE = 10025,
- ICAL_CMD_REPLY = 10026,
- ICAL_CMD_SEARCH = 10027,
- ICAL_CMD_SETLOCALE = 10028,
- ICAL_CMD_NONE = 10029
-} icalproperty_cmd;
-
-typedef enum icalproperty_method {
- ICAL_METHOD_X = 10030,
- ICAL_METHOD_PUBLISH = 10031,
- ICAL_METHOD_REQUEST = 10032,
- ICAL_METHOD_REPLY = 10033,
- ICAL_METHOD_ADD = 10034,
- ICAL_METHOD_CANCEL = 10035,
- ICAL_METHOD_REFRESH = 10036,
- ICAL_METHOD_COUNTER = 10037,
- ICAL_METHOD_DECLINECOUNTER = 10038,
- ICAL_METHOD_CREATE = 10039,
- ICAL_METHOD_READ = 10040,
- ICAL_METHOD_RESPONSE = 10041,
- ICAL_METHOD_MOVE = 10042,
- ICAL_METHOD_MODIFY = 10043,
- ICAL_METHOD_GENERATEUID = 10044,
- ICAL_METHOD_DELETE = 10045,
- ICAL_METHOD_NONE = 10046
-} icalproperty_method;
-
-typedef enum icalproperty_querylevel {
- ICAL_QUERYLEVEL_X = 10047,
- ICAL_QUERYLEVEL_CALQL1 = 10048,
- ICAL_QUERYLEVEL_CALQLNONE = 10049,
- ICAL_QUERYLEVEL_NONE = 10050
-} icalproperty_querylevel;
-
-typedef enum icalproperty_status {
- ICAL_STATUS_X = 10051,
- ICAL_STATUS_TENTATIVE = 10052,
- ICAL_STATUS_CONFIRMED = 10053,
- ICAL_STATUS_COMPLETED = 10054,
- ICAL_STATUS_NEEDSACTION = 10055,
- ICAL_STATUS_CANCELLED = 10056,
- ICAL_STATUS_INPROCESS = 10057,
- ICAL_STATUS_DRAFT = 10058,
- ICAL_STATUS_FINAL = 10059,
- ICAL_STATUS_NONE = 10060
-} icalproperty_status;
-
-typedef enum icalproperty_transp {
- ICAL_TRANSP_X = 10061,
- ICAL_TRANSP_OPAQUE = 10062,
- ICAL_TRANSP_OPAQUENOCONFLICT = 10063,
- ICAL_TRANSP_TRANSPARENT = 10064,
- ICAL_TRANSP_TRANSPARENTNOCONFLICT = 10065,
- ICAL_TRANSP_NONE = 10066
-} icalproperty_transp;
-
-typedef enum icalproperty_xlicclass {
- ICAL_XLICCLASS_X = 10067,
- ICAL_XLICCLASS_PUBLISHNEW = 10068,
- ICAL_XLICCLASS_PUBLISHUPDATE = 10069,
- ICAL_XLICCLASS_PUBLISHFREEBUSY = 10070,
- ICAL_XLICCLASS_REQUESTNEW = 10071,
- ICAL_XLICCLASS_REQUESTUPDATE = 10072,
- ICAL_XLICCLASS_REQUESTRESCHEDULE = 10073,
- ICAL_XLICCLASS_REQUESTDELEGATE = 10074,
- ICAL_XLICCLASS_REQUESTNEWORGANIZER = 10075,
- ICAL_XLICCLASS_REQUESTFORWARD = 10076,
- ICAL_XLICCLASS_REQUESTSTATUS = 10077,
- ICAL_XLICCLASS_REQUESTFREEBUSY = 10078,
- ICAL_XLICCLASS_REPLYACCEPT = 10079,
- ICAL_XLICCLASS_REPLYDECLINE = 10080,
- ICAL_XLICCLASS_REPLYDELEGATE = 10081,
- ICAL_XLICCLASS_REPLYCRASHERACCEPT = 10082,
- ICAL_XLICCLASS_REPLYCRASHERDECLINE = 10083,
- ICAL_XLICCLASS_ADDINSTANCE = 10084,
- ICAL_XLICCLASS_CANCELEVENT = 10085,
- ICAL_XLICCLASS_CANCELINSTANCE = 10086,
- ICAL_XLICCLASS_CANCELALL = 10087,
- ICAL_XLICCLASS_REFRESH = 10088,
- ICAL_XLICCLASS_COUNTER = 10089,
- ICAL_XLICCLASS_DECLINECOUNTER = 10090,
- ICAL_XLICCLASS_MALFORMED = 10091,
- ICAL_XLICCLASS_OBSOLETE = 10092,
- ICAL_XLICCLASS_MISSEQUENCED = 10093,
- ICAL_XLICCLASS_UNKNOWN = 10094,
- ICAL_XLICCLASS_NONE = 10095
-} icalproperty_xlicclass;
-
-#define ICALPROPERTY_LAST_ENUM 10096
-
-
- /* QUERY */
-icalvalue* icalvalue_new_query(const char* v);
-const char* icalvalue_get_query(const icalvalue* value);
-void icalvalue_set_query(icalvalue* value, const char* v);
-
-
- /* DATE */
-icalvalue* icalvalue_new_date(struct icaltimetype v);
-struct icaltimetype icalvalue_get_date(const icalvalue* value);
-void icalvalue_set_date(icalvalue* value, struct icaltimetype v);
-
-
- /* STATUS */
-icalvalue* icalvalue_new_status(enum icalproperty_status v);
-enum icalproperty_status icalvalue_get_status(const icalvalue* value);
-void icalvalue_set_status(icalvalue* value, enum icalproperty_status v);
-
-
- /* TRANSP */
-icalvalue* icalvalue_new_transp(enum icalproperty_transp v);
-enum icalproperty_transp icalvalue_get_transp(const icalvalue* value);
-void icalvalue_set_transp(icalvalue* value, enum icalproperty_transp v);
-
-
- /* STRING */
-icalvalue* icalvalue_new_string(const char* v);
-const char* icalvalue_get_string(const icalvalue* value);
-void icalvalue_set_string(icalvalue* value, const char* v);
-
-
- /* TEXT */
-icalvalue* icalvalue_new_text(const char* v);
-const char* icalvalue_get_text(const icalvalue* value);
-void icalvalue_set_text(icalvalue* value, const char* v);
-
-
- /* REQUEST-STATUS */
-icalvalue* icalvalue_new_requeststatus(struct icalreqstattype v);
-struct icalreqstattype icalvalue_get_requeststatus(const icalvalue* value);
-void icalvalue_set_requeststatus(icalvalue* value, struct icalreqstattype v);
-
-
- /* CMD */
-icalvalue* icalvalue_new_cmd(enum icalproperty_cmd v);
-enum icalproperty_cmd icalvalue_get_cmd(const icalvalue* value);
-void icalvalue_set_cmd(icalvalue* value, enum icalproperty_cmd v);
-
-
- /* BINARY */
-icalvalue* icalvalue_new_binary(const char* v);
-const char* icalvalue_get_binary(const icalvalue* value);
-void icalvalue_set_binary(icalvalue* value, const char* v);
-
-
- /* QUERY-LEVEL */
-icalvalue* icalvalue_new_querylevel(enum icalproperty_querylevel v);
-enum icalproperty_querylevel icalvalue_get_querylevel(const icalvalue* value);
-void icalvalue_set_querylevel(icalvalue* value, enum icalproperty_querylevel v);
-
-
- /* PERIOD */
-icalvalue* icalvalue_new_period(struct icalperiodtype v);
-struct icalperiodtype icalvalue_get_period(const icalvalue* value);
-void icalvalue_set_period(icalvalue* value, struct icalperiodtype v);
-
-
- /* FLOAT */
-icalvalue* icalvalue_new_float(float v);
-float icalvalue_get_float(const icalvalue* value);
-void icalvalue_set_float(icalvalue* value, float v);
-
-
- /* CAR-LEVEL */
-icalvalue* icalvalue_new_carlevel(enum icalproperty_carlevel v);
-enum icalproperty_carlevel icalvalue_get_carlevel(const icalvalue* value);
-void icalvalue_set_carlevel(icalvalue* value, enum icalproperty_carlevel v);
-
-
- /* INTEGER */
-icalvalue* icalvalue_new_integer(int v);
-int icalvalue_get_integer(const icalvalue* value);
-void icalvalue_set_integer(icalvalue* value, int v);
-
-
- /* URI */
-icalvalue* icalvalue_new_uri(const char* v);
-const char* icalvalue_get_uri(const icalvalue* value);
-void icalvalue_set_uri(icalvalue* value, const char* v);
-
-
- /* DURATION */
-icalvalue* icalvalue_new_duration(struct icaldurationtype v);
-struct icaldurationtype icalvalue_get_duration(const icalvalue* value);
-void icalvalue_set_duration(icalvalue* value, struct icaldurationtype v);
-
-
- /* BOOLEAN */
-icalvalue* icalvalue_new_boolean(int v);
-int icalvalue_get_boolean(const icalvalue* value);
-void icalvalue_set_boolean(icalvalue* value, int v);
-
-
- /* CAL-ADDRESS */
-icalvalue* icalvalue_new_caladdress(const char* v);
-const char* icalvalue_get_caladdress(const icalvalue* value);
-void icalvalue_set_caladdress(icalvalue* value, const char* v);
-
-
- /* X-LIC-CLASS */
-icalvalue* icalvalue_new_xlicclass(enum icalproperty_xlicclass v);
-enum icalproperty_xlicclass icalvalue_get_xlicclass(const icalvalue* value);
-void icalvalue_set_xlicclass(icalvalue* value, enum icalproperty_xlicclass v);
-
-
- /* ACTION */
-icalvalue* icalvalue_new_action(enum icalproperty_action v);
-enum icalproperty_action icalvalue_get_action(const icalvalue* value);
-void icalvalue_set_action(icalvalue* value, enum icalproperty_action v);
-
-
- /* UTC-OFFSET */
-icalvalue* icalvalue_new_utcoffset(int v);
-int icalvalue_get_utcoffset(const icalvalue* value);
-void icalvalue_set_utcoffset(icalvalue* value, int v);
-
-
- /* METHOD */
-icalvalue* icalvalue_new_method(enum icalproperty_method v);
-enum icalproperty_method icalvalue_get_method(const icalvalue* value);
-void icalvalue_set_method(icalvalue* value, enum icalproperty_method v);
-
-#endif /*ICALVALUE_H*/
-
-
-icalvalue* icalvalue_new_class(enum icalproperty_class v);
-enum icalproperty_class icalvalue_get_class(const icalvalue* value);
-void icalvalue_set_class(icalvalue* value, enum icalproperty_class v);
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalparam.h
- CREATOR: eric 20 March 1999
-
-
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icalparam.h
-
- ======================================================================*/
-
-#ifndef ICALDERIVEDPARAMETER_H
-#define ICALDERIVEDPARAMETER_H
-
-
-typedef struct icalparameter_impl icalparameter;
-
-const char* icalparameter_enum_to_string(int e);
-int icalparameter_string_to_enum(const char* str);
-
-/* START of section of machine generated code (mkderivedparameters.pl). Do not edit. */
-
-typedef enum icalparameter_kind {
- ICAL_ANY_PARAMETER = 0,
- ICAL_ACTIONPARAM_PARAMETER = 1,
- ICAL_ALTREP_PARAMETER = 2,
- ICAL_CHARSET_PARAMETER = 3,
- ICAL_CN_PARAMETER = 4,
- ICAL_CUTYPE_PARAMETER = 5,
- ICAL_DELEGATEDFROM_PARAMETER = 6,
- ICAL_DELEGATEDTO_PARAMETER = 7,
- ICAL_DIR_PARAMETER = 8,
- ICAL_ENABLE_PARAMETER = 9,
- ICAL_ENCODING_PARAMETER = 10,
- ICAL_FBTYPE_PARAMETER = 11,
- ICAL_FMTTYPE_PARAMETER = 12,
- ICAL_IANA_PARAMETER = 33,
- ICAL_ID_PARAMETER = 13,
- ICAL_LANGUAGE_PARAMETER = 14,
- ICAL_LATENCY_PARAMETER = 15,
- ICAL_LOCAL_PARAMETER = 16,
- ICAL_LOCALIZE_PARAMETER = 17,
- ICAL_MEMBER_PARAMETER = 18,
- ICAL_OPTIONS_PARAMETER = 19,
- ICAL_PARTSTAT_PARAMETER = 20,
- ICAL_RANGE_PARAMETER = 21,
- ICAL_RELATED_PARAMETER = 22,
- ICAL_RELTYPE_PARAMETER = 23,
- ICAL_ROLE_PARAMETER = 24,
- ICAL_RSVP_PARAMETER = 25,
- ICAL_SCHEDULEAGENT_PARAMETER = 34,
- ICAL_SCHEDULEFORCESEND_PARAMETER = 35,
- ICAL_SCHEDULESTATUS_PARAMETER = 36,
- ICAL_SENTBY_PARAMETER = 26,
- ICAL_TZID_PARAMETER = 27,
- ICAL_VALUE_PARAMETER = 28,
- ICAL_X_PARAMETER = 29,
- ICAL_XLICCOMPARETYPE_PARAMETER = 30,
- ICAL_XLICERRORTYPE_PARAMETER = 31,
- ICAL_NO_PARAMETER = 32
-} icalparameter_kind;
-
-#define ICALPARAMETER_FIRST_ENUM 20000
-
-typedef enum icalparameter_action {
- ICAL_ACTIONPARAM_X = 20000,
- ICAL_ACTIONPARAM_ASK = 20001,
- ICAL_ACTIONPARAM_ABORT = 20002,
- ICAL_ACTIONPARAM_NONE = 20003
-} icalparameter_action;
-
-typedef enum icalparameter_cutype {
- ICAL_CUTYPE_X = 20004,
- ICAL_CUTYPE_INDIVIDUAL = 20005,
- ICAL_CUTYPE_GROUP = 20006,
- ICAL_CUTYPE_RESOURCE = 20007,
- ICAL_CUTYPE_ROOM = 20008,
- ICAL_CUTYPE_UNKNOWN = 20009,
- ICAL_CUTYPE_NONE = 20010
-} icalparameter_cutype;
-
-typedef enum icalparameter_enable {
- ICAL_ENABLE_X = 20011,
- ICAL_ENABLE_TRUE = 20012,
- ICAL_ENABLE_FALSE = 20013,
- ICAL_ENABLE_NONE = 20014
-} icalparameter_enable;
-
-typedef enum icalparameter_encoding {
- ICAL_ENCODING_X = 20015,
- ICAL_ENCODING_8BIT = 20016,
- ICAL_ENCODING_BASE64 = 20017,
- ICAL_ENCODING_NONE = 20018
-} icalparameter_encoding;
-
-typedef enum icalparameter_fbtype {
- ICAL_FBTYPE_X = 20019,
- ICAL_FBTYPE_FREE = 20020,
- ICAL_FBTYPE_BUSY = 20021,
- ICAL_FBTYPE_BUSYUNAVAILABLE = 20022,
- ICAL_FBTYPE_BUSYTENTATIVE = 20023,
- ICAL_FBTYPE_NONE = 20024
-} icalparameter_fbtype;
-
-typedef enum icalparameter_local {
- ICAL_LOCAL_X = 20025,
- ICAL_LOCAL_TRUE = 20026,
- ICAL_LOCAL_FALSE = 20027,
- ICAL_LOCAL_NONE = 20028
-} icalparameter_local;
-
-typedef enum icalparameter_partstat {
- ICAL_PARTSTAT_X = 20029,
- ICAL_PARTSTAT_NEEDSACTION = 20030,
- ICAL_PARTSTAT_ACCEPTED = 20031,
- ICAL_PARTSTAT_DECLINED = 20032,
- ICAL_PARTSTAT_TENTATIVE = 20033,
- ICAL_PARTSTAT_DELEGATED = 20034,
- ICAL_PARTSTAT_COMPLETED = 20035,
- ICAL_PARTSTAT_INPROCESS = 20036,
- ICAL_PARTSTAT_NONE = 20037
-} icalparameter_partstat;
-
-typedef enum icalparameter_range {
- ICAL_RANGE_X = 20038,
- ICAL_RANGE_THISANDPRIOR = 20039,
- ICAL_RANGE_THISANDFUTURE = 20040,
- ICAL_RANGE_NONE = 20041
-} icalparameter_range;
-
-typedef enum icalparameter_related {
- ICAL_RELATED_X = 20042,
- ICAL_RELATED_START = 20043,
- ICAL_RELATED_END = 20044,
- ICAL_RELATED_NONE = 20045
-} icalparameter_related;
-
-typedef enum icalparameter_reltype {
- ICAL_RELTYPE_X = 20046,
- ICAL_RELTYPE_PARENT = 20047,
- ICAL_RELTYPE_CHILD = 20048,
- ICAL_RELTYPE_SIBLING = 20049,
- ICAL_RELTYPE_NONE = 20050
-} icalparameter_reltype;
-
-typedef enum icalparameter_role {
- ICAL_ROLE_X = 20051,
- ICAL_ROLE_CHAIR = 20052,
- ICAL_ROLE_REQPARTICIPANT = 20053,
- ICAL_ROLE_OPTPARTICIPANT = 20054,
- ICAL_ROLE_NONPARTICIPANT = 20055,
- ICAL_ROLE_NONE = 20056
-} icalparameter_role;
-
-typedef enum icalparameter_rsvp {
- ICAL_RSVP_X = 20057,
- ICAL_RSVP_TRUE = 20058,
- ICAL_RSVP_FALSE = 20059,
- ICAL_RSVP_NONE = 20060
-} icalparameter_rsvp;
-
-typedef enum icalparameter_scheduleagent {
- ICAL_SCHEDULEAGENT_X = 20061,
- ICAL_SCHEDULEAGENT_SERVER = 20062,
- ICAL_SCHEDULEAGENT_CLIENT = 20063,
- ICAL_SCHEDULEAGENT_NONE = 20064
-} icalparameter_scheduleagent;
-
-typedef enum icalparameter_scheduleforcesend {
- ICAL_SCHEDULEFORCESEND_X = 20065,
- ICAL_SCHEDULEFORCESEND_REQUEST = 20066,
- ICAL_SCHEDULEFORCESEND_REPLY = 20067,
- ICAL_SCHEDULEFORCESEND_NONE = 20068
-} icalparameter_scheduleforcesend;
-
-typedef enum icalparameter_value {
- ICAL_VALUE_X = 20069,
- ICAL_VALUE_BINARY = 20070,
- ICAL_VALUE_BOOLEAN = 20071,
- ICAL_VALUE_DATE = 20072,
- ICAL_VALUE_DURATION = 20073,
- ICAL_VALUE_FLOAT = 20074,
- ICAL_VALUE_INTEGER = 20075,
- ICAL_VALUE_PERIOD = 20076,
- ICAL_VALUE_RECUR = 20077,
- ICAL_VALUE_TEXT = 20078,
- ICAL_VALUE_URI = 20079,
- ICAL_VALUE_ERROR = 20080,
- ICAL_VALUE_DATETIME = 20081,
- ICAL_VALUE_UTCOFFSET = 20082,
- ICAL_VALUE_CALADDRESS = 20083,
- ICAL_VALUE_NONE = 20084
-} icalparameter_value;
-
-typedef enum icalparameter_xliccomparetype {
- ICAL_XLICCOMPARETYPE_X = 20085,
- ICAL_XLICCOMPARETYPE_EQUAL = 20086,
- ICAL_XLICCOMPARETYPE_NOTEQUAL = 20087,
- ICAL_XLICCOMPARETYPE_LESS = 20088,
- ICAL_XLICCOMPARETYPE_GREATER = 20089,
- ICAL_XLICCOMPARETYPE_LESSEQUAL = 20090,
- ICAL_XLICCOMPARETYPE_GREATEREQUAL = 20091,
- ICAL_XLICCOMPARETYPE_REGEX = 20092,
- ICAL_XLICCOMPARETYPE_ISNULL = 20093,
- ICAL_XLICCOMPARETYPE_ISNOTNULL = 20094,
- ICAL_XLICCOMPARETYPE_NONE = 20095
-} icalparameter_xliccomparetype;
-
-typedef enum icalparameter_xlicerrortype {
- ICAL_XLICERRORTYPE_X = 20096,
- ICAL_XLICERRORTYPE_COMPONENTPARSEERROR = 20097,
- ICAL_XLICERRORTYPE_PROPERTYPARSEERROR = 20098,
- ICAL_XLICERRORTYPE_PARAMETERNAMEPARSEERROR = 20099,
- ICAL_XLICERRORTYPE_PARAMETERVALUEPARSEERROR = 20100,
- ICAL_XLICERRORTYPE_VALUEPARSEERROR = 20101,
- ICAL_XLICERRORTYPE_INVALIDITIP = 20102,
- ICAL_XLICERRORTYPE_UNKNOWNVCALPROPERROR = 20103,
- ICAL_XLICERRORTYPE_MIMEPARSEERROR = 20104,
- ICAL_XLICERRORTYPE_VCALPROPPARSEERROR = 20105,
- ICAL_XLICERRORTYPE_NONE = 20106
-} icalparameter_xlicerrortype;
-
-#define ICALPARAMETER_LAST_ENUM 20107
-
-/* ACTIONPARAM */
-icalparameter* icalparameter_new_actionparam(icalparameter_action v);
-icalparameter_action icalparameter_get_actionparam(const icalparameter* value);
-void icalparameter_set_actionparam(icalparameter* value, icalparameter_action v);
-
-/* ALTREP */
-icalparameter* icalparameter_new_altrep(const char* v);
-const char* icalparameter_get_altrep(const icalparameter* value);
-void icalparameter_set_altrep(icalparameter* value, const char* v);
-
-/* CHARSET */
-icalparameter* icalparameter_new_charset(const char* v);
-const char* icalparameter_get_charset(const icalparameter* value);
-void icalparameter_set_charset(icalparameter* value, const char* v);
-
-/* CN */
-icalparameter* icalparameter_new_cn(const char* v);
-const char* icalparameter_get_cn(const icalparameter* value);
-void icalparameter_set_cn(icalparameter* value, const char* v);
-
-/* CUTYPE */
-icalparameter* icalparameter_new_cutype(icalparameter_cutype v);
-icalparameter_cutype icalparameter_get_cutype(const icalparameter* value);
-void icalparameter_set_cutype(icalparameter* value, icalparameter_cutype v);
-
-/* DELEGATED-FROM */
-icalparameter* icalparameter_new_delegatedfrom(const char* v);
-const char* icalparameter_get_delegatedfrom(const icalparameter* value);
-void icalparameter_set_delegatedfrom(icalparameter* value, const char* v);
-
-/* DELEGATED-TO */
-icalparameter* icalparameter_new_delegatedto(const char* v);
-const char* icalparameter_get_delegatedto(const icalparameter* value);
-void icalparameter_set_delegatedto(icalparameter* value, const char* v);
-
-/* DIR */
-icalparameter* icalparameter_new_dir(const char* v);
-const char* icalparameter_get_dir(const icalparameter* value);
-void icalparameter_set_dir(icalparameter* value, const char* v);
-
-/* ENABLE */
-icalparameter* icalparameter_new_enable(icalparameter_enable v);
-icalparameter_enable icalparameter_get_enable(const icalparameter* value);
-void icalparameter_set_enable(icalparameter* value, icalparameter_enable v);
-
-/* ENCODING */
-icalparameter* icalparameter_new_encoding(icalparameter_encoding v);
-icalparameter_encoding icalparameter_get_encoding(const icalparameter* value);
-void icalparameter_set_encoding(icalparameter* value, icalparameter_encoding v);
-
-/* FBTYPE */
-icalparameter* icalparameter_new_fbtype(icalparameter_fbtype v);
-icalparameter_fbtype icalparameter_get_fbtype(const icalparameter* value);
-void icalparameter_set_fbtype(icalparameter* value, icalparameter_fbtype v);
-
-/* FMTTYPE */
-icalparameter* icalparameter_new_fmttype(const char* v);
-const char* icalparameter_get_fmttype(const icalparameter* value);
-void icalparameter_set_fmttype(icalparameter* value, const char* v);
-
-/* IANA */
-icalparameter* icalparameter_new_iana(const char* v);
-const char* icalparameter_get_iana(const icalparameter* value);
-void icalparameter_set_iana(icalparameter* value, const char* v);
-
-/* ID */
-icalparameter* icalparameter_new_id(const char* v);
-const char* icalparameter_get_id(const icalparameter* value);
-void icalparameter_set_id(icalparameter* value, const char* v);
-
-/* LANGUAGE */
-icalparameter* icalparameter_new_language(const char* v);
-const char* icalparameter_get_language(const icalparameter* value);
-void icalparameter_set_language(icalparameter* value, const char* v);
-
-/* LATENCY */
-icalparameter* icalparameter_new_latency(const char* v);
-const char* icalparameter_get_latency(const icalparameter* value);
-void icalparameter_set_latency(icalparameter* value, const char* v);
-
-/* LOCAL */
-icalparameter* icalparameter_new_local(icalparameter_local v);
-icalparameter_local icalparameter_get_local(const icalparameter* value);
-void icalparameter_set_local(icalparameter* value, icalparameter_local v);
-
-/* LOCALIZE */
-icalparameter* icalparameter_new_localize(const char* v);
-const char* icalparameter_get_localize(const icalparameter* value);
-void icalparameter_set_localize(icalparameter* value, const char* v);
-
-/* MEMBER */
-icalparameter* icalparameter_new_member(const char* v);
-const char* icalparameter_get_member(const icalparameter* value);
-void icalparameter_set_member(icalparameter* value, const char* v);
-
-/* OPTIONS */
-icalparameter* icalparameter_new_options(const char* v);
-const char* icalparameter_get_options(const icalparameter* value);
-void icalparameter_set_options(icalparameter* value, const char* v);
-
-/* PARTSTAT */
-icalparameter* icalparameter_new_partstat(icalparameter_partstat v);
-icalparameter_partstat icalparameter_get_partstat(const icalparameter* value);
-void icalparameter_set_partstat(icalparameter* value, icalparameter_partstat v);
-
-/* RANGE */
-icalparameter* icalparameter_new_range(icalparameter_range v);
-icalparameter_range icalparameter_get_range(const icalparameter* value);
-void icalparameter_set_range(icalparameter* value, icalparameter_range v);
-
-/* RELATED */
-icalparameter* icalparameter_new_related(icalparameter_related v);
-icalparameter_related icalparameter_get_related(const icalparameter* value);
-void icalparameter_set_related(icalparameter* value, icalparameter_related v);
-
-/* RELTYPE */
-icalparameter* icalparameter_new_reltype(icalparameter_reltype v);
-icalparameter_reltype icalparameter_get_reltype(const icalparameter* value);
-void icalparameter_set_reltype(icalparameter* value, icalparameter_reltype v);
-
-/* ROLE */
-icalparameter* icalparameter_new_role(icalparameter_role v);
-icalparameter_role icalparameter_get_role(const icalparameter* value);
-void icalparameter_set_role(icalparameter* value, icalparameter_role v);
-
-/* RSVP */
-icalparameter* icalparameter_new_rsvp(icalparameter_rsvp v);
-icalparameter_rsvp icalparameter_get_rsvp(const icalparameter* value);
-void icalparameter_set_rsvp(icalparameter* value, icalparameter_rsvp v);
-
-/* SCHEDULE-AGENT */
-icalparameter* icalparameter_new_scheduleagent(icalparameter_scheduleagent v);
-icalparameter_scheduleagent icalparameter_get_scheduleagent(const icalparameter* value);
-void icalparameter_set_scheduleagent(icalparameter* value, icalparameter_scheduleagent v);
-
-/* SCHEDULE-FORCE-SEND */
-icalparameter* icalparameter_new_scheduleforcesend(icalparameter_scheduleforcesend v);
-icalparameter_scheduleforcesend icalparameter_get_scheduleforcesend(const icalparameter* value);
-void icalparameter_set_scheduleforcesend(icalparameter* value, icalparameter_scheduleforcesend v);
-
-/* SCHEDULE-STATUS */
-icalparameter* icalparameter_new_schedulestatus(const char* v);
-const char* icalparameter_get_schedulestatus(const icalparameter* value);
-void icalparameter_set_schedulestatus(icalparameter* value, const char* v);
-
-/* SENT-BY */
-icalparameter* icalparameter_new_sentby(const char* v);
-const char* icalparameter_get_sentby(const icalparameter* value);
-void icalparameter_set_sentby(icalparameter* value, const char* v);
-
-/* TZID */
-icalparameter* icalparameter_new_tzid(const char* v);
-const char* icalparameter_get_tzid(const icalparameter* value);
-void icalparameter_set_tzid(icalparameter* value, const char* v);
-
-/* VALUE */
-icalparameter* icalparameter_new_value(icalparameter_value v);
-icalparameter_value icalparameter_get_value(const icalparameter* value);
-void icalparameter_set_value(icalparameter* value, icalparameter_value v);
-
-/* X */
-icalparameter* icalparameter_new_x(const char* v);
-const char* icalparameter_get_x(const icalparameter* value);
-void icalparameter_set_x(icalparameter* value, const char* v);
-
-/* X-LIC-COMPARETYPE */
-icalparameter* icalparameter_new_xliccomparetype(icalparameter_xliccomparetype v);
-icalparameter_xliccomparetype icalparameter_get_xliccomparetype(const icalparameter* value);
-void icalparameter_set_xliccomparetype(icalparameter* value, icalparameter_xliccomparetype v);
-
-/* X-LIC-ERRORTYPE */
-icalparameter* icalparameter_new_xlicerrortype(icalparameter_xlicerrortype v);
-icalparameter_xlicerrortype icalparameter_get_xlicerrortype(const icalparameter* value);
-void icalparameter_set_xlicerrortype(icalparameter* value, icalparameter_xlicerrortype v);
-
-#endif /*ICALPARAMETER_H*/
-
-/* END of section of machine generated code (mkderivedparameters.pl). Do not edit. */
-
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalvalue.h
- CREATOR: eric 20 March 1999
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icalvalue.h
-
- ======================================================================*/
-
-#ifndef ICALVALUE_H
-#define ICALVALUE_H
-
-#include <time.h>
-
-/* Defined in icalderivedvalue.h */
-/*typedef struct icalvalue_impl icalvalue;*/
-
-icalvalue* icalvalue_new(icalvalue_kind kind);
-
-icalvalue* icalvalue_new_clone(const icalvalue* value);
-
-icalvalue* icalvalue_new_from_string(icalvalue_kind kind, const char* str);
-
-void icalvalue_free(icalvalue* value);
-
-int icalvalue_is_valid(const icalvalue* value);
-
-const char* icalvalue_as_ical_string(const icalvalue* value);
-char* icalvalue_as_ical_string_r(const icalvalue* value);
-
-icalvalue_kind icalvalue_isa(const icalvalue* value);
-
-int icalvalue_isa_value(void*);
-
-icalparameter_xliccomparetype icalvalue_compare(const icalvalue* a, const icalvalue *b);
-
-
-/* Special, non autogenerated value accessors */
-
-/* Defined in icalderivedvalue.h */
-/* icalvalue* icalvalue_new_recur (struct icalrecurrencetype v); */
-/* void icalvalue_set_recur(icalvalue* value, struct icalrecurrencetype v); */
-/* struct icalrecurrencetype icalvalue_get_recur(const icalvalue* value); */
-
-/* icalvalue* icalvalue_new_trigger (struct icaltriggertype v); */
-/* void icalvalue_set_trigger(icalvalue* value, struct icaltriggertype v); */
-/* struct icaltriggertype icalvalue_get_trigger(const icalvalue* value); */
-
-/* icalvalue* icalvalue_new_datetimeperiod (struct icaldatetimeperiodtype v); */
-/* void icalvalue_set_datetimeperiod(icalvalue* value, */
-/* struct icaldatetimeperiodtype v); */
-/* struct icaldatetimeperiodtype icalvalue_get_datetimeperiod(const icalvalue* value); */
-
-/* Convert enumerations */
-
-icalvalue_kind icalvalue_string_to_kind(const char* str);
-const char* icalvalue_kind_to_string(const icalvalue_kind kind);
-
-/** Check validity of a specific icalvalue_kind **/
-int icalvalue_kind_is_valid(const icalvalue_kind kind);
-
-/** Encode a character string in ical format, esacpe certain characters, etc. */
-int icalvalue_encode_ical_string(const char *szText, char *szEncText, int MaxBufferLen);
-
-/** Extract the original character string encoded by the above function **/
-int icalvalue_decode_ical_string(const char *szText, char *szDecText, int nMaxBufferLen);
-
-#endif /*ICALVALUE_H*/
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalparam.h
- CREATOR: eric 20 March 1999
-
-
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icalparam.h
-
- ======================================================================*/
-
-#ifndef ICALPARAM_H
-#define ICALPARAM_H
-
-
-/* Declared in icalderivedparameter.h */
-/*typedef struct icalparameter_impl icalparameter;*/
-
-icalparameter* icalparameter_new(icalparameter_kind kind);
-icalparameter* icalparameter_new_clone(icalparameter* p);
-
-/* Create from string of form "PARAMNAME=VALUE" */
-icalparameter* icalparameter_new_from_string(const char* value);
-
-/* Create from just the value, the part after the "=" */
-icalparameter* icalparameter_new_from_value_string(icalparameter_kind kind, const char* value);
-
-void icalparameter_free(icalparameter* parameter);
-
-char* icalparameter_as_ical_string(icalparameter* parameter);
-char* icalparameter_as_ical_string_r(icalparameter* parameter);
-
-int icalparameter_is_valid(icalparameter* parameter);
-
-icalparameter_kind icalparameter_isa(icalparameter* parameter);
-
-int icalparameter_isa_parameter(void* param);
-
-/* Access the name of an X parameter */
-void icalparameter_set_xname (icalparameter* param, const char* v);
-const char* icalparameter_get_xname(icalparameter* param);
-void icalparameter_set_xvalue (icalparameter* param, const char* v);
-const char* icalparameter_get_xvalue(icalparameter* param);
-
-/* Access the name of an IANA parameter */
-void icalparameter_set_iana_name (icalparameter* param, const char* v);
-const char* icalparameter_get_iana_name(icalparameter* param);
-void icalparameter_set_iana_value (icalparameter* param, const char* v);
-const char* icalparameter_get_iana_value(icalparameter* param);
-
-/* returns 1 if parameters have same name in ICAL, otherwise 0 */
-int icalparameter_has_same_name(icalparameter* param1, icalparameter* param2);
-
-/* Convert enumerations */
-
-const char* icalparameter_kind_to_string(icalparameter_kind kind);
-icalparameter_kind icalparameter_string_to_kind(const char* string);
-
-
-
-#endif
-/* -*- Mode: C -*-
- ======================================================================
- FILE: icalderivedproperties.{c,h}
- CREATOR: eric 09 May 1999
-
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
- ======================================================================*/
-
-
-#ifndef ICALDERIVEDPROPERTY_H
-#define ICALDERIVEDPROPERTY_H
-
-#include <time.h>
-
-typedef struct icalproperty_impl icalproperty;
-
-typedef enum icalproperty_kind {
- ICAL_ANY_PROPERTY = 0,
- ICAL_ACKNOWLEDGED_PROPERTY,
- ICAL_ACTION_PROPERTY,
- ICAL_ALLOWCONFLICT_PROPERTY,
- ICAL_ATTACH_PROPERTY,
- ICAL_ATTENDEE_PROPERTY,
- ICAL_CALID_PROPERTY,
- ICAL_CALMASTER_PROPERTY,
- ICAL_CALSCALE_PROPERTY,
- ICAL_CAPVERSION_PROPERTY,
- ICAL_CARLEVEL_PROPERTY,
- ICAL_CARID_PROPERTY,
- ICAL_CATEGORIES_PROPERTY,
- ICAL_CLASS_PROPERTY,
- ICAL_CMD_PROPERTY,
- ICAL_COMMENT_PROPERTY,
- ICAL_COMPLETED_PROPERTY,
- ICAL_COMPONENTS_PROPERTY,
- ICAL_CONTACT_PROPERTY,
- ICAL_CREATED_PROPERTY,
- ICAL_CSID_PROPERTY,
- ICAL_DATEMAX_PROPERTY,
- ICAL_DATEMIN_PROPERTY,
- ICAL_DECREED_PROPERTY,
- ICAL_DEFAULTCHARSET_PROPERTY,
- ICAL_DEFAULTLOCALE_PROPERTY,
- ICAL_DEFAULTTZID_PROPERTY,
- ICAL_DEFAULTVCARS_PROPERTY,
- ICAL_DENY_PROPERTY,
- ICAL_DESCRIPTION_PROPERTY,
- ICAL_DTEND_PROPERTY,
- ICAL_DTSTAMP_PROPERTY,
- ICAL_DTSTART_PROPERTY,
- ICAL_DUE_PROPERTY,
- ICAL_DURATION_PROPERTY,
- ICAL_EXDATE_PROPERTY,
- ICAL_EXPAND_PROPERTY,
- ICAL_EXRULE_PROPERTY,
- ICAL_FREEBUSY_PROPERTY,
- ICAL_GEO_PROPERTY,
- ICAL_GRANT_PROPERTY,
- ICAL_ITIPVERSION_PROPERTY,
- ICAL_LASTMODIFIED_PROPERTY,
- ICAL_LOCATION_PROPERTY,
- ICAL_MAXCOMPONENTSIZE_PROPERTY,
- ICAL_MAXDATE_PROPERTY,
- ICAL_MAXRESULTS_PROPERTY,
- ICAL_MAXRESULTSSIZE_PROPERTY,
- ICAL_METHOD_PROPERTY,
- ICAL_MINDATE_PROPERTY,
- ICAL_MULTIPART_PROPERTY,
- ICAL_NAME_PROPERTY,
- ICAL_ORGANIZER_PROPERTY,
- ICAL_OWNER_PROPERTY,
- ICAL_PERCENTCOMPLETE_PROPERTY,
- ICAL_PERMISSION_PROPERTY,
- ICAL_PRIORITY_PROPERTY,
- ICAL_PRODID_PROPERTY,
- ICAL_QUERY_PROPERTY,
- ICAL_QUERYLEVEL_PROPERTY,
- ICAL_QUERYID_PROPERTY,
- ICAL_QUERYNAME_PROPERTY,
- ICAL_RDATE_PROPERTY,
- ICAL_RECURACCEPTED_PROPERTY,
- ICAL_RECUREXPAND_PROPERTY,
- ICAL_RECURLIMIT_PROPERTY,
- ICAL_RECURRENCEID_PROPERTY,
- ICAL_RELATEDTO_PROPERTY,
- ICAL_RELCALID_PROPERTY,
- ICAL_REPEAT_PROPERTY,
- ICAL_REQUESTSTATUS_PROPERTY,
- ICAL_RESOURCES_PROPERTY,
- ICAL_RESTRICTION_PROPERTY,
- ICAL_RRULE_PROPERTY,
- ICAL_SCOPE_PROPERTY,
- ICAL_SEQUENCE_PROPERTY,
- ICAL_STATUS_PROPERTY,
- ICAL_STORESEXPANDED_PROPERTY,
- ICAL_SUMMARY_PROPERTY,
- ICAL_TARGET_PROPERTY,
- ICAL_TRANSP_PROPERTY,
- ICAL_TRIGGER_PROPERTY,
- ICAL_TZID_PROPERTY,
- ICAL_TZNAME_PROPERTY,
- ICAL_TZOFFSETFROM_PROPERTY,
- ICAL_TZOFFSETTO_PROPERTY,
- ICAL_TZURL_PROPERTY,
- ICAL_UID_PROPERTY,
- ICAL_URL_PROPERTY,
- ICAL_VERSION_PROPERTY,
- ICAL_X_PROPERTY,
- ICAL_XLICCLASS_PROPERTY,
- ICAL_XLICCLUSTERCOUNT_PROPERTY,
- ICAL_XLICERROR_PROPERTY,
- ICAL_XLICMIMECHARSET_PROPERTY,
- ICAL_XLICMIMECID_PROPERTY,
- ICAL_XLICMIMECONTENTTYPE_PROPERTY,
- ICAL_XLICMIMEENCODING_PROPERTY,
- ICAL_XLICMIMEFILENAME_PROPERTY,
- ICAL_XLICMIMEOPTINFO_PROPERTY,
- ICAL_NO_PROPERTY
-} icalproperty_kind;
-
-
-/* ACKNOWLEDGED */
-icalproperty* icalproperty_new_acknowledged(struct icaltimetype v);
-void icalproperty_set_acknowledged(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_acknowledged(const icalproperty* prop);icalproperty* icalproperty_vanew_acknowledged(struct icaltimetype v, ...);
-
-/* ACTION */
-icalproperty* icalproperty_new_action(enum icalproperty_action v);
-void icalproperty_set_action(icalproperty* prop, enum icalproperty_action v);
-enum icalproperty_action icalproperty_get_action(const icalproperty* prop);icalproperty* icalproperty_vanew_action(enum icalproperty_action v, ...);
-
-/* ALLOW-CONFLICT */
-icalproperty* icalproperty_new_allowconflict(const char* v);
-void icalproperty_set_allowconflict(icalproperty* prop, const char* v);
-const char* icalproperty_get_allowconflict(const icalproperty* prop);icalproperty* icalproperty_vanew_allowconflict(const char* v, ...);
-
-/* ATTACH */
-icalproperty* icalproperty_new_attach(icalattach * v);
-void icalproperty_set_attach(icalproperty* prop, icalattach * v);
-icalattach * icalproperty_get_attach(const icalproperty* prop);icalproperty* icalproperty_vanew_attach(icalattach * v, ...);
-
-/* ATTENDEE */
-icalproperty* icalproperty_new_attendee(const char* v);
-void icalproperty_set_attendee(icalproperty* prop, const char* v);
-const char* icalproperty_get_attendee(const icalproperty* prop);icalproperty* icalproperty_vanew_attendee(const char* v, ...);
-
-/* CALID */
-icalproperty* icalproperty_new_calid(const char* v);
-void icalproperty_set_calid(icalproperty* prop, const char* v);
-const char* icalproperty_get_calid(const icalproperty* prop);icalproperty* icalproperty_vanew_calid(const char* v, ...);
-
-/* CALMASTER */
-icalproperty* icalproperty_new_calmaster(const char* v);
-void icalproperty_set_calmaster(icalproperty* prop, const char* v);
-const char* icalproperty_get_calmaster(const icalproperty* prop);icalproperty* icalproperty_vanew_calmaster(const char* v, ...);
-
-/* CALSCALE */
-icalproperty* icalproperty_new_calscale(const char* v);
-void icalproperty_set_calscale(icalproperty* prop, const char* v);
-const char* icalproperty_get_calscale(const icalproperty* prop);icalproperty* icalproperty_vanew_calscale(const char* v, ...);
-
-/* CAP-VERSION */
-icalproperty* icalproperty_new_capversion(const char* v);
-void icalproperty_set_capversion(icalproperty* prop, const char* v);
-const char* icalproperty_get_capversion(const icalproperty* prop);icalproperty* icalproperty_vanew_capversion(const char* v, ...);
-
-/* CAR-LEVEL */
-icalproperty* icalproperty_new_carlevel(enum icalproperty_carlevel v);
-void icalproperty_set_carlevel(icalproperty* prop, enum icalproperty_carlevel v);
-enum icalproperty_carlevel icalproperty_get_carlevel(const icalproperty* prop);icalproperty* icalproperty_vanew_carlevel(enum icalproperty_carlevel v, ...);
-
-/* CARID */
-icalproperty* icalproperty_new_carid(const char* v);
-void icalproperty_set_carid(icalproperty* prop, const char* v);
-const char* icalproperty_get_carid(const icalproperty* prop);icalproperty* icalproperty_vanew_carid(const char* v, ...);
-
-/* CATEGORIES */
-icalproperty* icalproperty_new_categories(const char* v);
-void icalproperty_set_categories(icalproperty* prop, const char* v);
-const char* icalproperty_get_categories(const icalproperty* prop);icalproperty* icalproperty_vanew_categories(const char* v, ...);
-
-/* CLASS */
-icalproperty* icalproperty_new_class(enum icalproperty_class v);
-void icalproperty_set_class(icalproperty* prop, enum icalproperty_class v);
-enum icalproperty_class icalproperty_get_class(const icalproperty* prop);icalproperty* icalproperty_vanew_class(enum icalproperty_class v, ...);
-
-/* CMD */
-icalproperty* icalproperty_new_cmd(enum icalproperty_cmd v);
-void icalproperty_set_cmd(icalproperty* prop, enum icalproperty_cmd v);
-enum icalproperty_cmd icalproperty_get_cmd(const icalproperty* prop);icalproperty* icalproperty_vanew_cmd(enum icalproperty_cmd v, ...);
-
-/* COMMENT */
-icalproperty* icalproperty_new_comment(const char* v);
-void icalproperty_set_comment(icalproperty* prop, const char* v);
-const char* icalproperty_get_comment(const icalproperty* prop);icalproperty* icalproperty_vanew_comment(const char* v, ...);
-
-/* COMPLETED */
-icalproperty* icalproperty_new_completed(struct icaltimetype v);
-void icalproperty_set_completed(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_completed(const icalproperty* prop);icalproperty* icalproperty_vanew_completed(struct icaltimetype v, ...);
-
-/* COMPONENTS */
-icalproperty* icalproperty_new_components(const char* v);
-void icalproperty_set_components(icalproperty* prop, const char* v);
-const char* icalproperty_get_components(const icalproperty* prop);icalproperty* icalproperty_vanew_components(const char* v, ...);
-
-/* CONTACT */
-icalproperty* icalproperty_new_contact(const char* v);
-void icalproperty_set_contact(icalproperty* prop, const char* v);
-const char* icalproperty_get_contact(const icalproperty* prop);icalproperty* icalproperty_vanew_contact(const char* v, ...);
-
-/* CREATED */
-icalproperty* icalproperty_new_created(struct icaltimetype v);
-void icalproperty_set_created(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_created(const icalproperty* prop);icalproperty* icalproperty_vanew_created(struct icaltimetype v, ...);
-
-/* CSID */
-icalproperty* icalproperty_new_csid(const char* v);
-void icalproperty_set_csid(icalproperty* prop, const char* v);
-const char* icalproperty_get_csid(const icalproperty* prop);icalproperty* icalproperty_vanew_csid(const char* v, ...);
-
-/* DATE-MAX */
-icalproperty* icalproperty_new_datemax(struct icaltimetype v);
-void icalproperty_set_datemax(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_datemax(const icalproperty* prop);icalproperty* icalproperty_vanew_datemax(struct icaltimetype v, ...);
-
-/* DATE-MIN */
-icalproperty* icalproperty_new_datemin(struct icaltimetype v);
-void icalproperty_set_datemin(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_datemin(const icalproperty* prop);icalproperty* icalproperty_vanew_datemin(struct icaltimetype v, ...);
-
-/* DECREED */
-icalproperty* icalproperty_new_decreed(const char* v);
-void icalproperty_set_decreed(icalproperty* prop, const char* v);
-const char* icalproperty_get_decreed(const icalproperty* prop);icalproperty* icalproperty_vanew_decreed(const char* v, ...);
-
-/* DEFAULT-CHARSET */
-icalproperty* icalproperty_new_defaultcharset(const char* v);
-void icalproperty_set_defaultcharset(icalproperty* prop, const char* v);
-const char* icalproperty_get_defaultcharset(const icalproperty* prop);icalproperty* icalproperty_vanew_defaultcharset(const char* v, ...);
-
-/* DEFAULT-LOCALE */
-icalproperty* icalproperty_new_defaultlocale(const char* v);
-void icalproperty_set_defaultlocale(icalproperty* prop, const char* v);
-const char* icalproperty_get_defaultlocale(const icalproperty* prop);icalproperty* icalproperty_vanew_defaultlocale(const char* v, ...);
-
-/* DEFAULT-TZID */
-icalproperty* icalproperty_new_defaulttzid(const char* v);
-void icalproperty_set_defaulttzid(icalproperty* prop, const char* v);
-const char* icalproperty_get_defaulttzid(const icalproperty* prop);icalproperty* icalproperty_vanew_defaulttzid(const char* v, ...);
-
-/* DEFAULT-VCARS */
-icalproperty* icalproperty_new_defaultvcars(const char* v);
-void icalproperty_set_defaultvcars(icalproperty* prop, const char* v);
-const char* icalproperty_get_defaultvcars(const icalproperty* prop);icalproperty* icalproperty_vanew_defaultvcars(const char* v, ...);
-
-/* DENY */
-icalproperty* icalproperty_new_deny(const char* v);
-void icalproperty_set_deny(icalproperty* prop, const char* v);
-const char* icalproperty_get_deny(const icalproperty* prop);icalproperty* icalproperty_vanew_deny(const char* v, ...);
-
-/* DESCRIPTION */
-icalproperty* icalproperty_new_description(const char* v);
-void icalproperty_set_description(icalproperty* prop, const char* v);
-const char* icalproperty_get_description(const icalproperty* prop);icalproperty* icalproperty_vanew_description(const char* v, ...);
-
-/* DTEND */
-icalproperty* icalproperty_new_dtend(struct icaltimetype v);
-void icalproperty_set_dtend(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_dtend(const icalproperty* prop);icalproperty* icalproperty_vanew_dtend(struct icaltimetype v, ...);
-
-/* DTSTAMP */
-icalproperty* icalproperty_new_dtstamp(struct icaltimetype v);
-void icalproperty_set_dtstamp(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_dtstamp(const icalproperty* prop);icalproperty* icalproperty_vanew_dtstamp(struct icaltimetype v, ...);
-
-/* DTSTART */
-icalproperty* icalproperty_new_dtstart(struct icaltimetype v);
-void icalproperty_set_dtstart(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_dtstart(const icalproperty* prop);icalproperty* icalproperty_vanew_dtstart(struct icaltimetype v, ...);
-
-/* DUE */
-icalproperty* icalproperty_new_due(struct icaltimetype v);
-void icalproperty_set_due(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_due(const icalproperty* prop);icalproperty* icalproperty_vanew_due(struct icaltimetype v, ...);
-
-/* DURATION */
-icalproperty* icalproperty_new_duration(struct icaldurationtype v);
-void icalproperty_set_duration(icalproperty* prop, struct icaldurationtype v);
-struct icaldurationtype icalproperty_get_duration(const icalproperty* prop);icalproperty* icalproperty_vanew_duration(struct icaldurationtype v, ...);
-
-/* EXDATE */
-icalproperty* icalproperty_new_exdate(struct icaltimetype v);
-void icalproperty_set_exdate(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_exdate(const icalproperty* prop);icalproperty* icalproperty_vanew_exdate(struct icaltimetype v, ...);
-
-/* EXPAND */
-icalproperty* icalproperty_new_expand(int v);
-void icalproperty_set_expand(icalproperty* prop, int v);
-int icalproperty_get_expand(const icalproperty* prop);icalproperty* icalproperty_vanew_expand(int v, ...);
-
-/* EXRULE */
-icalproperty* icalproperty_new_exrule(struct icalrecurrencetype v);
-void icalproperty_set_exrule(icalproperty* prop, struct icalrecurrencetype v);
-struct icalrecurrencetype icalproperty_get_exrule(const icalproperty* prop);icalproperty* icalproperty_vanew_exrule(struct icalrecurrencetype v, ...);
-
-/* FREEBUSY */
-icalproperty* icalproperty_new_freebusy(struct icalperiodtype v);
-void icalproperty_set_freebusy(icalproperty* prop, struct icalperiodtype v);
-struct icalperiodtype icalproperty_get_freebusy(const icalproperty* prop);icalproperty* icalproperty_vanew_freebusy(struct icalperiodtype v, ...);
-
-/* GEO */
-icalproperty* icalproperty_new_geo(struct icalgeotype v);
-void icalproperty_set_geo(icalproperty* prop, struct icalgeotype v);
-struct icalgeotype icalproperty_get_geo(const icalproperty* prop);icalproperty* icalproperty_vanew_geo(struct icalgeotype v, ...);
-
-/* GRANT */
-icalproperty* icalproperty_new_grant(const char* v);
-void icalproperty_set_grant(icalproperty* prop, const char* v);
-const char* icalproperty_get_grant(const icalproperty* prop);icalproperty* icalproperty_vanew_grant(const char* v, ...);
-
-/* ITIP-VERSION */
-icalproperty* icalproperty_new_itipversion(const char* v);
-void icalproperty_set_itipversion(icalproperty* prop, const char* v);
-const char* icalproperty_get_itipversion(const icalproperty* prop);icalproperty* icalproperty_vanew_itipversion(const char* v, ...);
-
-/* LAST-MODIFIED */
-icalproperty* icalproperty_new_lastmodified(struct icaltimetype v);
-void icalproperty_set_lastmodified(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_lastmodified(const icalproperty* prop);icalproperty* icalproperty_vanew_lastmodified(struct icaltimetype v, ...);
-
-/* LOCATION */
-icalproperty* icalproperty_new_location(const char* v);
-void icalproperty_set_location(icalproperty* prop, const char* v);
-const char* icalproperty_get_location(const icalproperty* prop);icalproperty* icalproperty_vanew_location(const char* v, ...);
-
-/* MAX-COMPONENT-SIZE */
-icalproperty* icalproperty_new_maxcomponentsize(int v);
-void icalproperty_set_maxcomponentsize(icalproperty* prop, int v);
-int icalproperty_get_maxcomponentsize(const icalproperty* prop);icalproperty* icalproperty_vanew_maxcomponentsize(int v, ...);
-
-/* MAXDATE */
-icalproperty* icalproperty_new_maxdate(struct icaltimetype v);
-void icalproperty_set_maxdate(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_maxdate(const icalproperty* prop);icalproperty* icalproperty_vanew_maxdate(struct icaltimetype v, ...);
-
-/* MAXRESULTS */
-icalproperty* icalproperty_new_maxresults(int v);
-void icalproperty_set_maxresults(icalproperty* prop, int v);
-int icalproperty_get_maxresults(const icalproperty* prop);icalproperty* icalproperty_vanew_maxresults(int v, ...);
-
-/* MAXRESULTSSIZE */
-icalproperty* icalproperty_new_maxresultssize(int v);
-void icalproperty_set_maxresultssize(icalproperty* prop, int v);
-int icalproperty_get_maxresultssize(const icalproperty* prop);icalproperty* icalproperty_vanew_maxresultssize(int v, ...);
-
-/* METHOD */
-icalproperty* icalproperty_new_method(enum icalproperty_method v);
-void icalproperty_set_method(icalproperty* prop, enum icalproperty_method v);
-enum icalproperty_method icalproperty_get_method(const icalproperty* prop);icalproperty* icalproperty_vanew_method(enum icalproperty_method v, ...);
-
-/* MINDATE */
-icalproperty* icalproperty_new_mindate(struct icaltimetype v);
-void icalproperty_set_mindate(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_mindate(const icalproperty* prop);icalproperty* icalproperty_vanew_mindate(struct icaltimetype v, ...);
-
-/* MULTIPART */
-icalproperty* icalproperty_new_multipart(const char* v);
-void icalproperty_set_multipart(icalproperty* prop, const char* v);
-const char* icalproperty_get_multipart(const icalproperty* prop);icalproperty* icalproperty_vanew_multipart(const char* v, ...);
-
-/* NAME */
-icalproperty* icalproperty_new_name(const char* v);
-void icalproperty_set_name(icalproperty* prop, const char* v);
-const char* icalproperty_get_name(const icalproperty* prop);icalproperty* icalproperty_vanew_name(const char* v, ...);
-
-/* ORGANIZER */
-icalproperty* icalproperty_new_organizer(const char* v);
-void icalproperty_set_organizer(icalproperty* prop, const char* v);
-const char* icalproperty_get_organizer(const icalproperty* prop);icalproperty* icalproperty_vanew_organizer(const char* v, ...);
-
-/* OWNER */
-icalproperty* icalproperty_new_owner(const char* v);
-void icalproperty_set_owner(icalproperty* prop, const char* v);
-const char* icalproperty_get_owner(const icalproperty* prop);icalproperty* icalproperty_vanew_owner(const char* v, ...);
-
-/* PERCENT-COMPLETE */
-icalproperty* icalproperty_new_percentcomplete(int v);
-void icalproperty_set_percentcomplete(icalproperty* prop, int v);
-int icalproperty_get_percentcomplete(const icalproperty* prop);icalproperty* icalproperty_vanew_percentcomplete(int v, ...);
-
-/* PERMISSION */
-icalproperty* icalproperty_new_permission(const char* v);
-void icalproperty_set_permission(icalproperty* prop, const char* v);
-const char* icalproperty_get_permission(const icalproperty* prop);icalproperty* icalproperty_vanew_permission(const char* v, ...);
-
-/* PRIORITY */
-icalproperty* icalproperty_new_priority(int v);
-void icalproperty_set_priority(icalproperty* prop, int v);
-int icalproperty_get_priority(const icalproperty* prop);icalproperty* icalproperty_vanew_priority(int v, ...);
-
-/* PRODID */
-icalproperty* icalproperty_new_prodid(const char* v);
-void icalproperty_set_prodid(icalproperty* prop, const char* v);
-const char* icalproperty_get_prodid(const icalproperty* prop);icalproperty* icalproperty_vanew_prodid(const char* v, ...);
-
-/* QUERY */
-icalproperty* icalproperty_new_query(const char* v);
-void icalproperty_set_query(icalproperty* prop, const char* v);
-const char* icalproperty_get_query(const icalproperty* prop);icalproperty* icalproperty_vanew_query(const char* v, ...);
-
-/* QUERY-LEVEL */
-icalproperty* icalproperty_new_querylevel(enum icalproperty_querylevel v);
-void icalproperty_set_querylevel(icalproperty* prop, enum icalproperty_querylevel v);
-enum icalproperty_querylevel icalproperty_get_querylevel(const icalproperty* prop);icalproperty* icalproperty_vanew_querylevel(enum icalproperty_querylevel v, ...);
-
-/* QUERYID */
-icalproperty* icalproperty_new_queryid(const char* v);
-void icalproperty_set_queryid(icalproperty* prop, const char* v);
-const char* icalproperty_get_queryid(const icalproperty* prop);icalproperty* icalproperty_vanew_queryid(const char* v, ...);
-
-/* QUERYNAME */
-icalproperty* icalproperty_new_queryname(const char* v);
-void icalproperty_set_queryname(icalproperty* prop, const char* v);
-const char* icalproperty_get_queryname(const icalproperty* prop);icalproperty* icalproperty_vanew_queryname(const char* v, ...);
-
-/* RDATE */
-icalproperty* icalproperty_new_rdate(struct icaldatetimeperiodtype v);
-void icalproperty_set_rdate(icalproperty* prop, struct icaldatetimeperiodtype v);
-struct icaldatetimeperiodtype icalproperty_get_rdate(const icalproperty* prop);icalproperty* icalproperty_vanew_rdate(struct icaldatetimeperiodtype v, ...);
-
-/* RECUR-ACCEPTED */
-icalproperty* icalproperty_new_recuraccepted(const char* v);
-void icalproperty_set_recuraccepted(icalproperty* prop, const char* v);
-const char* icalproperty_get_recuraccepted(const icalproperty* prop);icalproperty* icalproperty_vanew_recuraccepted(const char* v, ...);
-
-/* RECUR-EXPAND */
-icalproperty* icalproperty_new_recurexpand(const char* v);
-void icalproperty_set_recurexpand(icalproperty* prop, const char* v);
-const char* icalproperty_get_recurexpand(const icalproperty* prop);icalproperty* icalproperty_vanew_recurexpand(const char* v, ...);
-
-/* RECUR-LIMIT */
-icalproperty* icalproperty_new_recurlimit(const char* v);
-void icalproperty_set_recurlimit(icalproperty* prop, const char* v);
-const char* icalproperty_get_recurlimit(const icalproperty* prop);icalproperty* icalproperty_vanew_recurlimit(const char* v, ...);
-
-/* RECURRENCE-ID */
-icalproperty* icalproperty_new_recurrenceid(struct icaltimetype v);
-void icalproperty_set_recurrenceid(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_recurrenceid(const icalproperty* prop);icalproperty* icalproperty_vanew_recurrenceid(struct icaltimetype v, ...);
-
-/* RELATED-TO */
-icalproperty* icalproperty_new_relatedto(const char* v);
-void icalproperty_set_relatedto(icalproperty* prop, const char* v);
-const char* icalproperty_get_relatedto(const icalproperty* prop);icalproperty* icalproperty_vanew_relatedto(const char* v, ...);
-
-/* RELCALID */
-icalproperty* icalproperty_new_relcalid(const char* v);
-void icalproperty_set_relcalid(icalproperty* prop, const char* v);
-const char* icalproperty_get_relcalid(const icalproperty* prop);icalproperty* icalproperty_vanew_relcalid(const char* v, ...);
-
-/* REPEAT */
-icalproperty* icalproperty_new_repeat(int v);
-void icalproperty_set_repeat(icalproperty* prop, int v);
-int icalproperty_get_repeat(const icalproperty* prop);icalproperty* icalproperty_vanew_repeat(int v, ...);
-
-/* REQUEST-STATUS */
-icalproperty* icalproperty_new_requeststatus(struct icalreqstattype v);
-void icalproperty_set_requeststatus(icalproperty* prop, struct icalreqstattype v);
-struct icalreqstattype icalproperty_get_requeststatus(const icalproperty* prop);icalproperty* icalproperty_vanew_requeststatus(struct icalreqstattype v, ...);
-
-/* RESOURCES */
-icalproperty* icalproperty_new_resources(const char* v);
-void icalproperty_set_resources(icalproperty* prop, const char* v);
-const char* icalproperty_get_resources(const icalproperty* prop);icalproperty* icalproperty_vanew_resources(const char* v, ...);
-
-/* RESTRICTION */
-icalproperty* icalproperty_new_restriction(const char* v);
-void icalproperty_set_restriction(icalproperty* prop, const char* v);
-const char* icalproperty_get_restriction(const icalproperty* prop);icalproperty* icalproperty_vanew_restriction(const char* v, ...);
-
-/* RRULE */
-icalproperty* icalproperty_new_rrule(struct icalrecurrencetype v);
-void icalproperty_set_rrule(icalproperty* prop, struct icalrecurrencetype v);
-struct icalrecurrencetype icalproperty_get_rrule(const icalproperty* prop);icalproperty* icalproperty_vanew_rrule(struct icalrecurrencetype v, ...);
-
-/* SCOPE */
-icalproperty* icalproperty_new_scope(const char* v);
-void icalproperty_set_scope(icalproperty* prop, const char* v);
-const char* icalproperty_get_scope(const icalproperty* prop);icalproperty* icalproperty_vanew_scope(const char* v, ...);
-
-/* SEQUENCE */
-icalproperty* icalproperty_new_sequence(int v);
-void icalproperty_set_sequence(icalproperty* prop, int v);
-int icalproperty_get_sequence(const icalproperty* prop);icalproperty* icalproperty_vanew_sequence(int v, ...);
-
-/* STATUS */
-icalproperty* icalproperty_new_status(enum icalproperty_status v);
-void icalproperty_set_status(icalproperty* prop, enum icalproperty_status v);
-enum icalproperty_status icalproperty_get_status(const icalproperty* prop);icalproperty* icalproperty_vanew_status(enum icalproperty_status v, ...);
-
-/* STORES-EXPANDED */
-icalproperty* icalproperty_new_storesexpanded(const char* v);
-void icalproperty_set_storesexpanded(icalproperty* prop, const char* v);
-const char* icalproperty_get_storesexpanded(const icalproperty* prop);icalproperty* icalproperty_vanew_storesexpanded(const char* v, ...);
-
-/* SUMMARY */
-icalproperty* icalproperty_new_summary(const char* v);
-void icalproperty_set_summary(icalproperty* prop, const char* v);
-const char* icalproperty_get_summary(const icalproperty* prop);icalproperty* icalproperty_vanew_summary(const char* v, ...);
-
-/* TARGET */
-icalproperty* icalproperty_new_target(const char* v);
-void icalproperty_set_target(icalproperty* prop, const char* v);
-const char* icalproperty_get_target(const icalproperty* prop);icalproperty* icalproperty_vanew_target(const char* v, ...);
-
-/* TRANSP */
-icalproperty* icalproperty_new_transp(enum icalproperty_transp v);
-void icalproperty_set_transp(icalproperty* prop, enum icalproperty_transp v);
-enum icalproperty_transp icalproperty_get_transp(const icalproperty* prop);icalproperty* icalproperty_vanew_transp(enum icalproperty_transp v, ...);
-
-/* TRIGGER */
-icalproperty* icalproperty_new_trigger(struct icaltriggertype v);
-void icalproperty_set_trigger(icalproperty* prop, struct icaltriggertype v);
-struct icaltriggertype icalproperty_get_trigger(const icalproperty* prop);icalproperty* icalproperty_vanew_trigger(struct icaltriggertype v, ...);
-
-/* TZID */
-icalproperty* icalproperty_new_tzid(const char* v);
-void icalproperty_set_tzid(icalproperty* prop, const char* v);
-const char* icalproperty_get_tzid(const icalproperty* prop);icalproperty* icalproperty_vanew_tzid(const char* v, ...);
-
-/* TZNAME */
-icalproperty* icalproperty_new_tzname(const char* v);
-void icalproperty_set_tzname(icalproperty* prop, const char* v);
-const char* icalproperty_get_tzname(const icalproperty* prop);icalproperty* icalproperty_vanew_tzname(const char* v, ...);
-
-/* TZOFFSETFROM */
-icalproperty* icalproperty_new_tzoffsetfrom(int v);
-void icalproperty_set_tzoffsetfrom(icalproperty* prop, int v);
-int icalproperty_get_tzoffsetfrom(const icalproperty* prop);icalproperty* icalproperty_vanew_tzoffsetfrom(int v, ...);
-
-/* TZOFFSETTO */
-icalproperty* icalproperty_new_tzoffsetto(int v);
-void icalproperty_set_tzoffsetto(icalproperty* prop, int v);
-int icalproperty_get_tzoffsetto(const icalproperty* prop);icalproperty* icalproperty_vanew_tzoffsetto(int v, ...);
-
-/* TZURL */
-icalproperty* icalproperty_new_tzurl(const char* v);
-void icalproperty_set_tzurl(icalproperty* prop, const char* v);
-const char* icalproperty_get_tzurl(const icalproperty* prop);icalproperty* icalproperty_vanew_tzurl(const char* v, ...);
-
-/* UID */
-icalproperty* icalproperty_new_uid(const char* v);
-void icalproperty_set_uid(icalproperty* prop, const char* v);
-const char* icalproperty_get_uid(const icalproperty* prop);icalproperty* icalproperty_vanew_uid(const char* v, ...);
-
-/* URL */
-icalproperty* icalproperty_new_url(const char* v);
-void icalproperty_set_url(icalproperty* prop, const char* v);
-const char* icalproperty_get_url(const icalproperty* prop);icalproperty* icalproperty_vanew_url(const char* v, ...);
-
-/* VERSION */
-icalproperty* icalproperty_new_version(const char* v);
-void icalproperty_set_version(icalproperty* prop, const char* v);
-const char* icalproperty_get_version(const icalproperty* prop);icalproperty* icalproperty_vanew_version(const char* v, ...);
-
-/* X */
-icalproperty* icalproperty_new_x(const char* v);
-void icalproperty_set_x(icalproperty* prop, const char* v);
-const char* icalproperty_get_x(const icalproperty* prop);icalproperty* icalproperty_vanew_x(const char* v, ...);
-
-/* X-LIC-CLASS */
-icalproperty* icalproperty_new_xlicclass(enum icalproperty_xlicclass v);
-void icalproperty_set_xlicclass(icalproperty* prop, enum icalproperty_xlicclass v);
-enum icalproperty_xlicclass icalproperty_get_xlicclass(const icalproperty* prop);icalproperty* icalproperty_vanew_xlicclass(enum icalproperty_xlicclass v, ...);
-
-/* X-LIC-CLUSTERCOUNT */
-icalproperty* icalproperty_new_xlicclustercount(const char* v);
-void icalproperty_set_xlicclustercount(icalproperty* prop, const char* v);
-const char* icalproperty_get_xlicclustercount(const icalproperty* prop);icalproperty* icalproperty_vanew_xlicclustercount(const char* v, ...);
-
-/* X-LIC-ERROR */
-icalproperty* icalproperty_new_xlicerror(const char* v);
-void icalproperty_set_xlicerror(icalproperty* prop, const char* v);
-const char* icalproperty_get_xlicerror(const icalproperty* prop);icalproperty* icalproperty_vanew_xlicerror(const char* v, ...);
-
-/* X-LIC-MIMECHARSET */
-icalproperty* icalproperty_new_xlicmimecharset(const char* v);
-void icalproperty_set_xlicmimecharset(icalproperty* prop, const char* v);
-const char* icalproperty_get_xlicmimecharset(const icalproperty* prop);icalproperty* icalproperty_vanew_xlicmimecharset(const char* v, ...);
-
-/* X-LIC-MIMECID */
-icalproperty* icalproperty_new_xlicmimecid(const char* v);
-void icalproperty_set_xlicmimecid(icalproperty* prop, const char* v);
-const char* icalproperty_get_xlicmimecid(const icalproperty* prop);icalproperty* icalproperty_vanew_xlicmimecid(const char* v, ...);
-
-/* X-LIC-MIMECONTENTTYPE */
-icalproperty* icalproperty_new_xlicmimecontenttype(const char* v);
-void icalproperty_set_xlicmimecontenttype(icalproperty* prop, const char* v);
-const char* icalproperty_get_xlicmimecontenttype(const icalproperty* prop);icalproperty* icalproperty_vanew_xlicmimecontenttype(const char* v, ...);
-
-/* X-LIC-MIMEENCODING */
-icalproperty* icalproperty_new_xlicmimeencoding(const char* v);
-void icalproperty_set_xlicmimeencoding(icalproperty* prop, const char* v);
-const char* icalproperty_get_xlicmimeencoding(const icalproperty* prop);icalproperty* icalproperty_vanew_xlicmimeencoding(const char* v, ...);
-
-/* X-LIC-MIMEFILENAME */
-icalproperty* icalproperty_new_xlicmimefilename(const char* v);
-void icalproperty_set_xlicmimefilename(icalproperty* prop, const char* v);
-const char* icalproperty_get_xlicmimefilename(const icalproperty* prop);icalproperty* icalproperty_vanew_xlicmimefilename(const char* v, ...);
-
-/* X-LIC-MIMEOPTINFO */
-icalproperty* icalproperty_new_xlicmimeoptinfo(const char* v);
-void icalproperty_set_xlicmimeoptinfo(icalproperty* prop, const char* v);
-const char* icalproperty_get_xlicmimeoptinfo(const icalproperty* prop);icalproperty* icalproperty_vanew_xlicmimeoptinfo(const char* v, ...);
-
-
-#endif /*ICALPROPERTY_H*/
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalproperty.h
- CREATOR: eric 20 March 1999
-
-
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icalparam.h
-
- ======================================================================*/
-
-
-#ifndef ICALPROPERTY_H
-#define ICALPROPERTY_H
-
-#include <time.h>
-#include <stdarg.h> /* for va_... */
-
-
-
-/* Actually in icalderivedproperty.h:
- typedef struct icalproperty_impl icalproperty; */
-
-
-icalproperty* icalproperty_new(icalproperty_kind kind);
-
-icalproperty* icalproperty_new_clone(icalproperty * prop);
-
-icalproperty* icalproperty_new_from_string(const char* str);
-
-const char* icalproperty_as_ical_string(icalproperty* prop);
-char* icalproperty_as_ical_string_r(icalproperty* prop);
-
-void icalproperty_free(icalproperty* prop);
-
-icalproperty_kind icalproperty_isa(icalproperty* property);
-int icalproperty_isa_property(void* property);
-
-void icalproperty_add_parameters(struct icalproperty_impl *prop,va_list args);
-void icalproperty_add_parameter(icalproperty* prop,icalparameter* parameter);
-void icalproperty_set_parameter(icalproperty* prop,icalparameter* parameter);
-void icalproperty_set_parameter_from_string(icalproperty* prop,
- const char* name, const char* value);
-const char* icalproperty_get_parameter_as_string(icalproperty* prop,
- const char* name);
-char* icalproperty_get_parameter_as_string_r(icalproperty* prop,
- const char* name);
-
-void icalproperty_remove_parameter(icalproperty* prop,
- icalparameter_kind kind);
-
-void icalproperty_remove_parameter_by_kind(icalproperty* prop,
- icalparameter_kind kind);
-
-void icalproperty_remove_parameter_by_name(icalproperty* prop,
- const char *name);
-
-void icalproperty_remove_parameter_by_ref(icalproperty* prop,
- icalparameter *param);
-
-
-
-int icalproperty_count_parameters(const icalproperty* prop);
-
-/* Iterate through the parameters */
-icalparameter* icalproperty_get_first_parameter(icalproperty* prop,
- icalparameter_kind kind);
-icalparameter* icalproperty_get_next_parameter(icalproperty* prop,
- icalparameter_kind kind);
-/* Access the value of the property */
-void icalproperty_set_value(icalproperty* prop, icalvalue* value);
-void icalproperty_set_value_from_string(icalproperty* prop,const char* value, const char* kind);
-
-icalvalue* icalproperty_get_value(const icalproperty* prop);
-const char* icalproperty_get_value_as_string(const icalproperty* prop);
-char* icalproperty_get_value_as_string_r(const icalproperty* prop);
-
-/* Deal with X properties */
-
-void icalproperty_set_x_name(icalproperty* prop, const char* name);
-const char* icalproperty_get_x_name(icalproperty* prop);
-
-/** Return the name of the property -- the type name converted to a
- * string, or the value of _get_x_name if the type is and X
- * property
- */
-const char* icalproperty_get_property_name (const icalproperty* prop);
-char* icalproperty_get_property_name_r(const icalproperty* prop);
-
-icalvalue_kind icalparameter_value_to_value_kind(icalparameter_value value);
-
-/* Convert kinds to string and get default value type */
-
-icalvalue_kind icalproperty_kind_to_value_kind(icalproperty_kind kind);
-icalproperty_kind icalproperty_value_kind_to_kind(icalvalue_kind kind);
-const char* icalproperty_kind_to_string(icalproperty_kind kind);
-icalproperty_kind icalproperty_string_to_kind(const char* string);
-
-/** Check validity of a specific icalproperty_kind **/
-int icalproperty_kind_is_valid(const icalproperty_kind kind);
-
-icalproperty_method icalproperty_string_to_method(const char* str);
-const char* icalproperty_method_to_string(icalproperty_method method);
-
-
-const char* icalproperty_enum_to_string(int e);
-char* icalproperty_enum_to_string_r(int e);
-int icalproperty_string_to_enum(const char* str);
-int icalproperty_kind_and_string_to_enum(const int kind, const char* str);
-
-const char* icalproperty_status_to_string(icalproperty_status);
-icalproperty_status icalproperty_string_to_status(const char* string);
-
-int icalproperty_enum_belongs_to_property(icalproperty_kind kind, int e);
-
-
-
-
-#endif /*ICALPROPERTY_H*/
-/*======================================================================
- FILE: pvl.h
- CREATOR: eric November, 1995
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
-======================================================================*/
-
-
-#ifndef __PVL_H__
-#define __PVL_H__
-
-typedef struct pvl_list_t* pvl_list;
-typedef struct pvl_elem_t* pvl_elem;
-
-/**
- * This type is private. Always use pvl_elem instead. The struct would
- * not even appear in this header except to make code in the USE_MACROS
- * blocks work
- */
-
-typedef struct pvl_elem_t
-{
- int MAGIC; /**< Magic Identifier */
- void *d; /**< Pointer to data user is storing */
- struct pvl_elem_t *next; /**< Next element */
- struct pvl_elem_t *prior; /**< Prior element */
-} pvl_elem_t;
-
-
-
-/**
- * This global is incremented for each call to pvl_new_element(); it gives each
- * list a unique identifer
- */
-
-extern int pvl_elem_count;
-extern int pvl_list_count;
-
-/* Create new lists or elements */
-pvl_elem pvl_new_element(void* d, pvl_elem next,pvl_elem prior);
-pvl_list pvl_newlist(void);
-void pvl_free(pvl_list);
-
-/* Add, remove, or get the head of the list */
-void pvl_unshift(pvl_list l,void *d);
-void* pvl_shift(pvl_list l);
-pvl_elem pvl_head(pvl_list);
-
-/* Add, remove or get the tail of the list */
-void pvl_push(pvl_list l,void *d);
-void* pvl_pop(pvl_list l);
-pvl_elem pvl_tail(pvl_list);
-
-/* Insert elements in random places */
-typedef int (*pvl_comparef)(void* a, void* b); /* a, b are of the data type*/
-void pvl_insert_ordered(pvl_list l,pvl_comparef f,void *d);
-void pvl_insert_after(pvl_list l,pvl_elem e,void *d);
-void pvl_insert_before(pvl_list l,pvl_elem e,void *d);
-
-/* Remove an element, or clear the entire list */
-void* pvl_remove(pvl_list,pvl_elem); /* Remove element, return data */
-void pvl_clear(pvl_list); /* Remove all elements, de-allocate all data */
-
-int pvl_count(pvl_list);
-
-/* Navagate the list */
-pvl_elem pvl_next(pvl_elem e);
-pvl_elem pvl_prior(pvl_elem e);
-
-/* get the data in the list */
-#ifndef PVL_USE_MACROS
-void* pvl_data(pvl_elem);
-#else
-#define pvl_data(x) x==0 ? 0 : ((struct pvl_elem_t *)x)->d;
-#endif
-
-
-/* Find an element for which a function returns true */
-typedef int (*pvl_findf)(void* a, void* b); /*a is list elem, b is other data*/
-pvl_elem pvl_find(pvl_list l,pvl_findf f,void* v);
-pvl_elem pvl_find_next(pvl_list l,pvl_findf f,void* v);
-
-/**
- * Pass each element in the list to a function
- * a is list elem, b is other data
- */
-typedef void (*pvl_applyf)(void* a, void* b);
-void pvl_apply(pvl_list l,pvl_applyf f, void *v);
-
-
-#endif /* __PVL_H__ */
-
-
-
-
-
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
-/*======================================================================
- FILE: icalarray.h
- CREATOR: Damon Chaplin 07 March 2001
-
-
-
- (C) COPYRIGHT 2001, Ximian, Inc.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
-
-======================================================================*/
-
-
-#ifndef ICALARRAY_H
-#define ICALARRAY_H
-
-/** @file icalarray.h
- *
- * @brief An array of arbitrarily-sized elements which grows
- * dynamically as elements are added.
- */
-
-typedef struct _icalarray icalarray;
-struct _icalarray {
- unsigned int element_size;
- unsigned int increment_size;
- unsigned int num_elements;
- unsigned int space_allocated;
- void **chunks;
-};
-
-
-
-icalarray *icalarray_new (int element_size,
- int increment_size);
-icalarray *icalarray_copy (icalarray *array);
-void icalarray_free (icalarray *array);
-
-void icalarray_append (icalarray *array,
- const void *element);
-void icalarray_remove_element_at (icalarray *array,
- int position);
-
-void *icalarray_element_at (icalarray *array,
- int position);
-
-void icalarray_sort (icalarray *array,
- int (*compare) (const void *, const void *));
-
-
-#endif /* ICALARRAY_H */
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalcomponent.h
- CREATOR: eric 20 March 1999
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icalcomponent.h
-
-======================================================================*/
-
-#ifndef ICALCOMPONENT_H
-#define ICALCOMPONENT_H
-
-
-typedef struct icalcomponent_impl icalcomponent;
-
-#ifndef ICALTIMEZONE_DEFINED
-#define ICALTIMEZONE_DEFINED
-/** @brief An opaque struct representing a timezone.
- * We declare this here to avoid a circular dependancy.
- */
-typedef struct _icaltimezone icaltimezone;
-#endif
-
-
-/* This is exposed so that callers will not have to allocate and
- deallocate iterators. Pretend that you can't see it. */
-typedef struct icalcompiter
-{
- icalcomponent_kind kind;
- pvl_elem iter;
-
-} icalcompiter;
-
-icalcomponent* icalcomponent_new(icalcomponent_kind kind);
-icalcomponent* icalcomponent_new_clone(icalcomponent* component);
-icalcomponent* icalcomponent_new_from_string(const char* str);
-icalcomponent* icalcomponent_vanew(icalcomponent_kind kind, ...);
-icalcomponent* icalcomponent_new_x(const char* x_name);
-void icalcomponent_free(icalcomponent* component);
-
-char* icalcomponent_as_ical_string(icalcomponent* component);
-char* icalcomponent_as_ical_string_r(icalcomponent* component);
-
-int icalcomponent_is_valid(icalcomponent* component);
-
-icalcomponent_kind icalcomponent_isa(const icalcomponent* component);
-
-int icalcomponent_isa_component (void* component);
-
-/*
- * Working with properties
- */
-
-void icalcomponent_add_property(icalcomponent* component,
- icalproperty* property);
-
-void icalcomponent_remove_property(icalcomponent* component,
- icalproperty* property);
-
-int icalcomponent_count_properties(icalcomponent* component,
- icalproperty_kind kind);
-
-/* Iterate through the properties */
-icalproperty* icalcomponent_get_current_property(icalcomponent* component);
-
-icalproperty* icalcomponent_get_first_property(icalcomponent* component,
- icalproperty_kind kind);
-icalproperty* icalcomponent_get_next_property(icalcomponent* component,
- icalproperty_kind kind);
-
-
-/*
- * Working with components
- */
-
-
-/* Return the first VEVENT, VTODO or VJOURNAL sub-component of cop, or
- comp if it is one of those types */
-
-icalcomponent* icalcomponent_get_inner(icalcomponent* comp);
-
-
-void icalcomponent_add_component(icalcomponent* parent,
- icalcomponent* child);
-
-void icalcomponent_remove_component(icalcomponent* parent,
- icalcomponent* child);
-
-int icalcomponent_count_components(icalcomponent* component,
- icalcomponent_kind kind);
-
-/**
- This takes 2 VCALENDAR components and merges the second one into the first,
- resolving any problems with conflicting TZIDs. comp_to_merge will no
- longer exist after calling this function. */
-void icalcomponent_merge_component(icalcomponent* comp,
- icalcomponent* comp_to_merge);
-
-
-/* Iteration Routines. There are two forms of iterators, internal and
-external. The internal ones came first, and are almost completely
-sufficient, but they fail badly when you want to construct a loop that
-removes components from the container.*/
-
-
-/* Iterate through components */
-icalcomponent* icalcomponent_get_current_component (icalcomponent* component);
-
-icalcomponent* icalcomponent_get_first_component(icalcomponent* component,
- icalcomponent_kind kind);
-icalcomponent* icalcomponent_get_next_component(icalcomponent* component,
- icalcomponent_kind kind);
-
-/* Using external iterators */
-icalcompiter icalcomponent_begin_component(icalcomponent* component,
- icalcomponent_kind kind);
-icalcompiter icalcomponent_end_component(icalcomponent* component,
- icalcomponent_kind kind);
-icalcomponent* icalcompiter_next(icalcompiter* i);
-icalcomponent* icalcompiter_prior(icalcompiter* i);
-icalcomponent* icalcompiter_deref(icalcompiter* i);
-
-
-/* Working with embedded error properties */
-
-
-/* Check the component against itip rules and insert error properties*/
-/* Working with embedded error properties */
-int icalcomponent_check_restrictions(icalcomponent* comp);
-
-/** Count embedded errors. */
-int icalcomponent_count_errors(icalcomponent* component);
-
-/** Remove all X-LIC-ERROR properties*/
-void icalcomponent_strip_errors(icalcomponent* component);
-
-/** Convert some X-LIC-ERROR properties into RETURN-STATUS properties*/
-void icalcomponent_convert_errors(icalcomponent* component);
-
-/* Internal operations. They are private, and you should not be using them. */
-icalcomponent* icalcomponent_get_parent(icalcomponent* component);
-void icalcomponent_set_parent(icalcomponent* component,
- icalcomponent* parent);
-
-/* Kind conversion routines */
-
-int icalcomponent_kind_is_valid(const icalcomponent_kind kind);
-
-icalcomponent_kind icalcomponent_string_to_kind(const char* string);
-
-const char* icalcomponent_kind_to_string(icalcomponent_kind kind);
-
-
-/************* Derived class methods. ****************************
-
-If the code was in an OO language, the remaining routines would be
-members of classes derived from icalcomponent. Don't call them on the
-wrong component subtypes. */
-
-/** For VCOMPONENT: Return a reference to the first VEVENT, VTODO or
- VJOURNAL */
-icalcomponent* icalcomponent_get_first_real_component(icalcomponent *c);
-
-/** For VEVENT, VTODO, VJOURNAL and VTIMEZONE: report the start and end
- times of an event in UTC */
-struct icaltime_span icalcomponent_get_span(icalcomponent* comp);
-
-/******************** Convienience routines **********************/
-
-void icalcomponent_set_dtstart(icalcomponent* comp, struct icaltimetype v);
-struct icaltimetype icalcomponent_get_dtstart(icalcomponent* comp);
-
-/* For the icalcomponent routines only, dtend and duration are tied
- together. If you call the set routine for one and the other exists,
- the routine will calculate the change to the other. That is, if
- there is a DTEND and you call set_duration, the routine will modify
- DTEND to be the sum of DTSTART and the duration. If you call a get
- routine for one and the other exists, the routine will calculate
- the return value. If you call a set routine and neither exists, the
- routine will create the apcompriate comperty */
-
-
-struct icaltimetype icalcomponent_get_dtend(icalcomponent* comp);
-void icalcomponent_set_dtend(icalcomponent* comp, struct icaltimetype v);
-
-struct icaltimetype icalcomponent_get_due(icalcomponent* comp);
-void icalcomponent_set_due(icalcomponent* comp, struct icaltimetype v);
-
-void icalcomponent_set_duration(icalcomponent* comp,
- struct icaldurationtype v);
-struct icaldurationtype icalcomponent_get_duration(icalcomponent* comp);
-
-void icalcomponent_set_method(icalcomponent* comp, icalproperty_method method);
-icalproperty_method icalcomponent_get_method(icalcomponent* comp);
-
-struct icaltimetype icalcomponent_get_dtstamp(icalcomponent* comp);
-void icalcomponent_set_dtstamp(icalcomponent* comp, struct icaltimetype v);
-
-void icalcomponent_set_summary(icalcomponent* comp, const char* v);
-const char* icalcomponent_get_summary(icalcomponent* comp);
-
-void icalcomponent_set_comment(icalcomponent* comp, const char* v);
-const char* icalcomponent_get_comment(icalcomponent* comp);
-
-void icalcomponent_set_uid(icalcomponent* comp, const char* v);
-const char* icalcomponent_get_uid(icalcomponent* comp);
-
-void icalcomponent_set_relcalid(icalcomponent* comp, const char* v);
-const char* icalcomponent_get_relcalid(icalcomponent* comp);
-
-void icalcomponent_set_recurrenceid(icalcomponent* comp,
- struct icaltimetype v);
-struct icaltimetype icalcomponent_get_recurrenceid(icalcomponent* comp);
-
-void icalcomponent_set_description(icalcomponent* comp, const char* v);
-const char* icalcomponent_get_description(icalcomponent* comp);
-
-void icalcomponent_set_location(icalcomponent* comp, const char* v);
-const char* icalcomponent_get_location(icalcomponent* comp);
-
-void icalcomponent_set_sequence(icalcomponent* comp, int v);
-int icalcomponent_get_sequence(icalcomponent* comp);
-
-void icalcomponent_set_status(icalcomponent* comp, enum icalproperty_status v);
-enum icalproperty_status icalcomponent_get_status(icalcomponent* comp);
-
-
-/** Calls the given function for each TZID parameter found in the
- component, and any subcomponents. */
-void icalcomponent_foreach_tzid(icalcomponent* comp,
- void (*callback)(icalparameter *param, void *data),
- void *callback_data);
-
-/** Returns the icaltimezone in the component corresponding to the
- TZID, or NULL if it can't be found. */
-icaltimezone* icalcomponent_get_timezone(icalcomponent* comp,
- const char *tzid);
-
-int icalproperty_recurrence_is_excluded(icalcomponent *comp,
- struct icaltimetype *dtstart,
- struct icaltimetype *recurtime);
-
-void icalcomponent_foreach_recurrence(icalcomponent* comp,
- struct icaltimetype start,
- struct icaltimetype end,
- void (*callback)(icalcomponent *comp,
- struct icaltime_span *span,
- void *data),
- void *callback_data);
-
-
-/*************** Type Specific routines ***************/
-
-icalcomponent* icalcomponent_new_vcalendar(void);
-icalcomponent* icalcomponent_new_vevent(void);
-icalcomponent* icalcomponent_new_vtodo(void);
-icalcomponent* icalcomponent_new_vjournal(void);
-icalcomponent* icalcomponent_new_valarm(void);
-icalcomponent* icalcomponent_new_vfreebusy(void);
-icalcomponent* icalcomponent_new_vtimezone(void);
-icalcomponent* icalcomponent_new_xstandard(void);
-icalcomponent* icalcomponent_new_xdaylight(void);
-icalcomponent* icalcomponent_new_vagenda(void);
-icalcomponent* icalcomponent_new_vquery(void);
-
-#endif /* !ICALCOMPONENT_H */
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
-/*======================================================================
- FILE: icaltimezone.h
- CREATOR: Damon Chaplin 15 March 2001
-
-
-
- (C) COPYRIGHT 2001, Damon Chaplin
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
-
-======================================================================*/
-/**
- * @file icaltimezone.h
- * @brief timezone handling routines
- */
-
-#ifndef ICALTIMEZONE_H
-#define ICALTIMEZONE_H
-
-#include <stdio.h> /* For FILE* */
-
-
-#ifndef ICALTIMEZONE_DEFINED
-#define ICALTIMEZONE_DEFINED
-/** @brief An opaque struct representing a timezone.
- * We declare this here to avoid a circular dependancy.
- */
-typedef struct _icaltimezone icaltimezone;
-#endif
-
-/**
- * @par Creating/Destroying individual icaltimezones.
- */
-
-/** Creates a new icaltimezone. */
-icaltimezone *icaltimezone_new (void);
-icaltimezone *icaltimezone_copy (icaltimezone *originalzone);
-
-/** Frees all memory used for the icaltimezone. Set free_struct to free the
- icaltimezone struct as well. */
-void icaltimezone_free (icaltimezone *zone,
- int free_struct);
-
-/** Sets the prefix to be used for tzid's generated from system tzdata.
- Must be globally unique (such as a domain name owned by the developer
- of the calling application), and begin and end with forward slashes.
- Do not change or de-allocate the string buffer after calling this.
- */
-void icaltimezone_set_tzid_prefix(const char *new_prefix);
-
-/**
- * @par Accessing timezones.
- */
-
-/** Free any builtin timezone information **/
-void icaltimezone_free_builtin_timezones(void);
-
-/** Returns the array of builtin icaltimezones. */
-icalarray* icaltimezone_get_builtin_timezones (void);
-
-/** Returns a single builtin timezone, given its Olson city name. */
-icaltimezone* icaltimezone_get_builtin_timezone (const char *location);
-
-/** Returns a single builtin timezone, given its offset. */
-icaltimezone* icaltimezone_get_builtin_timezone_from_offset (int offset, const char *tzname);
-
-/** Returns a single builtin timezone, given its TZID. */
-icaltimezone* icaltimezone_get_builtin_timezone_from_tzid (const char *tzid);
-
-/** Returns the UTC timezone. */
-icaltimezone* icaltimezone_get_utc_timezone (void);
-
-/** Returns the TZID of a timezone. */
-const char* icaltimezone_get_tzid (icaltimezone *zone);
-
-/** Returns the city name of a timezone. */
-const char* icaltimezone_get_location (icaltimezone *zone);
-
-/** Returns the TZNAME properties used in the latest STANDARD and DAYLIGHT
- components. If they are the same it will return just one, e.g. "LMT".
- If they are different it will format them like "EST/EDT". Note that this
- may also return NULL. */
-const char* icaltimezone_get_tznames (icaltimezone *zone);
-
-/** Returns the latitude of a builtin timezone. */
-double icaltimezone_get_latitude (icaltimezone *zone);
-
-/** Returns the longitude of a builtin timezone. */
-double icaltimezone_get_longitude (icaltimezone *zone);
-
-/** Returns the VTIMEZONE component of a timezone. */
-icalcomponent* icaltimezone_get_component (icaltimezone *zone);
-
-/** Sets the VTIMEZONE component of an icaltimezone, initializing the tzid,
- location & tzname fields. It returns 1 on success or 0 on failure, i.e.
- no TZID was found. */
-int icaltimezone_set_component (icaltimezone *zone,
- icalcomponent *comp);
-
-const char* icaltimezone_get_display_name (icaltimezone *zone);
-
-/**
- * @par Converting times between timezones.
- */
-
-void icaltimezone_convert_time (struct icaltimetype *tt,
- icaltimezone *from_zone,
- icaltimezone *to_zone);
-
-
-/**
- * @par Getting offsets from UTC.
- */
-
-/** Calculates the UTC offset of a given local time in the given
- timezone. It is the number of seconds to add to UTC to get local
- time. The is_daylight flag is set to 1 if the time is in
- daylight-savings time. */
-int icaltimezone_get_utc_offset (icaltimezone *zone,
- struct icaltimetype *tt,
- int *is_daylight);
-
-/** Calculates the UTC offset of a given UTC time in the given
- timezone. It is the number of seconds to add to UTC to get local
- time. The is_daylight flag is set to 1 if the time is in
- daylight-savings time. */
-int icaltimezone_get_utc_offset_of_utc_time (icaltimezone *zone,
- struct icaltimetype *tt,
- int *is_daylight);
-
-
-
-/*
- * Handling arrays of timezones. Mainly for internal use.
- */
-icalarray* icaltimezone_array_new (void);
-
-void icaltimezone_array_append_from_vtimezone (icalarray *timezones,
- icalcomponent *child);
-void icaltimezone_array_free (icalarray *timezones);
-
-
-/*
- * @par Handling the default location the timezone files
- */
-
-/** Set the directory to look for the zonefiles */
-void set_zone_directory(char *path);
-
-/** Free memory dedicated to the zonefile directory */
-void free_zone_directory(void);
-void icaltimezone_release_zone_tab(void);
-
-/*
- * @par Debugging Output.
- */
-
-/** Dumps information about changes in the timezone up to and including
- max_year. */
-int icaltimezone_dump_changes (icaltimezone *zone,
- int max_year,
- FILE *fp);
-
-#endif /* ICALTIMEZONE_H */
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalparser.h
- CREATOR: eric 20 April 1999
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icalparser.h
-
-======================================================================*/
-
-
-#ifndef ICALPARSER_H
-#define ICALPARSER_H
-
-
-#include <stdio.h> /* For FILE* */
-
-typedef struct icalparser_impl icalparser;
-
-
-/**
- * @file icalparser.h
- * @brief Line-oriented parsing.
- *
- * Create a new parser via icalparse_new_parser, then add lines one at
- * a time with icalparse_add_line(). icalparser_add_line() will return
- * non-zero when it has finished with a component.
- */
-
-typedef enum icalparser_state {
- ICALPARSER_ERROR,
- ICALPARSER_SUCCESS,
- ICALPARSER_BEGIN_COMP,
- ICALPARSER_END_COMP,
- ICALPARSER_IN_PROGRESS
-} icalparser_state;
-
-icalparser* icalparser_new(void);
-icalcomponent* icalparser_add_line(icalparser* parser, char* str );
-icalcomponent* icalparser_clean(icalparser* parser);
-icalparser_state icalparser_get_state(icalparser* parser);
-void icalparser_free(icalparser* parser);
-
-
-/**
- * Message oriented parsing. icalparser_parse takes a string that
- * holds the text ( in RFC 2445 format ) and returns a pointer to an
- * icalcomponent. The caller owns the memory. line_gen_func is a
- * pointer to a function that returns one content line per invocation
- */
-
-icalcomponent* icalparser_parse(icalparser *parser,
- char* (*line_gen_func)(char *s, size_t size, void *d));
-
-/**
- Set the data that icalparser_parse will give to the line_gen_func
- as the parameter 'd'
- */
-void icalparser_set_gen_data(icalparser* parser, void* data);
-
-
-icalcomponent* icalparser_parse_string(const char* str);
-
-
-/***********************************************************************
- * Parser support functions
- ***********************************************************************/
-
-/** Use the flex/bison parser to turn a string into a value type */
-icalvalue* icalparser_parse_value(icalvalue_kind kind,
- const char* str, icalcomponent** errors);
-
-/** Given a line generator function, return a single iCal content line.*/
-char* icalparser_get_line(icalparser* parser, char* (*line_gen_func)(char *s, size_t size, void *d));
-
-char* icalparser_string_line_generator(char *out, size_t buf_size, void *d);
-
-#endif /* !ICALPARSE_H */
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalmemory.h
- CREATOR: eric 30 June 1999
-
-
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Initial Developer of the Original Code is Eric Busboom
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-======================================================================*/
-
-#ifndef ICALMEMORY_H
-#define ICALMEMORY_H
-
-#ifndef WIN32
-#include <sys/types.h> /* for size_t */
-#else
-#include <stddef.h>
-#endif
-
-/* Tmp buffers are managed by ical. References can be returned to the
- caller, although the caller will not own the memory. */
-
-void* icalmemory_tmp_buffer(size_t size);
-char* icalmemory_tmp_copy(const char* str);
-
-/** Add an externally allocated buffer to the ring. */
-void icalmemory_add_tmp_buffer(void*);
-
-
-/** Free all memory used in the ring */
-void icalmemory_free_ring(void);
-
-/* Non-tmp buffers must be freed. These are mostly wrappers around
- * malloc, etc, but are used so the caller can change the memory
- * allocators in a future version of the library */
-
-void* icalmemory_new_buffer(size_t size);
-void* icalmemory_resize_buffer(void* buf, size_t size);
-void icalmemory_free_buffer(void* buf);
-
-/**
- icalmemory_append_string will copy the string 'string' to the
- buffer 'buf' starting at position 'pos', reallocing 'buf' if it is
- too small. 'buf_size' is the size of 'buf' and will be changed if
- 'buf' is reallocated. 'pos' will point to the last byte of the new
- string in 'buf', usually a '\0' */
-
-/* THESE ROUTINES CAN NOT BE USED ON TMP BUFFERS. Only use them on
- normally allocated memory, or on buffers created from
- icalmemory_new_buffer, never with buffers created by
- icalmemory_tmp_buffer. If icalmemory_append_string has to resize a
- buffer on the ring, the ring will loose track of it an you will
- have memory problems. */
-
-void icalmemory_append_string(char** buf, char** pos, size_t* buf_size,
- const char* string);
-
-/** icalmemory_append_char is similar, but is appends a character instead of a string */
-void icalmemory_append_char(char** buf, char** pos, size_t* buf_size,
- char ch);
-
-/** A wrapper around strdup. Partly to trap calls to strdup, partly
- because in -ansi, gcc on Red Hat claims that strdup is undeclared */
-char* icalmemory_strdup(const char *s);
-
-#endif /* !ICALMEMORY_H */
-
-
-
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalerror.h
- CREATOR: eric 09 May 1999
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icalerror.h
-
-======================================================================*/
-
-
-#ifndef ICALERROR_H
-#define ICALERROR_H
-
-#include <assert.h>
-#include <stdio.h> /* For icalerror_warn() */
-
-
-#ifdef HAVE_CONFIG_H
-#endif
-
-#define ICAL_SETERROR_ISFUNC
-
-
-/** This routine is called before any error is triggered. It is called
- by icalerror_set_errno, so it does not appear in all of the macros
- below */
-void icalerror_stop_here(void);
-
-void icalerror_crash_here(void);
-
-typedef enum icalerrorenum {
- ICAL_NO_ERROR, /* icalerrno may not be initialized - put it first so and pray that the compiler initialize things to zero */
- ICAL_BADARG_ERROR,
- ICAL_NEWFAILED_ERROR,
- ICAL_ALLOCATION_ERROR,
- ICAL_MALFORMEDDATA_ERROR,
- ICAL_PARSE_ERROR,
- ICAL_INTERNAL_ERROR, /* Like assert --internal consist. prob */
- ICAL_FILE_ERROR,
- ICAL_USAGE_ERROR,
- ICAL_UNIMPLEMENTED_ERROR,
- ICAL_UNKNOWN_ERROR /* Used for problems in input to icalerror_strerror()*/
-
-} icalerrorenum;
-
-icalerrorenum * icalerrno_return(void);
-#define icalerrno (*(icalerrno_return()))
-
-/*#cmakedefine LIBICAL_STATIC 1*/
-
-/** If true, libicl aborts after a call to icalerror_set_error
- *
- * @warning NOT THREAD SAFE -- recommended that you do not change
- * this in a multithreaded program.
- */
-#ifdef _MSC_VER
- #if defined(LIBICAL_STATIC)
- #define LIBICAL_EXPORT extern
- #elif defined(BUILD_LIBICALDLL)
- #define LIBICAL_EXPORT __declspec(dllexport)
- #else
- #define LIBICAL_EXPORT __declspec(dllimport)
- #endif
-#else
- #define LIBICAL_EXPORT extern
-#endif
-
-LIBICAL_EXPORT int icalerror_errors_are_fatal;
-
-/* Warning messages */
-
-#ifdef __GNUC__ca
-#define icalerror_warn(message) {fprintf(stderr,"%s(), %s:%d: %s\n",__FUNCTION__,__FILE__,__LINE__,message);}
-#else /* __GNU_C__ */
-#define icalerror_warn(message) {fprintf(stderr,"%s:%d: %s\n",__FILE__,__LINE__,message);}
-#endif /* __GNU_C__ */
-
-
-void icalerror_clear_errno(void);
-void _icalerror_set_errno(icalerrorenum);
-
-/* Make an individual error fatal or non-fatal. */
-typedef enum icalerrorstate {
- ICAL_ERROR_FATAL, /* Not fata */
- ICAL_ERROR_NONFATAL, /* Fatal */
- ICAL_ERROR_DEFAULT, /* Use the value of icalerror_errors_are_fatal*/
- ICAL_ERROR_UNKNOWN /* Asked state for an unknown error type */
-} icalerrorstate ;
-
-const char* icalerror_strerror(icalerrorenum e);
-const char* icalerror_perror(void);
-void ical_bt(void);
-void icalerror_set_error_state( icalerrorenum error, icalerrorstate);
-icalerrorstate icalerror_get_error_state( icalerrorenum error);
-
-#ifndef ICAL_SETERROR_ISFUNC
-#define icalerror_set_errno(x) \
-icalerrno = x; \
-if(icalerror_get_error_state(x)==ICAL_ERROR_FATAL || \
- (icalerror_get_error_state(x)==ICAL_ERROR_DEFAULT && \
- icalerror_errors_are_fatal == 1 )){ \
- icalerror_warn(icalerror_strerror(x)); \
- ical_bt(); \
- assert(0); \
-} }
-#else
-void icalerror_set_errno(icalerrorenum x);
-#endif
-
-#if !defined(ICAL_ERRORS_ARE_FATAL)
-#define ICAL_ERRORS_ARE_FATAL 0
-#endif
-
-#if ICAL_ERRORS_ARE_FATAL == 1
-#undef NDEBUG
-#endif
-
-#define icalerror_check_value_type(value,type);
-#define icalerror_check_property_type(value,type);
-#define icalerror_check_parameter_type(value,type);
-#define icalerror_check_component_type(value,type);
-
-/* Assert with a message */
-#if ICAL_ERRORS_ARE_FATAL == 1
-
-#ifdef __GNUC__
-#define icalerror_assert(test,message) if(!(test)){fprintf(stderr,"%s(), %s:%d: %s\n",__FUNCTION__,__FILE__,__LINE__,message);icalerror_stop_here(); abort();}
-#else /*__GNUC__*/
-#define icalerror_assert(test,message) if(!(test)){fprintf(stderr,"%s:%d: %s\n",__FILE__,__LINE__,message);icalerror_stop_here(); abort();}
-#endif /*__GNUC__*/
-
-#else /* ICAL_ERRORS_ARE_FATAL */
-#define icalerror_assert(test,message)
-#endif /* ICAL_ERRORS_ARE_FATAL */
-
-/* Check & abort if check fails */
-#define icalerror_check_arg(test,arg) if(!(test)) { icalerror_set_errno(ICAL_BADARG_ERROR); }
-
-/* Check & return void if check fails*/
-#define icalerror_check_arg_rv(test,arg) if(!(test)) {icalerror_set_errno(ICAL_BADARG_ERROR); return; }
-
-/* Check & return 0 if check fails*/
-#define icalerror_check_arg_rz(test,arg) if(!(test)) { icalerror_set_errno(ICAL_BADARG_ERROR); return 0;}
-
-/* Check & return an error if check fails*/
-#define icalerror_check_arg_re(test,arg,error) if(!(test)) { icalerror_stop_here(); assert(0); return error;}
-
-/* Check & return something*/
-#define icalerror_check_arg_rx(test,arg,x) if(!(test)) { icalerror_set_errno(ICAL_BADARG_ERROR); return x;}
-
-
-
-/* String interfaces to set an error to NONFATAL and restore it to its
- original value */
-
-icalerrorstate icalerror_supress(const char* error);
-void icalerror_restore(const char* error, icalerrorstate es);
-
-
-#endif /* !ICALERROR_H */
-
-
-
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalrestriction.h
- CREATOR: eric 24 April 1999
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icalrestriction.h
-
- Contributions from:
- Graham Davison (g.m.davison@computer.org)
-
-
-======================================================================*/
-
-
-#ifndef ICALRESTRICTION_H
-#define ICALRESTRICTION_H
-
-/* These must stay in this order for icalrestriction_compare to work */
-typedef enum icalrestriction_kind {
- ICAL_RESTRICTION_NONE=0, /* 0 */
- ICAL_RESTRICTION_ZERO, /* 1 */
- ICAL_RESTRICTION_ONE, /* 2 */
- ICAL_RESTRICTION_ZEROPLUS, /* 3 */
- ICAL_RESTRICTION_ONEPLUS, /* 4 */
- ICAL_RESTRICTION_ZEROORONE, /* 5 */
- ICAL_RESTRICTION_ONEEXCLUSIVE, /* 6 */
- ICAL_RESTRICTION_ONEMUTUAL, /* 7 */
- ICAL_RESTRICTION_UNKNOWN /* 8 */
-} icalrestriction_kind;
-
-int
-icalrestriction_compare(icalrestriction_kind restr, int count);
-
-
-int
-icalrestriction_is_parameter_allowed(icalproperty_kind property,
- icalparameter_kind parameter);
-
-int icalrestriction_check(icalcomponent* comp);
-
-
-#endif /* !ICALRESTRICTION_H */
-
-
-
-/* -*- Mode: C -*-
- ======================================================================
- FILE: sspm.h Mime Parser
- CREATOR: eric 25 June 2000
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- The contents of this file are subject to the Mozilla Public License
- Version 1.0 (the "License"); you may not use this file except in
- compliance with the License. You may obtain a copy of the License at
- http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS IS"
- basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
- the License for the specific language governing rights and
- limitations under the License.
-
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Initial Developer of the Original Code is Eric Busboom
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
- ======================================================================*/
-
-#ifndef SSPM_H
-#define SSPM_H
-
-enum sspm_major_type {
- SSPM_NO_MAJOR_TYPE,
- SSPM_TEXT_MAJOR_TYPE,
- SSPM_IMAGE_MAJOR_TYPE,
- SSPM_AUDIO_MAJOR_TYPE,
- SSPM_VIDEO_MAJOR_TYPE,
- SSPM_APPLICATION_MAJOR_TYPE,
- SSPM_MULTIPART_MAJOR_TYPE,
- SSPM_MESSAGE_MAJOR_TYPE,
- SSPM_UNKNOWN_MAJOR_TYPE
-};
-
-enum sspm_minor_type {
- SSPM_NO_MINOR_TYPE,
- SSPM_ANY_MINOR_TYPE,
- SSPM_PLAIN_MINOR_TYPE,
- SSPM_RFC822_MINOR_TYPE,
- SSPM_DIGEST_MINOR_TYPE,
- SSPM_CALENDAR_MINOR_TYPE,
- SSPM_MIXED_MINOR_TYPE,
- SSPM_RELATED_MINOR_TYPE,
- SSPM_ALTERNATIVE_MINOR_TYPE,
- SSPM_PARALLEL_MINOR_TYPE,
- SSPM_UNKNOWN_MINOR_TYPE
-};
-
-enum sspm_encoding {
- SSPM_NO_ENCODING,
- SSPM_QUOTED_PRINTABLE_ENCODING,
- SSPM_8BIT_ENCODING,
- SSPM_7BIT_ENCODING,
- SSPM_BINARY_ENCODING,
- SSPM_BASE64_ENCODING,
- SSPM_UNKNOWN_ENCODING
-};
-
-enum sspm_error{
- SSPM_NO_ERROR,
- SSPM_UNEXPECTED_BOUNDARY_ERROR,
- SSPM_WRONG_BOUNDARY_ERROR,
- SSPM_NO_BOUNDARY_ERROR,
- SSPM_NO_HEADER_ERROR,
- SSPM_MALFORMED_HEADER_ERROR
-};
-
-
-struct sspm_header
-{
- int def;
- char* boundary;
- enum sspm_major_type major;
- enum sspm_minor_type minor;
- char *minor_text;
- char ** content_type_params;
- char* charset;
- enum sspm_encoding encoding;
- char* filename;
- char* content_id;
- enum sspm_error error;
- char* error_text;
-};
-
-struct sspm_part {
- struct sspm_header header;
- int level;
- size_t data_size;
- void *data;
-};
-
-struct sspm_action_map {
- enum sspm_major_type major;
- enum sspm_minor_type minor;
- void* (*new_part)(void);
- void (*add_line)(void *part, struct sspm_header *header,
- const char* line, size_t size);
- void* (*end_part)(void* part);
- void (*free_part)(void *part);
-};
-
-const char* sspm_major_type_string(enum sspm_major_type type);
-const char* sspm_minor_type_string(enum sspm_minor_type type);
-const char* sspm_encoding_string(enum sspm_encoding type);
-
-int sspm_parse_mime(struct sspm_part *parts,
- size_t max_parts,
- const struct sspm_action_map *actions,
- char* (*get_string)(char *s, size_t size, void* data),
- void *get_string_data,
- struct sspm_header *first_header
- );
-
-void sspm_free_parts(struct sspm_part *parts, size_t max_parts);
-
-char *decode_quoted_printable(char *dest,
- char *src,
- size_t *size);
-char *decode_base64(char *dest,
- char *src,
- size_t *size);
-
-
-int sspm_write_mime(struct sspm_part *parts,size_t num_parts,
- char **output_string, const char* header);
-
-#endif /*SSPM_H*/
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalmime.h
- CREATOR: eric 26 July 2000
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
-======================================================================*/
-
-#ifndef ICALMIME_H
-#define ICALMIME_H
-
-
-icalcomponent* icalmime_parse( char* (*line_gen_func)(char *s, size_t size,
- void *d),
- void *data);
-
-/* The inverse of icalmime_parse, not implemented yet. Use sspm.h directly. */
-char* icalmime_as_mime_string(char* component);
-
-
-
-#endif /* !ICALMIME_H */
-
-
-
-/* -*- Mode: C -*-
- ======================================================================
- FILE: icallangbind.h
- CREATOR: eric 25 jan 2001
-
- DESCRIPTION:
-
-
- (C) COPYRIGHT 1999 Eric Busboom
- http://www.softwarestudio.org
-
- This package is free software and is provided "as is" without
- express or implied warranty. It may be used, redistributed and/or
- modified under the same terms as perl itself. ( Either the Artistic
- License or the GPL. )
-
- ======================================================================*/
-
-#ifndef __ICALLANGBIND_H__
-#define __ICALLANGBIND_H__
-
-int* icallangbind_new_array(int size);
-void icallangbind_free_array(int* array);
-int icallangbind_access_array(int* array, int index);
-icalproperty* icallangbind_get_property(icalcomponent *c, int n, const char* prop);
-const char* icallangbind_get_property_val(icalproperty* p);
-const char* icallangbind_get_parameter(icalproperty *p, const char* parameter);
-icalcomponent* icallangbind_get_component(icalcomponent *c, const char* comp);
-
-icalproperty* icallangbind_get_first_property(icalcomponent *c,
- const char* prop);
-
-icalproperty* icallangbind_get_next_property(icalcomponent *c,
- const char* prop);
-
-icalcomponent* icallangbind_get_first_component(icalcomponent *c,
- const char* comp);
-
-icalcomponent* icallangbind_get_next_component(icalcomponent *c,
- const char* comp);
-
-icalparameter* icallangbind_get_first_parameter(icalproperty *prop);
-
-icalparameter* icallangbind_get_next_parameter(icalproperty *prop);
-
-const char* icallangbind_property_eval_string(icalproperty* prop, char* sep);
-char* icallangbind_property_eval_string_r(icalproperty* prop, char* sep);
-
-
-int icallangbind_string_to_open_flag(const char* str);
-
-const char* icallangbind_quote_as_ical(const char* str);
-char* icallangbind_quote_as_ical_r(const char* str);
-#endif /*__ICALLANGBIND_H__*/
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/contrib/prebuilt/include/libical/icalarray.h b/contrib/prebuilt/include/libical/icalarray.h
deleted file mode 100644
index 93620de..0000000
--- a/contrib/prebuilt/include/libical/icalarray.h
+++ /dev/null
@@ -1,64 +0,0 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
-/*======================================================================
- FILE: icalarray.h
- CREATOR: Damon Chaplin 07 March 2001
-
-
- $Id: icalarray.h,v 1.5 2008-01-15 23:17:40 dothebart Exp $
- $Locker: $
-
- (C) COPYRIGHT 2001, Ximian, Inc.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
-
-======================================================================*/
-
-
-#ifndef ICALARRAY_H
-#define ICALARRAY_H
-
-/** @file icalarray.h
- *
- * @brief An array of arbitrarily-sized elements which grows
- * dynamically as elements are added.
- */
-
-typedef struct _icalarray icalarray;
-struct _icalarray {
- unsigned int element_size;
- unsigned int increment_size;
- unsigned int num_elements;
- unsigned int space_allocated;
- void **chunks;
-};
-
-
-
-icalarray *icalarray_new (int element_size,
- int increment_size);
-icalarray *icalarray_copy (icalarray *array);
-void icalarray_free (icalarray *array);
-
-void icalarray_append (icalarray *array,
- const void *element);
-void icalarray_remove_element_at (icalarray *array,
- int position);
-
-void *icalarray_element_at (icalarray *array,
- int position);
-
-void icalarray_sort (icalarray *array,
- int (*compare) (const void *, const void *));
-
-
-#endif /* ICALARRAY_H */
diff --git a/contrib/prebuilt/include/libical/icalattach.h b/contrib/prebuilt/include/libical/icalattach.h
deleted file mode 100644
index 5a82ab8..0000000
--- a/contrib/prebuilt/include/libical/icalattach.h
+++ /dev/null
@@ -1,60 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalattach.h
- CREATOR: acampi 28 May 02
-
-
- (C) COPYRIGHT 2002, Andrea Campi <a.campi@inet.it>
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icalattach.h
-
-======================================================================*/
-
-#ifndef ICALATTACH_H
-#define ICALATTACH_H
-
-
-typedef struct icalattach_impl icalattach;
-
-typedef void (* icalattach_free_fn_t) (unsigned char *data, void *user_data);
-
-icalattach *icalattach_new_from_url (const char *url);
-icalattach *icalattach_new_from_data (const char *data,
- icalattach_free_fn_t free_fn, void *free_fn_data);
-
-void icalattach_ref (icalattach *attach);
-void icalattach_unref (icalattach *attach);
-
-int icalattach_get_is_url (icalattach *attach);
-const char *icalattach_get_url (icalattach *attach);
-unsigned char *icalattach_get_data (icalattach *attach);
-
-struct icalattachtype* icalattachtype_new(void);
-void icalattachtype_add_reference(struct icalattachtype* v);
-void icalattachtype_free(struct icalattachtype* v);
-
-void icalattachtype_set_url(struct icalattachtype* v, char* url);
-char* icalattachtype_get_url(struct icalattachtype* v);
-
-void icalattachtype_set_base64(struct icalattachtype* v, char* base64,
- int owns);
-char* icalattachtype_get_base64(struct icalattachtype* v);
-
-void icalattachtype_set_binary(struct icalattachtype* v, char* binary,
- int owns);
-void* icalattachtype_get_binary(struct icalattachtype* v);
-
-
-
-#endif /* !ICALATTACH_H */
diff --git a/contrib/prebuilt/include/libical/icalcalendar.h b/contrib/prebuilt/include/libical/icalcalendar.h
deleted file mode 100644
index 3dcd1fb..0000000
--- a/contrib/prebuilt/include/libical/icalcalendar.h
+++ /dev/null
@@ -1,67 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalcalendar.h
- CREATOR: eric 23 December 1999
-
-
- $Id: icalcalendar.h,v 1.4 2008-01-02 20:07:39 dothebart Exp $
- $Locker: $
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Original Code is eric. The Initial Developer of the Original
- Code is Eric Busboom
-
-
-======================================================================*/
-
-#ifndef ICALCALENDAR_H
-#define ICALCALENDAR_H
-
-#include <libical/ical.h>
-#include "icalset.h"
-
-/* icalcalendar
- * Routines for storing calendar data in a file system. The calendar
- * has two icaldirsets, one for incoming components and one for booked
- * components. It also has interfaces to access the free/busy list
- * and a list of calendar properties */
-
-typedef struct icalcalendar_impl icalcalendar;
-
-icalcalendar* icalcalendar_new(char* dir);
-
-void icalcalendar_free(icalcalendar* calendar);
-
-int icalcalendar_lock(icalcalendar* calendar);
-
-int icalcalendar_unlock(icalcalendar* calendar);
-
-int icalcalendar_islocked(icalcalendar* calendar);
-
-int icalcalendar_ownlock(icalcalendar* calendar);
-
-icalset* icalcalendar_get_booked(icalcalendar* calendar);
-
-icalset* icalcalendar_get_incoming(icalcalendar* calendar);
-
-icalset* icalcalendar_get_properties(icalcalendar* calendar);
-
-icalset* icalcalendar_get_freebusy(icalcalendar* calendar);
-
-
-#endif /* !ICALCALENDAR_H */
-
-
-
diff --git a/contrib/prebuilt/include/libical/icalclassify.h b/contrib/prebuilt/include/libical/icalclassify.h
deleted file mode 100644
index b692e74..0000000
--- a/contrib/prebuilt/include/libical/icalclassify.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalclassify.h
- CREATOR: eric 21 Aug 2000
-
-
- $Id: icalclassify.h,v 1.7 2008-01-15 23:17:43 dothebart Exp $
- $Locker: $
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
-
- =========================================================================*/
-
-#ifndef ICALCLASSIFY_H
-#define ICALCLASSIFY_H
-
-#include <libical/ical.h>
-#include "icalset.h"
-#include "icalcomponent.h"
-
-icalproperty_xlicclass icalclassify(icalcomponent* c,icalcomponent* match,
- const char* user);
-
-icalcomponent* icalclassify_find_overlaps(icalset* set, icalcomponent* comp);
-
-char* icalclassify_class_to_string(icalproperty_xlicclass c);
-
-
-#endif /* ICALCLASSIFY_H*/
-
-
-
-
-
diff --git a/contrib/prebuilt/include/libical/icalcluster.h b/contrib/prebuilt/include/libical/icalcluster.h
deleted file mode 100644
index 6ce13c7..0000000
--- a/contrib/prebuilt/include/libical/icalcluster.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalcluster.h
- CREATOR: eric 23 December 1999
-
-
- $Id: icalcluster.h,v 1.4 2008-01-02 20:07:40 dothebart Exp $
- $Locker: $
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Original Code is eric. The Initial Developer of the Original
- Code is Eric Busboom
-
-
-======================================================================*/
-
-#ifndef ICALCLUSTER_H
-#define ICALCLUSTER_H
-
-#include <libical/ical.h>
-#include "icalset.h"
-
-typedef struct icalcluster_impl icalcluster;
-
-icalcluster* icalcluster_new(const char *key, icalcomponent *data);
-icalcluster* icalcluster_new_clone(const icalcluster *cluster);
-
-void icalcluster_free(icalcluster *cluster);
-
-const char* icalcluster_key(icalcluster *cluster);
-int icalcluster_is_changed(icalcluster *cluster);
-void icalcluster_mark(icalcluster *cluster);
-void icalcluster_commit(icalcluster *cluster);
-
-icalcomponent* icalcluster_get_component(icalcluster* cluster);
-int icalcluster_count_components(icalcluster *cluster, icalcomponent_kind kind);
-icalerrorenum icalcluster_add_component(icalcluster* cluster,
- icalcomponent* child);
-icalerrorenum icalcluster_remove_component(icalcluster* cluster,
- icalcomponent* child);
-
-icalcomponent* icalcluster_get_current_component(icalcluster* cluster);
-icalcomponent* icalcluster_get_first_component(icalcluster* cluster);
-icalcomponent* icalcluster_get_next_component(icalcluster* cluster);
-
-#endif /* !ICALCLUSTER_H */
-
-
-
diff --git a/contrib/prebuilt/include/libical/icalcomponent.h b/contrib/prebuilt/include/libical/icalcomponent.h
deleted file mode 100644
index 338dac1..0000000
--- a/contrib/prebuilt/include/libical/icalcomponent.h
+++ /dev/null
@@ -1,285 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalcomponent.h
- CREATOR: eric 20 March 1999
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icalcomponent.h
-
-======================================================================*/
-
-#ifndef ICALCOMPONENT_H
-#define ICALCOMPONENT_H
-
-#include "icalproperty.h"
-#include "icalvalue.h"
-#include "icalenums.h" /* defines icalcomponent_kind */
-#include "pvl.h"
-
-typedef struct icalcomponent_impl icalcomponent;
-
-#ifndef ICALTIMEZONE_DEFINED
-#define ICALTIMEZONE_DEFINED
-/** @brief An opaque struct representing a timezone.
- * We declare this here to avoid a circular dependancy.
- */
-typedef struct _icaltimezone icaltimezone;
-#endif
-
-
-/* This is exposed so that callers will not have to allocate and
- deallocate iterators. Pretend that you can't see it. */
-typedef struct icalcompiter
-{
- icalcomponent_kind kind;
- pvl_elem iter;
-
-} icalcompiter;
-
-icalcomponent* icalcomponent_new(icalcomponent_kind kind);
-icalcomponent* icalcomponent_new_clone(icalcomponent* component);
-icalcomponent* icalcomponent_new_from_string(const char* str);
-icalcomponent* icalcomponent_vanew(icalcomponent_kind kind, ...);
-icalcomponent* icalcomponent_new_x(const char* x_name);
-void icalcomponent_free(icalcomponent* component);
-
-char* icalcomponent_as_ical_string(icalcomponent* component);
-char* icalcomponent_as_ical_string_r(icalcomponent* component);
-
-int icalcomponent_is_valid(icalcomponent* component);
-
-icalcomponent_kind icalcomponent_isa(const icalcomponent* component);
-
-int icalcomponent_isa_component (void* component);
-
-/*
- * Working with properties
- */
-
-void icalcomponent_add_property(icalcomponent* component,
- icalproperty* property);
-
-void icalcomponent_remove_property(icalcomponent* component,
- icalproperty* property);
-
-int icalcomponent_count_properties(icalcomponent* component,
- icalproperty_kind kind);
-
-/* Iterate through the properties */
-icalproperty* icalcomponent_get_current_property(icalcomponent* component);
-
-icalproperty* icalcomponent_get_first_property(icalcomponent* component,
- icalproperty_kind kind);
-icalproperty* icalcomponent_get_next_property(icalcomponent* component,
- icalproperty_kind kind);
-
-
-/*
- * Working with components
- */
-
-
-/* Return the first VEVENT, VTODO or VJOURNAL sub-component of cop, or
- comp if it is one of those types */
-
-icalcomponent* icalcomponent_get_inner(icalcomponent* comp);
-
-
-void icalcomponent_add_component(icalcomponent* parent,
- icalcomponent* child);
-
-void icalcomponent_remove_component(icalcomponent* parent,
- icalcomponent* child);
-
-int icalcomponent_count_components(icalcomponent* component,
- icalcomponent_kind kind);
-
-/**
- This takes 2 VCALENDAR components and merges the second one into the first,
- resolving any problems with conflicting TZIDs. comp_to_merge will no
- longer exist after calling this function. */
-void icalcomponent_merge_component(icalcomponent* comp,
- icalcomponent* comp_to_merge);
-
-
-/* Iteration Routines. There are two forms of iterators, internal and
-external. The internal ones came first, and are almost completely
-sufficient, but they fail badly when you want to construct a loop that
-removes components from the container.*/
-
-
-/* Iterate through components */
-icalcomponent* icalcomponent_get_current_component (icalcomponent* component);
-
-icalcomponent* icalcomponent_get_first_component(icalcomponent* component,
- icalcomponent_kind kind);
-icalcomponent* icalcomponent_get_next_component(icalcomponent* component,
- icalcomponent_kind kind);
-
-/* Using external iterators */
-icalcompiter icalcomponent_begin_component(icalcomponent* component,
- icalcomponent_kind kind);
-icalcompiter icalcomponent_end_component(icalcomponent* component,
- icalcomponent_kind kind);
-icalcomponent* icalcompiter_next(icalcompiter* i);
-icalcomponent* icalcompiter_prior(icalcompiter* i);
-icalcomponent* icalcompiter_deref(icalcompiter* i);
-
-
-/* Working with embedded error properties */
-
-
-/* Check the component against itip rules and insert error properties*/
-/* Working with embedded error properties */
-int icalcomponent_check_restrictions(icalcomponent* comp);
-
-/** Count embedded errors. */
-int icalcomponent_count_errors(icalcomponent* component);
-
-/** Remove all X-LIC-ERROR properties*/
-void icalcomponent_strip_errors(icalcomponent* component);
-
-/** Convert some X-LIC-ERROR properties into RETURN-STATUS properties*/
-void icalcomponent_convert_errors(icalcomponent* component);
-
-/* Internal operations. They are private, and you should not be using them. */
-icalcomponent* icalcomponent_get_parent(icalcomponent* component);
-void icalcomponent_set_parent(icalcomponent* component,
- icalcomponent* parent);
-
-/* Kind conversion routines */
-
-int icalcomponent_kind_is_valid(const icalcomponent_kind kind);
-
-icalcomponent_kind icalcomponent_string_to_kind(const char* string);
-
-const char* icalcomponent_kind_to_string(icalcomponent_kind kind);
-
-
-/************* Derived class methods. ****************************
-
-If the code was in an OO language, the remaining routines would be
-members of classes derived from icalcomponent. Don't call them on the
-wrong component subtypes. */
-
-/** For VCOMPONENT: Return a reference to the first VEVENT, VTODO or
- VJOURNAL */
-icalcomponent* icalcomponent_get_first_real_component(icalcomponent *c);
-
-/** For VEVENT, VTODO, VJOURNAL and VTIMEZONE: report the start and end
- times of an event in UTC */
-struct icaltime_span icalcomponent_get_span(icalcomponent* comp);
-
-/******************** Convienience routines **********************/
-
-void icalcomponent_set_dtstart(icalcomponent* comp, struct icaltimetype v);
-struct icaltimetype icalcomponent_get_dtstart(icalcomponent* comp);
-
-/* For the icalcomponent routines only, dtend and duration are tied
- together. If you call the set routine for one and the other exists,
- the routine will calculate the change to the other. That is, if
- there is a DTEND and you call set_duration, the routine will modify
- DTEND to be the sum of DTSTART and the duration. If you call a get
- routine for one and the other exists, the routine will calculate
- the return value. If you call a set routine and neither exists, the
- routine will create the apcompriate comperty */
-
-
-struct icaltimetype icalcomponent_get_dtend(icalcomponent* comp);
-void icalcomponent_set_dtend(icalcomponent* comp, struct icaltimetype v);
-
-struct icaltimetype icalcomponent_get_due(icalcomponent* comp);
-void icalcomponent_set_due(icalcomponent* comp, struct icaltimetype v);
-
-void icalcomponent_set_duration(icalcomponent* comp,
- struct icaldurationtype v);
-struct icaldurationtype icalcomponent_get_duration(icalcomponent* comp);
-
-void icalcomponent_set_method(icalcomponent* comp, icalproperty_method method);
-icalproperty_method icalcomponent_get_method(icalcomponent* comp);
-
-struct icaltimetype icalcomponent_get_dtstamp(icalcomponent* comp);
-void icalcomponent_set_dtstamp(icalcomponent* comp, struct icaltimetype v);
-
-void icalcomponent_set_summary(icalcomponent* comp, const char* v);
-const char* icalcomponent_get_summary(icalcomponent* comp);
-
-void icalcomponent_set_comment(icalcomponent* comp, const char* v);
-const char* icalcomponent_get_comment(icalcomponent* comp);
-
-void icalcomponent_set_uid(icalcomponent* comp, const char* v);
-const char* icalcomponent_get_uid(icalcomponent* comp);
-
-void icalcomponent_set_relcalid(icalcomponent* comp, const char* v);
-const char* icalcomponent_get_relcalid(icalcomponent* comp);
-
-void icalcomponent_set_recurrenceid(icalcomponent* comp,
- struct icaltimetype v);
-struct icaltimetype icalcomponent_get_recurrenceid(icalcomponent* comp);
-
-void icalcomponent_set_description(icalcomponent* comp, const char* v);
-const char* icalcomponent_get_description(icalcomponent* comp);
-
-void icalcomponent_set_location(icalcomponent* comp, const char* v);
-const char* icalcomponent_get_location(icalcomponent* comp);
-
-void icalcomponent_set_sequence(icalcomponent* comp, int v);
-int icalcomponent_get_sequence(icalcomponent* comp);
-
-void icalcomponent_set_status(icalcomponent* comp, enum icalproperty_status v);
-enum icalproperty_status icalcomponent_get_status(icalcomponent* comp);
-
-
-/** Calls the given function for each TZID parameter found in the
- component, and any subcomponents. */
-void icalcomponent_foreach_tzid(icalcomponent* comp,
- void (*callback)(icalparameter *param, void *data),
- void *callback_data);
-
-/** Returns the icaltimezone in the component corresponding to the
- TZID, or NULL if it can't be found. */
-icaltimezone* icalcomponent_get_timezone(icalcomponent* comp,
- const char *tzid);
-
-int icalproperty_recurrence_is_excluded(icalcomponent *comp,
- struct icaltimetype *dtstart,
- struct icaltimetype *recurtime);
-
-void icalcomponent_foreach_recurrence(icalcomponent* comp,
- struct icaltimetype start,
- struct icaltimetype end,
- void (*callback)(icalcomponent *comp,
- struct icaltime_span *span,
- void *data),
- void *callback_data);
-
-
-/*************** Type Specific routines ***************/
-
-icalcomponent* icalcomponent_new_vcalendar(void);
-icalcomponent* icalcomponent_new_vevent(void);
-icalcomponent* icalcomponent_new_vtodo(void);
-icalcomponent* icalcomponent_new_vjournal(void);
-icalcomponent* icalcomponent_new_valarm(void);
-icalcomponent* icalcomponent_new_vfreebusy(void);
-icalcomponent* icalcomponent_new_vtimezone(void);
-icalcomponent* icalcomponent_new_xstandard(void);
-icalcomponent* icalcomponent_new_xdaylight(void);
-icalcomponent* icalcomponent_new_vagenda(void);
-icalcomponent* icalcomponent_new_vquery(void);
-
-#endif /* !ICALCOMPONENT_H */
diff --git a/contrib/prebuilt/include/libical/icalderivedparameter.h b/contrib/prebuilt/include/libical/icalderivedparameter.h
deleted file mode 100644
index b1222bf..0000000
--- a/contrib/prebuilt/include/libical/icalderivedparameter.h
+++ /dev/null
@@ -1,420 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalparam.h
- CREATOR: eric 20 March 1999
-
-
- $Id: icalderivedparameter.h.in,v 1.4 2007-04-30 13:57:48 artcancro Exp $
- $Locker: $
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icalparam.h
-
- ======================================================================*/
-
-#ifndef ICALDERIVEDPARAMETER_H
-#define ICALDERIVEDPARAMETER_H
-
-
-typedef struct icalparameter_impl icalparameter;
-
-const char* icalparameter_enum_to_string(int e);
-int icalparameter_string_to_enum(const char* str);
-
-/* START of section of machine generated code (mkderivedparameters.pl). Do not edit. */
-
-typedef enum icalparameter_kind {
- ICAL_ANY_PARAMETER = 0,
- ICAL_ACTIONPARAM_PARAMETER = 1,
- ICAL_ALTREP_PARAMETER = 2,
- ICAL_CHARSET_PARAMETER = 3,
- ICAL_CN_PARAMETER = 4,
- ICAL_CUTYPE_PARAMETER = 5,
- ICAL_DELEGATEDFROM_PARAMETER = 6,
- ICAL_DELEGATEDTO_PARAMETER = 7,
- ICAL_DIR_PARAMETER = 8,
- ICAL_ENABLE_PARAMETER = 9,
- ICAL_ENCODING_PARAMETER = 10,
- ICAL_FBTYPE_PARAMETER = 11,
- ICAL_FMTTYPE_PARAMETER = 12,
- ICAL_IANA_PARAMETER = 33,
- ICAL_ID_PARAMETER = 13,
- ICAL_LANGUAGE_PARAMETER = 14,
- ICAL_LATENCY_PARAMETER = 15,
- ICAL_LOCAL_PARAMETER = 16,
- ICAL_LOCALIZE_PARAMETER = 17,
- ICAL_MEMBER_PARAMETER = 18,
- ICAL_OPTIONS_PARAMETER = 19,
- ICAL_PARTSTAT_PARAMETER = 20,
- ICAL_RANGE_PARAMETER = 21,
- ICAL_RELATED_PARAMETER = 22,
- ICAL_RELTYPE_PARAMETER = 23,
- ICAL_ROLE_PARAMETER = 24,
- ICAL_RSVP_PARAMETER = 25,
- ICAL_SCHEDULEAGENT_PARAMETER = 34,
- ICAL_SCHEDULEFORCESEND_PARAMETER = 35,
- ICAL_SCHEDULESTATUS_PARAMETER = 36,
- ICAL_SENTBY_PARAMETER = 26,
- ICAL_TZID_PARAMETER = 27,
- ICAL_VALUE_PARAMETER = 28,
- ICAL_X_PARAMETER = 29,
- ICAL_XLICCOMPARETYPE_PARAMETER = 30,
- ICAL_XLICERRORTYPE_PARAMETER = 31,
- ICAL_NO_PARAMETER = 32
-} icalparameter_kind;
-
-#define ICALPARAMETER_FIRST_ENUM 20000
-
-typedef enum icalparameter_action {
- ICAL_ACTIONPARAM_X = 20000,
- ICAL_ACTIONPARAM_ASK = 20001,
- ICAL_ACTIONPARAM_ABORT = 20002,
- ICAL_ACTIONPARAM_NONE = 20003
-} icalparameter_action;
-
-typedef enum icalparameter_cutype {
- ICAL_CUTYPE_X = 20004,
- ICAL_CUTYPE_INDIVIDUAL = 20005,
- ICAL_CUTYPE_GROUP = 20006,
- ICAL_CUTYPE_RESOURCE = 20007,
- ICAL_CUTYPE_ROOM = 20008,
- ICAL_CUTYPE_UNKNOWN = 20009,
- ICAL_CUTYPE_NONE = 20010
-} icalparameter_cutype;
-
-typedef enum icalparameter_enable {
- ICAL_ENABLE_X = 20011,
- ICAL_ENABLE_TRUE = 20012,
- ICAL_ENABLE_FALSE = 20013,
- ICAL_ENABLE_NONE = 20014
-} icalparameter_enable;
-
-typedef enum icalparameter_encoding {
- ICAL_ENCODING_X = 20015,
- ICAL_ENCODING_8BIT = 20016,
- ICAL_ENCODING_BASE64 = 20017,
- ICAL_ENCODING_NONE = 20018
-} icalparameter_encoding;
-
-typedef enum icalparameter_fbtype {
- ICAL_FBTYPE_X = 20019,
- ICAL_FBTYPE_FREE = 20020,
- ICAL_FBTYPE_BUSY = 20021,
- ICAL_FBTYPE_BUSYUNAVAILABLE = 20022,
- ICAL_FBTYPE_BUSYTENTATIVE = 20023,
- ICAL_FBTYPE_NONE = 20024
-} icalparameter_fbtype;
-
-typedef enum icalparameter_local {
- ICAL_LOCAL_X = 20025,
- ICAL_LOCAL_TRUE = 20026,
- ICAL_LOCAL_FALSE = 20027,
- ICAL_LOCAL_NONE = 20028
-} icalparameter_local;
-
-typedef enum icalparameter_partstat {
- ICAL_PARTSTAT_X = 20029,
- ICAL_PARTSTAT_NEEDSACTION = 20030,
- ICAL_PARTSTAT_ACCEPTED = 20031,
- ICAL_PARTSTAT_DECLINED = 20032,
- ICAL_PARTSTAT_TENTATIVE = 20033,
- ICAL_PARTSTAT_DELEGATED = 20034,
- ICAL_PARTSTAT_COMPLETED = 20035,
- ICAL_PARTSTAT_INPROCESS = 20036,
- ICAL_PARTSTAT_NONE = 20037
-} icalparameter_partstat;
-
-typedef enum icalparameter_range {
- ICAL_RANGE_X = 20038,
- ICAL_RANGE_THISANDPRIOR = 20039,
- ICAL_RANGE_THISANDFUTURE = 20040,
- ICAL_RANGE_NONE = 20041
-} icalparameter_range;
-
-typedef enum icalparameter_related {
- ICAL_RELATED_X = 20042,
- ICAL_RELATED_START = 20043,
- ICAL_RELATED_END = 20044,
- ICAL_RELATED_NONE = 20045
-} icalparameter_related;
-
-typedef enum icalparameter_reltype {
- ICAL_RELTYPE_X = 20046,
- ICAL_RELTYPE_PARENT = 20047,
- ICAL_RELTYPE_CHILD = 20048,
- ICAL_RELTYPE_SIBLING = 20049,
- ICAL_RELTYPE_NONE = 20050
-} icalparameter_reltype;
-
-typedef enum icalparameter_role {
- ICAL_ROLE_X = 20051,
- ICAL_ROLE_CHAIR = 20052,
- ICAL_ROLE_REQPARTICIPANT = 20053,
- ICAL_ROLE_OPTPARTICIPANT = 20054,
- ICAL_ROLE_NONPARTICIPANT = 20055,
- ICAL_ROLE_NONE = 20056
-} icalparameter_role;
-
-typedef enum icalparameter_rsvp {
- ICAL_RSVP_X = 20057,
- ICAL_RSVP_TRUE = 20058,
- ICAL_RSVP_FALSE = 20059,
- ICAL_RSVP_NONE = 20060
-} icalparameter_rsvp;
-
-typedef enum icalparameter_scheduleagent {
- ICAL_SCHEDULEAGENT_X = 20061,
- ICAL_SCHEDULEAGENT_SERVER = 20062,
- ICAL_SCHEDULEAGENT_CLIENT = 20063,
- ICAL_SCHEDULEAGENT_NONE = 20064
-} icalparameter_scheduleagent;
-
-typedef enum icalparameter_scheduleforcesend {
- ICAL_SCHEDULEFORCESEND_X = 20065,
- ICAL_SCHEDULEFORCESEND_REQUEST = 20066,
- ICAL_SCHEDULEFORCESEND_REPLY = 20067,
- ICAL_SCHEDULEFORCESEND_NONE = 20068
-} icalparameter_scheduleforcesend;
-
-typedef enum icalparameter_value {
- ICAL_VALUE_X = 20069,
- ICAL_VALUE_BINARY = 20070,
- ICAL_VALUE_BOOLEAN = 20071,
- ICAL_VALUE_DATE = 20072,
- ICAL_VALUE_DURATION = 20073,
- ICAL_VALUE_FLOAT = 20074,
- ICAL_VALUE_INTEGER = 20075,
- ICAL_VALUE_PERIOD = 20076,
- ICAL_VALUE_RECUR = 20077,
- ICAL_VALUE_TEXT = 20078,
- ICAL_VALUE_URI = 20079,
- ICAL_VALUE_ERROR = 20080,
- ICAL_VALUE_DATETIME = 20081,
- ICAL_VALUE_UTCOFFSET = 20082,
- ICAL_VALUE_CALADDRESS = 20083,
- ICAL_VALUE_NONE = 20084
-} icalparameter_value;
-
-typedef enum icalparameter_xliccomparetype {
- ICAL_XLICCOMPARETYPE_X = 20085,
- ICAL_XLICCOMPARETYPE_EQUAL = 20086,
- ICAL_XLICCOMPARETYPE_NOTEQUAL = 20087,
- ICAL_XLICCOMPARETYPE_LESS = 20088,
- ICAL_XLICCOMPARETYPE_GREATER = 20089,
- ICAL_XLICCOMPARETYPE_LESSEQUAL = 20090,
- ICAL_XLICCOMPARETYPE_GREATEREQUAL = 20091,
- ICAL_XLICCOMPARETYPE_REGEX = 20092,
- ICAL_XLICCOMPARETYPE_ISNULL = 20093,
- ICAL_XLICCOMPARETYPE_ISNOTNULL = 20094,
- ICAL_XLICCOMPARETYPE_NONE = 20095
-} icalparameter_xliccomparetype;
-
-typedef enum icalparameter_xlicerrortype {
- ICAL_XLICERRORTYPE_X = 20096,
- ICAL_XLICERRORTYPE_COMPONENTPARSEERROR = 20097,
- ICAL_XLICERRORTYPE_PROPERTYPARSEERROR = 20098,
- ICAL_XLICERRORTYPE_PARAMETERNAMEPARSEERROR = 20099,
- ICAL_XLICERRORTYPE_PARAMETERVALUEPARSEERROR = 20100,
- ICAL_XLICERRORTYPE_VALUEPARSEERROR = 20101,
- ICAL_XLICERRORTYPE_INVALIDITIP = 20102,
- ICAL_XLICERRORTYPE_UNKNOWNVCALPROPERROR = 20103,
- ICAL_XLICERRORTYPE_MIMEPARSEERROR = 20104,
- ICAL_XLICERRORTYPE_VCALPROPPARSEERROR = 20105,
- ICAL_XLICERRORTYPE_NONE = 20106
-} icalparameter_xlicerrortype;
-
-#define ICALPARAMETER_LAST_ENUM 20107
-
-/* ACTIONPARAM */
-icalparameter* icalparameter_new_actionparam(icalparameter_action v);
-icalparameter_action icalparameter_get_actionparam(const icalparameter* value);
-void icalparameter_set_actionparam(icalparameter* value, icalparameter_action v);
-
-/* ALTREP */
-icalparameter* icalparameter_new_altrep(const char* v);
-const char* icalparameter_get_altrep(const icalparameter* value);
-void icalparameter_set_altrep(icalparameter* value, const char* v);
-
-/* CHARSET */
-icalparameter* icalparameter_new_charset(const char* v);
-const char* icalparameter_get_charset(const icalparameter* value);
-void icalparameter_set_charset(icalparameter* value, const char* v);
-
-/* CN */
-icalparameter* icalparameter_new_cn(const char* v);
-const char* icalparameter_get_cn(const icalparameter* value);
-void icalparameter_set_cn(icalparameter* value, const char* v);
-
-/* CUTYPE */
-icalparameter* icalparameter_new_cutype(icalparameter_cutype v);
-icalparameter_cutype icalparameter_get_cutype(const icalparameter* value);
-void icalparameter_set_cutype(icalparameter* value, icalparameter_cutype v);
-
-/* DELEGATED-FROM */
-icalparameter* icalparameter_new_delegatedfrom(const char* v);
-const char* icalparameter_get_delegatedfrom(const icalparameter* value);
-void icalparameter_set_delegatedfrom(icalparameter* value, const char* v);
-
-/* DELEGATED-TO */
-icalparameter* icalparameter_new_delegatedto(const char* v);
-const char* icalparameter_get_delegatedto(const icalparameter* value);
-void icalparameter_set_delegatedto(icalparameter* value, const char* v);
-
-/* DIR */
-icalparameter* icalparameter_new_dir(const char* v);
-const char* icalparameter_get_dir(const icalparameter* value);
-void icalparameter_set_dir(icalparameter* value, const char* v);
-
-/* ENABLE */
-icalparameter* icalparameter_new_enable(icalparameter_enable v);
-icalparameter_enable icalparameter_get_enable(const icalparameter* value);
-void icalparameter_set_enable(icalparameter* value, icalparameter_enable v);
-
-/* ENCODING */
-icalparameter* icalparameter_new_encoding(icalparameter_encoding v);
-icalparameter_encoding icalparameter_get_encoding(const icalparameter* value);
-void icalparameter_set_encoding(icalparameter* value, icalparameter_encoding v);
-
-/* FBTYPE */
-icalparameter* icalparameter_new_fbtype(icalparameter_fbtype v);
-icalparameter_fbtype icalparameter_get_fbtype(const icalparameter* value);
-void icalparameter_set_fbtype(icalparameter* value, icalparameter_fbtype v);
-
-/* FMTTYPE */
-icalparameter* icalparameter_new_fmttype(const char* v);
-const char* icalparameter_get_fmttype(const icalparameter* value);
-void icalparameter_set_fmttype(icalparameter* value, const char* v);
-
-/* IANA */
-icalparameter* icalparameter_new_iana(const char* v);
-const char* icalparameter_get_iana(const icalparameter* value);
-void icalparameter_set_iana(icalparameter* value, const char* v);
-
-/* ID */
-icalparameter* icalparameter_new_id(const char* v);
-const char* icalparameter_get_id(const icalparameter* value);
-void icalparameter_set_id(icalparameter* value, const char* v);
-
-/* LANGUAGE */
-icalparameter* icalparameter_new_language(const char* v);
-const char* icalparameter_get_language(const icalparameter* value);
-void icalparameter_set_language(icalparameter* value, const char* v);
-
-/* LATENCY */
-icalparameter* icalparameter_new_latency(const char* v);
-const char* icalparameter_get_latency(const icalparameter* value);
-void icalparameter_set_latency(icalparameter* value, const char* v);
-
-/* LOCAL */
-icalparameter* icalparameter_new_local(icalparameter_local v);
-icalparameter_local icalparameter_get_local(const icalparameter* value);
-void icalparameter_set_local(icalparameter* value, icalparameter_local v);
-
-/* LOCALIZE */
-icalparameter* icalparameter_new_localize(const char* v);
-const char* icalparameter_get_localize(const icalparameter* value);
-void icalparameter_set_localize(icalparameter* value, const char* v);
-
-/* MEMBER */
-icalparameter* icalparameter_new_member(const char* v);
-const char* icalparameter_get_member(const icalparameter* value);
-void icalparameter_set_member(icalparameter* value, const char* v);
-
-/* OPTIONS */
-icalparameter* icalparameter_new_options(const char* v);
-const char* icalparameter_get_options(const icalparameter* value);
-void icalparameter_set_options(icalparameter* value, const char* v);
-
-/* PARTSTAT */
-icalparameter* icalparameter_new_partstat(icalparameter_partstat v);
-icalparameter_partstat icalparameter_get_partstat(const icalparameter* value);
-void icalparameter_set_partstat(icalparameter* value, icalparameter_partstat v);
-
-/* RANGE */
-icalparameter* icalparameter_new_range(icalparameter_range v);
-icalparameter_range icalparameter_get_range(const icalparameter* value);
-void icalparameter_set_range(icalparameter* value, icalparameter_range v);
-
-/* RELATED */
-icalparameter* icalparameter_new_related(icalparameter_related v);
-icalparameter_related icalparameter_get_related(const icalparameter* value);
-void icalparameter_set_related(icalparameter* value, icalparameter_related v);
-
-/* RELTYPE */
-icalparameter* icalparameter_new_reltype(icalparameter_reltype v);
-icalparameter_reltype icalparameter_get_reltype(const icalparameter* value);
-void icalparameter_set_reltype(icalparameter* value, icalparameter_reltype v);
-
-/* ROLE */
-icalparameter* icalparameter_new_role(icalparameter_role v);
-icalparameter_role icalparameter_get_role(const icalparameter* value);
-void icalparameter_set_role(icalparameter* value, icalparameter_role v);
-
-/* RSVP */
-icalparameter* icalparameter_new_rsvp(icalparameter_rsvp v);
-icalparameter_rsvp icalparameter_get_rsvp(const icalparameter* value);
-void icalparameter_set_rsvp(icalparameter* value, icalparameter_rsvp v);
-
-/* SCHEDULE-AGENT */
-icalparameter* icalparameter_new_scheduleagent(icalparameter_scheduleagent v);
-icalparameter_scheduleagent icalparameter_get_scheduleagent(const icalparameter* value);
-void icalparameter_set_scheduleagent(icalparameter* value, icalparameter_scheduleagent v);
-
-/* SCHEDULE-FORCE-SEND */
-icalparameter* icalparameter_new_scheduleforcesend(icalparameter_scheduleforcesend v);
-icalparameter_scheduleforcesend icalparameter_get_scheduleforcesend(const icalparameter* value);
-void icalparameter_set_scheduleforcesend(icalparameter* value, icalparameter_scheduleforcesend v);
-
-/* SCHEDULE-STATUS */
-icalparameter* icalparameter_new_schedulestatus(const char* v);
-const char* icalparameter_get_schedulestatus(const icalparameter* value);
-void icalparameter_set_schedulestatus(icalparameter* value, const char* v);
-
-/* SENT-BY */
-icalparameter* icalparameter_new_sentby(const char* v);
-const char* icalparameter_get_sentby(const icalparameter* value);
-void icalparameter_set_sentby(icalparameter* value, const char* v);
-
-/* TZID */
-icalparameter* icalparameter_new_tzid(const char* v);
-const char* icalparameter_get_tzid(const icalparameter* value);
-void icalparameter_set_tzid(icalparameter* value, const char* v);
-
-/* VALUE */
-icalparameter* icalparameter_new_value(icalparameter_value v);
-icalparameter_value icalparameter_get_value(const icalparameter* value);
-void icalparameter_set_value(icalparameter* value, icalparameter_value v);
-
-/* X */
-icalparameter* icalparameter_new_x(const char* v);
-const char* icalparameter_get_x(const icalparameter* value);
-void icalparameter_set_x(icalparameter* value, const char* v);
-
-/* X-LIC-COMPARETYPE */
-icalparameter* icalparameter_new_xliccomparetype(icalparameter_xliccomparetype v);
-icalparameter_xliccomparetype icalparameter_get_xliccomparetype(const icalparameter* value);
-void icalparameter_set_xliccomparetype(icalparameter* value, icalparameter_xliccomparetype v);
-
-/* X-LIC-ERRORTYPE */
-icalparameter* icalparameter_new_xlicerrortype(icalparameter_xlicerrortype v);
-icalparameter_xlicerrortype icalparameter_get_xlicerrortype(const icalparameter* value);
-void icalparameter_set_xlicerrortype(icalparameter* value, icalparameter_xlicerrortype v);
-
-#endif /*ICALPARAMETER_H*/
-
-/* END of section of machine generated code (mkderivedparameters.pl). Do not edit. */
-
diff --git a/contrib/prebuilt/include/libical/icalderivedproperty.h b/contrib/prebuilt/include/libical/icalderivedproperty.h
deleted file mode 100644
index afbdf6b..0000000
--- a/contrib/prebuilt/include/libical/icalderivedproperty.h
+++ /dev/null
@@ -1,634 +0,0 @@
-/* -*- Mode: C -*-
- ======================================================================
- FILE: icalderivedproperties.{c,h}
- CREATOR: eric 09 May 1999
-
- $Id: icalderivedproperty.h.in,v 1.7 2007-04-30 13:57:48 artcancro Exp $
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
- ======================================================================*/
-
-
-#ifndef ICALDERIVEDPROPERTY_H
-#define ICALDERIVEDPROPERTY_H
-
-#include <time.h>
-#include "icalparameter.h"
-#include "icalderivedvalue.h"
-#include "icalrecur.h"
-
-typedef struct icalproperty_impl icalproperty;
-
-typedef enum icalproperty_kind {
- ICAL_ANY_PROPERTY = 0,
- ICAL_ACKNOWLEDGED_PROPERTY,
- ICAL_ACTION_PROPERTY,
- ICAL_ALLOWCONFLICT_PROPERTY,
- ICAL_ATTACH_PROPERTY,
- ICAL_ATTENDEE_PROPERTY,
- ICAL_CALID_PROPERTY,
- ICAL_CALMASTER_PROPERTY,
- ICAL_CALSCALE_PROPERTY,
- ICAL_CAPVERSION_PROPERTY,
- ICAL_CARLEVEL_PROPERTY,
- ICAL_CARID_PROPERTY,
- ICAL_CATEGORIES_PROPERTY,
- ICAL_CLASS_PROPERTY,
- ICAL_CMD_PROPERTY,
- ICAL_COMMENT_PROPERTY,
- ICAL_COMPLETED_PROPERTY,
- ICAL_COMPONENTS_PROPERTY,
- ICAL_CONTACT_PROPERTY,
- ICAL_CREATED_PROPERTY,
- ICAL_CSID_PROPERTY,
- ICAL_DATEMAX_PROPERTY,
- ICAL_DATEMIN_PROPERTY,
- ICAL_DECREED_PROPERTY,
- ICAL_DEFAULTCHARSET_PROPERTY,
- ICAL_DEFAULTLOCALE_PROPERTY,
- ICAL_DEFAULTTZID_PROPERTY,
- ICAL_DEFAULTVCARS_PROPERTY,
- ICAL_DENY_PROPERTY,
- ICAL_DESCRIPTION_PROPERTY,
- ICAL_DTEND_PROPERTY,
- ICAL_DTSTAMP_PROPERTY,
- ICAL_DTSTART_PROPERTY,
- ICAL_DUE_PROPERTY,
- ICAL_DURATION_PROPERTY,
- ICAL_EXDATE_PROPERTY,
- ICAL_EXPAND_PROPERTY,
- ICAL_EXRULE_PROPERTY,
- ICAL_FREEBUSY_PROPERTY,
- ICAL_GEO_PROPERTY,
- ICAL_GRANT_PROPERTY,
- ICAL_ITIPVERSION_PROPERTY,
- ICAL_LASTMODIFIED_PROPERTY,
- ICAL_LOCATION_PROPERTY,
- ICAL_MAXCOMPONENTSIZE_PROPERTY,
- ICAL_MAXDATE_PROPERTY,
- ICAL_MAXRESULTS_PROPERTY,
- ICAL_MAXRESULTSSIZE_PROPERTY,
- ICAL_METHOD_PROPERTY,
- ICAL_MINDATE_PROPERTY,
- ICAL_MULTIPART_PROPERTY,
- ICAL_NAME_PROPERTY,
- ICAL_ORGANIZER_PROPERTY,
- ICAL_OWNER_PROPERTY,
- ICAL_PERCENTCOMPLETE_PROPERTY,
- ICAL_PERMISSION_PROPERTY,
- ICAL_PRIORITY_PROPERTY,
- ICAL_PRODID_PROPERTY,
- ICAL_QUERY_PROPERTY,
- ICAL_QUERYLEVEL_PROPERTY,
- ICAL_QUERYID_PROPERTY,
- ICAL_QUERYNAME_PROPERTY,
- ICAL_RDATE_PROPERTY,
- ICAL_RECURACCEPTED_PROPERTY,
- ICAL_RECUREXPAND_PROPERTY,
- ICAL_RECURLIMIT_PROPERTY,
- ICAL_RECURRENCEID_PROPERTY,
- ICAL_RELATEDTO_PROPERTY,
- ICAL_RELCALID_PROPERTY,
- ICAL_REPEAT_PROPERTY,
- ICAL_REQUESTSTATUS_PROPERTY,
- ICAL_RESOURCES_PROPERTY,
- ICAL_RESTRICTION_PROPERTY,
- ICAL_RRULE_PROPERTY,
- ICAL_SCOPE_PROPERTY,
- ICAL_SEQUENCE_PROPERTY,
- ICAL_STATUS_PROPERTY,
- ICAL_STORESEXPANDED_PROPERTY,
- ICAL_SUMMARY_PROPERTY,
- ICAL_TARGET_PROPERTY,
- ICAL_TRANSP_PROPERTY,
- ICAL_TRIGGER_PROPERTY,
- ICAL_TZID_PROPERTY,
- ICAL_TZNAME_PROPERTY,
- ICAL_TZOFFSETFROM_PROPERTY,
- ICAL_TZOFFSETTO_PROPERTY,
- ICAL_TZURL_PROPERTY,
- ICAL_UID_PROPERTY,
- ICAL_URL_PROPERTY,
- ICAL_VERSION_PROPERTY,
- ICAL_X_PROPERTY,
- ICAL_XLICCLASS_PROPERTY,
- ICAL_XLICCLUSTERCOUNT_PROPERTY,
- ICAL_XLICERROR_PROPERTY,
- ICAL_XLICMIMECHARSET_PROPERTY,
- ICAL_XLICMIMECID_PROPERTY,
- ICAL_XLICMIMECONTENTTYPE_PROPERTY,
- ICAL_XLICMIMEENCODING_PROPERTY,
- ICAL_XLICMIMEFILENAME_PROPERTY,
- ICAL_XLICMIMEOPTINFO_PROPERTY,
- ICAL_NO_PROPERTY
-} icalproperty_kind;
-
-
-/* ACKNOWLEDGED */
-icalproperty* icalproperty_new_acknowledged(struct icaltimetype v);
-void icalproperty_set_acknowledged(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_acknowledged(const icalproperty* prop);icalproperty* icalproperty_vanew_acknowledged(struct icaltimetype v, ...);
-
-/* ACTION */
-icalproperty* icalproperty_new_action(enum icalproperty_action v);
-void icalproperty_set_action(icalproperty* prop, enum icalproperty_action v);
-enum icalproperty_action icalproperty_get_action(const icalproperty* prop);icalproperty* icalproperty_vanew_action(enum icalproperty_action v, ...);
-
-/* ALLOW-CONFLICT */
-icalproperty* icalproperty_new_allowconflict(const char* v);
-void icalproperty_set_allowconflict(icalproperty* prop, const char* v);
-const char* icalproperty_get_allowconflict(const icalproperty* prop);icalproperty* icalproperty_vanew_allowconflict(const char* v, ...);
-
-/* ATTACH */
-icalproperty* icalproperty_new_attach(icalattach * v);
-void icalproperty_set_attach(icalproperty* prop, icalattach * v);
-icalattach * icalproperty_get_attach(const icalproperty* prop);icalproperty* icalproperty_vanew_attach(icalattach * v, ...);
-
-/* ATTENDEE */
-icalproperty* icalproperty_new_attendee(const char* v);
-void icalproperty_set_attendee(icalproperty* prop, const char* v);
-const char* icalproperty_get_attendee(const icalproperty* prop);icalproperty* icalproperty_vanew_attendee(const char* v, ...);
-
-/* CALID */
-icalproperty* icalproperty_new_calid(const char* v);
-void icalproperty_set_calid(icalproperty* prop, const char* v);
-const char* icalproperty_get_calid(const icalproperty* prop);icalproperty* icalproperty_vanew_calid(const char* v, ...);
-
-/* CALMASTER */
-icalproperty* icalproperty_new_calmaster(const char* v);
-void icalproperty_set_calmaster(icalproperty* prop, const char* v);
-const char* icalproperty_get_calmaster(const icalproperty* prop);icalproperty* icalproperty_vanew_calmaster(const char* v, ...);
-
-/* CALSCALE */
-icalproperty* icalproperty_new_calscale(const char* v);
-void icalproperty_set_calscale(icalproperty* prop, const char* v);
-const char* icalproperty_get_calscale(const icalproperty* prop);icalproperty* icalproperty_vanew_calscale(const char* v, ...);
-
-/* CAP-VERSION */
-icalproperty* icalproperty_new_capversion(const char* v);
-void icalproperty_set_capversion(icalproperty* prop, const char* v);
-const char* icalproperty_get_capversion(const icalproperty* prop);icalproperty* icalproperty_vanew_capversion(const char* v, ...);
-
-/* CAR-LEVEL */
-icalproperty* icalproperty_new_carlevel(enum icalproperty_carlevel v);
-void icalproperty_set_carlevel(icalproperty* prop, enum icalproperty_carlevel v);
-enum icalproperty_carlevel icalproperty_get_carlevel(const icalproperty* prop);icalproperty* icalproperty_vanew_carlevel(enum icalproperty_carlevel v, ...);
-
-/* CARID */
-icalproperty* icalproperty_new_carid(const char* v);
-void icalproperty_set_carid(icalproperty* prop, const char* v);
-const char* icalproperty_get_carid(const icalproperty* prop);icalproperty* icalproperty_vanew_carid(const char* v, ...);
-
-/* CATEGORIES */
-icalproperty* icalproperty_new_categories(const char* v);
-void icalproperty_set_categories(icalproperty* prop, const char* v);
-const char* icalproperty_get_categories(const icalproperty* prop);icalproperty* icalproperty_vanew_categories(const char* v, ...);
-
-/* CLASS */
-icalproperty* icalproperty_new_class(enum icalproperty_class v);
-void icalproperty_set_class(icalproperty* prop, enum icalproperty_class v);
-enum icalproperty_class icalproperty_get_class(const icalproperty* prop);icalproperty* icalproperty_vanew_class(enum icalproperty_class v, ...);
-
-/* CMD */
-icalproperty* icalproperty_new_cmd(enum icalproperty_cmd v);
-void icalproperty_set_cmd(icalproperty* prop, enum icalproperty_cmd v);
-enum icalproperty_cmd icalproperty_get_cmd(const icalproperty* prop);icalproperty* icalproperty_vanew_cmd(enum icalproperty_cmd v, ...);
-
-/* COMMENT */
-icalproperty* icalproperty_new_comment(const char* v);
-void icalproperty_set_comment(icalproperty* prop, const char* v);
-const char* icalproperty_get_comment(const icalproperty* prop);icalproperty* icalproperty_vanew_comment(const char* v, ...);
-
-/* COMPLETED */
-icalproperty* icalproperty_new_completed(struct icaltimetype v);
-void icalproperty_set_completed(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_completed(const icalproperty* prop);icalproperty* icalproperty_vanew_completed(struct icaltimetype v, ...);
-
-/* COMPONENTS */
-icalproperty* icalproperty_new_components(const char* v);
-void icalproperty_set_components(icalproperty* prop, const char* v);
-const char* icalproperty_get_components(const icalproperty* prop);icalproperty* icalproperty_vanew_components(const char* v, ...);
-
-/* CONTACT */
-icalproperty* icalproperty_new_contact(const char* v);
-void icalproperty_set_contact(icalproperty* prop, const char* v);
-const char* icalproperty_get_contact(const icalproperty* prop);icalproperty* icalproperty_vanew_contact(const char* v, ...);
-
-/* CREATED */
-icalproperty* icalproperty_new_created(struct icaltimetype v);
-void icalproperty_set_created(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_created(const icalproperty* prop);icalproperty* icalproperty_vanew_created(struct icaltimetype v, ...);
-
-/* CSID */
-icalproperty* icalproperty_new_csid(const char* v);
-void icalproperty_set_csid(icalproperty* prop, const char* v);
-const char* icalproperty_get_csid(const icalproperty* prop);icalproperty* icalproperty_vanew_csid(const char* v, ...);
-
-/* DATE-MAX */
-icalproperty* icalproperty_new_datemax(struct icaltimetype v);
-void icalproperty_set_datemax(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_datemax(const icalproperty* prop);icalproperty* icalproperty_vanew_datemax(struct icaltimetype v, ...);
-
-/* DATE-MIN */
-icalproperty* icalproperty_new_datemin(struct icaltimetype v);
-void icalproperty_set_datemin(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_datemin(const icalproperty* prop);icalproperty* icalproperty_vanew_datemin(struct icaltimetype v, ...);
-
-/* DECREED */
-icalproperty* icalproperty_new_decreed(const char* v);
-void icalproperty_set_decreed(icalproperty* prop, const char* v);
-const char* icalproperty_get_decreed(const icalproperty* prop);icalproperty* icalproperty_vanew_decreed(const char* v, ...);
-
-/* DEFAULT-CHARSET */
-icalproperty* icalproperty_new_defaultcharset(const char* v);
-void icalproperty_set_defaultcharset(icalproperty* prop, const char* v);
-const char* icalproperty_get_defaultcharset(const icalproperty* prop);icalproperty* icalproperty_vanew_defaultcharset(const char* v, ...);
-
-/* DEFAULT-LOCALE */
-icalproperty* icalproperty_new_defaultlocale(const char* v);
-void icalproperty_set_defaultlocale(icalproperty* prop, const char* v);
-const char* icalproperty_get_defaultlocale(const icalproperty* prop);icalproperty* icalproperty_vanew_defaultlocale(const char* v, ...);
-
-/* DEFAULT-TZID */
-icalproperty* icalproperty_new_defaulttzid(const char* v);
-void icalproperty_set_defaulttzid(icalproperty* prop, const char* v);
-const char* icalproperty_get_defaulttzid(const icalproperty* prop);icalproperty* icalproperty_vanew_defaulttzid(const char* v, ...);
-
-/* DEFAULT-VCARS */
-icalproperty* icalproperty_new_defaultvcars(const char* v);
-void icalproperty_set_defaultvcars(icalproperty* prop, const char* v);
-const char* icalproperty_get_defaultvcars(const icalproperty* prop);icalproperty* icalproperty_vanew_defaultvcars(const char* v, ...);
-
-/* DENY */
-icalproperty* icalproperty_new_deny(const char* v);
-void icalproperty_set_deny(icalproperty* prop, const char* v);
-const char* icalproperty_get_deny(const icalproperty* prop);icalproperty* icalproperty_vanew_deny(const char* v, ...);
-
-/* DESCRIPTION */
-icalproperty* icalproperty_new_description(const char* v);
-void icalproperty_set_description(icalproperty* prop, const char* v);
-const char* icalproperty_get_description(const icalproperty* prop);icalproperty* icalproperty_vanew_description(const char* v, ...);
-
-/* DTEND */
-icalproperty* icalproperty_new_dtend(struct icaltimetype v);
-void icalproperty_set_dtend(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_dtend(const icalproperty* prop);icalproperty* icalproperty_vanew_dtend(struct icaltimetype v, ...);
-
-/* DTSTAMP */
-icalproperty* icalproperty_new_dtstamp(struct icaltimetype v);
-void icalproperty_set_dtstamp(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_dtstamp(const icalproperty* prop);icalproperty* icalproperty_vanew_dtstamp(struct icaltimetype v, ...);
-
-/* DTSTART */
-icalproperty* icalproperty_new_dtstart(struct icaltimetype v);
-void icalproperty_set_dtstart(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_dtstart(const icalproperty* prop);icalproperty* icalproperty_vanew_dtstart(struct icaltimetype v, ...);
-
-/* DUE */
-icalproperty* icalproperty_new_due(struct icaltimetype v);
-void icalproperty_set_due(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_due(const icalproperty* prop);icalproperty* icalproperty_vanew_due(struct icaltimetype v, ...);
-
-/* DURATION */
-icalproperty* icalproperty_new_duration(struct icaldurationtype v);
-void icalproperty_set_duration(icalproperty* prop, struct icaldurationtype v);
-struct icaldurationtype icalproperty_get_duration(const icalproperty* prop);icalproperty* icalproperty_vanew_duration(struct icaldurationtype v, ...);
-
-/* EXDATE */
-icalproperty* icalproperty_new_exdate(struct icaltimetype v);
-void icalproperty_set_exdate(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_exdate(const icalproperty* prop);icalproperty* icalproperty_vanew_exdate(struct icaltimetype v, ...);
-
-/* EXPAND */
-icalproperty* icalproperty_new_expand(int v);
-void icalproperty_set_expand(icalproperty* prop, int v);
-int icalproperty_get_expand(const icalproperty* prop);icalproperty* icalproperty_vanew_expand(int v, ...);
-
-/* EXRULE */
-icalproperty* icalproperty_new_exrule(struct icalrecurrencetype v);
-void icalproperty_set_exrule(icalproperty* prop, struct icalrecurrencetype v);
-struct icalrecurrencetype icalproperty_get_exrule(const icalproperty* prop);icalproperty* icalproperty_vanew_exrule(struct icalrecurrencetype v, ...);
-
-/* FREEBUSY */
-icalproperty* icalproperty_new_freebusy(struct icalperiodtype v);
-void icalproperty_set_freebusy(icalproperty* prop, struct icalperiodtype v);
-struct icalperiodtype icalproperty_get_freebusy(const icalproperty* prop);icalproperty* icalproperty_vanew_freebusy(struct icalperiodtype v, ...);
-
-/* GEO */
-icalproperty* icalproperty_new_geo(struct icalgeotype v);
-void icalproperty_set_geo(icalproperty* prop, struct icalgeotype v);
-struct icalgeotype icalproperty_get_geo(const icalproperty* prop);icalproperty* icalproperty_vanew_geo(struct icalgeotype v, ...);
-
-/* GRANT */
-icalproperty* icalproperty_new_grant(const char* v);
-void icalproperty_set_grant(icalproperty* prop, const char* v);
-const char* icalproperty_get_grant(const icalproperty* prop);icalproperty* icalproperty_vanew_grant(const char* v, ...);
-
-/* ITIP-VERSION */
-icalproperty* icalproperty_new_itipversion(const char* v);
-void icalproperty_set_itipversion(icalproperty* prop, const char* v);
-const char* icalproperty_get_itipversion(const icalproperty* prop);icalproperty* icalproperty_vanew_itipversion(const char* v, ...);
-
-/* LAST-MODIFIED */
-icalproperty* icalproperty_new_lastmodified(struct icaltimetype v);
-void icalproperty_set_lastmodified(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_lastmodified(const icalproperty* prop);icalproperty* icalproperty_vanew_lastmodified(struct icaltimetype v, ...);
-
-/* LOCATION */
-icalproperty* icalproperty_new_location(const char* v);
-void icalproperty_set_location(icalproperty* prop, const char* v);
-const char* icalproperty_get_location(const icalproperty* prop);icalproperty* icalproperty_vanew_location(const char* v, ...);
-
-/* MAX-COMPONENT-SIZE */
-icalproperty* icalproperty_new_maxcomponentsize(int v);
-void icalproperty_set_maxcomponentsize(icalproperty* prop, int v);
-int icalproperty_get_maxcomponentsize(const icalproperty* prop);icalproperty* icalproperty_vanew_maxcomponentsize(int v, ...);
-
-/* MAXDATE */
-icalproperty* icalproperty_new_maxdate(struct icaltimetype v);
-void icalproperty_set_maxdate(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_maxdate(const icalproperty* prop);icalproperty* icalproperty_vanew_maxdate(struct icaltimetype v, ...);
-
-/* MAXRESULTS */
-icalproperty* icalproperty_new_maxresults(int v);
-void icalproperty_set_maxresults(icalproperty* prop, int v);
-int icalproperty_get_maxresults(const icalproperty* prop);icalproperty* icalproperty_vanew_maxresults(int v, ...);
-
-/* MAXRESULTSSIZE */
-icalproperty* icalproperty_new_maxresultssize(int v);
-void icalproperty_set_maxresultssize(icalproperty* prop, int v);
-int icalproperty_get_maxresultssize(const icalproperty* prop);icalproperty* icalproperty_vanew_maxresultssize(int v, ...);
-
-/* METHOD */
-icalproperty* icalproperty_new_method(enum icalproperty_method v);
-void icalproperty_set_method(icalproperty* prop, enum icalproperty_method v);
-enum icalproperty_method icalproperty_get_method(const icalproperty* prop);icalproperty* icalproperty_vanew_method(enum icalproperty_method v, ...);
-
-/* MINDATE */
-icalproperty* icalproperty_new_mindate(struct icaltimetype v);
-void icalproperty_set_mindate(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_mindate(const icalproperty* prop);icalproperty* icalproperty_vanew_mindate(struct icaltimetype v, ...);
-
-/* MULTIPART */
-icalproperty* icalproperty_new_multipart(const char* v);
-void icalproperty_set_multipart(icalproperty* prop, const char* v);
-const char* icalproperty_get_multipart(const icalproperty* prop);icalproperty* icalproperty_vanew_multipart(const char* v, ...);
-
-/* NAME */
-icalproperty* icalproperty_new_name(const char* v);
-void icalproperty_set_name(icalproperty* prop, const char* v);
-const char* icalproperty_get_name(const icalproperty* prop);icalproperty* icalproperty_vanew_name(const char* v, ...);
-
-/* ORGANIZER */
-icalproperty* icalproperty_new_organizer(const char* v);
-void icalproperty_set_organizer(icalproperty* prop, const char* v);
-const char* icalproperty_get_organizer(const icalproperty* prop);icalproperty* icalproperty_vanew_organizer(const char* v, ...);
-
-/* OWNER */
-icalproperty* icalproperty_new_owner(const char* v);
-void icalproperty_set_owner(icalproperty* prop, const char* v);
-const char* icalproperty_get_owner(const icalproperty* prop);icalproperty* icalproperty_vanew_owner(const char* v, ...);
-
-/* PERCENT-COMPLETE */
-icalproperty* icalproperty_new_percentcomplete(int v);
-void icalproperty_set_percentcomplete(icalproperty* prop, int v);
-int icalproperty_get_percentcomplete(const icalproperty* prop);icalproperty* icalproperty_vanew_percentcomplete(int v, ...);
-
-/* PERMISSION */
-icalproperty* icalproperty_new_permission(const char* v);
-void icalproperty_set_permission(icalproperty* prop, const char* v);
-const char* icalproperty_get_permission(const icalproperty* prop);icalproperty* icalproperty_vanew_permission(const char* v, ...);
-
-/* PRIORITY */
-icalproperty* icalproperty_new_priority(int v);
-void icalproperty_set_priority(icalproperty* prop, int v);
-int icalproperty_get_priority(const icalproperty* prop);icalproperty* icalproperty_vanew_priority(int v, ...);
-
-/* PRODID */
-icalproperty* icalproperty_new_prodid(const char* v);
-void icalproperty_set_prodid(icalproperty* prop, const char* v);
-const char* icalproperty_get_prodid(const icalproperty* prop);icalproperty* icalproperty_vanew_prodid(const char* v, ...);
-
-/* QUERY */
-icalproperty* icalproperty_new_query(const char* v);
-void icalproperty_set_query(icalproperty* prop, const char* v);
-const char* icalproperty_get_query(const icalproperty* prop);icalproperty* icalproperty_vanew_query(const char* v, ...);
-
-/* QUERY-LEVEL */
-icalproperty* icalproperty_new_querylevel(enum icalproperty_querylevel v);
-void icalproperty_set_querylevel(icalproperty* prop, enum icalproperty_querylevel v);
-enum icalproperty_querylevel icalproperty_get_querylevel(const icalproperty* prop);icalproperty* icalproperty_vanew_querylevel(enum icalproperty_querylevel v, ...);
-
-/* QUERYID */
-icalproperty* icalproperty_new_queryid(const char* v);
-void icalproperty_set_queryid(icalproperty* prop, const char* v);
-const char* icalproperty_get_queryid(const icalproperty* prop);icalproperty* icalproperty_vanew_queryid(const char* v, ...);
-
-/* QUERYNAME */
-icalproperty* icalproperty_new_queryname(const char* v);
-void icalproperty_set_queryname(icalproperty* prop, const char* v);
-const char* icalproperty_get_queryname(const icalproperty* prop);icalproperty* icalproperty_vanew_queryname(const char* v, ...);
-
-/* RDATE */
-icalproperty* icalproperty_new_rdate(struct icaldatetimeperiodtype v);
-void icalproperty_set_rdate(icalproperty* prop, struct icaldatetimeperiodtype v);
-struct icaldatetimeperiodtype icalproperty_get_rdate(const icalproperty* prop);icalproperty* icalproperty_vanew_rdate(struct icaldatetimeperiodtype v, ...);
-
-/* RECUR-ACCEPTED */
-icalproperty* icalproperty_new_recuraccepted(const char* v);
-void icalproperty_set_recuraccepted(icalproperty* prop, const char* v);
-const char* icalproperty_get_recuraccepted(const icalproperty* prop);icalproperty* icalproperty_vanew_recuraccepted(const char* v, ...);
-
-/* RECUR-EXPAND */
-icalproperty* icalproperty_new_recurexpand(const char* v);
-void icalproperty_set_recurexpand(icalproperty* prop, const char* v);
-const char* icalproperty_get_recurexpand(const icalproperty* prop);icalproperty* icalproperty_vanew_recurexpand(const char* v, ...);
-
-/* RECUR-LIMIT */
-icalproperty* icalproperty_new_recurlimit(const char* v);
-void icalproperty_set_recurlimit(icalproperty* prop, const char* v);
-const char* icalproperty_get_recurlimit(const icalproperty* prop);icalproperty* icalproperty_vanew_recurlimit(const char* v, ...);
-
-/* RECURRENCE-ID */
-icalproperty* icalproperty_new_recurrenceid(struct icaltimetype v);
-void icalproperty_set_recurrenceid(icalproperty* prop, struct icaltimetype v);
-struct icaltimetype icalproperty_get_recurrenceid(const icalproperty* prop);icalproperty* icalproperty_vanew_recurrenceid(struct icaltimetype v, ...);
-
-/* RELATED-TO */
-icalproperty* icalproperty_new_relatedto(const char* v);
-void icalproperty_set_relatedto(icalproperty* prop, const char* v);
-const char* icalproperty_get_relatedto(const icalproperty* prop);icalproperty* icalproperty_vanew_relatedto(const char* v, ...);
-
-/* RELCALID */
-icalproperty* icalproperty_new_relcalid(const char* v);
-void icalproperty_set_relcalid(icalproperty* prop, const char* v);
-const char* icalproperty_get_relcalid(const icalproperty* prop);icalproperty* icalproperty_vanew_relcalid(const char* v, ...);
-
-/* REPEAT */
-icalproperty* icalproperty_new_repeat(int v);
-void icalproperty_set_repeat(icalproperty* prop, int v);
-int icalproperty_get_repeat(const icalproperty* prop);icalproperty* icalproperty_vanew_repeat(int v, ...);
-
-/* REQUEST-STATUS */
-icalproperty* icalproperty_new_requeststatus(struct icalreqstattype v);
-void icalproperty_set_requeststatus(icalproperty* prop, struct icalreqstattype v);
-struct icalreqstattype icalproperty_get_requeststatus(const icalproperty* prop);icalproperty* icalproperty_vanew_requeststatus(struct icalreqstattype v, ...);
-
-/* RESOURCES */
-icalproperty* icalproperty_new_resources(const char* v);
-void icalproperty_set_resources(icalproperty* prop, const char* v);
-const char* icalproperty_get_resources(const icalproperty* prop);icalproperty* icalproperty_vanew_resources(const char* v, ...);
-
-/* RESTRICTION */
-icalproperty* icalproperty_new_restriction(const char* v);
-void icalproperty_set_restriction(icalproperty* prop, const char* v);
-const char* icalproperty_get_restriction(const icalproperty* prop);icalproperty* icalproperty_vanew_restriction(const char* v, ...);
-
-/* RRULE */
-icalproperty* icalproperty_new_rrule(struct icalrecurrencetype v);
-void icalproperty_set_rrule(icalproperty* prop, struct icalrecurrencetype v);
-struct icalrecurrencetype icalproperty_get_rrule(const icalproperty* prop);icalproperty* icalproperty_vanew_rrule(struct icalrecurrencetype v, ...);
-
-/* SCOPE */
-icalproperty* icalproperty_new_scope(const char* v);
-void icalproperty_set_scope(icalproperty* prop, const char* v);
-const char* icalproperty_get_scope(const icalproperty* prop);icalproperty* icalproperty_vanew_scope(const char* v, ...);
-
-/* SEQUENCE */
-icalproperty* icalproperty_new_sequence(int v);
-void icalproperty_set_sequence(icalproperty* prop, int v);
-int icalproperty_get_sequence(const icalproperty* prop);icalproperty* icalproperty_vanew_sequence(int v, ...);
-
-/* STATUS */
-icalproperty* icalproperty_new_status(enum icalproperty_status v);
-void icalproperty_set_status(icalproperty* prop, enum icalproperty_status v);
-enum icalproperty_status icalproperty_get_status(const icalproperty* prop);icalproperty* icalproperty_vanew_status(enum icalproperty_status v, ...);
-
-/* STORES-EXPANDED */
-icalproperty* icalproperty_new_storesexpanded(const char* v);
-void icalproperty_set_storesexpanded(icalproperty* prop, const char* v);
-const char* icalproperty_get_storesexpanded(const icalproperty* prop);icalproperty* icalproperty_vanew_storesexpanded(const char* v, ...);
-
-/* SUMMARY */
-icalproperty* icalproperty_new_summary(const char* v);
-void icalproperty_set_summary(icalproperty* prop, const char* v);
-const char* icalproperty_get_summary(const icalproperty* prop);icalproperty* icalproperty_vanew_summary(const char* v, ...);
-
-/* TARGET */
-icalproperty* icalproperty_new_target(const char* v);
-void icalproperty_set_target(icalproperty* prop, const char* v);
-const char* icalproperty_get_target(const icalproperty* prop);icalproperty* icalproperty_vanew_target(const char* v, ...);
-
-/* TRANSP */
-icalproperty* icalproperty_new_transp(enum icalproperty_transp v);
-void icalproperty_set_transp(icalproperty* prop, enum icalproperty_transp v);
-enum icalproperty_transp icalproperty_get_transp(const icalproperty* prop);icalproperty* icalproperty_vanew_transp(enum icalproperty_transp v, ...);
-
-/* TRIGGER */
-icalproperty* icalproperty_new_trigger(struct icaltriggertype v);
-void icalproperty_set_trigger(icalproperty* prop, struct icaltriggertype v);
-struct icaltriggertype icalproperty_get_trigger(const icalproperty* prop);icalproperty* icalproperty_vanew_trigger(struct icaltriggertype v, ...);
-
-/* TZID */
-icalproperty* icalproperty_new_tzid(const char* v);
-void icalproperty_set_tzid(icalproperty* prop, const char* v);
-const char* icalproperty_get_tzid(const icalproperty* prop);icalproperty* icalproperty_vanew_tzid(const char* v, ...);
-
-/* TZNAME */
-icalproperty* icalproperty_new_tzname(const char* v);
-void icalproperty_set_tzname(icalproperty* prop, const char* v);
-const char* icalproperty_get_tzname(const icalproperty* prop);icalproperty* icalproperty_vanew_tzname(const char* v, ...);
-
-/* TZOFFSETFROM */
-icalproperty* icalproperty_new_tzoffsetfrom(int v);
-void icalproperty_set_tzoffsetfrom(icalproperty* prop, int v);
-int icalproperty_get_tzoffsetfrom(const icalproperty* prop);icalproperty* icalproperty_vanew_tzoffsetfrom(int v, ...);
-
-/* TZOFFSETTO */
-icalproperty* icalproperty_new_tzoffsetto(int v);
-void icalproperty_set_tzoffsetto(icalproperty* prop, int v);
-int icalproperty_get_tzoffsetto(const icalproperty* prop);icalproperty* icalproperty_vanew_tzoffsetto(int v, ...);
-
-/* TZURL */
-icalproperty* icalproperty_new_tzurl(const char* v);
-void icalproperty_set_tzurl(icalproperty* prop, const char* v);
-const char* icalproperty_get_tzurl(const icalproperty* prop);icalproperty* icalproperty_vanew_tzurl(const char* v, ...);
-
-/* UID */
-icalproperty* icalproperty_new_uid(const char* v);
-void icalproperty_set_uid(icalproperty* prop, const char* v);
-const char* icalproperty_get_uid(const icalproperty* prop);icalproperty* icalproperty_vanew_uid(const char* v, ...);
-
-/* URL */
-icalproperty* icalproperty_new_url(const char* v);
-void icalproperty_set_url(icalproperty* prop, const char* v);
-const char* icalproperty_get_url(const icalproperty* prop);icalproperty* icalproperty_vanew_url(const char* v, ...);
-
-/* VERSION */
-icalproperty* icalproperty_new_version(const char* v);
-void icalproperty_set_version(icalproperty* prop, const char* v);
-const char* icalproperty_get_version(const icalproperty* prop);icalproperty* icalproperty_vanew_version(const char* v, ...);
-
-/* X */
-icalproperty* icalproperty_new_x(const char* v);
-void icalproperty_set_x(icalproperty* prop, const char* v);
-const char* icalproperty_get_x(const icalproperty* prop);icalproperty* icalproperty_vanew_x(const char* v, ...);
-
-/* X-LIC-CLASS */
-icalproperty* icalproperty_new_xlicclass(enum icalproperty_xlicclass v);
-void icalproperty_set_xlicclass(icalproperty* prop, enum icalproperty_xlicclass v);
-enum icalproperty_xlicclass icalproperty_get_xlicclass(const icalproperty* prop);icalproperty* icalproperty_vanew_xlicclass(enum icalproperty_xlicclass v, ...);
-
-/* X-LIC-CLUSTERCOUNT */
-icalproperty* icalproperty_new_xlicclustercount(const char* v);
-void icalproperty_set_xlicclustercount(icalproperty* prop, const char* v);
-const char* icalproperty_get_xlicclustercount(const icalproperty* prop);icalproperty* icalproperty_vanew_xlicclustercount(const char* v, ...);
-
-/* X-LIC-ERROR */
-icalproperty* icalproperty_new_xlicerror(const char* v);
-void icalproperty_set_xlicerror(icalproperty* prop, const char* v);
-const char* icalproperty_get_xlicerror(const icalproperty* prop);icalproperty* icalproperty_vanew_xlicerror(const char* v, ...);
-
-/* X-LIC-MIMECHARSET */
-icalproperty* icalproperty_new_xlicmimecharset(const char* v);
-void icalproperty_set_xlicmimecharset(icalproperty* prop, const char* v);
-const char* icalproperty_get_xlicmimecharset(const icalproperty* prop);icalproperty* icalproperty_vanew_xlicmimecharset(const char* v, ...);
-
-/* X-LIC-MIMECID */
-icalproperty* icalproperty_new_xlicmimecid(const char* v);
-void icalproperty_set_xlicmimecid(icalproperty* prop, const char* v);
-const char* icalproperty_get_xlicmimecid(const icalproperty* prop);icalproperty* icalproperty_vanew_xlicmimecid(const char* v, ...);
-
-/* X-LIC-MIMECONTENTTYPE */
-icalproperty* icalproperty_new_xlicmimecontenttype(const char* v);
-void icalproperty_set_xlicmimecontenttype(icalproperty* prop, const char* v);
-const char* icalproperty_get_xlicmimecontenttype(const icalproperty* prop);icalproperty* icalproperty_vanew_xlicmimecontenttype(const char* v, ...);
-
-/* X-LIC-MIMEENCODING */
-icalproperty* icalproperty_new_xlicmimeencoding(const char* v);
-void icalproperty_set_xlicmimeencoding(icalproperty* prop, const char* v);
-const char* icalproperty_get_xlicmimeencoding(const icalproperty* prop);icalproperty* icalproperty_vanew_xlicmimeencoding(const char* v, ...);
-
-/* X-LIC-MIMEFILENAME */
-icalproperty* icalproperty_new_xlicmimefilename(const char* v);
-void icalproperty_set_xlicmimefilename(icalproperty* prop, const char* v);
-const char* icalproperty_get_xlicmimefilename(const icalproperty* prop);icalproperty* icalproperty_vanew_xlicmimefilename(const char* v, ...);
-
-/* X-LIC-MIMEOPTINFO */
-icalproperty* icalproperty_new_xlicmimeoptinfo(const char* v);
-void icalproperty_set_xlicmimeoptinfo(icalproperty* prop, const char* v);
-const char* icalproperty_get_xlicmimeoptinfo(const icalproperty* prop);icalproperty* icalproperty_vanew_xlicmimeoptinfo(const char* v, ...);
-
-
-#endif /*ICALPROPERTY_H*/
diff --git a/contrib/prebuilt/include/libical/icalderivedvalue.h b/contrib/prebuilt/include/libical/icalderivedvalue.h
deleted file mode 100644
index 8d39c09..0000000
--- a/contrib/prebuilt/include/libical/icalderivedvalue.h
+++ /dev/null
@@ -1,371 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalvalue.h
- CREATOR: eric 20 March 1999
-
-
- $Id: icalderivedvalue.h.in,v 1.10 2007-04-30 13:57:48 artcancro Exp $
- $Locker: $
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icalvalue.h
-
- ======================================================================*/
-
-#ifndef ICALDERIVEDVALUE_H
-#define ICALDERIVEDVALUE_H
-
-#include "icaltypes.h"
-#include "icalrecur.h"
-#include "icaltime.h"
-#include "icalduration.h"
-#include "icalperiod.h"
-#include "icalattach.h"
-
-typedef struct icalvalue_impl icalvalue;
-
-void icalvalue_set_x(icalvalue* value, const char* v);
-icalvalue* icalvalue_new_x(const char* v);
-const char* icalvalue_get_x(const icalvalue* value);
-
-icalvalue* icalvalue_new_recur (struct icalrecurrencetype v);
-void icalvalue_set_recur(icalvalue* value, struct icalrecurrencetype v);
-struct icalrecurrencetype icalvalue_get_recur(const icalvalue* value);
-
-icalvalue* icalvalue_new_trigger (struct icaltriggertype v);
-void icalvalue_set_trigger(icalvalue* value, struct icaltriggertype v);
-struct icaltriggertype icalvalue_get_trigger(const icalvalue* value);
-
-icalvalue* icalvalue_new_datetime(struct icaltimetype v);
-struct icaltimetype icalvalue_get_datetime(const icalvalue* value);
-void icalvalue_set_datetime(icalvalue* value, struct icaltimetype v);
-
-icalvalue* icalvalue_new_datetimeperiod (struct icaldatetimeperiodtype v);
-void icalvalue_set_datetimeperiod(icalvalue* value, struct icaldatetimeperiodtype v);
-struct icaldatetimeperiodtype icalvalue_get_datetimeperiod(const icalvalue* value);
-
-/* GEO */
-icalvalue* icalvalue_new_geo(struct icalgeotype v);
-struct icalgeotype icalvalue_get_geo(const icalvalue* value);
-void icalvalue_set_geo(icalvalue* value, struct icalgeotype v);
-
-icalvalue *icalvalue_new_attach (icalattach *attach);
-void icalvalue_set_attach (icalvalue *value, icalattach *attach);
-icalattach *icalvalue_get_attach (const icalvalue *value);
-
-void icalvalue_reset_kind(icalvalue* value);
-
-typedef enum icalvalue_kind {
- ICAL_ANY_VALUE=5000,
- ICAL_QUERY_VALUE=5001,
- ICAL_DATE_VALUE=5002,
- ICAL_ATTACH_VALUE=5003,
- ICAL_GEO_VALUE=5004,
- ICAL_STATUS_VALUE=5005,
- ICAL_TRANSP_VALUE=5006,
- ICAL_STRING_VALUE=5007,
- ICAL_TEXT_VALUE=5008,
- ICAL_REQUESTSTATUS_VALUE=5009,
- ICAL_CMD_VALUE=5010,
- ICAL_BINARY_VALUE=5011,
- ICAL_QUERYLEVEL_VALUE=5012,
- ICAL_PERIOD_VALUE=5013,
- ICAL_FLOAT_VALUE=5014,
- ICAL_DATETIMEPERIOD_VALUE=5015,
- ICAL_CARLEVEL_VALUE=5016,
- ICAL_INTEGER_VALUE=5017,
- ICAL_CLASS_VALUE=5018,
- ICAL_URI_VALUE=5019,
- ICAL_DURATION_VALUE=5020,
- ICAL_BOOLEAN_VALUE=5021,
- ICAL_X_VALUE=5022,
- ICAL_CALADDRESS_VALUE=5023,
- ICAL_TRIGGER_VALUE=5024,
- ICAL_XLICCLASS_VALUE=5025,
- ICAL_RECUR_VALUE=5026,
- ICAL_ACTION_VALUE=5027,
- ICAL_DATETIME_VALUE=5028,
- ICAL_UTCOFFSET_VALUE=5029,
- ICAL_METHOD_VALUE=5030,
- ICAL_NO_VALUE=5031
-} icalvalue_kind ;
-
-#define ICALPROPERTY_FIRST_ENUM 10000
-
-typedef enum icalproperty_action {
- ICAL_ACTION_X = 10000,
- ICAL_ACTION_AUDIO = 10001,
- ICAL_ACTION_DISPLAY = 10002,
- ICAL_ACTION_EMAIL = 10003,
- ICAL_ACTION_PROCEDURE = 10004,
- ICAL_ACTION_NONE = 10005
-} icalproperty_action;
-
-typedef enum icalproperty_carlevel {
- ICAL_CARLEVEL_X = 10006,
- ICAL_CARLEVEL_CARNONE = 10007,
- ICAL_CARLEVEL_CARMIN = 10008,
- ICAL_CARLEVEL_CARFULL1 = 10009,
- ICAL_CARLEVEL_NONE = 10010
-} icalproperty_carlevel;
-
-typedef enum icalproperty_class {
- ICAL_CLASS_X = 10011,
- ICAL_CLASS_PUBLIC = 10012,
- ICAL_CLASS_PRIVATE = 10013,
- ICAL_CLASS_CONFIDENTIAL = 10014,
- ICAL_CLASS_NONE = 10015
-} icalproperty_class;
-
-typedef enum icalproperty_cmd {
- ICAL_CMD_X = 10016,
- ICAL_CMD_ABORT = 10017,
- ICAL_CMD_CONTINUE = 10018,
- ICAL_CMD_CREATE = 10019,
- ICAL_CMD_DELETE = 10020,
- ICAL_CMD_GENERATEUID = 10021,
- ICAL_CMD_GETCAPABILITY = 10022,
- ICAL_CMD_IDENTIFY = 10023,
- ICAL_CMD_MODIFY = 10024,
- ICAL_CMD_MOVE = 10025,
- ICAL_CMD_REPLY = 10026,
- ICAL_CMD_SEARCH = 10027,
- ICAL_CMD_SETLOCALE = 10028,
- ICAL_CMD_NONE = 10029
-} icalproperty_cmd;
-
-typedef enum icalproperty_method {
- ICAL_METHOD_X = 10030,
- ICAL_METHOD_PUBLISH = 10031,
- ICAL_METHOD_REQUEST = 10032,
- ICAL_METHOD_REPLY = 10033,
- ICAL_METHOD_ADD = 10034,
- ICAL_METHOD_CANCEL = 10035,
- ICAL_METHOD_REFRESH = 10036,
- ICAL_METHOD_COUNTER = 10037,
- ICAL_METHOD_DECLINECOUNTER = 10038,
- ICAL_METHOD_CREATE = 10039,
- ICAL_METHOD_READ = 10040,
- ICAL_METHOD_RESPONSE = 10041,
- ICAL_METHOD_MOVE = 10042,
- ICAL_METHOD_MODIFY = 10043,
- ICAL_METHOD_GENERATEUID = 10044,
- ICAL_METHOD_DELETE = 10045,
- ICAL_METHOD_NONE = 10046
-} icalproperty_method;
-
-typedef enum icalproperty_querylevel {
- ICAL_QUERYLEVEL_X = 10047,
- ICAL_QUERYLEVEL_CALQL1 = 10048,
- ICAL_QUERYLEVEL_CALQLNONE = 10049,
- ICAL_QUERYLEVEL_NONE = 10050
-} icalproperty_querylevel;
-
-typedef enum icalproperty_status {
- ICAL_STATUS_X = 10051,
- ICAL_STATUS_TENTATIVE = 10052,
- ICAL_STATUS_CONFIRMED = 10053,
- ICAL_STATUS_COMPLETED = 10054,
- ICAL_STATUS_NEEDSACTION = 10055,
- ICAL_STATUS_CANCELLED = 10056,
- ICAL_STATUS_INPROCESS = 10057,
- ICAL_STATUS_DRAFT = 10058,
- ICAL_STATUS_FINAL = 10059,
- ICAL_STATUS_NONE = 10060
-} icalproperty_status;
-
-typedef enum icalproperty_transp {
- ICAL_TRANSP_X = 10061,
- ICAL_TRANSP_OPAQUE = 10062,
- ICAL_TRANSP_OPAQUENOCONFLICT = 10063,
- ICAL_TRANSP_TRANSPARENT = 10064,
- ICAL_TRANSP_TRANSPARENTNOCONFLICT = 10065,
- ICAL_TRANSP_NONE = 10066
-} icalproperty_transp;
-
-typedef enum icalproperty_xlicclass {
- ICAL_XLICCLASS_X = 10067,
- ICAL_XLICCLASS_PUBLISHNEW = 10068,
- ICAL_XLICCLASS_PUBLISHUPDATE = 10069,
- ICAL_XLICCLASS_PUBLISHFREEBUSY = 10070,
- ICAL_XLICCLASS_REQUESTNEW = 10071,
- ICAL_XLICCLASS_REQUESTUPDATE = 10072,
- ICAL_XLICCLASS_REQUESTRESCHEDULE = 10073,
- ICAL_XLICCLASS_REQUESTDELEGATE = 10074,
- ICAL_XLICCLASS_REQUESTNEWORGANIZER = 10075,
- ICAL_XLICCLASS_REQUESTFORWARD = 10076,
- ICAL_XLICCLASS_REQUESTSTATUS = 10077,
- ICAL_XLICCLASS_REQUESTFREEBUSY = 10078,
- ICAL_XLICCLASS_REPLYACCEPT = 10079,
- ICAL_XLICCLASS_REPLYDECLINE = 10080,
- ICAL_XLICCLASS_REPLYDELEGATE = 10081,
- ICAL_XLICCLASS_REPLYCRASHERACCEPT = 10082,
- ICAL_XLICCLASS_REPLYCRASHERDECLINE = 10083,
- ICAL_XLICCLASS_ADDINSTANCE = 10084,
- ICAL_XLICCLASS_CANCELEVENT = 10085,
- ICAL_XLICCLASS_CANCELINSTANCE = 10086,
- ICAL_XLICCLASS_CANCELALL = 10087,
- ICAL_XLICCLASS_REFRESH = 10088,
- ICAL_XLICCLASS_COUNTER = 10089,
- ICAL_XLICCLASS_DECLINECOUNTER = 10090,
- ICAL_XLICCLASS_MALFORMED = 10091,
- ICAL_XLICCLASS_OBSOLETE = 10092,
- ICAL_XLICCLASS_MISSEQUENCED = 10093,
- ICAL_XLICCLASS_UNKNOWN = 10094,
- ICAL_XLICCLASS_NONE = 10095
-} icalproperty_xlicclass;
-
-#define ICALPROPERTY_LAST_ENUM 10096
-
-
- /* QUERY */
-icalvalue* icalvalue_new_query(const char* v);
-const char* icalvalue_get_query(const icalvalue* value);
-void icalvalue_set_query(icalvalue* value, const char* v);
-
-
- /* DATE */
-icalvalue* icalvalue_new_date(struct icaltimetype v);
-struct icaltimetype icalvalue_get_date(const icalvalue* value);
-void icalvalue_set_date(icalvalue* value, struct icaltimetype v);
-
-
- /* STATUS */
-icalvalue* icalvalue_new_status(enum icalproperty_status v);
-enum icalproperty_status icalvalue_get_status(const icalvalue* value);
-void icalvalue_set_status(icalvalue* value, enum icalproperty_status v);
-
-
- /* TRANSP */
-icalvalue* icalvalue_new_transp(enum icalproperty_transp v);
-enum icalproperty_transp icalvalue_get_transp(const icalvalue* value);
-void icalvalue_set_transp(icalvalue* value, enum icalproperty_transp v);
-
-
- /* STRING */
-icalvalue* icalvalue_new_string(const char* v);
-const char* icalvalue_get_string(const icalvalue* value);
-void icalvalue_set_string(icalvalue* value, const char* v);
-
-
- /* TEXT */
-icalvalue* icalvalue_new_text(const char* v);
-const char* icalvalue_get_text(const icalvalue* value);
-void icalvalue_set_text(icalvalue* value, const char* v);
-
-
- /* REQUEST-STATUS */
-icalvalue* icalvalue_new_requeststatus(struct icalreqstattype v);
-struct icalreqstattype icalvalue_get_requeststatus(const icalvalue* value);
-void icalvalue_set_requeststatus(icalvalue* value, struct icalreqstattype v);
-
-
- /* CMD */
-icalvalue* icalvalue_new_cmd(enum icalproperty_cmd v);
-enum icalproperty_cmd icalvalue_get_cmd(const icalvalue* value);
-void icalvalue_set_cmd(icalvalue* value, enum icalproperty_cmd v);
-
-
- /* BINARY */
-icalvalue* icalvalue_new_binary(const char* v);
-const char* icalvalue_get_binary(const icalvalue* value);
-void icalvalue_set_binary(icalvalue* value, const char* v);
-
-
- /* QUERY-LEVEL */
-icalvalue* icalvalue_new_querylevel(enum icalproperty_querylevel v);
-enum icalproperty_querylevel icalvalue_get_querylevel(const icalvalue* value);
-void icalvalue_set_querylevel(icalvalue* value, enum icalproperty_querylevel v);
-
-
- /* PERIOD */
-icalvalue* icalvalue_new_period(struct icalperiodtype v);
-struct icalperiodtype icalvalue_get_period(const icalvalue* value);
-void icalvalue_set_period(icalvalue* value, struct icalperiodtype v);
-
-
- /* FLOAT */
-icalvalue* icalvalue_new_float(float v);
-float icalvalue_get_float(const icalvalue* value);
-void icalvalue_set_float(icalvalue* value, float v);
-
-
- /* CAR-LEVEL */
-icalvalue* icalvalue_new_carlevel(enum icalproperty_carlevel v);
-enum icalproperty_carlevel icalvalue_get_carlevel(const icalvalue* value);
-void icalvalue_set_carlevel(icalvalue* value, enum icalproperty_carlevel v);
-
-
- /* INTEGER */
-icalvalue* icalvalue_new_integer(int v);
-int icalvalue_get_integer(const icalvalue* value);
-void icalvalue_set_integer(icalvalue* value, int v);
-
-
- /* URI */
-icalvalue* icalvalue_new_uri(const char* v);
-const char* icalvalue_get_uri(const icalvalue* value);
-void icalvalue_set_uri(icalvalue* value, const char* v);
-
-
- /* DURATION */
-icalvalue* icalvalue_new_duration(struct icaldurationtype v);
-struct icaldurationtype icalvalue_get_duration(const icalvalue* value);
-void icalvalue_set_duration(icalvalue* value, struct icaldurationtype v);
-
-
- /* BOOLEAN */
-icalvalue* icalvalue_new_boolean(int v);
-int icalvalue_get_boolean(const icalvalue* value);
-void icalvalue_set_boolean(icalvalue* value, int v);
-
-
- /* CAL-ADDRESS */
-icalvalue* icalvalue_new_caladdress(const char* v);
-const char* icalvalue_get_caladdress(const icalvalue* value);
-void icalvalue_set_caladdress(icalvalue* value, const char* v);
-
-
- /* X-LIC-CLASS */
-icalvalue* icalvalue_new_xlicclass(enum icalproperty_xlicclass v);
-enum icalproperty_xlicclass icalvalue_get_xlicclass(const icalvalue* value);
-void icalvalue_set_xlicclass(icalvalue* value, enum icalproperty_xlicclass v);
-
-
- /* ACTION */
-icalvalue* icalvalue_new_action(enum icalproperty_action v);
-enum icalproperty_action icalvalue_get_action(const icalvalue* value);
-void icalvalue_set_action(icalvalue* value, enum icalproperty_action v);
-
-
- /* UTC-OFFSET */
-icalvalue* icalvalue_new_utcoffset(int v);
-int icalvalue_get_utcoffset(const icalvalue* value);
-void icalvalue_set_utcoffset(icalvalue* value, int v);
-
-
- /* METHOD */
-icalvalue* icalvalue_new_method(enum icalproperty_method v);
-enum icalproperty_method icalvalue_get_method(const icalvalue* value);
-void icalvalue_set_method(icalvalue* value, enum icalproperty_method v);
-
-#endif /*ICALVALUE_H*/
-
-
-icalvalue* icalvalue_new_class(enum icalproperty_class v);
-enum icalproperty_class icalvalue_get_class(const icalvalue* value);
-void icalvalue_set_class(icalvalue* value, enum icalproperty_class v);
diff --git a/contrib/prebuilt/include/libical/icaldirset.h b/contrib/prebuilt/include/libical/icaldirset.h
deleted file mode 100644
index 75d7514..0000000
--- a/contrib/prebuilt/include/libical/icaldirset.h
+++ /dev/null
@@ -1,98 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icaldirset.h
- CREATOR: eric 28 November 1999
-
-
- $Id: icaldirset.h,v 1.8 2008-01-02 20:07:40 dothebart Exp $
- $Locker: $
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Original Code is eric. The Initial Developer of the Original
- Code is Eric Busboom
-
-
-======================================================================*/
-
-#ifndef ICALDIRSET_H
-#define ICALDIRSET_H
-
-#include <libical/ical.h>
-#include "icalset.h"
-#include "icalcluster.h"
-#include "icalgauge.h"
-
-/* icaldirset Routines for storing, fetching, and searching for ical
- * objects in a database */
-
-typedef struct icaldirset_impl icaldirset;
-
-icalset* icaldirset_new(const char* path);
-
-icalset* icaldirset_new_reader(const char* path);
-icalset* icaldirset_new_writer(const char* path);
-
-
-icalset* icaldirset_init(icalset* set, const char *dsn, void *options);
-void icaldirset_free(icalset* set);
-
-const char* icaldirset_path(icalset* set);
-
-/* Mark the cluster as changed, so it will be written to disk when it
- is freed. Commit writes to disk immediately*/
-void icaldirset_mark(icalset* set);
-icalerrorenum icaldirset_commit(icalset* set);
-
-icalerrorenum icaldirset_add_component(icalset* store, icalcomponent* comp);
-icalerrorenum icaldirset_remove_component(icalset* store, icalcomponent* comp);
-
-int icaldirset_count_components(icalset* store,
- icalcomponent_kind kind);
-
-/* Restrict the component returned by icaldirset_first, _next to those
- that pass the gauge. _clear removes the gauge. */
-icalerrorenum icaldirset_select(icalset* store, icalgauge* gauge);
-void icaldirset_clear(icalset* store);
-
-/* Get a component by uid */
-icalcomponent* icaldirset_fetch(icalset* store, const char* uid);
-int icaldirset_has_uid(icalset* store, const char* uid);
-icalcomponent* icaldirset_fetch_match(icalset* set, icalcomponent *c);
-
-/* Modify components according to the MODIFY method of CAP. Works on
- the currently selected components. */
-icalerrorenum icaldirset_modify(icalset* store, icalcomponent *oldc,
- icalcomponent *newc);
-
-/* Iterate through the components. If a gauge has been defined, these
- will skip over components that do not pass the gauge */
-
-icalcomponent* icaldirset_get_current_component(icalset* store);
-icalcomponent* icaldirset_get_first_component(icalset* store);
-icalcomponent* icaldirset_get_next_component(icalset* store);
-
-/* External iterator for thread safety */
-icalsetiter icaldirset_begin_component(icalset* set, icalcomponent_kind kind, icalgauge* gauge);
-icalcomponent* icaldirsetiter_to_next(icalset* set, icalsetiter* i);
-icalcomponent* icaldirsetiter_to_prior(icalset* set, icalsetiter* i);
-
-typedef struct icaldirset_options {
- int flags; /**< flags corresponding to the open() system call O_RDWR, etc. */
-} icaldirset_options;
-
-#endif /* !ICALDIRSET_H */
-
-
-
diff --git a/contrib/prebuilt/include/libical/icaldirsetimpl.h b/contrib/prebuilt/include/libical/icaldirsetimpl.h
deleted file mode 100644
index d2aa4b0..0000000
--- a/contrib/prebuilt/include/libical/icaldirsetimpl.h
+++ /dev/null
@@ -1,48 +0,0 @@
-/* -*- Mode: C -*-
- ======================================================================
- FILE: icaldirsetimpl.h
- CREATOR: eric 21 Aug 2000
-
- $Id: icaldirsetimpl.h,v 1.6 2008-01-02 20:07:40 dothebart Exp $
- $Locker: $
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Original Code is eric. The Initial Developer of the Original
- Code is Eric Busboom
-
-
- ======================================================================*/
-
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <libicalss/icalcluster.h>
-
-/* This definition is in its own file so it can be kept out of the
- main header file, but used by "friend classes" like icalset*/
-
-struct icaldirset_impl
-{
- icalset super; /**< parent class */
- char* dir; /**< directory containing ics files */
- icaldirset_options options; /**< copy of options passed to icalset_new() */
- icalcluster* cluster; /**< cluster containing data */
- icalgauge* gauge; /**< gauge for filtering out data */
- int first_component; /**< ??? */
- pvl_list directory; /**< ??? */
- pvl_elem directory_iterator; /**< ??? */
-};
diff --git a/contrib/prebuilt/include/libical/icalduration.h b/contrib/prebuilt/include/libical/icalduration.h
deleted file mode 100644
index dd92f06..0000000
--- a/contrib/prebuilt/include/libical/icalduration.h
+++ /dev/null
@@ -1,64 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalduration.h
- CREATOR: eric 26 Jan 2001
-
-
- $Id: icalduration.h,v 1.5 2008-01-15 23:17:40 dothebart Exp $
- $Locker: $
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Original Code is eric. The Initial Developer of the Original
- Code is Eric Busboom
-
-
-======================================================================*/
-
-#ifndef ICALDURATION_H
-#define ICALDURATION_H
-
-#include "icaltime.h"
-
-struct icaldurationtype
-{
- int is_neg;
- unsigned int days;
- unsigned int weeks;
- unsigned int hours;
- unsigned int minutes;
- unsigned int seconds;
-};
-
-struct icaldurationtype icaldurationtype_from_int(int t);
-struct icaldurationtype icaldurationtype_from_string(const char*);
-int icaldurationtype_as_int(struct icaldurationtype duration);
-char* icaldurationtype_as_ical_string(struct icaldurationtype d);
-char* icaldurationtype_as_ical_string_r(struct icaldurationtype d);
-struct icaldurationtype icaldurationtype_null_duration(void);
-struct icaldurationtype icaldurationtype_bad_duration(void);
-int icaldurationtype_is_null_duration(struct icaldurationtype d);
-int icaldurationtype_is_bad_duration(struct icaldurationtype d);
-
-struct icaltimetype icaltime_add(struct icaltimetype t,
- struct icaldurationtype d);
-
-struct icaldurationtype icaltime_subtract(struct icaltimetype t1,
- struct icaltimetype t2);
-
-#endif /* !ICALDURATION_H */
-
-
-
diff --git a/contrib/prebuilt/include/libical/icalenums.h b/contrib/prebuilt/include/libical/icalenums.h
deleted file mode 100644
index dada91c..0000000
--- a/contrib/prebuilt/include/libical/icalenums.h
+++ /dev/null
@@ -1,168 +0,0 @@
-
-/* -*- Mode: C -*-*/
-/*======================================================================
- FILE: icalenums.h
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icalenums.h
-
- Contributions from:
- Graham Davison <g.m.davison@computer.org>
-
-======================================================================*/
-
-#ifndef ICALENUMS_H
-#define ICALENUMS_H
-
-
-
-/***********************************************************************
- * Component enumerations
-**********************************************************************/
-
-typedef enum icalcomponent_kind {
- ICAL_NO_COMPONENT,
- ICAL_ANY_COMPONENT, /* Used to select all components*/
- ICAL_XROOT_COMPONENT,
- ICAL_XATTACH_COMPONENT, /* MIME attached data, returned by parser. */
- ICAL_VEVENT_COMPONENT,
- ICAL_VTODO_COMPONENT,
- ICAL_VJOURNAL_COMPONENT,
- ICAL_VCALENDAR_COMPONENT,
- ICAL_VAGENDA_COMPONENT,
- ICAL_VFREEBUSY_COMPONENT,
- ICAL_VALARM_COMPONENT,
- ICAL_XAUDIOALARM_COMPONENT,
- ICAL_XDISPLAYALARM_COMPONENT,
- ICAL_XEMAILALARM_COMPONENT,
- ICAL_XPROCEDUREALARM_COMPONENT,
- ICAL_VTIMEZONE_COMPONENT,
- ICAL_XSTANDARD_COMPONENT,
- ICAL_XDAYLIGHT_COMPONENT,
- ICAL_X_COMPONENT,
- ICAL_VSCHEDULE_COMPONENT,
- ICAL_VQUERY_COMPONENT,
- ICAL_VREPLY_COMPONENT,
- ICAL_VCAR_COMPONENT,
- ICAL_VCOMMAND_COMPONENT,
- ICAL_XLICINVALID_COMPONENT,
- ICAL_XLICMIMEPART_COMPONENT /* a non-stardard component that mirrors
- structure of MIME data */
-
-} icalcomponent_kind;
-
-
-
-/***********************************************************************
- * Request Status codes
- **********************************************************************/
-
-typedef enum icalrequeststatus {
- ICAL_UNKNOWN_STATUS,
- ICAL_2_0_SUCCESS_STATUS,
- ICAL_2_1_FALLBACK_STATUS,
- ICAL_2_2_IGPROP_STATUS,
- ICAL_2_3_IGPARAM_STATUS,
- ICAL_2_4_IGXPROP_STATUS,
- ICAL_2_5_IGXPARAM_STATUS,
- ICAL_2_6_IGCOMP_STATUS,
- ICAL_2_7_FORWARD_STATUS,
- ICAL_2_8_ONEEVENT_STATUS,
- ICAL_2_9_TRUNC_STATUS,
- ICAL_2_10_ONETODO_STATUS,
- ICAL_2_11_TRUNCRRULE_STATUS,
- ICAL_3_0_INVPROPNAME_STATUS,
- ICAL_3_1_INVPROPVAL_STATUS,
- ICAL_3_2_INVPARAM_STATUS,
- ICAL_3_3_INVPARAMVAL_STATUS,
- ICAL_3_4_INVCOMP_STATUS,
- ICAL_3_5_INVTIME_STATUS,
- ICAL_3_6_INVRULE_STATUS,
- ICAL_3_7_INVCU_STATUS,
- ICAL_3_8_NOAUTH_STATUS,
- ICAL_3_9_BADVERSION_STATUS,
- ICAL_3_10_TOOBIG_STATUS,
- ICAL_3_11_MISSREQCOMP_STATUS,
- ICAL_3_12_UNKCOMP_STATUS,
- ICAL_3_13_BADCOMP_STATUS,
- ICAL_3_14_NOCAP_STATUS,
- ICAL_3_15_INVCOMMAND,
- ICAL_4_0_BUSY_STATUS,
- ICAL_4_1_STORE_ACCESS_DENIED,
- ICAL_4_2_STORE_FAILED,
- ICAL_4_3_STORE_NOT_FOUND,
- ICAL_5_0_MAYBE_STATUS,
- ICAL_5_1_UNAVAIL_STATUS,
- ICAL_5_2_NOSERVICE_STATUS,
- ICAL_5_3_NOSCHED_STATUS,
- ICAL_6_1_CONTAINER_NOT_FOUND,
- ICAL_9_0_UNRECOGNIZED_COMMAND
-} icalrequeststatus;
-
-
-const char* icalenum_reqstat_desc(icalrequeststatus stat);
-short icalenum_reqstat_major(icalrequeststatus stat);
-short icalenum_reqstat_minor(icalrequeststatus stat);
-icalrequeststatus icalenum_num_to_reqstat(short major, short minor);
-char* icalenum_reqstat_code(icalrequeststatus stat);
-char* icalenum_reqstat_code_r(icalrequeststatus stat);
-
-/***********************************************************************
- * Conversion functions
-**********************************************************************/
-
-
-/* Thse routines used to be in icalenums.c, but were moved into the
- icalproperty, icalparameter, icalvalue, or icalcomponent modules. */
-
-/* const char* icalproperty_kind_to_string(icalproperty_kind kind);*/
-#define icalenum_property_kind_to_string(x) icalproperty_kind_to_string(x)
-
-/*icalproperty_kind icalproperty_string_to_kind(const char* string)*/
-#define icalenum_string_to_property_kind(x) icalproperty_string_to_kind(x)
-
-/*icalvalue_kind icalproperty_kind_to_value_kind(icalproperty_kind kind);*/
-#define icalenum_property_kind_to_value_kind(x) icalproperty_kind_to_value_kind(x)
-
-/*const char* icalenum_method_to_string(icalproperty_method);*/
-#define icalenum_method_to_string(x) icalproperty_method_to_string(x)
-
-/*icalproperty_method icalenum_string_to_method(const char* string);*/
-#define icalenum_string_to_method(x) icalproperty_string_to_method(x)
-
-/*const char* icalenum_status_to_string(icalproperty_status);*/
-#define icalenum_status_to_string(x) icalproperty_status_to_string(x)
-
-/*icalproperty_status icalenum_string_to_status(const char* string);*/
-#define icalenum_string_to_status(x) icalproperty_string_to_status(x)
-
-/*icalvalue_kind icalenum_string_to_value_kind(const char* str);*/
-#define icalenum_string_to_value_kind(x) icalvalue_string_to_kind(x)
-
-/*const char* icalenum_value_kind_to_string(icalvalue_kind kind);*/
-#define icalenum_value_kind_to_string(x) icalvalue_kind_to_string(x)
-
-/*const char* icalenum_component_kind_to_string(icalcomponent_kind kind);*/
-#define icalenum_component_kind_to_string(x) icalcomponent_kind_to_string(x)
-
-/*icalcomponent_kind icalenum_string_to_component_kind(const char* string);*/
-#define icalenum_string_to_component_kind(x) icalcomponent_string_to_kind(x)
-
-
-#endif /* !ICALENUMS_H */
-
diff --git a/contrib/prebuilt/include/libical/icalerror.h b/contrib/prebuilt/include/libical/icalerror.h
deleted file mode 100644
index 3eeb6c3..0000000
--- a/contrib/prebuilt/include/libical/icalerror.h
+++ /dev/null
@@ -1,181 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalerror.h
- CREATOR: eric 09 May 1999
-
- $Id: icalerror.h,v 1.17 2008-01-15 23:17:40 dothebart Exp $
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icalerror.h
-
-======================================================================*/
-
-
-#ifndef ICALERROR_H
-#define ICALERROR_H
-
-#include <assert.h>
-#include <stdio.h> /* For icalerror_warn() */
-
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#define ICAL_SETERROR_ISFUNC
-
-
-/** This routine is called before any error is triggered. It is called
- by icalerror_set_errno, so it does not appear in all of the macros
- below */
-void icalerror_stop_here(void);
-
-void icalerror_crash_here(void);
-
-typedef enum icalerrorenum {
- ICAL_NO_ERROR, /* icalerrno may not be initialized - put it first so and pray that the compiler initialize things to zero */
- ICAL_BADARG_ERROR,
- ICAL_NEWFAILED_ERROR,
- ICAL_ALLOCATION_ERROR,
- ICAL_MALFORMEDDATA_ERROR,
- ICAL_PARSE_ERROR,
- ICAL_INTERNAL_ERROR, /* Like assert --internal consist. prob */
- ICAL_FILE_ERROR,
- ICAL_USAGE_ERROR,
- ICAL_UNIMPLEMENTED_ERROR,
- ICAL_UNKNOWN_ERROR /* Used for problems in input to icalerror_strerror()*/
-
-} icalerrorenum;
-
-icalerrorenum * icalerrno_return(void);
-#define icalerrno (*(icalerrno_return()))
-
-/*#cmakedefine LIBICAL_STATIC 1*/
-
-/** If true, libicl aborts after a call to icalerror_set_error
- *
- * @warning NOT THREAD SAFE -- recommended that you do not change
- * this in a multithreaded program.
- */
-#ifdef _MSC_VER
- #if defined(LIBICAL_STATIC)
- #define LIBICAL_EXPORT extern
- #elif defined(BUILD_LIBICALDLL)
- #define LIBICAL_EXPORT __declspec(dllexport)
- #else
- #define LIBICAL_EXPORT __declspec(dllimport)
- #endif
-#else
- #define LIBICAL_EXPORT extern
-#endif
-
-LIBICAL_EXPORT int icalerror_errors_are_fatal;
-
-/* Warning messages */
-
-#ifdef __GNUC__ca
-#define icalerror_warn(message) {fprintf(stderr,"%s(), %s:%d: %s\n",__FUNCTION__,__FILE__,__LINE__,message);}
-#else /* __GNU_C__ */
-#define icalerror_warn(message) {fprintf(stderr,"%s:%d: %s\n",__FILE__,__LINE__,message);}
-#endif /* __GNU_C__ */
-
-
-void icalerror_clear_errno(void);
-void _icalerror_set_errno(icalerrorenum);
-
-/* Make an individual error fatal or non-fatal. */
-typedef enum icalerrorstate {
- ICAL_ERROR_FATAL, /* Not fata */
- ICAL_ERROR_NONFATAL, /* Fatal */
- ICAL_ERROR_DEFAULT, /* Use the value of icalerror_errors_are_fatal*/
- ICAL_ERROR_UNKNOWN /* Asked state for an unknown error type */
-} icalerrorstate ;
-
-const char* icalerror_strerror(icalerrorenum e);
-const char* icalerror_perror(void);
-void ical_bt(void);
-void icalerror_set_error_state( icalerrorenum error, icalerrorstate);
-icalerrorstate icalerror_get_error_state( icalerrorenum error);
-
-#ifndef ICAL_SETERROR_ISFUNC
-#define icalerror_set_errno(x) \
-icalerrno = x; \
-if(icalerror_get_error_state(x)==ICAL_ERROR_FATAL || \
- (icalerror_get_error_state(x)==ICAL_ERROR_DEFAULT && \
- icalerror_errors_are_fatal == 1 )){ \
- icalerror_warn(icalerror_strerror(x)); \
- ical_bt(); \
- assert(0); \
-} }
-#else
-void icalerror_set_errno(icalerrorenum x);
-#endif
-
-#if !defined(ICAL_ERRORS_ARE_FATAL)
-#define ICAL_ERRORS_ARE_FATAL 0
-#endif
-
-#if ICAL_ERRORS_ARE_FATAL == 1
-#undef NDEBUG
-#endif
-
-#define icalerror_check_value_type(value,type);
-#define icalerror_check_property_type(value,type);
-#define icalerror_check_parameter_type(value,type);
-#define icalerror_check_component_type(value,type);
-
-/* Assert with a message */
-#if ICAL_ERRORS_ARE_FATAL == 1
-
-#ifdef __GNUC__
-#define icalerror_assert(test,message) if(!(test)){fprintf(stderr,"%s(), %s:%d: %s\n",__FUNCTION__,__FILE__,__LINE__,message);icalerror_stop_here(); abort();}
-#else /*__GNUC__*/
-#define icalerror_assert(test,message) if(!(test)){fprintf(stderr,"%s:%d: %s\n",__FILE__,__LINE__,message);icalerror_stop_here(); abort();}
-#endif /*__GNUC__*/
-
-#else /* ICAL_ERRORS_ARE_FATAL */
-#define icalerror_assert(test,message)
-#endif /* ICAL_ERRORS_ARE_FATAL */
-
-/* Check & abort if check fails */
-#define icalerror_check_arg(test,arg) if(!(test)) { icalerror_set_errno(ICAL_BADARG_ERROR); }
-
-/* Check & return void if check fails*/
-#define icalerror_check_arg_rv(test,arg) if(!(test)) {icalerror_set_errno(ICAL_BADARG_ERROR); return; }
-
-/* Check & return 0 if check fails*/
-#define icalerror_check_arg_rz(test,arg) if(!(test)) { icalerror_set_errno(ICAL_BADARG_ERROR); return 0;}
-
-/* Check & return an error if check fails*/
-#define icalerror_check_arg_re(test,arg,error) if(!(test)) { icalerror_stop_here(); assert(0); return error;}
-
-/* Check & return something*/
-#define icalerror_check_arg_rx(test,arg,x) if(!(test)) { icalerror_set_errno(ICAL_BADARG_ERROR); return x;}
-
-
-
-/* String interfaces to set an error to NONFATAL and restore it to its
- original value */
-
-icalerrorstate icalerror_supress(const char* error);
-void icalerror_restore(const char* error, icalerrorstate es);
-
-
-#endif /* !ICALERROR_H */
-
-
-
diff --git a/contrib/prebuilt/include/libical/icalfileset.h b/contrib/prebuilt/include/libical/icalfileset.h
deleted file mode 100644
index c95c70f..0000000
--- a/contrib/prebuilt/include/libical/icalfileset.h
+++ /dev/null
@@ -1,132 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalfileset.h
- CREATOR: eric 23 December 1999
-
-
- $Id: icalfileset.h,v 1.15 2008-01-02 20:07:40 dothebart Exp $
- $Locker: $
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Original Code is eric. The Initial Developer of the Original
- Code is Eric Busboom
-
-
-======================================================================*/
-
-#ifndef ICALFILESET_H
-#define ICALFILESET_H
-
-#include <libical/ical.h>
-#include "icalset.h"
-#include "icalcluster.h"
-#include "icalgauge.h"
-#include <sys/types.h> /* For open() flags and mode */
-#include <sys/stat.h> /* For open() flags and mode */
-#include <fcntl.h> /* For open() flags and mode */
-
-#ifdef WIN32
-#define mode_t int
-#endif
-
-typedef struct icalfileset_impl icalfileset;
-
-icalset* icalfileset_new(const char* path);
-icalset* icalfileset_new_reader(const char* path);
-icalset* icalfileset_new_writer(const char* path);
-
-icalset* icalfileset_init(icalset *set, const char *dsn, void* options);
-
-icalfileset* icalfileset_new_from_cluster(const char* path, icalcluster *cluster);
-
-icalcluster* icalfileset_produce_icalcluster(const char *path);
-
-void icalfileset_free(icalset* cluster);
-
-const char* icalfileset_path(icalset* cluster);
-
-/* Mark the cluster as changed, so it will be written to disk when it
- is freed. Commit writes to disk immediately. */
-void icalfileset_mark(icalset* set);
-icalerrorenum icalfileset_commit(icalset* set);
-
-icalerrorenum icalfileset_add_component(icalset* set,
- icalcomponent* child);
-
-icalerrorenum icalfileset_remove_component(icalset* set,
- icalcomponent* child);
-
-int icalfileset_count_components(icalset* set,
- icalcomponent_kind kind);
-
-/**
- * Restrict the component returned by icalfileset_first, _next to those
- * that pass the gauge. _clear removes the gauge
- */
-icalerrorenum icalfileset_select(icalset* set, icalgauge* gauge);
-
-/** clear the gauge **/
-void icalfileset_clear(icalset* set);
-
-/** Get and search for a component by uid **/
-icalcomponent* icalfileset_fetch(icalset* set, const char* uid);
-int icalfileset_has_uid(icalset* set, const char* uid);
-icalcomponent* icalfileset_fetch_match(icalset* set, icalcomponent *c);
-
-
-/**
- * Modify components according to the MODIFY method of CAP. Works on the
- * currently selected components.
- */
-icalerrorenum icalfileset_modify(icalset* set,
- icalcomponent *oldcomp,
- icalcomponent *newcomp);
-
-/* Iterate through components. If a gauge has been defined, these
- will skip over components that do not pass the gauge */
-
-icalcomponent* icalfileset_get_current_component (icalset* cluster);
-icalcomponent* icalfileset_get_first_component(icalset* cluster);
-icalcomponent* icalfileset_get_next_component(icalset* cluster);
-
-/* External iterator for thread safety */
-icalsetiter icalfileset_begin_component(icalset* set, icalcomponent_kind kind, icalgauge* gauge);
-icalcomponent * icalfilesetiter_to_next(icalset* set, icalsetiter *iter);
-icalcomponent* icalfileset_form_a_matched_recurrence_component(icalsetiter* itr);
-
-/** Return a reference to the internal component. You probably should
- not be using this. */
-
-icalcomponent* icalfileset_get_component(icalset* cluster);
-
-/**
- * @brief options for opening an icalfileset.
- *
- * These options should be passed to the icalset_new() function
- */
-
-typedef struct icalfileset_options {
- int flags; /**< flags for open() O_RDONLY, etc */
- mode_t mode; /**< file mode */
- int safe_saves; /**< to lock or not */
- icalcluster *cluster; /**< use this cluster to initialize data */
-} icalfileset_options;
-
-extern icalfileset_options icalfileset_options_default;
-
-#endif /* !ICALFILESET_H */
-
-
-
diff --git a/contrib/prebuilt/include/libical/icalfilesetimpl.h b/contrib/prebuilt/include/libical/icalfilesetimpl.h
deleted file mode 100644
index 3eccf7c..0000000
--- a/contrib/prebuilt/include/libical/icalfilesetimpl.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/* -*- Mode: C -*-
- ======================================================================
- FILE: icalfilesetimpl.h
- CREATOR: eric 23 December 1999
-
- $Id: icalfilesetimpl.h,v 1.7 2008-01-02 20:07:40 dothebart Exp $
- $Locker: $
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Original Code is eric. The Initial Developer of the Original
- Code is Eric Busboom
-
-
- ======================================================================*/
-
-#ifndef ICALFILESETIMPL_H
-#define ICALFILESETIMPL_H
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <libicalss/icalgauge.h>
-
-/* This definition is in its own file so it can be kept out of the
- main header file, but used by "friend classes" like icaldirset*/
-
-#define ICALFILESET_ID "fset"
-
-struct icalfileset_impl {
- icalset super; /**< parent class */
- char *path; /**< pathname of file */
- icalfileset_options options; /**< copy of options passed to icalset_new() */
-
- icalcomponent* cluster; /**< cluster containing data */
- icalgauge* gauge; /**< gauge for filtering out data */
- int changed; /**< boolean flag, 1 if data has changed */
- int fd; /**< file descriptor */
-};
-
-#endif
diff --git a/contrib/prebuilt/include/libical/icalgauge.h b/contrib/prebuilt/include/libical/icalgauge.h
deleted file mode 100644
index a2f5b7b..0000000
--- a/contrib/prebuilt/include/libical/icalgauge.h
+++ /dev/null
@@ -1,63 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalgauge.h
- CREATOR: eric 23 December 1999
-
-
- $Id: icalgauge.h,v 1.6 2008-01-02 20:07:40 dothebart Exp $
- $Locker: $
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Original Code is eric. The Initial Developer of the Original
- Code is Eric Busboom
-
-
-======================================================================*/
-
-#ifndef ICALGAUGE_H
-#define ICALGAUGE_H
-
-#include "icalcomponent.h"
-
-/** @file icalgauge.h
- * @brief Routines implementing a filter for ical components
- */
-
-typedef struct icalgauge_impl icalgauge;
-
-icalgauge* icalgauge_new_from_sql(char* sql, int expand);
-
-int icalgauge_get_expand(icalgauge* gauge);
-
-void icalgauge_free(icalgauge* gauge);
-
-char* icalgauge_as_sql(icalcomponent* gauge);
-
-void icalgauge_dump(icalgauge* gauge);
-
-
-/** @brief Return true if comp matches the gauge.
- *
- * The component must be in
- * cannonical form -- a VCALENDAR with one VEVENT, VTODO or VJOURNAL
- * sub component
- */
-int icalgauge_compare(icalgauge* g, icalcomponent* comp);
-
-/** Clone the component, but only return the properties
- * specified in the gauge */
-icalcomponent* icalgauge_new_clone(icalgauge* g, icalcomponent* comp);
-
-#endif /* ICALGAUGE_H*/
diff --git a/contrib/prebuilt/include/libical/icalgaugeimpl.h b/contrib/prebuilt/include/libical/icalgaugeimpl.h
deleted file mode 100644
index 660a203..0000000
--- a/contrib/prebuilt/include/libical/icalgaugeimpl.h
+++ /dev/null
@@ -1,63 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalgaugeimpl.h
- CREATOR: eric 09 Aug 2000
-
-
- $Id: icalgaugeimpl.h,v 1.8 2008-01-02 20:07:41 dothebart Exp $
- $Locker: $
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
-======================================================================*/
-
-#include <libical/ical.h>
-
-typedef enum icalgaugecompare {
- ICALGAUGECOMPARE_EQUAL=ICAL_XLICCOMPARETYPE_EQUAL,
- ICALGAUGECOMPARE_LESS=ICAL_XLICCOMPARETYPE_LESS,
- ICALGAUGECOMPARE_LESSEQUAL=ICAL_XLICCOMPARETYPE_LESSEQUAL,
- ICALGAUGECOMPARE_GREATER=ICAL_XLICCOMPARETYPE_GREATER,
- ICALGAUGECOMPARE_GREATEREQUAL=ICAL_XLICCOMPARETYPE_GREATEREQUAL,
- ICALGAUGECOMPARE_NOTEQUAL=ICAL_XLICCOMPARETYPE_NOTEQUAL,
- ICALGAUGECOMPARE_REGEX=ICAL_XLICCOMPARETYPE_REGEX,
- ICALGAUGECOMPARE_ISNULL=ICAL_XLICCOMPARETYPE_ISNULL,
- ICALGAUGECOMPARE_ISNOTNULL=ICAL_XLICCOMPARETYPE_ISNOTNULL,
- ICALGAUGECOMPARE_NONE=0
-} icalgaugecompare;
-
-typedef enum icalgaugelogic {
- ICALGAUGELOGIC_NONE,
- ICALGAUGELOGIC_AND,
- ICALGAUGELOGIC_OR
-} icalgaugelogic;
-
-
-struct icalgauge_where {
- icalgaugelogic logic;
- icalcomponent_kind comp;
- icalproperty_kind prop;
- icalgaugecompare compare;
- char* value;
-};
-
-struct icalgauge_impl
-{
- pvl_list select; /**< Of icalgaugecompare, using only prop and comp fields*/
- pvl_list from; /**< List of component_kinds, as integers */
- pvl_list where; /**< List of icalgaugecompare */
- int expand;
-};
-
-
diff --git a/contrib/prebuilt/include/libical/icallangbind.h b/contrib/prebuilt/include/libical/icallangbind.h
deleted file mode 100644
index ff5129e..0000000
--- a/contrib/prebuilt/include/libical/icallangbind.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/* -*- Mode: C -*-
- ======================================================================
- FILE: icallangbind.h
- CREATOR: eric 25 jan 2001
-
- DESCRIPTION:
-
- $Id: icallangbind.h,v 1.8 2008-01-02 20:07:31 dothebart Exp $
- $Locker: $
-
- (C) COPYRIGHT 1999 Eric Busboom
- http://www.softwarestudio.org
-
- This package is free software and is provided "as is" without
- express or implied warranty. It may be used, redistributed and/or
- modified under the same terms as perl itself. ( Either the Artistic
- License or the GPL. )
-
- ======================================================================*/
-
-#ifndef __ICALLANGBIND_H__
-#define __ICALLANGBIND_H__
-
-int* icallangbind_new_array(int size);
-void icallangbind_free_array(int* array);
-int icallangbind_access_array(int* array, int index);
-icalproperty* icallangbind_get_property(icalcomponent *c, int n, const char* prop);
-const char* icallangbind_get_property_val(icalproperty* p);
-const char* icallangbind_get_parameter(icalproperty *p, const char* parameter);
-icalcomponent* icallangbind_get_component(icalcomponent *c, const char* comp);
-
-icalproperty* icallangbind_get_first_property(icalcomponent *c,
- const char* prop);
-
-icalproperty* icallangbind_get_next_property(icalcomponent *c,
- const char* prop);
-
-icalcomponent* icallangbind_get_first_component(icalcomponent *c,
- const char* comp);
-
-icalcomponent* icallangbind_get_next_component(icalcomponent *c,
- const char* comp);
-
-icalparameter* icallangbind_get_first_parameter(icalproperty *prop);
-
-icalparameter* icallangbind_get_next_parameter(icalproperty *prop);
-
-const char* icallangbind_property_eval_string(icalproperty* prop, char* sep);
-char* icallangbind_property_eval_string_r(icalproperty* prop, char* sep);
-
-
-int icallangbind_string_to_open_flag(const char* str);
-
-const char* icallangbind_quote_as_ical(const char* str);
-char* icallangbind_quote_as_ical_r(const char* str);
-#endif /*__ICALLANGBIND_H__*/
diff --git a/contrib/prebuilt/include/libical/icalmemory.h b/contrib/prebuilt/include/libical/icalmemory.h
deleted file mode 100644
index 4bd1d92..0000000
--- a/contrib/prebuilt/include/libical/icalmemory.h
+++ /dev/null
@@ -1,85 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalmemory.h
- CREATOR: eric 30 June 1999
-
-
- $Id: icalmemory.h,v 1.6 2008-01-15 23:17:40 dothebart Exp $
- $Locker: $
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Initial Developer of the Original Code is Eric Busboom
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-======================================================================*/
-
-#ifndef ICALMEMORY_H
-#define ICALMEMORY_H
-
-#ifndef WIN32
-#include <sys/types.h> /* for size_t */
-#else
-#include <stddef.h>
-#endif
-
-/* Tmp buffers are managed by ical. References can be returned to the
- caller, although the caller will not own the memory. */
-
-void* icalmemory_tmp_buffer(size_t size);
-char* icalmemory_tmp_copy(const char* str);
-
-/** Add an externally allocated buffer to the ring. */
-void icalmemory_add_tmp_buffer(void*);
-
-
-/** Free all memory used in the ring */
-void icalmemory_free_ring(void);
-
-/* Non-tmp buffers must be freed. These are mostly wrappers around
- * malloc, etc, but are used so the caller can change the memory
- * allocators in a future version of the library */
-
-void* icalmemory_new_buffer(size_t size);
-void* icalmemory_resize_buffer(void* buf, size_t size);
-void icalmemory_free_buffer(void* buf);
-
-/**
- icalmemory_append_string will copy the string 'string' to the
- buffer 'buf' starting at position 'pos', reallocing 'buf' if it is
- too small. 'buf_size' is the size of 'buf' and will be changed if
- 'buf' is reallocated. 'pos' will point to the last byte of the new
- string in 'buf', usually a '\0' */
-
-/* THESE ROUTINES CAN NOT BE USED ON TMP BUFFERS. Only use them on
- normally allocated memory, or on buffers created from
- icalmemory_new_buffer, never with buffers created by
- icalmemory_tmp_buffer. If icalmemory_append_string has to resize a
- buffer on the ring, the ring will loose track of it an you will
- have memory problems. */
-
-void icalmemory_append_string(char** buf, char** pos, size_t* buf_size,
- const char* string);
-
-/** icalmemory_append_char is similar, but is appends a character instead of a string */
-void icalmemory_append_char(char** buf, char** pos, size_t* buf_size,
- char ch);
-
-/** A wrapper around strdup. Partly to trap calls to strdup, partly
- because in -ansi, gcc on Red Hat claims that strdup is undeclared */
-char* icalmemory_strdup(const char *s);
-
-#endif /* !ICALMEMORY_H */
-
-
-
diff --git a/contrib/prebuilt/include/libical/icalmessage.h b/contrib/prebuilt/include/libical/icalmessage.h
deleted file mode 100644
index 5b54173..0000000
--- a/contrib/prebuilt/include/libical/icalmessage.h
+++ /dev/null
@@ -1,71 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalmessage.h
- CREATOR: eric 07 Nov 2000
-
-
- $Id: icalmessage.h,v 1.3 2008-01-02 20:07:41 dothebart Exp $
- $Locker: $
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
-
- =========================================================================*/
-
-#include <libical/ical.h>
-
-#ifndef ICALMESSAGE_H
-#define ICALMESSAGE_H
-
-
-icalcomponent* icalmessage_new_accept_reply(icalcomponent* c,
- const char* user,
- const char* msg);
-
-icalcomponent* icalmessage_new_decline_reply(icalcomponent* c,
- const char* user,
- const char* msg);
-
-/* New is modified version of old */
-icalcomponent* icalmessage_new_counterpropose_reply(icalcomponent* oldc,
- icalcomponent* newc,
- const char* user,
- const char* msg);
-
-
-icalcomponent* icalmessage_new_delegate_reply(icalcomponent* c,
- const char* user,
- const char* delegatee,
- const char* msg);
-
-
-icalcomponent* icalmessage_new_cancel_event(icalcomponent* c,
- const char* user,
- const char* msg);
-icalcomponent* icalmessage_new_cancel_instance(icalcomponent* c,
- const char* user,
- const char* msg);
-icalcomponent* icalmessage_new_cancel_all(icalcomponent* c,
- const char* user,
- const char* msg);
-
-
-icalcomponent* icalmessage_new_error_reply(icalcomponent* c,
- const char* user,
- const char* msg,
- const char* debug,
- icalrequeststatus rs);
-
-
-#endif /* ICALMESSAGE_H*/
diff --git a/contrib/prebuilt/include/libical/icalmime.h b/contrib/prebuilt/include/libical/icalmime.h
deleted file mode 100644
index 012b14d..0000000
--- a/contrib/prebuilt/include/libical/icalmime.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalmime.h
- CREATOR: eric 26 July 2000
-
-
- $Id: icalmime.h,v 1.3 2008-01-15 23:17:40 dothebart Exp $
- $Locker: $
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
-======================================================================*/
-
-#ifndef ICALMIME_H
-#define ICALMIME_H
-
-#include "icalcomponent.h"
-#include "icalparser.h"
-
-icalcomponent* icalmime_parse( char* (*line_gen_func)(char *s, size_t size,
- void *d),
- void *data);
-
-/* The inverse of icalmime_parse, not implemented yet. Use sspm.h directly. */
-char* icalmime_as_mime_string(char* component);
-
-
-
-#endif /* !ICALMIME_H */
-
-
-
diff --git a/contrib/prebuilt/include/libical/icalparameter.h b/contrib/prebuilt/include/libical/icalparameter.h
deleted file mode 100644
index cc15953..0000000
--- a/contrib/prebuilt/include/libical/icalparameter.h
+++ /dev/null
@@ -1,80 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalparam.h
- CREATOR: eric 20 March 1999
-
-
- $Id: icalparameter.h,v 1.5 2008-01-15 23:17:40 dothebart Exp $
- $Locker: $
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icalparam.h
-
- ======================================================================*/
-
-#ifndef ICALPARAM_H
-#define ICALPARAM_H
-
-#include "icalderivedparameter.h"
-
-/* Declared in icalderivedparameter.h */
-/*typedef struct icalparameter_impl icalparameter;*/
-
-icalparameter* icalparameter_new(icalparameter_kind kind);
-icalparameter* icalparameter_new_clone(icalparameter* p);
-
-/* Create from string of form "PARAMNAME=VALUE" */
-icalparameter* icalparameter_new_from_string(const char* value);
-
-/* Create from just the value, the part after the "=" */
-icalparameter* icalparameter_new_from_value_string(icalparameter_kind kind, const char* value);
-
-void icalparameter_free(icalparameter* parameter);
-
-char* icalparameter_as_ical_string(icalparameter* parameter);
-char* icalparameter_as_ical_string_r(icalparameter* parameter);
-
-int icalparameter_is_valid(icalparameter* parameter);
-
-icalparameter_kind icalparameter_isa(icalparameter* parameter);
-
-int icalparameter_isa_parameter(void* param);
-
-/* Access the name of an X parameter */
-void icalparameter_set_xname (icalparameter* param, const char* v);
-const char* icalparameter_get_xname(icalparameter* param);
-void icalparameter_set_xvalue (icalparameter* param, const char* v);
-const char* icalparameter_get_xvalue(icalparameter* param);
-
-/* Access the name of an IANA parameter */
-void icalparameter_set_iana_name (icalparameter* param, const char* v);
-const char* icalparameter_get_iana_name(icalparameter* param);
-void icalparameter_set_iana_value (icalparameter* param, const char* v);
-const char* icalparameter_get_iana_value(icalparameter* param);
-
-/* returns 1 if parameters have same name in ICAL, otherwise 0 */
-int icalparameter_has_same_name(icalparameter* param1, icalparameter* param2);
-
-/* Convert enumerations */
-
-const char* icalparameter_kind_to_string(icalparameter_kind kind);
-icalparameter_kind icalparameter_string_to_kind(const char* string);
-
-
-
-#endif
diff --git a/contrib/prebuilt/include/libical/icalparameter_cxx.h b/contrib/prebuilt/include/libical/icalparameter_cxx.h
deleted file mode 100644
index ab3893b..0000000
--- a/contrib/prebuilt/include/libical/icalparameter_cxx.h
+++ /dev/null
@@ -1,170 +0,0 @@
-/* -*- Mode: C++ -*- */
-
-/**
- * @file icalparameter_cxx.h
- * @author fnguyen (12/10/01)
- * @brief Definition of C++ Wrapper for icalparameter.c
- *
- * (C) COPYRIGHT 2001, Critical Path
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
- */
-
-
-#ifndef ICALPARAMETER_CXX_H
-#define ICALPARAMETER_CXX_H
-
-extern "C" {
-#include "ical.h"
-};
-
-#include "icptrholder.h"
-
-typedef char* string; // Will use the string library from STL
-
-class ICalParameter {
-public:
- ICalParameter() throw(icalerrorenum);
- ICalParameter(const ICalParameter&) throw(icalerrorenum);
- ICalParameter& operator=(const ICalParameter&) throw(icalerrorenum);
- ~ICalParameter();
-
- ICalParameter(icalparameter* v) throw(icalerrorenum);
-
- // Create from string of form "PARAMNAME=VALUE"
- ICalParameter(string str) throw(icalerrorenum);
-
- // Create from just the value, the part after the "="
- ICalParameter(icalparameter_kind kind, string str) throw(icalerrorenum);
- ICalParameter(icalparameter_kind kind) throw(icalerrorenum);
-
- operator icalparameter*() { return imp; }
-
- void detach() {
- imp = NULL;
- }
-
-public:
- string as_ical_string() throw(icalerrorenum);
- bool is_valid();
- icalparameter_kind isa( );
- int isa_parameter(void* param);
-
-public:
- /* Acess the name of an X parameer */
- static void set_xname (ICalParameter &param, string v);
- static string get_xname(ICalParameter &param);
- static void set_xvalue (ICalParameter &param, string v);
- static string get_xvalue(ICalParameter &param);
-
- /* Convert enumerations */
- static string kind_to_string(icalparameter_kind kind);
- static icalparameter_kind string_to_kind(string str);
-
-public:
- /* DELEGATED-FROM */
- string get_delegatedfrom();
- void set_delegatedfrom(string v);
-
- /* RELATED */
- icalparameter_related get_related();
- void set_related(icalparameter_related v);
-
- /* SENT-BY */
- string get_sentby();
- void set_sentby(string v);
-
- /* LANGUAGE */
- string get_language();
- void set_language(string v);
-
- /* RELTYPE */
- icalparameter_reltype get_reltype();
- void set_reltype(icalparameter_reltype v);
-
- /* ENCODING */
- icalparameter_encoding get_encoding();
- void set_encoding(icalparameter_encoding v);
-
- /* ALTREP */
- string get_altrep();
- void set_altrep(string v);
-
- /* FMTTYPE */
- string get_fmttype();
- void set_fmttype(string v);
-
- /* FBTYPE */
- icalparameter_fbtype get_fbtype();
- void set_fbtype(icalparameter_fbtype v);
-
- /* RSVP */
- icalparameter_rsvp get_rsvp();
- void set_rsvp(icalparameter_rsvp v);
-
- /* RANGE */
- icalparameter_range get_range();
- void set_range(icalparameter_range v);
-
- /* DELEGATED-TO */
- string get_delegatedto();
- void set_delegatedto(string v);
-
- /* CN */
- string get_cn();
- void set_cn(string v);
-
- /* ROLE */
- icalparameter_role get_role();
- void set_role(icalparameter_role v);
-
- /* X-LIC-COMPARETYPE */
- icalparameter_xliccomparetype get_xliccomparetype();
- void set_xliccomparetype(icalparameter_xliccomparetype v);
-
- /* PARTSTAT */
- icalparameter_partstat get_partstat();
- void set_partstat(icalparameter_partstat v);
-
- /* X-LIC-ERRORTYPE */
- icalparameter_xlicerrortype get_xlicerrortype();
- void set_xlicerrortype(icalparameter_xlicerrortype v);
-
- /* MEMBER */
- string get_member();
- void set_member(string v);
-
- /* X */
- string get_x();
- void set_x(string v);
-
- /* CUTYPE */
- icalparameter_cutype get_cutype();
- void set_cutype(icalparameter_cutype v);
-
- /* TZID */
- string get_tzid();
- void set_tzid(string v);
-
- /* VALUE */
- icalparameter_value get_value();
- void set_value(icalparameter_value v);
-
- /* DIR */
- string get_dir();
- void set_dir(string v);
-
-private:
- icalparameter* imp;
-};
-
-#endif
diff --git a/contrib/prebuilt/include/libical/icalparser.h b/contrib/prebuilt/include/libical/icalparser.h
deleted file mode 100644
index e1a0240..0000000
--- a/contrib/prebuilt/include/libical/icalparser.h
+++ /dev/null
@@ -1,97 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalparser.h
- CREATOR: eric 20 April 1999
-
- $Id: icalparser.h,v 1.9 2008-01-15 23:17:41 dothebart Exp $
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icalparser.h
-
-======================================================================*/
-
-
-#ifndef ICALPARSER_H
-#define ICALPARSER_H
-
-#include "icalenums.h"
-#include "icaltypes.h"
-#include"icalcomponent.h"
-
-#include <stdio.h> /* For FILE* */
-
-typedef struct icalparser_impl icalparser;
-
-
-/**
- * @file icalparser.h
- * @brief Line-oriented parsing.
- *
- * Create a new parser via icalparse_new_parser, then add lines one at
- * a time with icalparse_add_line(). icalparser_add_line() will return
- * non-zero when it has finished with a component.
- */
-
-typedef enum icalparser_state {
- ICALPARSER_ERROR,
- ICALPARSER_SUCCESS,
- ICALPARSER_BEGIN_COMP,
- ICALPARSER_END_COMP,
- ICALPARSER_IN_PROGRESS
-} icalparser_state;
-
-icalparser* icalparser_new(void);
-icalcomponent* icalparser_add_line(icalparser* parser, char* str );
-icalcomponent* icalparser_clean(icalparser* parser);
-icalparser_state icalparser_get_state(icalparser* parser);
-void icalparser_free(icalparser* parser);
-
-
-/**
- * Message oriented parsing. icalparser_parse takes a string that
- * holds the text ( in RFC 2445 format ) and returns a pointer to an
- * icalcomponent. The caller owns the memory. line_gen_func is a
- * pointer to a function that returns one content line per invocation
- */
-
-icalcomponent* icalparser_parse(icalparser *parser,
- char* (*line_gen_func)(char *s, size_t size, void *d));
-
-/**
- Set the data that icalparser_parse will give to the line_gen_func
- as the parameter 'd'
- */
-void icalparser_set_gen_data(icalparser* parser, void* data);
-
-
-icalcomponent* icalparser_parse_string(const char* str);
-
-
-/***********************************************************************
- * Parser support functions
- ***********************************************************************/
-
-/** Use the flex/bison parser to turn a string into a value type */
-icalvalue* icalparser_parse_value(icalvalue_kind kind,
- const char* str, icalcomponent** errors);
-
-/** Given a line generator function, return a single iCal content line.*/
-char* icalparser_get_line(icalparser* parser, char* (*line_gen_func)(char *s, size_t size, void *d));
-
-char* icalparser_string_line_generator(char *out, size_t buf_size, void *d);
-
-#endif /* !ICALPARSE_H */
diff --git a/contrib/prebuilt/include/libical/icalperiod.h b/contrib/prebuilt/include/libical/icalperiod.h
deleted file mode 100644
index 3a541f5..0000000
--- a/contrib/prebuilt/include/libical/icalperiod.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalperiod.h
- CREATOR: eric 26 Jan 2001
-
-
- $Id: icalperiod.h,v 1.6 2008-01-15 23:17:41 dothebart Exp $
- $Locker: $
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Original Code is eric. The Initial Developer of the Original
- Code is Eric Busboom
-
-
-======================================================================*/
-
-#ifndef ICALPERIOD_H
-#define ICALPERIOD_H
-
-#include "icaltime.h"
-#include "icalduration.h"
-
-struct icalperiodtype
-{
- struct icaltimetype start;
- struct icaltimetype end;
- struct icaldurationtype duration;
-};
-
-struct icalperiodtype icalperiodtype_from_string (const char* str);
-
-const char* icalperiodtype_as_ical_string(struct icalperiodtype p);
-char* icalperiodtype_as_ical_string_r(struct icalperiodtype p);
-
-struct icalperiodtype icalperiodtype_null_period(void);
-
-int icalperiodtype_is_null_period(struct icalperiodtype p);
-
-int icalperiodtype_is_valid_period(struct icalperiodtype p);
-
-#endif /* !ICALTIME_H */
-
-
-
diff --git a/contrib/prebuilt/include/libical/icalproperty.h b/contrib/prebuilt/include/libical/icalproperty.h
deleted file mode 100644
index d47835a..0000000
--- a/contrib/prebuilt/include/libical/icalproperty.h
+++ /dev/null
@@ -1,141 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalproperty.h
- CREATOR: eric 20 March 1999
-
-
- $Id: icalproperty.h,v 1.20 2008-01-15 23:17:41 dothebart Exp $
- $Locker: $
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icalparam.h
-
- ======================================================================*/
-
-
-#ifndef ICALPROPERTY_H
-#define ICALPROPERTY_H
-
-#include <time.h>
-#include <stdarg.h> /* for va_... */
-
-#include "icalderivedparameter.h"
-
-#include "icalvalue.h"
-#include "icalrecur.h"
-
-/* Actually in icalderivedproperty.h:
- typedef struct icalproperty_impl icalproperty; */
-
-#include "icalderivedproperty.h" /* To get icalproperty_kind enumerations */
-
-icalproperty* icalproperty_new(icalproperty_kind kind);
-
-icalproperty* icalproperty_new_clone(icalproperty * prop);
-
-icalproperty* icalproperty_new_from_string(const char* str);
-
-const char* icalproperty_as_ical_string(icalproperty* prop);
-char* icalproperty_as_ical_string_r(icalproperty* prop);
-
-void icalproperty_free(icalproperty* prop);
-
-icalproperty_kind icalproperty_isa(icalproperty* property);
-int icalproperty_isa_property(void* property);
-
-void icalproperty_add_parameters(struct icalproperty_impl *prop,va_list args);
-void icalproperty_add_parameter(icalproperty* prop,icalparameter* parameter);
-void icalproperty_set_parameter(icalproperty* prop,icalparameter* parameter);
-void icalproperty_set_parameter_from_string(icalproperty* prop,
- const char* name, const char* value);
-const char* icalproperty_get_parameter_as_string(icalproperty* prop,
- const char* name);
-char* icalproperty_get_parameter_as_string_r(icalproperty* prop,
- const char* name);
-
-void icalproperty_remove_parameter(icalproperty* prop,
- icalparameter_kind kind);
-
-void icalproperty_remove_parameter_by_kind(icalproperty* prop,
- icalparameter_kind kind);
-
-void icalproperty_remove_parameter_by_name(icalproperty* prop,
- const char *name);
-
-void icalproperty_remove_parameter_by_ref(icalproperty* prop,
- icalparameter *param);
-
-
-
-int icalproperty_count_parameters(const icalproperty* prop);
-
-/* Iterate through the parameters */
-icalparameter* icalproperty_get_first_parameter(icalproperty* prop,
- icalparameter_kind kind);
-icalparameter* icalproperty_get_next_parameter(icalproperty* prop,
- icalparameter_kind kind);
-/* Access the value of the property */
-void icalproperty_set_value(icalproperty* prop, icalvalue* value);
-void icalproperty_set_value_from_string(icalproperty* prop,const char* value, const char* kind);
-
-icalvalue* icalproperty_get_value(const icalproperty* prop);
-const char* icalproperty_get_value_as_string(const icalproperty* prop);
-char* icalproperty_get_value_as_string_r(const icalproperty* prop);
-
-/* Deal with X properties */
-
-void icalproperty_set_x_name(icalproperty* prop, const char* name);
-const char* icalproperty_get_x_name(icalproperty* prop);
-
-/** Return the name of the property -- the type name converted to a
- * string, or the value of _get_x_name if the type is and X
- * property
- */
-const char* icalproperty_get_property_name (const icalproperty* prop);
-char* icalproperty_get_property_name_r(const icalproperty* prop);
-
-icalvalue_kind icalparameter_value_to_value_kind(icalparameter_value value);
-
-/* Convert kinds to string and get default value type */
-
-icalvalue_kind icalproperty_kind_to_value_kind(icalproperty_kind kind);
-icalproperty_kind icalproperty_value_kind_to_kind(icalvalue_kind kind);
-const char* icalproperty_kind_to_string(icalproperty_kind kind);
-icalproperty_kind icalproperty_string_to_kind(const char* string);
-
-/** Check validity of a specific icalproperty_kind **/
-int icalproperty_kind_is_valid(const icalproperty_kind kind);
-
-icalproperty_method icalproperty_string_to_method(const char* str);
-const char* icalproperty_method_to_string(icalproperty_method method);
-
-
-const char* icalproperty_enum_to_string(int e);
-char* icalproperty_enum_to_string_r(int e);
-int icalproperty_string_to_enum(const char* str);
-int icalproperty_kind_and_string_to_enum(const int kind, const char* str);
-
-const char* icalproperty_status_to_string(icalproperty_status);
-icalproperty_status icalproperty_string_to_status(const char* string);
-
-int icalproperty_enum_belongs_to_property(icalproperty_kind kind, int e);
-
-
-
-
-#endif /*ICALPROPERTY_H*/
diff --git a/contrib/prebuilt/include/libical/icalproperty_cxx.h b/contrib/prebuilt/include/libical/icalproperty_cxx.h
deleted file mode 100644
index d724243..0000000
--- a/contrib/prebuilt/include/libical/icalproperty_cxx.h
+++ /dev/null
@@ -1,376 +0,0 @@
-/* -*- Mode: C++ -*- */
-
-/**
- * @file icalproperty_cxx.h
- * @author fnguyen (12/10/01)
- * @brief Definition of C++ Wrapper for icalproperty.c
- *
- * (C) COPYRIGHT 2001, Critical Path
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
- */
-
-#ifndef ICALPROPERTY_CXX_H
-#define ICALPROPERTY_CXX_H
-
-#include "ical.h"
-#include "icptrholder.h"
-
-typedef char* string; // Will use the string library from STL
-
-class ICalParameter;
-class ICalValue;
-
-class ICalProperty {
-public:
- ICalProperty();
- ICalProperty(const ICalProperty&) throw(icalerrorenum);
- ICalProperty& operator=(const ICalProperty&) throw(icalerrorenum);
- ~ICalProperty();
-
- ICalProperty(icalproperty* v);
- ICalProperty(string str);
- ICalProperty(icalproperty_kind kind);
- ICalProperty(icalproperty_kind kind, string str);
-
- operator icalproperty*() {return imp;}
- int operator==(ICalProperty& rhs);
-
- void detach() {
- imp = NULL;
- }
-
-public:
- string as_ical_string();
- icalproperty_kind isa();
- int isa_property(void* property);
-
- void add_parameter(ICalParameter& parameter);
- void set_parameter(ICalParameter& parameter);
- void set_parameter_from_string(string name, string val);
- string get_parameter_as_string(string name);
- void remove_parameter(icalparameter_kind kind);
- int count_parameters();
-
- /** Iterate through the parameters */
- ICalParameter* get_first_parameter(icalparameter_kind kind);
- ICalParameter* get_next_parameter(icalparameter_kind kind);
-
- /** Access the value of the property */
- void set_value(const ICalValue& val);
- void set_value_from_string(string val, string kind);
-
- ICalValue* get_value();
- string get_value_as_string();
-
- /** Return the name of the property -- the type name converted
- * to a string, or the value of get_x_name if the type is X
- * property
- */
- string get_name();
-
-public:
- /* Deal with X properties */
- static void set_x_name(ICalProperty &prop, string name);
- static string get_x_name(ICalProperty &prop);
-
- static icalvalue_kind icalparameter_value_to_value_kind(icalparameter_value val);
-
- /* Convert kinds to string and get default value type */
- static icalvalue_kind kind_to_value_kind(icalproperty_kind kind);
- static icalproperty_kind value_kind_to_kind(icalvalue_kind kind);
- static string kind_to_string(icalproperty_kind kind);
- static icalproperty_kind string_to_kind(string str);
-
- static icalproperty_method string_to_method(string str);
- static string method_to_string(icalproperty_method method);
-
- static string enum_to_string(int e);
- static int string_to_enum(string str);
-
- static string status_to_string(icalproperty_status);
- static icalproperty_status string_to_status(string str);
-
- static int enum_belongs_to_property(icalproperty_kind kind, int e);
-
-public:
- /* ACTION */
- void set_action(enum icalproperty_action v);
- enum icalproperty_action get_action();
-
- /* ATTACH */
- void set_attach(icalattach *v);
- icalattach *get_attach();
-
- /* ATTENDEE */
- void set_attendee(string val);
- string get_attendee();
-
- /* CALSCALE */
- void set_calscale(string val);
- string get_calscale();
-
- /* CATEGORIES */
- void set_categories(string val);
- string get_categories();
-
- /* CLASS */
- void set_class(enum icalproperty_class val);
- enum icalproperty_class get_class();
-
- /* COMMENT */
- void set_comment(string val);
- string get_comment();
-
- /* COMPLETED */
- void set_completed(struct icaltimetype val);
- struct icaltimetype get_completed();
-
- /* CONTACT */
- void set_contact(string val);
- string get_contact();
-
- /* CREATED */
- void set_created(struct icaltimetype val);
- struct icaltimetype get_created();
-
- /* DESCRIPTION */
- void set_description(string val);
- string get_description();
-
- /* DTEND */
- void set_dtend(struct icaltimetype val);
- struct icaltimetype get_dtend();
-
- /* DTSTAMP */
- void set_dtstamp(struct icaltimetype val);
- struct icaltimetype get_dtstamp();
-
- /* DTSTART */
- void set_dtstart(struct icaltimetype val);
- struct icaltimetype get_dtstart();
-
- /* DUE */
- void set_due(struct icaltimetype val);
- struct icaltimetype get_due();
-
- /* DURATION */
- void set_duration(struct icaldurationtype val);
- struct icaldurationtype get_duration();
-
- /* EXDATE */
- void set_exdate(struct icaltimetype val);
- struct icaltimetype get_exdate();
-
- /* EXPAND */
- void set_expand(int val);
- int get_expand();
-
- /* EXRULE */
- void set_exrule(struct icalrecurrencetype val);
- struct icalrecurrencetype get_exrule();
-
- /* FREEBUSY */
- void set_freebusy(struct icalperiodtype val);
- struct icalperiodtype get_freebusy();
-
- /* GEO */
- void set_geo(struct icalgeotype val);
- struct icalgeotype get_geo();
-
- /* GRANT */
- void set_grant(string val);
- string get_grant();
-
- /* LAST-MODIFIED */
- void set_lastmodified(struct icaltimetype val);
- struct icaltimetype get_lastmodified();
-
- /* LOCATION */
- void set_location(string val);
- string get_location();
-
- /* MAXRESULTS */
- void set_maxresults(int val);
- int get_maxresults();
-
- /* MAXRESULTSSIZE */
- void set_maxresultsize(int val);
- int get_maxresultsize();
-
- /* METHOD */
- void set_method(enum icalproperty_method val);
- enum icalproperty_method get_method();
-
- /* OWNER */
- void set_owner(string val);
- string get_owner();
-
- /* ORGANIZER */
- void set_organizer(string val);
- string get_organizer();
-
- /* PERCENT-COMPLETE */
- void set_percentcomplete(int val);
- int get_percentcomplete();
-
- /* PRIORITY */
- void set_priority(int val);
- int get_priority();
-
- /* PRODID */
- void set_prodid(string val);
- string get_prodid();
-
- /* QUERY */
- void set_query(string val);
- string get_query();
-
- /* QUERYNAME */
- void set_queryname(string val);
- string get_queryname();
-
- /* RDATE */
- void set_rdate(struct icaldatetimeperiodtype val);
- struct icaldatetimeperiodtype get_rdate();
-
- /* RECURRENCE-ID */
- void set_recurrenceid(struct icaltimetype val);
- struct icaltimetype get_recurrenceid();
-
- /* RELATED-TO */
- void set_relatedto(string val);
- string get_relatedto();
-
- /* RELCALID */
- void set_relcalid(string val);
- string get_relcalid();
-
- /* REPEAT */
- void set_repeat(int val);
- int get_repeat();
-
- /* REQUEST-STATUS */
- void set_requeststatus(string val);
- string get_requeststatus();
-
- /* RESOURCES */
- void set_resources(string val);
- string get_resources();
-
- /* RRULE */
- void set_rrule(struct icalrecurrencetype val);
- struct icalrecurrencetype get_rrule();
-
- /* SCOPE */
- void set_scope(string val);
- string get_scope();
-
- /* SEQUENCE */
- void set_sequence(int val);
- int get_sequence();
-
- /* STATUS */
- void set_status(enum icalproperty_status val);
- enum icalproperty_status get_status();
-
- /* SUMMARY */
- void set_summary(string val);
- string get_summary();
-
- /* TARGET */
- void set_target(string val);
- string get_target();
-
- /* TRANSP */
- void set_transp(enum icalproperty_transp val);
- enum icalproperty_transp get_transp();
-
- /* TRIGGER */
- void set_trigger(struct icaltriggertype val);
- struct icaltriggertype get_trigger();
-
- /* TZID */
- void set_tzid(string val);
- string get_tzid();
-
- /* TZNAME */
- void set_tzname(string val);
- string get_tzname();
-
- /* TZOFFSETFROM */
- void set_tzoffsetfrom(int val);
- int get_tzoffsetfrom();
-
- /* TZOFFSETTO */
- void set_tzoffsetto(int val);
- int get_tzoffsetto();
-
- /* TZURL */
- void set_tzurl(string val);
- string get_tzurl();
-
- /* UID */
- void set_uid(string val);
- string get_uid();
-
- /* URL */
- void set_url(string val);
- string get_url();
-
- /* VERSION */
- void set_version(string val);
- string get_version();
-
- /* X */
- void set_x(string val);
- string get_x();
-
- /* X-LIC-CLUSTERCOUNT */
- void set_xlicclustercount(string val);
- string get_xlicclustercount();
-
- /* X-LIC-ERROR */
- void set_xlicerror(string val);
- string get_xlicerror();
-
- /* X-LIC-MIMECHARSET */
- void set_xlicmimecharset(string val);
- string get_xlicmimecharset();
-
- /* X-LIC-MIMECID */
- void set_xlicmimecid(string val);
- string get_xlicmimecid();
-
- /* X-LIC-MIMECONTENTTYPE */
- void set_xlicmimecontenttype(string val);
- string get_xlicmimecontenttype();
-
- /* X-LIC-MIMEENCODING */
- void set_xlicmimeencoding(string val);
- string get_xlicmimeencoding();
-
- /* X-LIC-MIMEFILENAME */
- void set_xlicmimefilename(string val);
- string get_xlicmimefilename();
-
- /* X-LIC-MIMEOPTINFO */
- void set_xlicmimeoptinfo(string val);
- string get_xlicmimeoptinfo();
-
-private:
- icalproperty* imp; /**< The actual C based icalproperty */
-};
-
-typedef ICPointerHolder<ICalProperty> ICalPropertyTmpPtr; /* see icptrholder.h for comments */
-
-#endif /* ICalProperty_H */
diff --git a/contrib/prebuilt/include/libical/icalrecur.h b/contrib/prebuilt/include/libical/icalrecur.h
deleted file mode 100644
index 884bf04..0000000
--- a/contrib/prebuilt/include/libical/icalrecur.h
+++ /dev/null
@@ -1,217 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalrecur.h
- CREATOR: eric 20 March 2000
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-*/
-
-/**
-@file icalrecur.h
-@brief Routines for dealing with recurring time
-
-How to use:
-
-1) Get a rule and a start time from a component
-
-@code
- icalproperty rrule;
- struct icalrecurrencetype recur;
- struct icaltimetype dtstart;
-
- rrule = icalcomponent_get_first_property(comp,ICAL_RRULE_PROPERTY);
- recur = icalproperty_get_rrule(rrule);
- start = icalproperty_get_dtstart(dtstart);
-@endcode
-
-Or, just make them up:
-
-@code
- recur = icalrecurrencetype_from_string("FREQ=YEARLY;BYDAY=SU,WE");
- dtstart = icaltime_from_string("19970101T123000")
-@endcode
-
-2) Create an iterator
-
-@code
- icalrecur_iterator* ritr;
- ritr = icalrecur_iterator_new(recur,start);
-@endcode
-
-3) Iterator over the occurrences
-
-@code
- struct icaltimetype next;
- while (next = icalrecur_iterator_next(ritr)
- && !icaltime_is_null_time(next){
- Do something with next
- }
-@endcode
-
-Note that that the time returned by icalrecur_iterator_next is in
-whatever timezone that dtstart is in.
-
-*/
-
-#ifndef ICALRECUR_H
-#define ICALRECUR_H
-
-#include <time.h>
-#include "icaltime.h"
-
-/*
- * Recurrance enumerations
- */
-
-typedef enum icalrecurrencetype_frequency
-{
- /* These enums are used to index an array, so don't change the
- order or the integers */
-
- ICAL_SECONDLY_RECURRENCE=0,
- ICAL_MINUTELY_RECURRENCE=1,
- ICAL_HOURLY_RECURRENCE=2,
- ICAL_DAILY_RECURRENCE=3,
- ICAL_WEEKLY_RECURRENCE=4,
- ICAL_MONTHLY_RECURRENCE=5,
- ICAL_YEARLY_RECURRENCE=6,
- ICAL_NO_RECURRENCE=7
-
-} icalrecurrencetype_frequency;
-
-typedef enum icalrecurrencetype_weekday
-{
- ICAL_NO_WEEKDAY,
- ICAL_SUNDAY_WEEKDAY,
- ICAL_MONDAY_WEEKDAY,
- ICAL_TUESDAY_WEEKDAY,
- ICAL_WEDNESDAY_WEEKDAY,
- ICAL_THURSDAY_WEEKDAY,
- ICAL_FRIDAY_WEEKDAY,
- ICAL_SATURDAY_WEEKDAY
-} icalrecurrencetype_weekday;
-
-enum {
- ICAL_RECURRENCE_ARRAY_MAX = 0x7f7f,
- ICAL_RECURRENCE_ARRAY_MAX_BYTE = 0x7f
-};
-
-
-
-/**
- * Recurrence type routines
- */
-
-/* See RFC 2445 Section 4.3.10, RECUR Value, for an explaination of
- the values and fields in struct icalrecurrencetype */
-
-#define ICAL_BY_SECOND_SIZE 61
-#define ICAL_BY_MINUTE_SIZE 61
-#define ICAL_BY_HOUR_SIZE 25
-#define ICAL_BY_DAY_SIZE 364 /* 7 days * 52 weeks */
-#define ICAL_BY_MONTHDAY_SIZE 32
-#define ICAL_BY_YEARDAY_SIZE 367
-#define ICAL_BY_WEEKNO_SIZE 54
-#define ICAL_BY_MONTH_SIZE 13
-#define ICAL_BY_SETPOS_SIZE 367
-
-/** Main struct for holding digested recurrence rules */
-struct icalrecurrencetype
-{
- icalrecurrencetype_frequency freq;
-
-
- /* until and count are mutually exclusive. */
- struct icaltimetype until;
- int count;
-
- short interval;
-
- icalrecurrencetype_weekday week_start;
-
- /* The BY* parameters can each take a list of values. Here I
- * assume that the list of values will not be larger than the
- * range of the value -- that is, the client will not name a
- * value more than once.
-
- * Each of the lists is terminated with the value
- * ICAL_RECURRENCE_ARRAY_MAX unless the the list is full.
- */
-
- short by_second[ICAL_BY_SECOND_SIZE];
- short by_minute[ICAL_BY_MINUTE_SIZE];
- short by_hour[ICAL_BY_HOUR_SIZE];
- short by_day[ICAL_BY_DAY_SIZE]; /* Encoded value, see below */
- short by_month_day[ICAL_BY_MONTHDAY_SIZE];
- short by_year_day[ ICAL_BY_YEARDAY_SIZE];
- short by_week_no[ICAL_BY_WEEKNO_SIZE];
- short by_month[ICAL_BY_MONTH_SIZE];
- short by_set_pos[ICAL_BY_SETPOS_SIZE];
-};
-
-
-void icalrecurrencetype_clear(struct icalrecurrencetype *r);
-
-/**
- * Array Encoding
- *
- * The 'day' element of the by_day array is encoded to allow
- * representation of both the day of the week ( Monday, Tueday), but also
- * the Nth day of the week ( First tuesday of the month, last thursday of
- * the year) These routines decode the day values
- */
-
-/** 1 == Monday, etc. */
-enum icalrecurrencetype_weekday icalrecurrencetype_day_day_of_week(short day);
-
-/** 0 == any of day of week. 1 == first, 2 = second, -2 == second to last, etc */
-int icalrecurrencetype_day_position(short day);
-
-icalrecurrencetype_weekday icalrecur_string_to_weekday(const char* str);
-
-/** Recurrance rule parser */
-
-/** Convert between strings and recurrencetype structures. */
-struct icalrecurrencetype icalrecurrencetype_from_string(const char* str);
-char* icalrecurrencetype_as_string(struct icalrecurrencetype *recur);
-char* icalrecurrencetype_as_string_r(struct icalrecurrencetype *recur);
-
-
-/** Recurrence iteration routines */
-
-typedef struct icalrecur_iterator_impl icalrecur_iterator;
-
-/** Create a new recurrence rule iterator */
-icalrecur_iterator* icalrecur_iterator_new(struct icalrecurrencetype rule,
- struct icaltimetype dtstart);
-
-/** Get the next occurrence from an iterator */
-struct icaltimetype icalrecur_iterator_next(icalrecur_iterator*);
-
-void icalrecur_iterator_decrement_count(icalrecur_iterator*);
-
-/** Free the iterator */
-void icalrecur_iterator_free(icalrecur_iterator*);
-
-/**
- * Fills array up with at most 'count' time_t values, each
- * representing an occurrence time in seconds past the POSIX epoch
- */
-int icalrecur_expand_recurrence(char* rule, time_t start,
- int count, time_t* array);
-
-
-#endif
diff --git a/contrib/prebuilt/include/libical/icalrestriction.h b/contrib/prebuilt/include/libical/icalrestriction.h
deleted file mode 100644
index a491424..0000000
--- a/contrib/prebuilt/include/libical/icalrestriction.h
+++ /dev/null
@@ -1,64 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalrestriction.h
- CREATOR: eric 24 April 1999
-
- $Id: icalrestriction.h,v 1.3 2008-01-15 23:17:42 dothebart Exp $
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icalrestriction.h
-
- Contributions from:
- Graham Davison (g.m.davison@computer.org)
-
-
-======================================================================*/
-
-#include "icalproperty.h"
-#include "icalcomponent.h"
-
-#ifndef ICALRESTRICTION_H
-#define ICALRESTRICTION_H
-
-/* These must stay in this order for icalrestriction_compare to work */
-typedef enum icalrestriction_kind {
- ICAL_RESTRICTION_NONE=0, /* 0 */
- ICAL_RESTRICTION_ZERO, /* 1 */
- ICAL_RESTRICTION_ONE, /* 2 */
- ICAL_RESTRICTION_ZEROPLUS, /* 3 */
- ICAL_RESTRICTION_ONEPLUS, /* 4 */
- ICAL_RESTRICTION_ZEROORONE, /* 5 */
- ICAL_RESTRICTION_ONEEXCLUSIVE, /* 6 */
- ICAL_RESTRICTION_ONEMUTUAL, /* 7 */
- ICAL_RESTRICTION_UNKNOWN /* 8 */
-} icalrestriction_kind;
-
-int
-icalrestriction_compare(icalrestriction_kind restr, int count);
-
-
-int
-icalrestriction_is_parameter_allowed(icalproperty_kind property,
- icalparameter_kind parameter);
-
-int icalrestriction_check(icalcomponent* comp);
-
-
-#endif /* !ICALRESTRICTION_H */
-
-
-
diff --git a/contrib/prebuilt/include/libical/icalset.h b/contrib/prebuilt/include/libical/icalset.h
deleted file mode 100644
index b6929f0..0000000
--- a/contrib/prebuilt/include/libical/icalset.h
+++ /dev/null
@@ -1,184 +0,0 @@
-/* -*- Mode: C -*- */
-/**
- @file icalset.h
- @author eric 28 November 1999
-
- Icalset is the "base class" for representations of a collection of
- iCal components. Derived classes (actually delegatees) include:
-
- icalfileset Store components in a single file
- icaldirset Store components in multiple files in a directory
- icalbdbset Store components in a Berkeley DB File
- icalheapset Store components on the heap
- icalmysqlset Store components in a mysql database.
-**/
-
-/*
- $Id: icalset.h,v 1.15 2008-01-02 20:07:42 dothebart Exp $
- $Locker: $
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Original Code is eric. The Initial Developer of the Original
- Code is Eric Busboom
-
-
-======================================================================*/
-
-#ifndef ICALSET_H
-#define ICALSET_H
-
-#include <limits.h> /* For PATH_MAX */
-#include <libical/ical.h>
-#include "icalgauge.h"
-
-#ifdef PATH_MAX
-#define ICAL_PATH_MAX PATH_MAX
-#else
-#define ICAL_PATH_MAX 1024
-#endif
-
-
-typedef struct icalset_impl icalset;
-
-typedef enum icalset_kind {
- ICAL_FILE_SET,
- ICAL_DIR_SET,
- ICAL_BDB_SET
-} icalset_kind;
-
-typedef struct icalsetiter
-{
- icalcompiter iter; /* icalcomponent_kind, pvl_elem iter */
- icalgauge* gauge;
- icalrecur_iterator* ritr; /*the last iterator*/
- icalcomponent* last_component; /*the pending recurring component to be processed */
- const char* tzid; /* the calendar's timezone id */
-} icalsetiter;
-
-struct icalset_impl {
- icalset_kind kind;
- int size;
- char *dsn;
- icalset* (*init)(icalset* set, const char *dsn, void *options);
- void (*free)(icalset* set);
- const char* (*path)(icalset* set);
- void (*mark)(icalset* set);
- icalerrorenum (*commit)(icalset* set);
- icalerrorenum (*add_component)(icalset* set, icalcomponent* comp);
- icalerrorenum (*remove_component)(icalset* set, icalcomponent* comp);
- int (*count_components)(icalset* set,
- icalcomponent_kind kind);
- icalerrorenum (*select)(icalset* set, icalgauge* gauge);
- void (*clear)(icalset* set);
- icalcomponent* (*fetch)(icalset* set, const char* uid);
- icalcomponent* (*fetch_match)(icalset* set, icalcomponent *comp);
- int (*has_uid)(icalset* set, const char* uid);
- icalerrorenum (*modify)(icalset* set, icalcomponent *old,
- icalcomponent *newc);
- icalcomponent* (*get_current_component)(icalset* set);
- icalcomponent* (*get_first_component)(icalset* set);
- icalcomponent* (*get_next_component)(icalset* set);
- icalsetiter (*icalset_begin_component)(icalset* set,
- icalcomponent_kind kind, icalgauge* gauge);
- icalcomponent* (*icalsetiter_to_next)(icalset* set, icalsetiter* i);
- icalcomponent* (*icalsetiter_to_prior)(icalset* set, icalsetiter* i);
-};
-
-/** @brief Register a new derived class */
-int icalset_register_class(icalset *set);
-
-
-/** @brief Generic icalset constructor
- *
- * @param kind The type of icalset to create
- * @param dsn Data Source Name - usually a pathname or DB handle
- * @param options Any implementation specific options
- *
- * @return A valid icalset reference or NULL if error.
- *
- * This creates any of the icalset types available.
- */
-
-icalset* icalset_new(icalset_kind kind, const char* dsn, void* options);
-
-icalset* icalset_new_file(const char* path);
-icalset* icalset_new_file_reader(const char* path);
-icalset* icalset_new_file_writer(const char* path);
-
-icalset* icalset_new_dir(const char* path);
-icalset* icalset_new_file_reader(const char* path);
-icalset* icalset_new_file_writer(const char* path);
-
-void icalset_free(icalset* set);
-
-const char* icalset_path(icalset* set);
-
-/** Mark the cluster as changed, so it will be written to disk when it
- is freed. **/
-void icalset_mark(icalset* set);
-
-/** Write changes to disk immediately */
-icalerrorenum icalset_commit(icalset* set);
-
-icalerrorenum icalset_add_component(icalset* set, icalcomponent* comp);
-icalerrorenum icalset_remove_component(icalset* set, icalcomponent* comp);
-
-int icalset_count_components(icalset* set,
- icalcomponent_kind kind);
-
-/** Restrict the component returned by icalset_first, _next to those
- that pass the gauge. */
-icalerrorenum icalset_select(icalset* set, icalgauge* gauge);
-
-/** Clears the gauge defined by icalset_select() */
-void icalset_clear_select(icalset* set);
-
-/** Get a component by uid */
-icalcomponent* icalset_fetch(icalset* set, const char* uid);
-
-int icalset_has_uid(icalset* set, const char* uid);
-icalcomponent* icalset_fetch_match(icalset* set, icalcomponent *c);
-
-/** Modify components according to the MODIFY method of CAP. Works on
- the currently selected components. */
-icalerrorenum icalset_modify(icalset* set, icalcomponent *oldc,
- icalcomponent *newc);
-
-/** Iterate through the components. If a guage has been defined, these
- will skip over components that do not pass the gauge */
-
-icalcomponent* icalset_get_current_component(icalset* set);
-icalcomponent* icalset_get_first_component(icalset* set);
-icalcomponent* icalset_get_next_component(icalset* set);
-
-/** External Iterator with gauge - for thread safety */
-extern icalsetiter icalsetiter_null;
-
-icalsetiter icalset_begin_component(icalset* set,
- icalcomponent_kind kind, icalgauge* gauge);
-
-/** Default _next, _prior, _deref for subclasses that use single cluster */
-icalcomponent* icalsetiter_next(icalsetiter* i);
-icalcomponent* icalsetiter_prior(icalsetiter* i);
-icalcomponent* icalsetiter_deref(icalsetiter* i);
-
-/** for subclasses that use multiple clusters that require specialized cluster traversal */
-icalcomponent* icalsetiter_to_next(icalset* set, icalsetiter* i);
-icalcomponent* icalsetiter_to_prior(icalset* set, icalsetiter* i);
-
-#endif /* !ICALSET_H */
-
-
-
diff --git a/contrib/prebuilt/include/libical/icalspanlist.h b/contrib/prebuilt/include/libical/icalspanlist.h
deleted file mode 100644
index 71056de..0000000
--- a/contrib/prebuilt/include/libical/icalspanlist.h
+++ /dev/null
@@ -1,77 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalspanlist.h
- CREATOR: eric 21 Aug 2000
-
-
- $Id: icalspanlist.h,v 1.8 2008-01-02 20:07:42 dothebart Exp $
- $Locker: $
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
-
- =========================================================================*/
-#ifndef ICALSPANLIST_H
-#define ICALSPANLIST_H
-
-#include <libical/ical.h>
-#include "icalset.h"
-
-/** @file icalspanlist.h
- * @brief Code that supports collections of free/busy spans of time
- */
-
-typedef struct icalspanlist_impl icalspanlist;
-
-
-/** @brief Constructor
- * Make a free list from a set of component. Start and end should be in UTC
- */
-
-icalspanlist* icalspanlist_new(icalset *set,
- struct icaltimetype start,
- struct icaltimetype end);
-
-/** @brief Destructor
- */
-void icalspanlist_free(icalspanlist* spl);
-
-/* Unimplemented functions */
-icalcomponent* icalspanlist_make_free_list(icalspanlist* sl);
-icalcomponent* icalspanlist_make_busy_list(icalspanlist* sl);
-
-/** Get first next free time after time t. all times are in UTC. */
-struct icalperiodtype icalspanlist_next_free_time(icalspanlist* sl,
- struct icaltimetype t);
-/** Get first next busy time after time t. all times are in UTC. */
-struct icalperiodtype icalspanlist_next_busy_time(icalspanlist* sl,
- struct icaltimetype t);
-
-void icalspanlist_dump(icalspanlist* s);
-
-/** @brief Return a valid VFREEBUSY component for this span */
-icalcomponent *icalspanlist_as_vfreebusy(icalspanlist* s_in,
- const char* organizer,
- const char* attendee);
-
-/** @brief Return an integer matrix of total events per delta_t timespan */
-int *icalspanlist_as_freebusy_matrix(icalspanlist* span, int delta_t);
-
-/** @brief Construct an icalspanlist from a VFREEBUSY component */
-icalspanlist *icalspanlist_from_vfreebusy(icalcomponent* c);
-
-#endif
-
-
-
diff --git a/contrib/prebuilt/include/libical/icalss.h b/contrib/prebuilt/include/libical/icalss.h
deleted file mode 100644
index ade8ca6..0000000
--- a/contrib/prebuilt/include/libical/icalss.h
+++ /dev/null
@@ -1,781 +0,0 @@
-#ifndef LIBICAL_ICALSS_H
-#define LIBICAL_ICALSS_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-/*
- $Id$
-*/
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalgauge.h
- CREATOR: eric 23 December 1999
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Original Code is eric. The Initial Developer of the Original
- Code is Eric Busboom
-
-
-======================================================================*/
-
-#ifndef ICALGAUGE_H
-#define ICALGAUGE_H
-
-
-/** @file icalgauge.h
- * @brief Routines implementing a filter for ical components
- */
-
-typedef struct icalgauge_impl icalgauge;
-
-icalgauge* icalgauge_new_from_sql(char* sql, int expand);
-
-int icalgauge_get_expand(icalgauge* gauge);
-
-void icalgauge_free(icalgauge* gauge);
-
-char* icalgauge_as_sql(icalcomponent* gauge);
-
-void icalgauge_dump(icalgauge* gauge);
-
-
-/** @brief Return true if comp matches the gauge.
- *
- * The component must be in
- * cannonical form -- a VCALENDAR with one VEVENT, VTODO or VJOURNAL
- * sub component
- */
-int icalgauge_compare(icalgauge* g, icalcomponent* comp);
-
-/** Clone the component, but only return the properties
- * specified in the gauge */
-icalcomponent* icalgauge_new_clone(icalgauge* g, icalcomponent* comp);
-
-#endif /* ICALGAUGE_H*/
-/* -*- Mode: C -*- */
-/**
- @file icalset.h
- @author eric 28 November 1999
-
- Icalset is the "base class" for representations of a collection of
- iCal components. Derived classes (actually delegatees) include:
-
- icalfileset Store components in a single file
- icaldirset Store components in multiple files in a directory
- icalbdbset Store components in a Berkeley DB File
- icalheapset Store components on the heap
- icalmysqlset Store components in a mysql database.
-**/
-
-/*
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Original Code is eric. The Initial Developer of the Original
- Code is Eric Busboom
-
-
-======================================================================*/
-
-#ifndef ICALSET_H
-#define ICALSET_H
-
-#include <limits.h> /* For PATH_MAX */
-#include <libical/ical.h>
-
-#ifdef PATH_MAX
-#define ICAL_PATH_MAX PATH_MAX
-#else
-#define ICAL_PATH_MAX 1024
-#endif
-
-
-typedef struct icalset_impl icalset;
-
-typedef enum icalset_kind {
- ICAL_FILE_SET,
- ICAL_DIR_SET,
- ICAL_BDB_SET
-} icalset_kind;
-
-typedef struct icalsetiter
-{
- icalcompiter iter; /* icalcomponent_kind, pvl_elem iter */
- icalgauge* gauge;
- icalrecur_iterator* ritr; /*the last iterator*/
- icalcomponent* last_component; /*the pending recurring component to be processed */
- const char* tzid; /* the calendar's timezone id */
-} icalsetiter;
-
-struct icalset_impl {
- icalset_kind kind;
- int size;
- char *dsn;
- icalset* (*init)(icalset* set, const char *dsn, void *options);
- void (*free)(icalset* set);
- const char* (*path)(icalset* set);
- void (*mark)(icalset* set);
- icalerrorenum (*commit)(icalset* set);
- icalerrorenum (*add_component)(icalset* set, icalcomponent* comp);
- icalerrorenum (*remove_component)(icalset* set, icalcomponent* comp);
- int (*count_components)(icalset* set,
- icalcomponent_kind kind);
- icalerrorenum (*select)(icalset* set, icalgauge* gauge);
- void (*clear)(icalset* set);
- icalcomponent* (*fetch)(icalset* set, const char* uid);
- icalcomponent* (*fetch_match)(icalset* set, icalcomponent *comp);
- int (*has_uid)(icalset* set, const char* uid);
- icalerrorenum (*modify)(icalset* set, icalcomponent *old,
- icalcomponent *newc);
- icalcomponent* (*get_current_component)(icalset* set);
- icalcomponent* (*get_first_component)(icalset* set);
- icalcomponent* (*get_next_component)(icalset* set);
- icalsetiter (*icalset_begin_component)(icalset* set,
- icalcomponent_kind kind, icalgauge* gauge);
- icalcomponent* (*icalsetiter_to_next)(icalset* set, icalsetiter* i);
- icalcomponent* (*icalsetiter_to_prior)(icalset* set, icalsetiter* i);
-};
-
-/** @brief Register a new derived class */
-int icalset_register_class(icalset *set);
-
-
-/** @brief Generic icalset constructor
- *
- * @param kind The type of icalset to create
- * @param dsn Data Source Name - usually a pathname or DB handle
- * @param options Any implementation specific options
- *
- * @return A valid icalset reference or NULL if error.
- *
- * This creates any of the icalset types available.
- */
-
-icalset* icalset_new(icalset_kind kind, const char* dsn, void* options);
-
-icalset* icalset_new_file(const char* path);
-icalset* icalset_new_file_reader(const char* path);
-icalset* icalset_new_file_writer(const char* path);
-
-icalset* icalset_new_dir(const char* path);
-icalset* icalset_new_file_reader(const char* path);
-icalset* icalset_new_file_writer(const char* path);
-
-void icalset_free(icalset* set);
-
-const char* icalset_path(icalset* set);
-
-/** Mark the cluster as changed, so it will be written to disk when it
- is freed. **/
-void icalset_mark(icalset* set);
-
-/** Write changes to disk immediately */
-icalerrorenum icalset_commit(icalset* set);
-
-icalerrorenum icalset_add_component(icalset* set, icalcomponent* comp);
-icalerrorenum icalset_remove_component(icalset* set, icalcomponent* comp);
-
-int icalset_count_components(icalset* set,
- icalcomponent_kind kind);
-
-/** Restrict the component returned by icalset_first, _next to those
- that pass the gauge. */
-icalerrorenum icalset_select(icalset* set, icalgauge* gauge);
-
-/** Clears the gauge defined by icalset_select() */
-void icalset_clear_select(icalset* set);
-
-/** Get a component by uid */
-icalcomponent* icalset_fetch(icalset* set, const char* uid);
-
-int icalset_has_uid(icalset* set, const char* uid);
-icalcomponent* icalset_fetch_match(icalset* set, icalcomponent *c);
-
-/** Modify components according to the MODIFY method of CAP. Works on
- the currently selected components. */
-icalerrorenum icalset_modify(icalset* set, icalcomponent *oldc,
- icalcomponent *newc);
-
-/** Iterate through the components. If a guage has been defined, these
- will skip over components that do not pass the gauge */
-
-icalcomponent* icalset_get_current_component(icalset* set);
-icalcomponent* icalset_get_first_component(icalset* set);
-icalcomponent* icalset_get_next_component(icalset* set);
-
-/** External Iterator with gauge - for thread safety */
-extern icalsetiter icalsetiter_null;
-
-icalsetiter icalset_begin_component(icalset* set,
- icalcomponent_kind kind, icalgauge* gauge);
-
-/** Default _next, _prior, _deref for subclasses that use single cluster */
-icalcomponent* icalsetiter_next(icalsetiter* i);
-icalcomponent* icalsetiter_prior(icalsetiter* i);
-icalcomponent* icalsetiter_deref(icalsetiter* i);
-
-/** for subclasses that use multiple clusters that require specialized cluster traversal */
-icalcomponent* icalsetiter_to_next(icalset* set, icalsetiter* i);
-icalcomponent* icalsetiter_to_prior(icalset* set, icalsetiter* i);
-
-#endif /* !ICALSET_H */
-
-
-
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalcluster.h
- CREATOR: eric 23 December 1999
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Original Code is eric. The Initial Developer of the Original
- Code is Eric Busboom
-
-
-======================================================================*/
-
-#ifndef ICALCLUSTER_H
-#define ICALCLUSTER_H
-
-#include <libical/ical.h>
-
-typedef struct icalcluster_impl icalcluster;
-
-icalcluster* icalcluster_new(const char *key, icalcomponent *data);
-icalcluster* icalcluster_new_clone(const icalcluster *cluster);
-
-void icalcluster_free(icalcluster *cluster);
-
-const char* icalcluster_key(icalcluster *cluster);
-int icalcluster_is_changed(icalcluster *cluster);
-void icalcluster_mark(icalcluster *cluster);
-void icalcluster_commit(icalcluster *cluster);
-
-icalcomponent* icalcluster_get_component(icalcluster* cluster);
-int icalcluster_count_components(icalcluster *cluster, icalcomponent_kind kind);
-icalerrorenum icalcluster_add_component(icalcluster* cluster,
- icalcomponent* child);
-icalerrorenum icalcluster_remove_component(icalcluster* cluster,
- icalcomponent* child);
-
-icalcomponent* icalcluster_get_current_component(icalcluster* cluster);
-icalcomponent* icalcluster_get_first_component(icalcluster* cluster);
-icalcomponent* icalcluster_get_next_component(icalcluster* cluster);
-
-#endif /* !ICALCLUSTER_H */
-
-
-
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalfileset.h
- CREATOR: eric 23 December 1999
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Original Code is eric. The Initial Developer of the Original
- Code is Eric Busboom
-
-
-======================================================================*/
-
-#ifndef ICALFILESET_H
-#define ICALFILESET_H
-
-#include <libical/ical.h>
-#include <sys/types.h> /* For open() flags and mode */
-#include <sys/stat.h> /* For open() flags and mode */
-#include <fcntl.h> /* For open() flags and mode */
-
-#ifdef WIN32
-#define mode_t int
-#endif
-
-typedef struct icalfileset_impl icalfileset;
-
-icalset* icalfileset_new(const char* path);
-icalset* icalfileset_new_reader(const char* path);
-icalset* icalfileset_new_writer(const char* path);
-
-icalset* icalfileset_init(icalset *set, const char *dsn, void* options);
-
-icalfileset* icalfileset_new_from_cluster(const char* path, icalcluster *cluster);
-
-icalcluster* icalfileset_produce_icalcluster(const char *path);
-
-void icalfileset_free(icalset* cluster);
-
-const char* icalfileset_path(icalset* cluster);
-
-/* Mark the cluster as changed, so it will be written to disk when it
- is freed. Commit writes to disk immediately. */
-void icalfileset_mark(icalset* set);
-icalerrorenum icalfileset_commit(icalset* set);
-
-icalerrorenum icalfileset_add_component(icalset* set,
- icalcomponent* child);
-
-icalerrorenum icalfileset_remove_component(icalset* set,
- icalcomponent* child);
-
-int icalfileset_count_components(icalset* set,
- icalcomponent_kind kind);
-
-/**
- * Restrict the component returned by icalfileset_first, _next to those
- * that pass the gauge. _clear removes the gauge
- */
-icalerrorenum icalfileset_select(icalset* set, icalgauge* gauge);
-
-/** clear the gauge **/
-void icalfileset_clear(icalset* set);
-
-/** Get and search for a component by uid **/
-icalcomponent* icalfileset_fetch(icalset* set, const char* uid);
-int icalfileset_has_uid(icalset* set, const char* uid);
-icalcomponent* icalfileset_fetch_match(icalset* set, icalcomponent *c);
-
-
-/**
- * Modify components according to the MODIFY method of CAP. Works on the
- * currently selected components.
- */
-icalerrorenum icalfileset_modify(icalset* set,
- icalcomponent *oldcomp,
- icalcomponent *newcomp);
-
-/* Iterate through components. If a gauge has been defined, these
- will skip over components that do not pass the gauge */
-
-icalcomponent* icalfileset_get_current_component (icalset* cluster);
-icalcomponent* icalfileset_get_first_component(icalset* cluster);
-icalcomponent* icalfileset_get_next_component(icalset* cluster);
-
-/* External iterator for thread safety */
-icalsetiter icalfileset_begin_component(icalset* set, icalcomponent_kind kind, icalgauge* gauge);
-icalcomponent * icalfilesetiter_to_next(icalset* set, icalsetiter *iter);
-icalcomponent* icalfileset_form_a_matched_recurrence_component(icalsetiter* itr);
-
-/** Return a reference to the internal component. You probably should
- not be using this. */
-
-icalcomponent* icalfileset_get_component(icalset* cluster);
-
-/**
- * @brief options for opening an icalfileset.
- *
- * These options should be passed to the icalset_new() function
- */
-
-typedef struct icalfileset_options {
- int flags; /**< flags for open() O_RDONLY, etc */
- mode_t mode; /**< file mode */
- int safe_saves; /**< to lock or not */
- icalcluster *cluster; /**< use this cluster to initialize data */
-} icalfileset_options;
-
-extern icalfileset_options icalfileset_options_default;
-
-#endif /* !ICALFILESET_H */
-
-
-
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icaldirset.h
- CREATOR: eric 28 November 1999
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Original Code is eric. The Initial Developer of the Original
- Code is Eric Busboom
-
-
-======================================================================*/
-
-#ifndef ICALDIRSET_H
-#define ICALDIRSET_H
-
-#include <libical/ical.h>
-
-/* icaldirset Routines for storing, fetching, and searching for ical
- * objects in a database */
-
-typedef struct icaldirset_impl icaldirset;
-
-icalset* icaldirset_new(const char* path);
-
-icalset* icaldirset_new_reader(const char* path);
-icalset* icaldirset_new_writer(const char* path);
-
-
-icalset* icaldirset_init(icalset* set, const char *dsn, void *options);
-void icaldirset_free(icalset* set);
-
-const char* icaldirset_path(icalset* set);
-
-/* Mark the cluster as changed, so it will be written to disk when it
- is freed. Commit writes to disk immediately*/
-void icaldirset_mark(icalset* set);
-icalerrorenum icaldirset_commit(icalset* set);
-
-icalerrorenum icaldirset_add_component(icalset* store, icalcomponent* comp);
-icalerrorenum icaldirset_remove_component(icalset* store, icalcomponent* comp);
-
-int icaldirset_count_components(icalset* store,
- icalcomponent_kind kind);
-
-/* Restrict the component returned by icaldirset_first, _next to those
- that pass the gauge. _clear removes the gauge. */
-icalerrorenum icaldirset_select(icalset* store, icalgauge* gauge);
-void icaldirset_clear(icalset* store);
-
-/* Get a component by uid */
-icalcomponent* icaldirset_fetch(icalset* store, const char* uid);
-int icaldirset_has_uid(icalset* store, const char* uid);
-icalcomponent* icaldirset_fetch_match(icalset* set, icalcomponent *c);
-
-/* Modify components according to the MODIFY method of CAP. Works on
- the currently selected components. */
-icalerrorenum icaldirset_modify(icalset* store, icalcomponent *oldc,
- icalcomponent *newc);
-
-/* Iterate through the components. If a gauge has been defined, these
- will skip over components that do not pass the gauge */
-
-icalcomponent* icaldirset_get_current_component(icalset* store);
-icalcomponent* icaldirset_get_first_component(icalset* store);
-icalcomponent* icaldirset_get_next_component(icalset* store);
-
-/* External iterator for thread safety */
-icalsetiter icaldirset_begin_component(icalset* set, icalcomponent_kind kind, icalgauge* gauge);
-icalcomponent* icaldirsetiter_to_next(icalset* set, icalsetiter* i);
-icalcomponent* icaldirsetiter_to_prior(icalset* set, icalsetiter* i);
-
-typedef struct icaldirset_options {
- int flags; /**< flags corresponding to the open() system call O_RDWR, etc. */
-} icaldirset_options;
-
-#endif /* !ICALDIRSET_H */
-
-
-
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalcalendar.h
- CREATOR: eric 23 December 1999
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Original Code is eric. The Initial Developer of the Original
- Code is Eric Busboom
-
-
-======================================================================*/
-
-#ifndef ICALCALENDAR_H
-#define ICALCALENDAR_H
-
-#include <libical/ical.h>
-
-/* icalcalendar
- * Routines for storing calendar data in a file system. The calendar
- * has two icaldirsets, one for incoming components and one for booked
- * components. It also has interfaces to access the free/busy list
- * and a list of calendar properties */
-
-typedef struct icalcalendar_impl icalcalendar;
-
-icalcalendar* icalcalendar_new(char* dir);
-
-void icalcalendar_free(icalcalendar* calendar);
-
-int icalcalendar_lock(icalcalendar* calendar);
-
-int icalcalendar_unlock(icalcalendar* calendar);
-
-int icalcalendar_islocked(icalcalendar* calendar);
-
-int icalcalendar_ownlock(icalcalendar* calendar);
-
-icalset* icalcalendar_get_booked(icalcalendar* calendar);
-
-icalset* icalcalendar_get_incoming(icalcalendar* calendar);
-
-icalset* icalcalendar_get_properties(icalcalendar* calendar);
-
-icalset* icalcalendar_get_freebusy(icalcalendar* calendar);
-
-
-#endif /* !ICALCALENDAR_H */
-
-
-
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalclassify.h
- CREATOR: eric 21 Aug 2000
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
-
- =========================================================================*/
-
-#ifndef ICALCLASSIFY_H
-#define ICALCLASSIFY_H
-
-#include <libical/ical.h>
-
-icalproperty_xlicclass icalclassify(icalcomponent* c,icalcomponent* match,
- const char* user);
-
-icalcomponent* icalclassify_find_overlaps(icalset* set, icalcomponent* comp);
-
-char* icalclassify_class_to_string(icalproperty_xlicclass c);
-
-
-#endif /* ICALCLASSIFY_H*/
-
-
-
-
-
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalspanlist.h
- CREATOR: eric 21 Aug 2000
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
-
- =========================================================================*/
-#ifndef ICALSPANLIST_H
-#define ICALSPANLIST_H
-
-#include <libical/ical.h>
-
-/** @file icalspanlist.h
- * @brief Code that supports collections of free/busy spans of time
- */
-
-typedef struct icalspanlist_impl icalspanlist;
-
-
-/** @brief Constructor
- * Make a free list from a set of component. Start and end should be in UTC
- */
-
-icalspanlist* icalspanlist_new(icalset *set,
- struct icaltimetype start,
- struct icaltimetype end);
-
-/** @brief Destructor
- */
-void icalspanlist_free(icalspanlist* spl);
-
-/* Unimplemented functions */
-icalcomponent* icalspanlist_make_free_list(icalspanlist* sl);
-icalcomponent* icalspanlist_make_busy_list(icalspanlist* sl);
-
-/** Get first next free time after time t. all times are in UTC. */
-struct icalperiodtype icalspanlist_next_free_time(icalspanlist* sl,
- struct icaltimetype t);
-/** Get first next busy time after time t. all times are in UTC. */
-struct icalperiodtype icalspanlist_next_busy_time(icalspanlist* sl,
- struct icaltimetype t);
-
-void icalspanlist_dump(icalspanlist* s);
-
-/** @brief Return a valid VFREEBUSY component for this span */
-icalcomponent *icalspanlist_as_vfreebusy(icalspanlist* s_in,
- const char* organizer,
- const char* attendee);
-
-/** @brief Return an integer matrix of total events per delta_t timespan */
-int *icalspanlist_as_freebusy_matrix(icalspanlist* span, int delta_t);
-
-/** @brief Construct an icalspanlist from a VFREEBUSY component */
-icalspanlist *icalspanlist_from_vfreebusy(icalcomponent* c);
-
-#endif
-
-
-
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalmessage.h
- CREATOR: eric 07 Nov 2000
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
-
- =========================================================================*/
-
-#include <libical/ical.h>
-
-#ifndef ICALMESSAGE_H
-#define ICALMESSAGE_H
-
-
-icalcomponent* icalmessage_new_accept_reply(icalcomponent* c,
- const char* user,
- const char* msg);
-
-icalcomponent* icalmessage_new_decline_reply(icalcomponent* c,
- const char* user,
- const char* msg);
-
-/* New is modified version of old */
-icalcomponent* icalmessage_new_counterpropose_reply(icalcomponent* oldc,
- icalcomponent* newc,
- const char* user,
- const char* msg);
-
-
-icalcomponent* icalmessage_new_delegate_reply(icalcomponent* c,
- const char* user,
- const char* delegatee,
- const char* msg);
-
-
-icalcomponent* icalmessage_new_cancel_event(icalcomponent* c,
- const char* user,
- const char* msg);
-icalcomponent* icalmessage_new_cancel_instance(icalcomponent* c,
- const char* user,
- const char* msg);
-icalcomponent* icalmessage_new_cancel_all(icalcomponent* c,
- const char* user,
- const char* msg);
-
-
-icalcomponent* icalmessage_new_error_reply(icalcomponent* c,
- const char* user,
- const char* msg,
- const char* debug,
- icalrequeststatus rs);
-
-
-#endif /* ICALMESSAGE_H*/
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/contrib/prebuilt/include/libical/icalssyacc.h b/contrib/prebuilt/include/libical/icalssyacc.h
deleted file mode 100644
index f97cc4a..0000000
--- a/contrib/prebuilt/include/libical/icalssyacc.h
+++ /dev/null
@@ -1,100 +0,0 @@
-/* A Bison parser, made by GNU Bison 2.3. */
-
-/* Skeleton interface for Bison's Yacc-like parsers in C
-
- Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
- Free Software Foundation, Inc.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, 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 General Public License for more details.
-
- You should have received a copy of the GNU 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. */
-
-/* As a special exception, you may create a larger work that contains
- part or all of the Bison parser skeleton and distribute that work
- under terms of your choice, so long as that work isn't itself a
- parser generator using the skeleton or a modified version thereof
- as a parser skeleton. Alternatively, if you modify or redistribute
- the parser skeleton itself, you may (at your option) remove this
- special exception, which will cause the skeleton and the resulting
- Bison output files to be licensed under the GNU General Public
- License without this special exception.
-
- This special exception was added by the Free Software Foundation in
- version 2.2 of Bison. */
-
-/* Tokens. */
-#ifndef YYTOKENTYPE
-# define YYTOKENTYPE
- /* Put the tokens into the symbol table, so that GDB and other debuggers
- know about them. */
- enum yytokentype {
- STRING = 258,
- SELECT = 259,
- FROM = 260,
- WHERE = 261,
- COMMA = 262,
- QUOTE = 263,
- EQUALS = 264,
- NOTEQUALS = 265,
- LESS = 266,
- GREATER = 267,
- LESSEQUALS = 268,
- GREATEREQUALS = 269,
- AND = 270,
- OR = 271,
- EOL = 272,
- END = 273,
- IS = 274,
- NOT = 275,
- SQLNULL = 276
- };
-#endif
-/* Tokens. */
-#define STRING 258
-#define SELECT 259
-#define FROM 260
-#define WHERE 261
-#define COMMA 262
-#define QUOTE 263
-#define EQUALS 264
-#define NOTEQUALS 265
-#define LESS 266
-#define GREATER 267
-#define LESSEQUALS 268
-#define GREATEREQUALS 269
-#define AND 270
-#define OR 271
-#define EOL 272
-#define END 273
-#define IS 274
-#define NOT 275
-#define SQLNULL 276
-
-
-
-
-#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
-typedef union YYSTYPE
-{
- char* v_string;
-}
-/* Line 1489 of yacc.c. */
- YYSTYPE;
-# define yystype YYSTYPE /* obsolescent; will be withdrawn */
-# define YYSTYPE_IS_DECLARED 1
-# define YYSTYPE_IS_TRIVIAL 1
-#endif
-
-extern YYSTYPE sslval;
-
diff --git a/contrib/prebuilt/include/libical/icaltime.h b/contrib/prebuilt/include/libical/icaltime.h
deleted file mode 100644
index 1919a2a..0000000
--- a/contrib/prebuilt/include/libical/icaltime.h
+++ /dev/null
@@ -1,287 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icaltime.h
- CREATOR: eric 02 June 2000
-
-
- $Id: icaltime.h,v 1.28 2008-01-15 23:17:42 dothebart Exp $
- $Locker: $
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Original Code is eric. The Initial Developer of the Original
- Code is Eric Busboom
-
-
-======================================================================*/
-
-/** @file icaltime.h
- * @brief struct icaltimetype is a pseudo-object that abstracts time
- * handling.
- *
- * It can represent either a DATE or a DATE-TIME (floating, UTC or in a
- * given timezone), and it keeps track internally of its native timezone.
- *
- * The typical usage is to call the correct constructor specifying the
- * desired timezone. If this is not known until a later time, the
- * correct behavior is to specify a NULL timezone and call
- * icaltime_convert_to_zone() at a later time.
- *
- * There are several ways to create a new icaltimetype:
- *
- * - icaltime_null_time()
- * - icaltime_null_date()
- * - icaltime_current_time_with_zone()
- * - icaltime_today()
- * - icaltime_from_timet_with_zone(time_t tm, int is_date,
- * icaltimezone *zone)
- * - icaltime_from_string_with_zone(const char* str, icaltimezone *zone)
- * - icaltime_from_day_of_year(int doy, int year)
- * - icaltime_from_week_number(int week_number, int year)
- *
- * italtimetype objects can be converted to different formats:
- *
- * - icaltime_as_timet(struct icaltimetype tt)
- * - icaltime_as_timet_with_zone(struct icaltimetype tt,
- * icaltimezone *zone)
- * - icaltime_as_ical_string(struct icaltimetype tt)
- *
- * Accessor methods include:
- *
- * - icaltime_get_timezone(struct icaltimetype t)
- * - icaltime_get_tzid(struct icaltimetype t)
- * - icaltime_set_timezone(struct icaltimetype t, const icaltimezone *zone)
- * - icaltime_day_of_year(struct icaltimetype t)
- * - icaltime_day_of_week(struct icaltimetype t)
- * - icaltime_start_doy_of_week(struct icaltimetype t, int fdow)
- * - icaltime_week_number(struct icaltimetype t)
- *
- * Query methods include:
- *
- * - icaltime_is_null_time(struct icaltimetype t)
- * - icaltime_is_valid_time(struct icaltimetype t)
- * - icaltime_is_date(struct icaltimetype t)
- * - icaltime_is_utc(struct icaltimetype t)
- * - icaltime_is_floating(struct icaltimetype t)
- *
- * Modify, compare and utility methods include:
- *
- * - icaltime_add(struct icaltimetype t, struct icaldurationtype d)
- * - icaltime_subtract(struct icaltimetype t1, struct icaltimetype t2)
- * - icaltime_compare_with_zone(struct icaltimetype a,struct icaltimetype b)
- * - icaltime_compare(struct icaltimetype a,struct icaltimetype b)
- * - icaltime_compare_date_only(struct icaltimetype a,
- * struct icaltimetype b)
- * - icaltime_adjust(struct icaltimetype *tt, int days, int hours,
- * int minutes, int seconds);
- * - icaltime_normalize(struct icaltimetype t);
- * - icaltime_convert_to_zone(const struct icaltimetype tt,
- * icaltimezone *zone);
- */
-
-#ifndef ICALTIME_H
-#define ICALTIME_H
-
-#include <time.h>
-
-/* An opaque struct representing a timezone. We declare this here to avoid
- a circular dependancy. */
-#ifndef ICALTIMEZONE_DEFINED
-#define ICALTIMEZONE_DEFINED
-typedef struct _icaltimezone icaltimezone;
-#endif
-
-/** icaltime_span is returned by icalcomponent_get_span() */
-struct icaltime_span {
- time_t start; /**< in UTC */
- time_t end; /**< in UTC */
- int is_busy; /**< 1->busy time, 0-> free time */
-};
-
-typedef struct icaltime_span icaltime_span;
-
-/*
- * FIXME
- *
- * is_utc is redundant, and might be considered a minor optimization.
- * It might be deprecated, so you should use icaltime_is_utc() instead.
- */
-struct icaltimetype
-{
- int year; /**< Actual year, e.g. 2001. */
- int month; /**< 1 (Jan) to 12 (Dec). */
- int day;
- int hour;
- int minute;
- int second;
-
- int is_utc; /**< 1-> time is in UTC timezone */
-
- int is_date; /**< 1 -> interpret this as date. */
-
- int is_daylight; /**< 1 -> time is in daylight savings time. */
-
- const icaltimezone *zone; /**< timezone */
-};
-
-typedef struct icaltimetype icaltimetype;
-
-/** Return a null time, which indicates no time has been set.
- This time represent the beginning of the epoch */
-struct icaltimetype icaltime_null_time(void);
-
-/** Return a null date */
-struct icaltimetype icaltime_null_date(void);
-
-/** Returns the current time in the given timezone, as an icaltimetype. */
-struct icaltimetype icaltime_current_time_with_zone(const icaltimezone *zone);
-
-/** Returns the current day as an icaltimetype, with is_date set. */
-struct icaltimetype icaltime_today(void);
-
-/** Convert seconds past UNIX epoch to a timetype*/
-struct icaltimetype icaltime_from_timet(const time_t v, const int is_date);
-
-/** Convert seconds past UNIX epoch to a timetype, using timezones. */
-struct icaltimetype icaltime_from_timet_with_zone(const time_t tm,
- const int is_date, const icaltimezone *zone);
-
-/** create a time from an ISO format string */
-struct icaltimetype icaltime_from_string(const char* str);
-
-/** create a time from an ISO format string */
-struct icaltimetype icaltime_from_string_with_zone(const char* str,
- const icaltimezone *zone);
-
-/** Create a new time, given a day of year and a year. */
-struct icaltimetype icaltime_from_day_of_year(const int doy,
- const int year);
-
-/** @brief Contructor (TODO).
- * Create a new time from a weeknumber and a year. */
-struct icaltimetype icaltime_from_week_number(const int week_number,
- const int year);
-
-/** Return the time as seconds past the UNIX epoch */
-time_t icaltime_as_timet(const struct icaltimetype);
-
-/** Return the time as seconds past the UNIX epoch, using timezones. */
-time_t icaltime_as_timet_with_zone(const struct icaltimetype tt,
- const icaltimezone *zone);
-
-/** Return a string represention of the time, in RFC2445 format. */
-const char* icaltime_as_ical_string(const struct icaltimetype tt);
-char* icaltime_as_ical_string_r(const struct icaltimetype tt);
-
-/** @brief Return the timezone */
-const icaltimezone *icaltime_get_timezone(const struct icaltimetype t);
-
-/** @brief Return the tzid, or NULL for a floating time */
-const char *icaltime_get_tzid(const struct icaltimetype t);
-
-/** @brief Set the timezone */
-struct icaltimetype icaltime_set_timezone(struct icaltimetype *t,
- const icaltimezone *zone);
-
-/** Return the day of the year of the given time */
-int icaltime_day_of_year(const struct icaltimetype t);
-
-/** Return the day of the week of the given time. Sunday is 1 */
-int icaltime_day_of_week(const struct icaltimetype t);
-
-/** Return the day of the year for the Sunday of the week that the
- given time is within. */
-int icaltime_start_doy_of_week(const struct icaltimetype t);
-
-/** Return the day of the year for the first day of the week that the
- given time is within. */
-int icaltime_start_doy_week(const struct icaltimetype t, int fdow);
-
-/** Return the week number for the week the given time is within */
-int icaltime_week_number(const struct icaltimetype t);
-
-/** Return true of the time is null. */
-int icaltime_is_null_time(const struct icaltimetype t);
-
-/** Returns false if the time is clearly invalid, but is not null. This
- is usually the result of creating a new time type buy not clearing
- it, or setting one of the flags to an illegal value. */
-int icaltime_is_valid_time(const struct icaltimetype t);
-
-/** @brief Returns true if time is of DATE type, false if DATE-TIME */
-int icaltime_is_date(const struct icaltimetype t);
-
-/** @brief Returns true if time is relative to UTC zone */
-int icaltime_is_utc(const struct icaltimetype t);
-
-/** @brief Returns true if time is a floating time */
-int icaltime_is_floating(const struct icaltimetype t);
-
-/** Return -1, 0, or 1 to indicate that a<b, a==b or a>b */
-int icaltime_compare_with_zone(const struct icaltimetype a,
- const struct icaltimetype b);
-
-/** Return -1, 0, or 1 to indicate that a<b, a==b or a>b */
-int icaltime_compare(const struct icaltimetype a,
- const struct icaltimetype b);
-
-/** like icaltime_compare, but only use the date parts. */
-int icaltime_compare_date_only(const struct icaltimetype a,
- const struct icaltimetype b);
-
-/** like icaltime_compare, but only use the date parts. */
-int icaltime_compare_date_only_tz(const struct icaltimetype a,
- const struct icaltimetype b, icaltimezone *tz);
-
-/** Adds or subtracts a number of days, hours, minutes and seconds. */
-void icaltime_adjust(struct icaltimetype *tt, const int days,
- const int hours, const int minutes, const int seconds);
-
-/** Normalize the icaltime, so that all fields are within the normal range. */
-struct icaltimetype icaltime_normalize(const struct icaltimetype t);
-
-/** convert tt, of timezone tzid, into a utc time. Does nothing if the
- time is already UTC. */
-struct icaltimetype icaltime_convert_to_zone(const struct icaltimetype tt,
- icaltimezone *zone);
-
-/** Return the number of days in the given month */
-int icaltime_days_in_month(const int month, const int year);
-
-/** Return whether you've specified a leapyear or not. */
-int icaltime_is_leap_year (const int year);
-
-/** Return the number of days in this year */
-int icaltime_days_in_year (const int year);
-
-/** @brief calculate an icaltimespan given a start and end time. */
-struct icaltime_span icaltime_span_new(struct icaltimetype dtstart,
- struct icaltimetype dtend,
- int is_busy);
-
-/** @brief Returns true if the two spans overlap **/
-int icaltime_span_overlaps(icaltime_span *s1,
- icaltime_span *s2);
-
-/** @brief Returns true if the span is totally within the containing
- * span
- */
-int icaltime_span_contains(icaltime_span *s,
- icaltime_span *container);
-
-
-#endif /* !ICALTIME_H */
-
-
diff --git a/contrib/prebuilt/include/libical/icaltimezone.h b/contrib/prebuilt/include/libical/icaltimezone.h
deleted file mode 100644
index 0da233d..0000000
--- a/contrib/prebuilt/include/libical/icaltimezone.h
+++ /dev/null
@@ -1,180 +0,0 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
-/*======================================================================
- FILE: icaltimezone.h
- CREATOR: Damon Chaplin 15 March 2001
-
-
- $Id: icaltimezone.h,v 1.14 2008-01-15 23:17:42 dothebart Exp $
- $Locker: $
-
- (C) COPYRIGHT 2001, Damon Chaplin
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
-
-======================================================================*/
-/**
- * @file icaltimezone.h
- * @brief timezone handling routines
- */
-
-#ifndef ICALTIMEZONE_H
-#define ICALTIMEZONE_H
-
-#include <stdio.h> /* For FILE* */
-#include "icaltime.h"
-#include "icalarray.h"
-#include "icalcomponent.h"
-
-
-#ifndef ICALTIMEZONE_DEFINED
-#define ICALTIMEZONE_DEFINED
-/** @brief An opaque struct representing a timezone.
- * We declare this here to avoid a circular dependancy.
- */
-typedef struct _icaltimezone icaltimezone;
-#endif
-
-/**
- * @par Creating/Destroying individual icaltimezones.
- */
-
-/** Creates a new icaltimezone. */
-icaltimezone *icaltimezone_new (void);
-icaltimezone *icaltimezone_copy (icaltimezone *originalzone);
-
-/** Frees all memory used for the icaltimezone. Set free_struct to free the
- icaltimezone struct as well. */
-void icaltimezone_free (icaltimezone *zone,
- int free_struct);
-
-/** Sets the prefix to be used for tzid's generated from system tzdata.
- Must be globally unique (such as a domain name owned by the developer
- of the calling application), and begin and end with forward slashes.
- Do not change or de-allocate the string buffer after calling this.
- */
-void icaltimezone_set_tzid_prefix(const char *new_prefix);
-
-/**
- * @par Accessing timezones.
- */
-
-/** Free any builtin timezone information **/
-void icaltimezone_free_builtin_timezones(void);
-
-/** Returns the array of builtin icaltimezones. */
-icalarray* icaltimezone_get_builtin_timezones (void);
-
-/** Returns a single builtin timezone, given its Olson city name. */
-icaltimezone* icaltimezone_get_builtin_timezone (const char *location);
-
-/** Returns a single builtin timezone, given its offset. */
-icaltimezone* icaltimezone_get_builtin_timezone_from_offset (int offset, const char *tzname);
-
-/** Returns a single builtin timezone, given its TZID. */
-icaltimezone* icaltimezone_get_builtin_timezone_from_tzid (const char *tzid);
-
-/** Returns the UTC timezone. */
-icaltimezone* icaltimezone_get_utc_timezone (void);
-
-/** Returns the TZID of a timezone. */
-const char* icaltimezone_get_tzid (icaltimezone *zone);
-
-/** Returns the city name of a timezone. */
-const char* icaltimezone_get_location (icaltimezone *zone);
-
-/** Returns the TZNAME properties used in the latest STANDARD and DAYLIGHT
- components. If they are the same it will return just one, e.g. "LMT".
- If they are different it will format them like "EST/EDT". Note that this
- may also return NULL. */
-const char* icaltimezone_get_tznames (icaltimezone *zone);
-
-/** Returns the latitude of a builtin timezone. */
-double icaltimezone_get_latitude (icaltimezone *zone);
-
-/** Returns the longitude of a builtin timezone. */
-double icaltimezone_get_longitude (icaltimezone *zone);
-
-/** Returns the VTIMEZONE component of a timezone. */
-icalcomponent* icaltimezone_get_component (icaltimezone *zone);
-
-/** Sets the VTIMEZONE component of an icaltimezone, initializing the tzid,
- location & tzname fields. It returns 1 on success or 0 on failure, i.e.
- no TZID was found. */
-int icaltimezone_set_component (icaltimezone *zone,
- icalcomponent *comp);
-
-const char* icaltimezone_get_display_name (icaltimezone *zone);
-
-/**
- * @par Converting times between timezones.
- */
-
-void icaltimezone_convert_time (struct icaltimetype *tt,
- icaltimezone *from_zone,
- icaltimezone *to_zone);
-
-
-/**
- * @par Getting offsets from UTC.
- */
-
-/** Calculates the UTC offset of a given local time in the given
- timezone. It is the number of seconds to add to UTC to get local
- time. The is_daylight flag is set to 1 if the time is in
- daylight-savings time. */
-int icaltimezone_get_utc_offset (icaltimezone *zone,
- struct icaltimetype *tt,
- int *is_daylight);
-
-/** Calculates the UTC offset of a given UTC time in the given
- timezone. It is the number of seconds to add to UTC to get local
- time. The is_daylight flag is set to 1 if the time is in
- daylight-savings time. */
-int icaltimezone_get_utc_offset_of_utc_time (icaltimezone *zone,
- struct icaltimetype *tt,
- int *is_daylight);
-
-
-
-/*
- * Handling arrays of timezones. Mainly for internal use.
- */
-icalarray* icaltimezone_array_new (void);
-
-void icaltimezone_array_append_from_vtimezone (icalarray *timezones,
- icalcomponent *child);
-void icaltimezone_array_free (icalarray *timezones);
-
-
-/*
- * @par Handling the default location the timezone files
- */
-
-/** Set the directory to look for the zonefiles */
-void set_zone_directory(char *path);
-
-/** Free memory dedicated to the zonefile directory */
-void free_zone_directory(void);
-void icaltimezone_release_zone_tab(void);
-
-/*
- * @par Debugging Output.
- */
-
-/** Dumps information about changes in the timezone up to and including
- max_year. */
-int icaltimezone_dump_changes (icaltimezone *zone,
- int max_year,
- FILE *fp);
-
-#endif /* ICALTIMEZONE_H */
diff --git a/contrib/prebuilt/include/libical/icaltypes.h b/contrib/prebuilt/include/libical/icaltypes.h
deleted file mode 100644
index b1629c2..0000000
--- a/contrib/prebuilt/include/libical/icaltypes.h
+++ /dev/null
@@ -1,122 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icaltypes.h
- CREATOR: eric 20 March 1999
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icaltypes.h
-
-======================================================================*/
-
-#ifndef ICALTYPES_H
-#define ICALTYPES_H
-
-#include <time.h>
-#include "icalenums.h"
-#include "icaltime.h"
-#include "icalduration.h"
-#include "icalperiod.h"
-
-
-struct icalgeotype
-{
- double lat;
- double lon;
-};
-
-
-struct icaldatetimeperiodtype
-{
- struct icaltimetype time;
- struct icalperiodtype period;
-};
-
-
-struct icaltriggertype
-{
- struct icaltimetype time;
- struct icaldurationtype duration;
-};
-
-struct icaltriggertype icaltriggertype_from_int(const int reltime);
-struct icaltriggertype icaltriggertype_from_string(const char* str);
-
-int icaltriggertype_is_null_trigger(struct icaltriggertype tr);
-int icaltriggertype_is_bad_trigger(struct icaltriggertype tr);
-
-/* struct icalreqstattype. This struct contains two string pointers,
-but don't try to free either of them. The "desc" string is a pointer
-to a static table inside the library. Don't try to free it. The
-"debug" string is a pointer into the string that the called passed
-into to icalreqstattype_from_string. Don't try to free it either, and
-don't use it after the original string has been freed.
-
-BTW, you would get that original string from
-*icalproperty_get_requeststatus() or icalvalue_get_text(), when
-operating on the value of a request_status property. */
-
-struct icalreqstattype {
-
- icalrequeststatus code;
- const char* desc;
- const char* debug;
-};
-
-struct icalreqstattype icalreqstattype_from_string(const char* str);
-const char* icalreqstattype_as_string(struct icalreqstattype);
-char* icalreqstattype_as_string_r(struct icalreqstattype);
-
-
-
-struct icaltimezonephase {
- const char* tzname;
- int is_stdandard; /* 1 = standard tme, 0 = daylight savings time */
- struct icaltimetype dtstart;
- int offsetto;
- int tzoffsetfrom;
- const char* comment;
- struct icaldatetimeperiodtype rdate;
- const char* rrule;
-};
-
-
-struct icaltimezonetype {
- const char* tzid;
- struct icaltimetype last_mod;
- const char* tzurl;
-
- /* Array of phases. The end of the array is a phase with tzname == 0 */
- struct icaltimezonephase *phases;
-};
-
-void icaltimezonetype_free(struct icaltimezonetype tzt);
-
-/* ical_unknown_token_handling :
- * How should the ICAL library handle components, properties and parameters with
- * unknown names?
- * FIXME: Currently only affects parameters. Extend to components and properties.
- */
-typedef enum ical_unknown_token_handling {
- ICAL_ASSUME_IANA_TOKEN = 1,
- ICAL_DISCARD_TOKEN = 2,
- ICAL_TREAT_AS_ERROR = 3
-} ical_unknown_token_handling;
-
-ical_unknown_token_handling ical_get_unknown_token_handling_setting(void);
-void ical_set_unknown_token_handling_setting(ical_unknown_token_handling newSetting);
-
-#endif /* !ICALTYPES_H */
diff --git a/contrib/prebuilt/include/libical/icaltz-util.h b/contrib/prebuilt/include/libical/icaltz-util.h
deleted file mode 100644
index 187cc7f..0000000
--- a/contrib/prebuilt/include/libical/icaltz-util.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
-/*
- * Authors :
- * Chenthill Palanisamy <pchenthill@novell.com>
- *
- * Copyright 2007, Novell, Inc.
- *
- * 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 library; if not, write to the
- * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef ICALTZUTIL_H
-#define ICALTZUTIL_H
-
-#include <stdio.h>
-#include "icaltime.h"
-#include "icalcomponent.h"
-
-#if defined(sun) && defined(__SVR4)
-#define ZONES_TAB_SYSTEM_FILENAME "tab/zone_sun.tab"
-#else
-#define ZONES_TAB_SYSTEM_FILENAME "zone.tab"
-#endif
-
-const char *icaltzutil_get_zone_directory (void);
-icalcomponent *icaltzutil_fetch_timezone (const char *location);
-
-#endif
diff --git a/contrib/prebuilt/include/libical/icalvalue.h b/contrib/prebuilt/include/libical/icalvalue.h
deleted file mode 100644
index 4105762..0000000
--- a/contrib/prebuilt/include/libical/icalvalue.h
+++ /dev/null
@@ -1,94 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalvalue.h
- CREATOR: eric 20 March 1999
-
-
- $Id: icalvalue.h,v 1.10 2008-01-15 23:17:43 dothebart Exp $
- $Locker: $
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icalvalue.h
-
- ======================================================================*/
-
-#ifndef ICALVALUE_H
-#define ICALVALUE_H
-
-#include <time.h>
-#include "icalenums.h"
-#include "icaltypes.h"
-#include "icalrecur.h"
-#include "icalduration.h"
-#include "icalperiod.h"
-#include "icalderivedproperty.h" /* For icalproperty_method, etc. */
-#include "icalderivedparameter.h"
-#include "icalderivedvalue.h"
-
-/* Defined in icalderivedvalue.h */
-/*typedef struct icalvalue_impl icalvalue;*/
-
-icalvalue* icalvalue_new(icalvalue_kind kind);
-
-icalvalue* icalvalue_new_clone(const icalvalue* value);
-
-icalvalue* icalvalue_new_from_string(icalvalue_kind kind, const char* str);
-
-void icalvalue_free(icalvalue* value);
-
-int icalvalue_is_valid(const icalvalue* value);
-
-const char* icalvalue_as_ical_string(const icalvalue* value);
-char* icalvalue_as_ical_string_r(const icalvalue* value);
-
-icalvalue_kind icalvalue_isa(const icalvalue* value);
-
-int icalvalue_isa_value(void*);
-
-icalparameter_xliccomparetype icalvalue_compare(const icalvalue* a, const icalvalue *b);
-
-
-/* Special, non autogenerated value accessors */
-
-/* Defined in icalderivedvalue.h */
-/* icalvalue* icalvalue_new_recur (struct icalrecurrencetype v); */
-/* void icalvalue_set_recur(icalvalue* value, struct icalrecurrencetype v); */
-/* struct icalrecurrencetype icalvalue_get_recur(const icalvalue* value); */
-
-/* icalvalue* icalvalue_new_trigger (struct icaltriggertype v); */
-/* void icalvalue_set_trigger(icalvalue* value, struct icaltriggertype v); */
-/* struct icaltriggertype icalvalue_get_trigger(const icalvalue* value); */
-
-/* icalvalue* icalvalue_new_datetimeperiod (struct icaldatetimeperiodtype v); */
-/* void icalvalue_set_datetimeperiod(icalvalue* value, */
-/* struct icaldatetimeperiodtype v); */
-/* struct icaldatetimeperiodtype icalvalue_get_datetimeperiod(const icalvalue* value); */
-
-/* Convert enumerations */
-
-icalvalue_kind icalvalue_string_to_kind(const char* str);
-const char* icalvalue_kind_to_string(const icalvalue_kind kind);
-
-/** Check validity of a specific icalvalue_kind **/
-int icalvalue_kind_is_valid(const icalvalue_kind kind);
-
-/** Encode a character string in ical format, esacpe certain characters, etc. */
-int icalvalue_encode_ical_string(const char *szText, char *szEncText, int MaxBufferLen);
-
-/** Extract the original character string encoded by the above function **/
-int icalvalue_decode_ical_string(const char *szText, char *szDecText, int nMaxBufferLen);
-
-#endif /*ICALVALUE_H*/
diff --git a/contrib/prebuilt/include/libical/icalvalue_cxx.h b/contrib/prebuilt/include/libical/icalvalue_cxx.h
deleted file mode 100644
index 229b008..0000000
--- a/contrib/prebuilt/include/libical/icalvalue_cxx.h
+++ /dev/null
@@ -1,162 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalvalue_cxx.h
- CREATOR: fnguyen 12/13/01
- (C) COPYRIGHT 2001, Critical Path
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-======================================================================*/
-
-#ifndef CP_ICALVALUE_H
-#define CP_ICALVALUE_H
-
-extern "C" {
-#include "ical.h"
-};
-
-#include "icptrholder.h"
-
-typedef char* string; // Will use the string library from STL
-
-class ICalValue {
-public:
- ICalValue() throw(icalerrorenum);
- ICalValue(const ICalValue&) throw(icalerrorenum);
- ICalValue& operator=(const ICalValue&) throw(icalerrorenum);
- ~ICalValue();
-
- ICalValue(icalvalue*) throw(icalerrorenum);
- ICalValue(icalvalue_kind kind) throw(icalerrorenum);
- ICalValue(icalvalue_kind kind, string str) throw(icalerrorenum);
-
- operator icalvalue* () { return imp; }
-
- void detach() {
- imp = NULL;
- }
-
-public:
- string as_ical_string();
- bool is_valid();
- icalvalue_kind isa();
- int isa_value(void*);
-
- /* Special, non autogenerated value accessors */
- void set_recur(struct icalrecurrencetype v);
- struct icalrecurrencetype get_recur();
-
- void set_trigger(struct icaltriggertype v);
- struct icaltriggertype get_trigger();
-
- void set_datetimeperiod(struct icaldatetimeperiodtype v);
- struct icaldatetimeperiodtype get_datetimeperiod();
-
-public:
- static icalparameter_xliccomparetype compare(ICalValue& a, ICalValue& b);
-
- /* Convert enumerations */
- static icalvalue_kind string_to_kind(string str);
- string kind_to_string(icalvalue_kind kind);
-
-public:
- /* BOOLEAN */
- int get_boolean();
- void set_boolean(int v);
-
- /* UTC-OFFSET */
- int get_utcoffset();
- void set_utcoffset(int v);
-
- /* METHOD */
- enum icalproperty_method get_method();
- void set_method(enum icalproperty_method v);
-
- /* CAL-ADDRESS */
- string get_caladdress();
- void set_caladdress(string v);
-
- /* PERIOD */
- struct icalperiodtype get_period();
- void set_period(struct icalperiodtype v);
-
- /* STATUS */
- enum icalproperty_status get_status();
- void set_status(enum icalproperty_status v);
-
- /* BINARY */
- string get_binary();
- void set_binary(string v);
-
- /* TEXT */
- string get_text();
- void set_text(string v);
-
- /* DURATION */
- struct icaldurationtype get_duration();
- void set_duration(struct icaldurationtype v);
-
- /* INTEGER */
- int get_integer();
- void set_integer(int v);
-
- /* URI */
- string get_uri();
- void set_uri(string v);
-
- /* ATTACH */
- icalattach *get_attach();
- void set_attach(icalattach *v);
-
- /* CLASS */
- enum icalproperty_class get_class();
- void set_class(enum icalproperty_class v);
-
- /* FLOAT */
- float get_float();
- void set_float(float v);
-
- /* QUERY */
- string get_query();
- void set_query(string v);
-
- /* STRING */
- string get_string();
- void set_string(string v);
-
- /* TRANSP */
- enum icalproperty_transp get_transp();
- void set_transp(enum icalproperty_transp v);
-
- /* DATE-TIME */
- struct icaltimetype get_datetime();
- void set_datetime(struct icaltimetype v);
-
- /* GEO */
- struct icalgeotype get_geo();
- void set_geo(struct icalgeotype v);
-
- /* DATE */
- struct icaltimetype get_date();
- void set_date(struct icaltimetype v);
-
- /* ACTION */
- enum icalproperty_action get_action();
- void set_action(enum icalproperty_action v);
-
-private:
- icalvalue* imp;
-};
-
-
-typedef ICPointerHolder<ICalValue> ICalValueTmpPtr; /* see icptrholder.h for comments */
-
-#endif /*ICALVALUE_H*/
diff --git a/contrib/prebuilt/include/libical/icalvcal.h b/contrib/prebuilt/include/libical/icalvcal.h
deleted file mode 100644
index e5e0be7..0000000
--- a/contrib/prebuilt/include/libical/icalvcal.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/* -*- Mode: C -*-*/
-/*======================================================================
- FILE: icalvcal.h
- CREATOR: eric 25 May 00
-
-
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The original code is icalvcal.h
-
-
-======================================================================*/
-
-#ifndef ICALVCAL_H
-#define ICALVCAL_H
-
-#include <libical/ical.h>
-#include "vcc.h"
-
-/* These are used as default values if the values are missing in the vCalendar
- file. Gnome Calendar, for example, does not save the URL of the audio alarm,
- so we have to add a value here to make a valid iCalendar object. */
-typedef struct _icalvcal_defaults icalvcal_defaults;
-struct _icalvcal_defaults {
- char *alarm_audio_url;
- char *alarm_audio_fmttype;
- char *alarm_description;
-};
-
-
-/* Convert a vObject into an icalcomponent */
-
-icalcomponent* icalvcal_convert(VObject *object);
-
-
-icalcomponent* icalvcal_convert_with_defaults (VObject *object,
- icalvcal_defaults *defaults);
-
-#endif /* !ICALVCAL_H */
-
-
-
diff --git a/contrib/prebuilt/include/libical/icptrholder.h b/contrib/prebuilt/include/libical/icptrholder.h
deleted file mode 100644
index 5f697ee..0000000
--- a/contrib/prebuilt/include/libical/icptrholder.h
+++ /dev/null
@@ -1,104 +0,0 @@
-/* -*- Mode: C++ -*- */
-
-/**
- * @file icptrholder.h
- * @author wyau (08/29/02)
- * @brief C++ template classes for managing C++ pointers returned by VComponent::get_..._component,
- * VComponent::get_..._property, ICalPropety::get_..._value.
- * @remarks VComponent::get... functions returns a C++ oject that wraps the libical implementation.
- * It is important to note that the wrapped implementation still belongs to the orginal
- * component. To stop memory leak, caller must delete the pointer. However, the destructor
- * will call the appropriate free function. eg. ~VComponent calls icalcomponent_free(imp).
- * As stated previously, imp stil belongs to the original component. To avoid freeing the
- * wrapped "imp", caller must set the "imp" to null before deleting the pointer.
- *
- * The template class relieves the burden of memory management when used as a stack based
- * object. The class holds a pointer to the C++ Wrapper. The destructor set the imp to
- * null before deleting the pointer.
- *
- * Each C++ Wrapper instantiates a template class in it's corresponding .h file.
- *
- * Usage example:
- * VComponentTmpPtr p; // VComponentTmpPtr is an instantiation of this template
- * for (p=component.get_first_component; p!= NULL; p=component.get_next_component) {
- *
- * (C) COPYRIGHT 2001, Critical Path
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
- */
-
-#ifndef __ICPTRHOLDER_H__
-#define __ICPTRHOLDER_H__
-
-template<class T> class ICPointerHolder {
-public:
- ICPointerHolder() { ptr = NULL; }
- ICPointerHolder(T* p) { ptr = p; }
-
- // copy constructor to support assignment
- ICPointerHolder(const ICPointerHolder& ip) {
- ptr = ip.ptr;
-
- // We need to transfer ownership of ptr to this object by setting
- // ip's ptr to null. Otherwise, ptr will de deleted twice.
- // const ugliness requires us to do the const_cast.
- ICPointerHolder *ipp = const_cast<ICPointerHolder*>(&ip);
- ipp->ptr = NULL;
- };
-
- ~ICPointerHolder() {
- release();
- }
-
- ICPointerHolder& operator=(T* p) {
- this->release();
- ptr = p;
- return *this;
- }
-
- ICPointerHolder& operator=(ICPointerHolder& p) {
- this->release();
- ptr = p.ptr; // this transfer ownership of the pointer
- p.ptr = NULL; // set it to null so the pointer won't get delete twice.
- return *this;
- }
-
- int operator!=(T* p) {return (ptr != p);}
- int operator==(T* p) {return (ptr == p);}
-
- operator T*() const {
- return ptr;
- }
-
- T* operator->() const {
- assert(ptr);
- return ptr;
- }
-
- T& operator*() {
- assert(ptr);
- return *ptr;
- }
-
-private:
- void release() {
- if (ptr != NULL) {
- ptr->detach();
- delete ptr;
- ptr = NULL;
- }
- }
-
- T* ptr;
-};
-
-#endif
diff --git a/contrib/prebuilt/include/libical/port.h b/contrib/prebuilt/include/libical/port.h
deleted file mode 100644
index 1768bee..0000000
--- a/contrib/prebuilt/include/libical/port.h
+++ /dev/null
@@ -1,88 +0,0 @@
-/***************************************************************************
-(C) Copyright 1996 Apple Computer, Inc., AT&T Corp., International
-Business Machines Corporation and Siemens Rolm Communications Inc.
-
-For purposes of this license notice, the term Licensors shall mean,
-collectively, Apple Computer, Inc., AT&T Corp., International
-Business Machines Corporation and Siemens Rolm Communications Inc.
-The term Licensor shall mean any of the Licensors.
-
-Subject to acceptance of the following conditions, permission is hereby
-granted by Licensors without the need for written agreement and without
-license or royalty fees, to use, copy, modify and distribute this
-software for any purpose.
-
-The above copyright notice and the following four paragraphs must be
-reproduced in all copies of this software and any software including
-this software.
-
-THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS AND NO LICENSOR SHALL HAVE
-ANY OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS OR
-MODIFICATIONS.
-
-IN NO EVENT SHALL ANY LICENSOR BE LIABLE TO ANY PARTY FOR DIRECT,
-INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT
-OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
-DAMAGE.
-
-EACH LICENSOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED,
-INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF NONINFRINGEMENT OR THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE.
-
-The software is provided with RESTRICTED RIGHTS. Use, duplication, or
-disclosure by the government are subject to restrictions set forth in
-DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable.
-
-***************************************************************************/
-
-#ifndef __PORT_H__
-#define __PORT_H__ 1
-
-
-#if defined(__CPLUSPLUS__) || defined(__cplusplus)
-extern "C" {
-#endif
-
-/* some of these #defines are commented out because */
-/* Visual C++ sets them on the compiler command line instead */
-
-/* #define _DEBUG */
-/* #define WIN32 */
-/* #define WIN16 */
-/* #define _WINDOWS */
-/* #define __MWERKS__ */
-/* #define INCLUDEMFC */
-
-#define vCardClipboardFormat "+//ISBN 1-887687-00-9::versit::PDI//vCard"
-#define vCalendarClipboardFormat "+//ISBN 1-887687-00-9::versit::PDI//vCalendar"
-
-/* The above strings vCardClipboardFormat and vCalendarClipboardFormat
-are globally unique IDs which can be used to generate clipboard format
-ID's as per the requirements of a specific platform. For example, in
-Windows they are used as the parameter in a call to RegisterClipboardFormat.
-For example:
-
- CLIPFORMAT foo = RegisterClipboardFormat(vCardClipboardFormat);
-
-*/
-
-#define vCardMimeType "text/x-vCard"
-#define vCalendarMimeType "text/x-vCalendar"
-
-#define DLLEXPORT(t) t
-
-#ifndef FALSE
-#define FALSE 0
-#endif
-#ifndef TRUE
-#define TRUE 1
-#endif
-
-#define stricmp strcasecmp
-
-#if defined(__CPLUSPLUS__) || defined(__cplusplus)
-}
-#endif
-
-#endif /* __PORT_H__ */
diff --git a/contrib/prebuilt/include/libical/pvl.h b/contrib/prebuilt/include/libical/pvl.h
deleted file mode 100644
index 77c0531..0000000
--- a/contrib/prebuilt/include/libical/pvl.h
+++ /dev/null
@@ -1,110 +0,0 @@
-/*======================================================================
- FILE: pvl.h
- CREATOR: eric November, 1995
-
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
-======================================================================*/
-
-
-#ifndef __PVL_H__
-#define __PVL_H__
-
-typedef struct pvl_list_t* pvl_list;
-typedef struct pvl_elem_t* pvl_elem;
-
-/**
- * This type is private. Always use pvl_elem instead. The struct would
- * not even appear in this header except to make code in the USE_MACROS
- * blocks work
- */
-
-typedef struct pvl_elem_t
-{
- int MAGIC; /**< Magic Identifier */
- void *d; /**< Pointer to data user is storing */
- struct pvl_elem_t *next; /**< Next element */
- struct pvl_elem_t *prior; /**< Prior element */
-} pvl_elem_t;
-
-
-
-/**
- * This global is incremented for each call to pvl_new_element(); it gives each
- * list a unique identifer
- */
-
-extern int pvl_elem_count;
-extern int pvl_list_count;
-
-/* Create new lists or elements */
-pvl_elem pvl_new_element(void* d, pvl_elem next,pvl_elem prior);
-pvl_list pvl_newlist(void);
-void pvl_free(pvl_list);
-
-/* Add, remove, or get the head of the list */
-void pvl_unshift(pvl_list l,void *d);
-void* pvl_shift(pvl_list l);
-pvl_elem pvl_head(pvl_list);
-
-/* Add, remove or get the tail of the list */
-void pvl_push(pvl_list l,void *d);
-void* pvl_pop(pvl_list l);
-pvl_elem pvl_tail(pvl_list);
-
-/* Insert elements in random places */
-typedef int (*pvl_comparef)(void* a, void* b); /* a, b are of the data type*/
-void pvl_insert_ordered(pvl_list l,pvl_comparef f,void *d);
-void pvl_insert_after(pvl_list l,pvl_elem e,void *d);
-void pvl_insert_before(pvl_list l,pvl_elem e,void *d);
-
-/* Remove an element, or clear the entire list */
-void* pvl_remove(pvl_list,pvl_elem); /* Remove element, return data */
-void pvl_clear(pvl_list); /* Remove all elements, de-allocate all data */
-
-int pvl_count(pvl_list);
-
-/* Navagate the list */
-pvl_elem pvl_next(pvl_elem e);
-pvl_elem pvl_prior(pvl_elem e);
-
-/* get the data in the list */
-#ifndef PVL_USE_MACROS
-void* pvl_data(pvl_elem);
-#else
-#define pvl_data(x) x==0 ? 0 : ((struct pvl_elem_t *)x)->d;
-#endif
-
-
-/* Find an element for which a function returns true */
-typedef int (*pvl_findf)(void* a, void* b); /*a is list elem, b is other data*/
-pvl_elem pvl_find(pvl_list l,pvl_findf f,void* v);
-pvl_elem pvl_find_next(pvl_list l,pvl_findf f,void* v);
-
-/**
- * Pass each element in the list to a function
- * a is list elem, b is other data
- */
-typedef void (*pvl_applyf)(void* a, void* b);
-void pvl_apply(pvl_list l,pvl_applyf f, void *v);
-
-
-#endif /* __PVL_H__ */
-
-
-
-
-
diff --git a/contrib/prebuilt/include/libical/sspm.h b/contrib/prebuilt/include/libical/sspm.h
deleted file mode 100644
index fad0bb6..0000000
--- a/contrib/prebuilt/include/libical/sspm.h
+++ /dev/null
@@ -1,146 +0,0 @@
-/* -*- Mode: C -*-
- ======================================================================
- FILE: sspm.h Mime Parser
- CREATOR: eric 25 June 2000
-
- $Id: sspm.h,v 1.5 2008-01-15 23:17:43 dothebart Exp $
- $Locker: $
-
- (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
- http://www.softwarestudio.org
-
- The contents of this file are subject to the Mozilla Public License
- Version 1.0 (the "License"); you may not use this file except in
- compliance with the License. You may obtain a copy of the License at
- http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS IS"
- basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
- the License for the specific language governing rights and
- limitations under the License.
-
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- The Initial Developer of the Original Code is Eric Busboom
-
- (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
- ======================================================================*/
-
-#ifndef SSPM_H
-#define SSPM_H
-
-enum sspm_major_type {
- SSPM_NO_MAJOR_TYPE,
- SSPM_TEXT_MAJOR_TYPE,
- SSPM_IMAGE_MAJOR_TYPE,
- SSPM_AUDIO_MAJOR_TYPE,
- SSPM_VIDEO_MAJOR_TYPE,
- SSPM_APPLICATION_MAJOR_TYPE,
- SSPM_MULTIPART_MAJOR_TYPE,
- SSPM_MESSAGE_MAJOR_TYPE,
- SSPM_UNKNOWN_MAJOR_TYPE
-};
-
-enum sspm_minor_type {
- SSPM_NO_MINOR_TYPE,
- SSPM_ANY_MINOR_TYPE,
- SSPM_PLAIN_MINOR_TYPE,
- SSPM_RFC822_MINOR_TYPE,
- SSPM_DIGEST_MINOR_TYPE,
- SSPM_CALENDAR_MINOR_TYPE,
- SSPM_MIXED_MINOR_TYPE,
- SSPM_RELATED_MINOR_TYPE,
- SSPM_ALTERNATIVE_MINOR_TYPE,
- SSPM_PARALLEL_MINOR_TYPE,
- SSPM_UNKNOWN_MINOR_TYPE
-};
-
-enum sspm_encoding {
- SSPM_NO_ENCODING,
- SSPM_QUOTED_PRINTABLE_ENCODING,
- SSPM_8BIT_ENCODING,
- SSPM_7BIT_ENCODING,
- SSPM_BINARY_ENCODING,
- SSPM_BASE64_ENCODING,
- SSPM_UNKNOWN_ENCODING
-};
-
-enum sspm_error{
- SSPM_NO_ERROR,
- SSPM_UNEXPECTED_BOUNDARY_ERROR,
- SSPM_WRONG_BOUNDARY_ERROR,
- SSPM_NO_BOUNDARY_ERROR,
- SSPM_NO_HEADER_ERROR,
- SSPM_MALFORMED_HEADER_ERROR
-};
-
-
-struct sspm_header
-{
- int def;
- char* boundary;
- enum sspm_major_type major;
- enum sspm_minor_type minor;
- char *minor_text;
- char ** content_type_params;
- char* charset;
- enum sspm_encoding encoding;
- char* filename;
- char* content_id;
- enum sspm_error error;
- char* error_text;
-};
-
-struct sspm_part {
- struct sspm_header header;
- int level;
- size_t data_size;
- void *data;
-};
-
-struct sspm_action_map {
- enum sspm_major_type major;
- enum sspm_minor_type minor;
- void* (*new_part)(void);
- void (*add_line)(void *part, struct sspm_header *header,
- const char* line, size_t size);
- void* (*end_part)(void* part);
- void (*free_part)(void *part);
-};
-
-const char* sspm_major_type_string(enum sspm_major_type type);
-const char* sspm_minor_type_string(enum sspm_minor_type type);
-const char* sspm_encoding_string(enum sspm_encoding type);
-
-int sspm_parse_mime(struct sspm_part *parts,
- size_t max_parts,
- const struct sspm_action_map *actions,
- char* (*get_string)(char *s, size_t size, void* data),
- void *get_string_data,
- struct sspm_header *first_header
- );
-
-void sspm_free_parts(struct sspm_part *parts, size_t max_parts);
-
-char *decode_quoted_printable(char *dest,
- char *src,
- size_t *size);
-char *decode_base64(char *dest,
- char *src,
- size_t *size);
-
-
-int sspm_write_mime(struct sspm_part *parts,size_t num_parts,
- char **output_string, const char* header);
-
-#endif /*SSPM_H*/
diff --git a/contrib/prebuilt/include/libical/vcaltmp.h b/contrib/prebuilt/include/libical/vcaltmp.h
deleted file mode 100644
index 4c4afde..0000000
--- a/contrib/prebuilt/include/libical/vcaltmp.h
+++ /dev/null
@@ -1,128 +0,0 @@
-/***************************************************************************
-(C) Copyright 1996 Apple Computer, Inc., AT&T Corp., International
-Business Machines Corporation and Siemens Rolm Communications Inc.
-
-For purposes of this license notice, the term Licensors shall mean,
-collectively, Apple Computer, Inc., AT&T Corp., International
-Business Machines Corporation and Siemens Rolm Communications Inc.
-The term Licensor shall mean any of the Licensors.
-
-Subject to acceptance of the following conditions, permission is hereby
-granted by Licensors without the need for written agreement and without
-license or royalty fees, to use, copy, modify and distribute this
-software for any purpose.
-
-The above copyright notice and the following four paragraphs must be
-reproduced in all copies of this software and any software including
-this software.
-
-THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS AND NO LICENSOR SHALL HAVE
-ANY OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS OR
-MODIFICATIONS.
-
-IN NO EVENT SHALL ANY LICENSOR BE LIABLE TO ANY PARTY FOR DIRECT,
-INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT
-OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
-DAMAGE.
-
-EACH LICENSOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED,
-INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF NONINFRINGEMENT OR THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE.
-
-The software is provided with RESTRICTED RIGHTS. Use, duplication, or
-disclosure by the government are subject to restrictions set forth in
-DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable.
-
-***************************************************************************/
-
-#include "vcc.h"
-
-#ifndef __VCALTMP_H__
-#define __VCALTMP_H__
-
-#if defined(__CPLUSPLUS__) || defined(__cplusplus)
-extern "C" {
-#endif
-
-extern DLLEXPORT(VObject*) vcsCreateVCal(
- char *date_created,
- char *location,
- char *product_id,
- char *time_zone,
- char *version
- );
-
-extern DLLEXPORT(VObject*) vcsAddEvent(
- VObject *vcal,
- char *start_date_time,
- char *end_date_time,
- char *description,
- char *summary,
- char *categories,
- char *classification,
- char *status,
- char *transparency,
- char *uid,
- char *url
- );
-
-
-extern DLLEXPORT(VObject*) vcsAddTodo(
- VObject *vcal,
- char *start_date_time,
- char *due_date_time,
- char *date_time_complete,
- char *description,
- char *summary,
- char *priority,
- char *classification,
- char *status,
- char *uid,
- char *url
- );
-
-
-extern DLLEXPORT(VObject*) vcsAddAAlarm(
- VObject *vevent,
- char *run_time,
- char *snooze_time,
- char *repeat_count,
- char *audio_content
- );
-
-
-extern DLLEXPORT(VObject*) vcsAddMAlarm(
- VObject *vevent,
- char *run_time,
- char *snooze_time,
- char *repeat_count,
- char *email_address,
- char *note
- );
-
-
-extern DLLEXPORT(VObject*) vcsAddDAlarm(
- VObject *vevent,
- char *run_time,
- char *snooze_time,
- char *repeat_count,
- char *display_string
- );
-
-
-extern DLLEXPORT(VObject*) vcsAddPAlarm(
- VObject *vevent,
- char *run_time,
- char *snooze_time,
- char *repeat_count,
- char *procedure_name
- );
-
-#if defined(__CPLUSPLUS__) || defined(__cplusplus)
-}
-#endif
-
-#endif /* __VCALTMP_H__ */
-
-
diff --git a/contrib/prebuilt/include/libical/vcc.h b/contrib/prebuilt/include/libical/vcc.h
deleted file mode 100644
index 0e52034..0000000
--- a/contrib/prebuilt/include/libical/vcc.h
+++ /dev/null
@@ -1,80 +0,0 @@
-/***************************************************************************
-(C) Copyright 1996 Apple Computer, Inc., AT&T Corp., International
-Business Machines Corporation and Siemens Rolm Communications Inc.
-
-For purposes of this license notice, the term Licensors shall mean,
-collectively, Apple Computer, Inc., AT&T Corp., International
-Business Machines Corporation and Siemens Rolm Communications Inc.
-The term Licensor shall mean any of the Licensors.
-
-Subject to acceptance of the following conditions, permission is hereby
-granted by Licensors without the need for written agreement and without
-license or royalty fees, to use, copy, modify and distribute this
-software for any purpose.
-
-The above copyright notice and the following four paragraphs must be
-reproduced in all copies of this software and any software including
-this software.
-
-THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS AND NO LICENSOR SHALL HAVE
-ANY OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS OR
-MODIFICATIONS.
-
-IN NO EVENT SHALL ANY LICENSOR BE LIABLE TO ANY PARTY FOR DIRECT,
-INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT
-OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
-DAMAGE.
-
-EACH LICENSOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED,
-INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF NONINFRINGEMENT OR THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE.
-
-The software is provided with RESTRICTED RIGHTS. Use, duplication, or
-disclosure by the government are subject to restrictions set forth in
-DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable.
-
-***************************************************************************/
-
-#ifndef __VCC_H__
-#define __VCC_H__ 1
-
-#include "vobject.h"
-
-
-#if defined(__CPLUSPLUS__) || defined(__cplusplus)
-extern "C" {
-#endif
-
-typedef void (*MimeErrorHandler)(char *);
-
-extern DLLEXPORT(void) registerMimeErrorHandler(MimeErrorHandler);
-
-extern DLLEXPORT(VObject*) Parse_MIME(const char *input, unsigned long len);
-extern DLLEXPORT(VObject*) Parse_MIME_FromFileName(char* fname);
-
-
-/* NOTE regarding Parse_MIME_FromFile
-The function above, Parse_MIME_FromFile, comes in two flavors,
-neither of which is exported from the DLL. Each version takes
-a CFile or FILE* as a parameter, neither of which can be
-passed across a DLL interface (at least that is my experience).
-If you are linking this code into your build directly then
-you may find them a more convenient API that the other flavors
-that take a file name. If you use them with the DLL LIB you
-will get a link error.
-*/
-
-
-#if INCLUDEMFC
-extern VObject* Parse_MIME_FromFile(CFile *file);
-#else
-extern VObject* Parse_MIME_FromFile(FILE *file);
-#endif
-
-#if defined(__CPLUSPLUS__) || defined(__cplusplus)
-}
-#endif
-
-#endif /* __VCC_H__ */
-
diff --git a/contrib/prebuilt/include/libical/vcomponent.h b/contrib/prebuilt/include/libical/vcomponent.h
deleted file mode 100644
index ec96523..0000000
--- a/contrib/prebuilt/include/libical/vcomponent.h
+++ /dev/null
@@ -1,351 +0,0 @@
-/* -*- Mode: C++ -*- */
-
-/**
- * @file vcomponent.h
- * @author fnguyen (12/10/01)
- * @brief C++ classes for the icalcomponent wrapper (VToDo VEvent, etc..).
- *
- * (C) COPYRIGHT 2001, Critical Path
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-
- Or:
-
- The Mozilla Public License Version 1.0. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
- */
-
-#ifndef VCOMPONENT_H
-#define VCOMPONENT_H
-
-#include "ical.h"
-#include "icptrholder.h"
-
-typedef char* string; // Will use the string library from STL
-
-class ICalProperty;
-
-/**
- * @class VComponent
- * @brief A class wrapping the libical icalcomponent functions
- *
- * @exception icalerrorenum Any errors generated in libical are
- * propogated via this exception type.
- */
-
-class VComponent {
-public:
- VComponent() throw (icalerrorenum);
- VComponent(const VComponent&) throw (icalerrorenum);
- VComponent& operator=(const VComponent&) throw (icalerrorenum);
- virtual ~VComponent();
-
- VComponent(icalcomponent* v) throw (icalerrorenum);
- VComponent(string str) throw (icalerrorenum);
- VComponent(icalcomponent_kind kind) throw (icalerrorenum);;
-
- operator icalcomponent* () { return imp; }
-
- void new_from_string(string str);
-
- // detach imp to this object. use with caution. it would cause
- // memory leak if you are not careful.
- void detach() {
- imp = NULL;
- }
-
-public:
- string as_ical_string() throw (icalerrorenum);
- bool is_valid();
- icalcomponent_kind isa();
- int isa_component(void* component);
-
- /// Working with properties
- void add_property(ICalProperty* property);
- void remove_property(ICalProperty* property);
- int count_properties(icalproperty_kind kind);
-
- // Iterate through the properties
- ICalProperty* get_current_property();
- ICalProperty* get_first_property(icalproperty_kind kind);
- ICalProperty* get_next_property(icalproperty_kind kind);
-
- // Working with components
-
- /**
- * Return the first VEVENT, VTODO or VJOURNAL sub-component if
- * it is one of those types
- */
-
- VComponent* get_inner();
-
- void add_component(VComponent* child);
- void remove_component(VComponent* child);
- int count_components(icalcomponent_kind kind);
-
- /**
- * Iteration Routines. There are two forms of iterators,
- * internal and external. The internal ones came first, and
- * are almost completely sufficient, but they fail badly when
- * you want to construct a loop that removes components from
- * the container.
- */
-
- /// Iterate through components
- VComponent* get_current_component();
- VComponent* get_first_component(icalcomponent_kind kind);
- VComponent* get_next_component(icalcomponent_kind kind);
-
- /// Using external iterators
- icalcompiter begin_component(icalcomponent_kind kind);
- icalcompiter end_component(icalcomponent_kind kind);
- VComponent* next(icalcompiter* i);
- VComponent* prev(icalcompiter* i);
- VComponent* current(icalcompiter* i);
-
- /// Working with embedded error properties
- int count_errors();
-
- /// Remove all X-LIC-ERROR properties
- void strip_errors();
-
- /// Convert some X-LIC-ERROR properties into RETURN-STATUS properties
- void convert_errors();
-
- /// Kind conversion routines
- static icalcomponent_kind string_to_kind(string str);
- static string kind_to_string(icalcomponent_kind kind);
-
-public:
- struct icaltimetype get_dtstart();
- void set_dtstart(struct icaltimetype v);
-
- /** For the icalcomponent routines only, dtend and duration
- * are tied together. If you call the set routine for one and
- * the other exists, the routine will calculate the change to
- * the other. That is, if there is a DTEND and you call
- * set_duration, the routine will modify DTEND to be the sum
- * of DTSTART and the duration. If you call a get routine for
- * one and the other exists, the routine will calculate the
- * return value. If you call a set routine and neither
- * exists, the routine will create the apropriate property
- */
-
- struct icaltimetype get_dtend();
- void set_dtend(struct icaltimetype v);
-
- struct icaltimetype get_due();
- void set_due(struct icaltimetype v);
-
- struct icaldurationtype get_duration();
- void set_duration(struct icaldurationtype v);
-
- icalproperty_method get_method();
- void set_method(icalproperty_method method);
-
- struct icaltimetype get_dtstamp();
- void set_dtstamp(struct icaltimetype v);
-
- string get_summary();
- void set_summary(string v);
-
- string get_location();
- void set_location(string v);
-
- string get_description();
- void set_description(string v);
-
- string get_comment();
- void set_comment(string v);
-
- string get_uid();
- void set_uid(string v);
-
- string get_relcalid();
- void set_relcalid(string v);
-
- struct icaltimetype get_recurrenceid();
- void set_recurrenceid(struct icaltimetype v);
-
- int get_sequence();
- void set_sequence(int v);
-
- int get_status();
- void set_status(enum icalproperty_status v);
-
-
-public:
- /**
- * For VCOMPONENT: Return a reference to the first VEVENT,
- * VTODO, or VJOURNAL
- */
- VComponent* get_first_real_component();
-
- /**
- * For VEVENT, VTODO, VJOURNAL and VTIMEZONE: report the
- * start and end times of an event in UTC
- */
- virtual struct icaltime_span get_span();
-
- int recurrence_is_excluded(struct icaltimetype *dtstart,
- struct icaltimetype *recurtime);
-
-
-public:
- /**
- helper functions for adding/removing/updating property and
- sub-components */
-
- /// Note: the VComponent kind have to be the same
-
- bool remove(VComponent&, bool ignoreValue);
- bool update(VComponent&, bool removeMissing);
- bool add(VComponent&);
-
-private:
- /* Internal operations. They are private, and you should not be using them. */
- VComponent* get_parent();
- void set_parent(VComponent *parent);
-
- char* quote_ical_string(char* str);
-
-private:
- icalcomponent* imp;
-};
-
-class VCalendar : public VComponent {
-public:
- VCalendar();
- VCalendar(const VCalendar&);
- VCalendar& operator=(const VCalendar&);
- ~VCalendar();
-
- VCalendar(icalcomponent* v);
- VCalendar(string str);
-};
-
-
-class VEvent : public VComponent {
-public:
- VEvent();
- VEvent(const VEvent&);
- VEvent& operator=(const VEvent&);
- ~VEvent();
-
- VEvent(icalcomponent* v);
- VEvent(string str);
-};
-
-class VToDo : public VComponent {
-public:
- VToDo();
- VToDo(const VToDo&);
- VToDo& operator=(const VToDo&);
- ~VToDo();
-
- VToDo(icalcomponent* v);
- VToDo(string str);
-};
-
-class VAgenda : public VComponent {
-public:
- VAgenda();
- VAgenda(const VAgenda&);
- VAgenda& operator=(const VAgenda&);
- ~VAgenda();
-
- VAgenda(icalcomponent* v);
- VAgenda(string str);
-};
-
-class VQuery : public VComponent {
-public:
- VQuery();
- VQuery(const VQuery&);
- VQuery& operator=(const VQuery&);
- ~VQuery();
-
- VQuery(icalcomponent* v);
- VQuery(string str);
-};
-
-class VJournal : public VComponent {
-public:
- VJournal();
- VJournal(const VJournal&);
- VJournal& operator=(const VJournal&);
- ~VJournal();
-
- VJournal(icalcomponent* v);
- VJournal(string str);
-};
-
-class VAlarm : public VComponent {
-public:
- VAlarm();
- VAlarm(const VAlarm&);
- VAlarm& operator=(const VAlarm&);
- ~VAlarm();
-
- VAlarm(icalcomponent* v);
- VAlarm(string str);
-
- /**
- * compute the absolute trigger time for this alarm. trigger
- * may be related to the containing component c. the result
- * is populated in tr->time
- */
- icalrequeststatus getTriggerTime(VComponent &c, struct icaltriggertype *tr);
-};
-
-class VFreeBusy : public VComponent {
-public:
- VFreeBusy();
- VFreeBusy(const VFreeBusy&);
- VFreeBusy& operator=(const VFreeBusy&);
- ~VFreeBusy();
-
- VFreeBusy(icalcomponent* v);
- VFreeBusy(string str);
-};
-
-class VTimezone : public VComponent {
-public:
- VTimezone();
- VTimezone(const VTimezone&);
- VTimezone& operator=(const VTimezone&);
- ~VTimezone();
-
- VTimezone(icalcomponent* v);
- VTimezone(string str);
-};
-
-class XStandard : public VComponent {
-public:
- XStandard();
- XStandard(const XStandard&);
- XStandard& operator=(const XStandard&);
- ~XStandard();
-
- XStandard(icalcomponent* v);
- XStandard(string str);
-};
-
-class XDaylight : public VComponent {
-public:
- XDaylight();
- XDaylight(const XDaylight&);
- XDaylight& operator=(const XDaylight&);
- ~XDaylight();
-
- XDaylight(icalcomponent* v);
- XDaylight(string str);
-};
-
-typedef ICPointerHolder<VComponent> VComponentTmpPtr; /* see icptrholder.h for comments */
-
-#endif /* VComponent_H */
diff --git a/contrib/prebuilt/include/libical/vobject.h b/contrib/prebuilt/include/libical/vobject.h
deleted file mode 100644
index 227f91e..0000000
--- a/contrib/prebuilt/include/libical/vobject.h
+++ /dev/null
@@ -1,366 +0,0 @@
-/***************************************************************************
-(C) Copyright 1996 Apple Computer, Inc., AT&T Corp., International
-Business Machines Corporation and Siemens Rolm Communications Inc.
-
-For purposes of this license notice, the term Licensors shall mean,
-collectively, Apple Computer, Inc., AT&T Corp., International
-Business Machines Corporation and Siemens Rolm Communications Inc.
-The term Licensor shall mean any of the Licensors.
-
-Subject to acceptance of the following conditions, permission is hereby
-granted by Licensors without the need for written agreement and without
-license or royalty fees, to use, copy, modify and distribute this
-software for any purpose.
-
-The above copyright notice and the following four paragraphs must be
-reproduced in all copies of this software and any software including
-this software.
-
-THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS AND NO LICENSOR SHALL HAVE
-ANY OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS OR
-MODIFICATIONS.
-
-IN NO EVENT SHALL ANY LICENSOR BE LIABLE TO ANY PARTY FOR DIRECT,
-INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT
-OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
-DAMAGE.
-
-EACH LICENSOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED,
-INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF NONINFRINGEMENT OR THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE.
-
-The software is provided with RESTRICTED RIGHTS. Use, duplication, or
-disclosure by the government are subject to restrictions set forth in
-DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable.
-
-***************************************************************************/
-
-/*
-
-The vCard/vCalendar C interface is implemented in the set
-of files as follows:
-
-vcc.y, yacc source, and vcc.c, the yacc output you will use
-implements the core parser
-
-vobject.c implements an API that insulates the caller from
-the parser and changes in the vCard/vCalendar BNF
-
-port.h defines compilation environment dependent stuff
-
-vcc.h and vobject.h are header files for their .c counterparts
-
-vcaltmp.h and vcaltmp.c implement vCalendar "macro" functions
-which you may find useful.
-
-test.c is a standalone test driver that exercises some of
-the features of the APIs provided. Invoke test.exe on a
-VCARD/VCALENDAR input text file and you will see the pretty
-print output of the internal representation (this pretty print
-output should give you a good idea of how the internal
-representation looks like -- there is one such output in the
-following too). Also, a file with the .out suffix is generated
-to show that the internal representation can be written back
-in the original text format.
-
-For more information on this API see the readme.txt file
-which accompanied this distribution.
-
- Also visit:
-
- http://www.versit.com
- http://www.ralden.com
-
-*/
-
-
-#ifndef __VOBJECT_H__
-#define __VOBJECT_H__ 1
-
-
-#include "port.h"
-#include <stdlib.h>
-#include <stdio.h>
-
-#if defined(__CPLUSPLUS__) || defined(__cplusplus)
-extern "C" {
-#endif
-
-
-#define VC7bitProp "7BIT"
-#define VC8bitProp "8BIT"
-#define VCAAlarmProp "AALARM"
-#define VCAdditionalNamesProp "ADDN"
-#define VCAdrProp "ADR"
-#define VCAgentProp "AGENT"
-#define VCAIFFProp "AIFF"
-#define VCAOLProp "AOL"
-#define VCAppleLinkProp "APPLELINK"
-#define VCAttachProp "ATTACH"
-#define VCAttendeeProp "ATTENDEE"
-#define VCATTMailProp "ATTMAIL"
-#define VCAudioContentProp "AUDIOCONTENT"
-#define VCAVIProp "AVI"
-#define VCBase64Prop "BASE64"
-#define VCBBSProp "BBS"
-#define VCBirthDateProp "BDAY"
-#define VCBMPProp "BMP"
-#define VCBodyProp "BODY"
-#define VCBusinessRoleProp "ROLE"
-#define VCCalProp "VCALENDAR"
-#define VCCaptionProp "CAP"
-#define VCCardProp "VCARD"
-#define VCCarProp "CAR"
-#define VCCategoriesProp "CATEGORIES"
-#define VCCellularProp "CELL"
-#define VCCGMProp "CGM"
-#define VCCharSetProp "CS"
-#define VCCIDProp "CID"
-#define VCCISProp "CIS"
-#define VCCityProp "L"
-#define VCClassProp "CLASS"
-#define VCCommentProp "NOTE"
-#define VCCompletedProp "COMPLETED"
-#define VCContentIDProp "CONTENT-ID"
-#define VCCountryNameProp "C"
-#define VCDAlarmProp "DALARM"
-#define VCDataSizeProp "DATASIZE"
-#define VCDayLightProp "DAYLIGHT"
-#define VCDCreatedProp "DCREATED"
-#define VCDeliveryLabelProp "LABEL"
-#define VCDescriptionProp "DESCRIPTION"
-#define VCDIBProp "DIB"
-#define VCDisplayStringProp "DISPLAYSTRING"
-#define VCDomesticProp "DOM"
-#define VCDTendProp "DTEND"
-#define VCDTstartProp "DTSTART"
-#define VCDueProp "DUE"
-#define VCEmailAddressProp "EMAIL"
-#define VCEncodingProp "ENCODING"
-#define VCEndProp "END"
-#define VCEventProp "VEVENT"
-#define VCEWorldProp "EWORLD"
-#define VCExNumProp "EXNUM"
-#define VCExpDateProp "EXDATE"
-#define VCExpectProp "EXPECT"
-#define VCExtAddressProp "EXT ADD"
-#define VCFamilyNameProp "F"
-#define VCFaxProp "FAX"
-#define VCFullNameProp "FN"
-#define VCGeoProp "GEO"
-#define VCGeoLocationProp "GEO"
-#define VCGIFProp "GIF"
-#define VCGivenNameProp "G"
-#define VCGroupingProp "Grouping"
-#define VCHomeProp "HOME"
-#define VCIBMMailProp "IBMMail"
-#define VCInlineProp "INLINE"
-#define VCInternationalProp "INTL"
-#define VCInternetProp "INTERNET"
-#define VCISDNProp "ISDN"
-#define VCJPEGProp "JPEG"
-#define VCLanguageProp "LANG"
-#define VCLastModifiedProp "LAST-MODIFIED"
-#define VCLastRevisedProp "REV"
-#define VCLocationProp "LOCATION"
-#define VCLogoProp "LOGO"
-#define VCMailerProp "MAILER"
-#define VCMAlarmProp "MALARM"
-#define VCMCIMailProp "MCIMAIL"
-#define VCMessageProp "MSG"
-#define VCMETProp "MET"
-#define VCModemProp "MODEM"
-#define VCMPEG2Prop "MPEG2"
-#define VCMPEGProp "MPEG"
-#define VCMSNProp "MSN"
-#define VCNamePrefixesProp "NPRE"
-#define VCNameProp "N"
-#define VCNameSuffixesProp "NSUF"
-#define VCNoteProp "NOTE"
-#define VCOrgNameProp "ORGNAME"
-#define VCOrgProp "ORG"
-#define VCOrgUnit2Prop "OUN2"
-#define VCOrgUnit3Prop "OUN3"
-#define VCOrgUnit4Prop "OUN4"
-#define VCOrgUnitProp "OUN"
-#define VCPagerProp "PAGER"
-#define VCPAlarmProp "PALARM"
-#define VCParcelProp "PARCEL"
-#define VCPartProp "PART"
-#define VCPCMProp "PCM"
-#define VCPDFProp "PDF"
-#define VCPGPProp "PGP"
-#define VCPhotoProp "PHOTO"
-#define VCPICTProp "PICT"
-#define VCPMBProp "PMB"
-#define VCPostalBoxProp "BOX"
-#define VCPostalCodeProp "PC"
-#define VCPostalProp "POSTAL"
-#define VCPowerShareProp "POWERSHARE"
-#define VCPreferredProp "PREF"
-#define VCPriorityProp "PRIORITY"
-#define VCProcedureNameProp "PROCEDURENAME"
-#define VCProdIdProp "PRODID"
-#define VCProdigyProp "PRODIGY"
-#define VCPronunciationProp "SOUND"
-#define VCPSProp "PS"
-#define VCPublicKeyProp "KEY"
-#define VCQPProp "QP"
-#define VCQuickTimeProp "QTIME"
-#define VCQuotedPrintableProp "QUOTED-PRINTABLE"
-#define VCRDateProp "RDATE"
-#define VCRegionProp "R"
-#define VCRelatedToProp "RELATED-TO"
-#define VCRepeatCountProp "REPEATCOUNT"
-#define VCResourcesProp "RESOURCES"
-#define VCRNumProp "RNUM"
-#define VCRoleProp "ROLE"
-#define VCRRuleProp "RRULE"
-#define VCRSVPProp "RSVP"
-#define VCRunTimeProp "RUNTIME"
-#define VCSequenceProp "SEQUENCE"
-#define VCSnoozeTimeProp "SNOOZETIME"
-#define VCStartProp "START"
-#define VCStatusProp "STATUS"
-#define VCStreetAddressProp "STREET"
-#define VCSubTypeProp "SUBTYPE"
-#define VCSummaryProp "SUMMARY"
-#define VCTelephoneProp "TEL"
-#define VCTIFFProp "TIFF"
-#define VCTimeZoneProp "TZ"
-#define VCTitleProp "TITLE"
-#define VCTLXProp "TLX"
-#define VCTodoProp "VTODO"
-#define VCTranspProp "TRANSP"
-#define VCUniqueStringProp "UID"
-#define VCURLProp "URL"
-#define VCURLValueProp "URLVAL"
-#define VCValueProp "VALUE"
-#define VCVersionProp "VERSION"
-#define VCVideoProp "VIDEO"
-#define VCVoiceProp "VOICE"
-#define VCWAVEProp "WAVE"
-#define VCWMFProp "WMF"
-#define VCWorkProp "WORK"
-#define VCX400Prop "X400"
-#define VCX509Prop "X509"
-#define VCXRuleProp "XRULE"
-
-/* Extensions */
-
-#define XPilotIdProp "X-PILOTID"
-#define XPilotStatusProp "X-PILOTSTAT"
-
-typedef struct VObject VObject;
-
-typedef struct VObjectIterator {
- VObject* start;
- VObject* next;
- } VObjectIterator;
-
-extern DLLEXPORT(VObject*) newVObject(const char *id);
-extern DLLEXPORT(void) deleteVObject(VObject *p);
-extern DLLEXPORT(char*) dupStr(const char *s, size_t size);
-extern DLLEXPORT(void) deleteStr(const char *p);
-extern DLLEXPORT(void) unUseStr(const char *s);
-
-extern DLLEXPORT(void) setVObjectName(VObject *o, const char* id);
-extern DLLEXPORT(void) setVObjectStringZValue(VObject *o, const char *s);
-extern DLLEXPORT(void) setVObjectStringZValue_(VObject *o, const char *s);
-extern DLLEXPORT(void) setVObjectUStringZValue(VObject *o, const wchar_t *s);
-extern DLLEXPORT(void) setVObjectUStringZValue_(VObject *o, const wchar_t *s);
-extern DLLEXPORT(void) setVObjectIntegerValue(VObject *o, unsigned int i);
-extern DLLEXPORT(void) setVObjectLongValue(VObject *o, unsigned long l);
-extern DLLEXPORT(void) setVObjectAnyValue(VObject *o, void *t);
-extern DLLEXPORT(VObject*) setValueWithSize(VObject *prop, void *val, unsigned int size);
-extern DLLEXPORT(VObject*) setValueWithSize_(VObject *prop, void *val, unsigned int size);
-
-extern DLLEXPORT(const char*) vObjectName(VObject *o);
-extern DLLEXPORT(const char*) vObjectStringZValue(VObject *o);
-extern DLLEXPORT(const wchar_t*) vObjectUStringZValue(VObject *o);
-extern DLLEXPORT(unsigned int) vObjectIntegerValue(VObject *o);
-extern DLLEXPORT(unsigned long) vObjectLongValue(VObject *o);
-extern DLLEXPORT(void*) vObjectAnyValue(VObject *o);
-extern DLLEXPORT(VObject*) vObjectVObjectValue(VObject *o);
-extern DLLEXPORT(void) setVObjectVObjectValue(VObject *o, VObject *p);
-
-extern DLLEXPORT(VObject*) addVObjectProp(VObject *o, VObject *p);
-extern DLLEXPORT(VObject*) addProp(VObject *o, const char *id);
-extern DLLEXPORT(VObject*) addProp_(VObject *o, const char *id);
-extern DLLEXPORT(VObject*) addPropValue(VObject *o, const char *p, const char *v);
-extern DLLEXPORT(VObject*) addPropSizedValue_(VObject *o, const char *p, const char *v, unsigned int size);
-extern DLLEXPORT(VObject*) addPropSizedValue(VObject *o, const char *p, const char *v, unsigned int size);
-extern DLLEXPORT(VObject*) addGroup(VObject *o, const char *g);
-extern DLLEXPORT(void) addList(VObject **o, VObject *p);
-
-extern DLLEXPORT(VObject*) isAPropertyOf(VObject *o, const char *id);
-
-extern DLLEXPORT(VObject*) nextVObjectInList(VObject *o);
-extern DLLEXPORT(void) initPropIterator(VObjectIterator *i, VObject *o);
-extern DLLEXPORT(int) moreIteration(VObjectIterator *i);
-extern DLLEXPORT(VObject*) nextVObject(VObjectIterator *i);
-
-extern DLLEXPORT(char*) writeMemVObject(char *s, int *len, VObject *o);
-extern DLLEXPORT(char*) writeMemVObjects(char *s, int *len, VObject *list);
-
-extern DLLEXPORT(const char*) lookupStr(const char *s);
-extern DLLEXPORT(void) cleanStrTbl();
-
-extern DLLEXPORT(void) cleanVObject(VObject *o);
-extern DLLEXPORT(void) cleanVObjects(VObject *list);
-
-extern DLLEXPORT(const char*) lookupProp(const char* str);
-extern DLLEXPORT(const char*) lookupProp_(const char* str);
-
-extern DLLEXPORT(wchar_t*) fakeUnicode(const char *ps, size_t *bytes);
-extern DLLEXPORT(int) uStrLen(const wchar_t *u);
-extern DLLEXPORT(char*) fakeCString(const wchar_t *u);
-
-extern DLLEXPORT(void) printVObjectToFile(char *fname,VObject *o);
-extern DLLEXPORT(void) printVObjectsToFile(char *fname,VObject *list);
-extern DLLEXPORT(void) writeVObjectToFile(char *fname, VObject *o);
-extern DLLEXPORT(void) writeVObjectsToFile(char *fname, VObject *list);
-
-extern DLLEXPORT(int) vObjectValueType(VObject *o);
-
-/* return type of vObjectValueType: */
-#define VCVT_NOVALUE 0
- /* if the VObject has no value associated with it. */
-#define VCVT_STRINGZ 1
- /* if the VObject has value set by setVObjectStringZValue. */
-#define VCVT_USTRINGZ 2
- /* if the VObject has value set by setVObjectUStringZValue. */
-#define VCVT_UINT 3
- /* if the VObject has value set by setVObjectIntegerValue. */
-#define VCVT_ULONG 4
- /* if the VObject has value set by setVObjectLongValue. */
-#define VCVT_RAW 5
- /* if the VObject has value set by setVObjectAnyValue. */
-#define VCVT_VOBJECT 6
- /* if the VObject has value set by setVObjectVObjectValue. */
-
-extern const char** fieldedProp;
-
-/* NOTE regarding printVObject and writeVObject
-
-The functions below are not exported from the DLL because they
-take a FILE* as a parameter, which cannot be passed across a DLL
-interface (at least that is my experience). Instead you can use
-their companion functions which take file names or pointers
-to memory. However, if you are linking this code into
-your build directly then you may find them a more convenient API
-and you can go ahead and use them. If you try to use them with
-the DLL LIB you will get a link error.
-*/
-extern void printVObject(FILE *fp,VObject *o);
-extern void writeVObject(FILE *fp, VObject *o);
-
-
-#if defined(__CPLUSPLUS__) || defined(__cplusplus)
-}
-#endif
-
-#endif /* __VOBJECT_H__ */
-
-
diff --git a/src/uscxml/URL.cpp b/src/uscxml/URL.cpp
index cefe935d..24a64ac 100644
--- a/src/uscxml/URL.cpp
+++ b/src/uscxml/URL.cpp
@@ -11,6 +11,7 @@
#include <sys/types.h>
#include <io.h>
#include <direct.h>
+#include <Shlobj.h>
#define getcwd _getcwd
#else
#include <unistd.h>
@@ -55,7 +56,7 @@ std::string URL::tmpDir() {
std::string URL::getResourceDir() {
#ifdef _WIN32
TCHAR szPath[MAX_PATH];
- if (SHGetFolderPath(NULL, CSIDL_COMMON_APPDATA, NULL, 0, szPath)) {
+ if (SHGetFolderPath(NULL, CSIDL_APPDATA, NULL, 0, szPath)) {
return szPath;
} else {
return getenv("APPDATA");
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 53ec38f..93c002e 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -33,11 +33,6 @@ target_link_libraries(test-eventdelay uscxml)
add_test(test-eventdelay ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/test-eventdelay)
set_target_properties(test-eventdelay PROPERTIES FOLDER "Tests")
-add_executable(test-stress src/test-stress.cpp)
-target_link_libraries(test-stress uscxml)
-add_test(test-stress ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/test-stress ${CMAKE_SOURCE_DIR}/test/samples/w3c)
-set_target_properties(test-stress PROPERTIES FOLDER "Tests")
-
if (OFF)
add_executable(test-dirmon src/test-dirmon.cpp)
target_link_libraries(test-dirmon uscxml)
@@ -61,6 +56,11 @@ if (NOT WIN32)
add_test(test-arabica-xpath ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/test-arabica-parsing)
set_target_properties(test-arabica-parsing PROPERTIES FOLDER "Tests")
+ add_executable(test-stress src/test-stress.cpp)
+ target_link_libraries(test-stress uscxml)
+ add_test(test-stress ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/test-stress ${CMAKE_SOURCE_DIR}/test/samples/w3c)
+ set_target_properties(test-stress PROPERTIES FOLDER "Tests")
+
endif()
add_executable(test-url src/test-url.cpp)
diff --git a/test/src/test-stress.cpp b/test/src/test-stress.cpp
index 50b5f34..07cc733 100644
--- a/test/src/test-stress.cpp
+++ b/test/src/test-stress.cpp
@@ -20,6 +20,9 @@
#include "XGetopt.h"
#endif
+int startedAt;
+int lastTransitionAt;
+
#ifdef HAS_EXECINFO_H
void printBacktrace(void** array, int size) {
char** messages = backtrace_symbols(array, size);
@@ -30,9 +33,6 @@ void printBacktrace(void** array, int size) {
free(messages);
}
-int startedAt;
-int lastTransitionAt;
-
#ifdef HAS_DLFCN_H
// see https://gist.github.com/nkuln/2020860
typedef void (*cxa_throw_type)(void *, void *, void (*) (void *));