SUBST: Dynamicaly generate contexts
[citadel.git] / webcit / ical_subst.c
index edd0ff150f75f9daab5105fd8858f8be4e3a4156..aceb56c2816fc5d395db745c29e2464287375f6b 100644 (file)
@@ -3,17 +3,11 @@
  *
  * 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"
@@ -21,7 +15,7 @@
 extern IcalEnumMap icalproperty_kind_map[];
 
 HashList *IcalComponentMap = NULL;
-
+CtxType CTX_ICAL = CTX_NONE;
 #if 0
 void SortPregetMatter(HashList *Cals)
 {
@@ -129,6 +123,7 @@ void
 InitModule_ICAL_SUBST
 (void)
 {
+       RegisterCTX(CTX_ICAL);
        CreateIcalComponendKindLookup ();
 
 }