summaryrefslogtreecommitdiffabout
path: root/libical/src/libicalss/icalgauge.h
authorzautrix <zautrix>2004-06-26 19:01:18 (UTC)
committer zautrix <zautrix>2004-06-26 19:01:18 (UTC)
commitb9aad1f15dc600e4dbe4c62d3fcced6363188ba3 (patch) (unidiff)
tree2c3d4004fb21c72cba65793859f9bcd8ffd3a49c /libical/src/libicalss/icalgauge.h
downloadkdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.zip
kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.gz
kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.bz2
Initial revision
Diffstat (limited to 'libical/src/libicalss/icalgauge.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libical/src/libicalss/icalgauge.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/libical/src/libicalss/icalgauge.h b/libical/src/libicalss/icalgauge.h
new file mode 100644
index 0000000..1caf0ac
--- a/dev/null
+++ b/libical/src/libicalss/icalgauge.h
@@ -0,0 +1,51 @@
1/* -*- Mode: C -*- */
2/*======================================================================
3 FILE: icalgauge.h
4 CREATOR: eric 23 December 1999
5
6
7 $Id$
8 $Locker$
9
10 (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
11
12 This program is free software; you can redistribute it and/or modify
13 it under the terms of either:
14
15 The LGPL as published by the Free Software Foundation, version
16 2.1, available at: http://www.fsf.org/copyleft/lesser.html
17
18 Or:
19
20 The Mozilla Public License Version 1.0. You may obtain a copy of
21 the License at http://www.mozilla.org/MPL/
22
23 The Original Code is eric. The Initial Developer of the Original
24 Code is Eric Busboom
25
26
27======================================================================*/
28
29#ifndef ICALGAUGE_H
30#define ICALGAUGE_H
31
32typedef void icalgauge;
33
34icalgauge* icalgauge_new_from_sql(char* sql);
35
36void icalgauge_free(icalgauge* gauge);
37
38char* icalgauge_as_sql(icalcomponent* gauge);
39
40void icalgauge_dump(icalcomponent* gauge);
41
42/* Return true is comp matches the gauge. The component must be in
43 cannonical form -- a VCALENDAR with one VEVENT, VTODO or VJOURNAL
44 sub component */
45int icalgauge_compare(icalgauge* g, icalcomponent* comp);
46
47/* Clone the component, but only return the properties specified in
48 the gauge */
49icalcomponent* icalgauge_new_clone(icalgauge* g, icalcomponent* comp);
50
51#endif /* ICALGAUGE_H*/