Diffstat (limited to 'libical/src/libicalss/icalgauge.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libical/src/libicalss/icalgauge.h | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/libical/src/libicalss/icalgauge.h b/libical/src/libicalss/icalgauge.h index 1caf0ac..c35b4f7 100644 --- a/libical/src/libicalss/icalgauge.h +++ b/libical/src/libicalss/icalgauge.h | |||
@@ -1,51 +1,61 @@ | |||
1 | /* -*- Mode: C -*- */ | 1 | /* -*- Mode: C -*- */ |
2 | /*====================================================================== | 2 | /*====================================================================== |
3 | FILE: icalgauge.h | 3 | FILE: icalgauge.h |
4 | CREATOR: eric 23 December 1999 | 4 | CREATOR: eric 23 December 1999 |
5 | 5 | ||
6 | 6 | ||
7 | $Id$ | 7 | $Id$ |
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 | The Original Code is eric. The Initial Developer of the Original | 23 | The Original Code is eric. The Initial Developer of the Original |
24 | Code is Eric Busboom | 24 | Code is Eric Busboom |
25 | 25 | ||
26 | 26 | ||
27 | ======================================================================*/ | 27 | ======================================================================*/ |
28 | 28 | ||
29 | #ifndef ICALGAUGE_H | 29 | #ifndef ICALGAUGE_H |
30 | #define ICALGAUGE_H | 30 | #define ICALGAUGE_H |
31 | 31 | ||
32 | typedef void icalgauge; | 32 | /** @file icalgauge.h |
33 | * @brief Routines implementing a filter for ical components | ||
34 | */ | ||
33 | 35 | ||
34 | icalgauge* icalgauge_new_from_sql(char* sql); | 36 | typedef struct icalgauge_impl icalgauge; |
37 | |||
38 | icalgauge* icalgauge_new_from_sql(char* sql, int expand); | ||
39 | |||
40 | int icalgauge_get_expand(icalgauge* gauge); | ||
35 | 41 | ||
36 | void icalgauge_free(icalgauge* gauge); | 42 | void icalgauge_free(icalgauge* gauge); |
37 | 43 | ||
38 | char* icalgauge_as_sql(icalcomponent* gauge); | 44 | char* icalgauge_as_sql(icalcomponent* gauge); |
39 | 45 | ||
40 | void icalgauge_dump(icalcomponent* gauge); | 46 | void icalgauge_dump(icalgauge* gauge); |
47 | |||
41 | 48 | ||
42 | /* Return true is comp matches the gauge. The component must be in | 49 | /** @brief Return true if comp matches the gauge. |
43 | cannonical form -- a VCALENDAR with one VEVENT, VTODO or VJOURNAL | 50 | * |
44 | sub component */ | 51 | * The component must be in |
52 | * cannonical form -- a VCALENDAR with one VEVENT, VTODO or VJOURNAL | ||
53 | * sub component | ||
54 | */ | ||
45 | int icalgauge_compare(icalgauge* g, icalcomponent* comp); | 55 | int icalgauge_compare(icalgauge* g, icalcomponent* comp); |
46 | 56 | ||
47 | /* Clone the component, but only return the properties specified in | 57 | /** Clone the component, but only return the properties |
48 | the gauge */ | 58 | * specified in the gauge */ |
49 | icalcomponent* icalgauge_new_clone(icalgauge* g, icalcomponent* comp); | 59 | icalcomponent* icalgauge_new_clone(icalgauge* g, icalcomponent* comp); |
50 | 60 | ||
51 | #endif /* ICALGAUGE_H*/ | 61 | #endif /* ICALGAUGE_H*/ |