Libical API Documentation 3.0

icalgaugeimpl.h
1/*======================================================================
2 FILE: icalgaugeimpl.h
3 CREATOR: eric 09 Aug 2000
4
5 (C) COPYRIGHT 2000, Eric Busboom <eric@civicknowledge.com>
6
7 This library is free software; you can redistribute it and/or modify
8 it under the terms of either:
9
10 The LGPL as published by the Free Software Foundation, version
11 2.1, available at: https://www.gnu.org/licenses/lgpl-2.1.html
12
13 Or:
14
15 The Mozilla Public License Version 2.0. You may obtain a copy of
16 the License at https://www.mozilla.org/MPL/
17======================================================================*/
18
19#ifndef ICALGAUGEIMPL_H
20#define ICALGAUGEIMPL_H
21
22#include "icalcomponent.h"
23
24 typedef enum icalgaugecompare
25{
26 ICALGAUGECOMPARE_EQUAL = ICAL_XLICCOMPARETYPE_EQUAL,
27 ICALGAUGECOMPARE_LESS = ICAL_XLICCOMPARETYPE_LESS,
28 ICALGAUGECOMPARE_LESSEQUAL = ICAL_XLICCOMPARETYPE_LESSEQUAL,
29 ICALGAUGECOMPARE_GREATER = ICAL_XLICCOMPARETYPE_GREATER,
30 ICALGAUGECOMPARE_GREATEREQUAL = ICAL_XLICCOMPARETYPE_GREATEREQUAL,
31 ICALGAUGECOMPARE_NOTEQUAL = ICAL_XLICCOMPARETYPE_NOTEQUAL,
32 ICALGAUGECOMPARE_REGEX = ICAL_XLICCOMPARETYPE_REGEX,
33 ICALGAUGECOMPARE_ISNULL = ICAL_XLICCOMPARETYPE_ISNULL,
34 ICALGAUGECOMPARE_ISNOTNULL = ICAL_XLICCOMPARETYPE_ISNOTNULL,
35 ICALGAUGECOMPARE_NONE = 0
36} icalgaugecompare;
37
38 typedef enum icalgaugelogic
39{
40 ICALGAUGELOGIC_NONE,
41 ICALGAUGELOGIC_AND,
42 ICALGAUGELOGIC_OR
43} icalgaugelogic;
44
45 struct icalgauge_where
46{
47 icalgaugelogic logic;
48 icalcomponent_kind comp;
49 icalproperty_kind prop;
50 icalgaugecompare compare;
51 char *value;
52};
53
54 struct icalgauge_impl
55{
56 pvl_list select;
57 pvl_list from;
58 pvl_list where;
59 int expand;
60};
61
62#endif
icalcomponent.h
icalgauge_impl
Definition: icalgaugeimpl.h:55
icalgauge_impl::where
pvl_list where
Definition: icalgaugeimpl.h:58
icalgauge_impl::from
pvl_list from
Definition: icalgaugeimpl.h:57
icalgauge_impl::select
pvl_list select
Definition: icalgaugeimpl.h:56
icalgauge_where
Definition: icalgaugeimpl.h:46
pvl_list_t
Definition: pvl.c:65