libkcal
icalrestriction.hGo to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #include "icalproperty.h"
00031 #include "icalcomponent.h"
00032
00033 #ifndef ICALRESTRICTION_H
00034 #define ICALRESTRICTION_H
00035
00036
00037 typedef enum icalrestriction_kind {
00038 ICAL_RESTRICTION_NONE=0,
00039 ICAL_RESTRICTION_ZERO,
00040 ICAL_RESTRICTION_ONE,
00041 ICAL_RESTRICTION_ZEROPLUS,
00042 ICAL_RESTRICTION_ONEPLUS,
00043 ICAL_RESTRICTION_ZEROORONE,
00044 ICAL_RESTRICTION_ONEEXCLUSIVE,
00045 ICAL_RESTRICTION_ONEMUTUAL,
00046 ICAL_RESTRICTION_UNKNOWN
00047 } icalrestriction_kind;
00048
00049 int
00050 icalrestriction_compare(icalrestriction_kind restr, int count);
00051
00052
00053 int
00054 icalrestriction_is_parameter_allowed(icalproperty_kind property,
00055 icalparameter_kind parameter);
00056
00057 int icalrestriction_check(icalcomponent* comp);
00058
00059
00060 #endif
00061
00062
00063
|