Diffstat (limited to 'libical/src/libicalss/icalclassify.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libical/src/libicalss/icalclassify.h | 36 |
1 files changed, 2 insertions, 34 deletions
diff --git a/libical/src/libicalss/icalclassify.h b/libical/src/libicalss/icalclassify.h index 81188b3..aceabc0 100644 --- a/libical/src/libicalss/icalclassify.h +++ b/libical/src/libicalss/icalclassify.h | |||
@@ -8,70 +8,38 @@ | |||
8 | $Locker$ | 8 | $Locker$ |
9 | 9 | ||
10 | (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org | 10 | (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org |
11 | 11 | ||
12 | This program is free software; you can redistribute it and/or modify | 12 | This program is free software; you can redistribute it and/or modify |
13 | it under the terms of either: | 13 | it under the terms of either: |
14 | 14 | ||
15 | The LGPL as published by the Free Software Foundation, version | 15 | The LGPL as published by the Free Software Foundation, version |
16 | 2.1, available at: http://www.fsf.org/copyleft/lesser.html | 16 | 2.1, available at: http://www.fsf.org/copyleft/lesser.html |
17 | 17 | ||
18 | Or: | 18 | Or: |
19 | 19 | ||
20 | The Mozilla Public License Version 1.0. You may obtain a copy of | 20 | The Mozilla Public License Version 1.0. You may obtain a copy of |
21 | the License at http://www.mozilla.org/MPL/ | 21 | the License at http://www.mozilla.org/MPL/ |
22 | 22 | ||
23 | 23 | ||
24 | =========================================================================*/ | 24 | =========================================================================*/ |
25 | 25 | ||
26 | #ifndef ICALCLASSIFY_H | 26 | #ifndef ICALCLASSIFY_H |
27 | #define ICALCLASSIFY_H | 27 | #define ICALCLASSIFY_H |
28 | 28 | ||
29 | #include "ical.h" | 29 | #include "ical.h" |
30 | #include "icalset.h" | 30 | #include "icalset.h" |
31 | 31 | ||
32 | 32 | icalproperty_xlicclass icalclassify(icalcomponent* c,icalcomponent* match, | |
33 | typedef enum icalclass { | ||
34 | ICAL_NO_CLASS, | ||
35 | ICAL_PUBLISH_NEW_CLASS, | ||
36 | ICAL_PUBLISH_UPDATE_CLASS, | ||
37 | ICAL_PUBLISH_FREEBUSY_CLASS, | ||
38 | ICAL_REQUEST_NEW_CLASS, | ||
39 | ICAL_REQUEST_UPDATE_CLASS, | ||
40 | ICAL_REQUEST_RESCHEDULE_CLASS, | ||
41 | ICAL_REQUEST_DELEGATE_CLASS, | ||
42 | ICAL_REQUEST_NEW_ORGANIZER_CLASS, | ||
43 | ICAL_REQUEST_FORWARD_CLASS, | ||
44 | ICAL_REQUEST_STATUS_CLASS, | ||
45 | ICAL_REQUEST_FREEBUSY_CLASS, | ||
46 | ICAL_REPLY_ACCEPT_CLASS, | ||
47 | ICAL_REPLY_DECLINE_CLASS, | ||
48 | ICAL_REPLY_DELEGATE_CLASS, | ||
49 | ICAL_REPLY_CRASHER_ACCEPT_CLASS, | ||
50 | ICAL_REPLY_CRASHER_DECLINE_CLASS, | ||
51 | ICAL_ADD_INSTANCE_CLASS, | ||
52 | ICAL_CANCEL_EVENT_CLASS, | ||
53 | ICAL_CANCEL_INSTANCE_CLASS, | ||
54 | ICAL_CANCEL_ALL_CLASS, | ||
55 | ICAL_REFRESH_CLASS, | ||
56 | ICAL_COUNTER_CLASS, | ||
57 | ICAL_DECLINECOUNTER_CLASS, | ||
58 | ICAL_MALFORMED_CLASS, | ||
59 | ICAL_OBSOLETE_CLASS, /* 21 */ | ||
60 | ICAL_MISSEQUENCED_CLASS, /* 22 */ | ||
61 | ICAL_UNKNOWN_CLASS /* 23 */ | ||
62 | } ical_class; | ||
63 | |||
64 | ical_class icalclassify(icalcomponent* c,icalcomponent* match, | ||
65 | const char* user); | 33 | const char* user); |
66 | 34 | ||
67 | icalcomponent* icalclassify_find_overlaps(icalset* set, icalcomponent* comp); | 35 | icalcomponent* icalclassify_find_overlaps(icalset* set, icalcomponent* comp); |
68 | 36 | ||
69 | char* icalclassify_class_to_string(ical_class iclass); | 37 | char* icalclassify_class_to_string(icalproperty_xlicclass c); |
70 | 38 | ||
71 | 39 | ||
72 | #endif /* ICALCLASSIFY_H*/ | 40 | #endif /* ICALCLASSIFY_H*/ |
73 | 41 | ||
74 | 42 | ||
75 | 43 | ||
76 | 44 | ||
77 | 45 | ||