X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fical_subst.c;h=852fcc87b03aac7e97297b51e6263616267790fa;hb=fb6f6fa4ec4e3277e30d84326d48e6850822d318;hp=5d6259d88dd81bcdc51b2f45b8a091a1a1767670;hpb=687eeb8b47af316bf102ae0ba9c8e3e400bd38b3;p=citadel.git diff --git a/webcit/ical_subst.c b/webcit/ical_subst.c index 5d6259d88..852fcc87b 100644 --- a/webcit/ical_subst.c +++ b/webcit/ical_subst.c @@ -1,11 +1,22 @@ -#include "webcit.h" +/* + * Copyright (c) 1996-2012 by the citadel.org team + * + * This program is open source software. You can redistribute it and/or + * modify it under the terms of the GNU General Public License, version 3. + * + * 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. + */ +#include "webcit.h" extern IcalEnumMap icalproperty_kind_map[]; - HashList *IcalComponentMap = NULL; +#if 0 void SortPregetMatter(HashList *Cals) { disp_cal *Cal; @@ -46,7 +57,6 @@ void SortPregetMatter(HashList *Cals) break; } - It = GetNewHashPos(Cals, 0); while (GetNextHashPos(Cals, It, &KLen, &Key, &vCal)) { i = 0; @@ -61,9 +71,8 @@ void SortPregetMatter(HashList *Cals) /****Cal->SortBy = icalcomponent_get_first_property(Cal->SortBy, SortMap[i++]->map); */ } } - - } +#endif void tmplput_ICalItem(StrBuf *Target, WCTemplputParams *TP)