summaryrefslogtreecommitdiffabout
path: root/libical/src/libicalss/icalgauge.h
Unidiff
Diffstat (limited to 'libical/src/libicalss/icalgauge.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libical/src/libicalss/icalgauge.h26
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
@@ -29,23 +29,33 @@
29#ifndef ICALGAUGE_H 29#ifndef ICALGAUGE_H
30#define ICALGAUGE_H 30#define ICALGAUGE_H
31 31
32typedef void icalgauge; 32/** @file icalgauge.h
33 * @brief Routines implementing a filter for ical components
34 */
33 35
34icalgauge* icalgauge_new_from_sql(char* sql); 36typedef struct icalgauge_impl icalgauge;
37
38icalgauge* icalgauge_new_from_sql(char* sql, int expand);
39
40int icalgauge_get_expand(icalgauge* gauge);
35 41
36void icalgauge_free(icalgauge* gauge); 42void icalgauge_free(icalgauge* gauge);
37 43
38char* icalgauge_as_sql(icalcomponent* gauge); 44char* icalgauge_as_sql(icalcomponent* gauge);
39 45
40void icalgauge_dump(icalcomponent* gauge); 46void 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 */
45int icalgauge_compare(icalgauge* g, icalcomponent* comp); 55int 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 */
49icalcomponent* icalgauge_new_clone(icalgauge* g, icalcomponent* comp); 59icalcomponent* icalgauge_new_clone(icalgauge* g, icalcomponent* comp);
50 60
51#endif /* ICALGAUGE_H*/ 61#endif /* ICALGAUGE_H*/