Libical API Documentation 4.0
Loading...
Searching...
No Matches
icalvalueimpl.h
1/*======================================================================
2 FILE: icalvalue.c
3 CREATOR: eric 02 May 1999
4
5 SPDX-FileCopyrightText: 2000, Eric Busboom <eric@civicknowledge.com>
6
7 SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
8
9 Contributions from:
10 Graham Davison (g.m.davison@computer.org)
11======================================================================*/
12
13#ifndef ICALVALUEIMPL_H
14#define ICALVALUEIMPL_H
15
16#include "icalproperty.h"
17
19 icalvalue_kind kind; /*this is the kind that is visible from the outside */
20
21 char id[5];
22 int size;
23 icalproperty *parent;
24 char *x_value;
25
26 union data {
27 icalattach *v_attach;
28 /* void *v_binary; */ /* use v_attach */
29
30 const char *v_string;
31 /*char *v_text; */ /* use v_string */
32 /*char *v_caladdress; */ /* use v_string */
33 /*char *v_query; */ /* use v_string */
34 /*char *v_uri; */ /* use v_string */
35
36 float v_float;
37
38 int v_int;
39 /*int v_boolean; */ /* use v_int */
40 /*int v_integer; */ /* use v_int */
41 /*int v_utcoffset; */ /* use v_int */
42
43 struct icaldurationtype v_duration;
44
45 struct icalperiodtype v_period;
46 /*struct icalperiodtype v_datetimeperiod; */ /* use v_time/v_period */
47
48 struct icalgeotype v_geo;
49
50 struct icaltimetype v_time;
51 /*struct icaltimetype v_date; */ /* use v_time */
52 /*struct icaltimetype v_datetime; */ /* use v_time */
53 /*struct icaltimetype v_datetimedate; */ /* use v_time */
54
55 struct icalreqstattype v_requeststatus;
56
57 struct icalrecurrencetype *v_recur;
58
59 /*struct icaltriggertype v_trigger; */ /* use v_time/v_duration */
60
61 int v_enum;
62 /* v_enum takes care of several enumerated types including:
63 icalproperty_method v_method;
64 icalproperty_status v_status;
65 icalproperty_action v_action;
66 icalproperty_class v_class;
67 icalproperty_transp v_transp;
68 icalproperty_busytype v_busytype;
69 icalproperty_taskmode v_taskmode;
70 icalproperty_pollmode v_pollmode;
71 icalproperty_pollcompletion v_pollcomplete;
72 */
73
74 } data;
75};
76
77#endif
struct icalattach_impl icalattach
An iCal attach object representing a link to a document object.
Definition icalattach.h:36
A struct representing a duration.
Definition icalduration.h:29
Definition icaltypes.h:27
Struct to represent a period in time.
Definition icalperiod.h:30
Definition icalrecur.h:169
Definition icaltypes.h:55
Definition icaltime.h:98
Definition icalvalueimpl.h:18
Definition icalvalueimpl.h:26