Libical API Documentation
4.0 STABLE VERSION
[Visit the v3.0 documentation]
Toggle main menu visibility
Loading...
Searching...
No Matches
src
libicalss
icalspanlist.h
Go to the documentation of this file.
1
/*======================================================================
2
FILE: icalspanlist.h
3
CREATOR: eric 21 Aug 2000
4
5
SPDX-FileCopyrightText: 2000, Eric Busboom <eric@civicknowledge.com>
6
SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
7
=========================================================================*/
8
#ifndef ICALSPANLIST_H
9
#define ICALSPANLIST_H
10
11
#include "libical_icalss_export.h"
12
#include "
icalset.h
"
13
18
20
struct
icalpvl_list_t;
21
struct
icalspanlist_impl {
22
struct
icalpvl_list_t *spans;
23
struct
icaltimetype start;
24
struct
icaltimetype end;
25
};
26
typedef
struct
icalspanlist_impl icalspanlist;
28
42
LIBICAL_ICALSS_EXPORT icalspanlist *
icalspanlist_new
(icalset *set,
43
struct
icaltimetype
start,
44
struct
icaltimetype
end);
45
53
LIBICAL_ICALSS_EXPORT
void
icalspanlist_free
(icalspanlist *sl);
54
66
LIBICAL_ICALSS_EXPORT
struct
icalperiodtype
icalspanlist_next_free_time
(icalspanlist *sl,
67
struct
icaltimetype
t);
68
74
LIBICAL_ICALSS_EXPORT
void
icalspanlist_dump
(icalspanlist *sl);
75
90
LIBICAL_ICALSS_EXPORT icalcomponent *
icalspanlist_as_vfreebusy
(icalspanlist *sl,
91
const
char
*organizer,
92
const
char
*attendee);
93
116
LIBICAL_ICALSS_EXPORT
int
*
icalspanlist_as_freebusy_matrix
(icalspanlist *spanlist,
int
delta_t);
117
125
LIBICAL_ICALSS_EXPORT icalspanlist *
icalspanlist_from_vfreebusy
(icalcomponent *comp);
126
127
#endif
icalset.h
Icalset is the "base class" for representations of a collection of iCal components.
icalspanlist_dump
void icalspanlist_dump(icalspanlist *sl)
Definition
icalspanlist.c:203
icalspanlist_from_vfreebusy
icalspanlist * icalspanlist_from_vfreebusy(icalcomponent *comp)
Definition
icalspanlist.c:402
icalspanlist_as_freebusy_matrix
int * icalspanlist_as_freebusy_matrix(icalspanlist *spanlist, int delta_t)
Definition
icalspanlist.c:281
icalspanlist_free
void icalspanlist_free(icalspanlist *sl)
Definition
icalspanlist.c:184
icalspanlist_new
icalspanlist * icalspanlist_new(icalset *set, struct icaltimetype start, struct icaltimetype end)
Definition
icalspanlist.c:82
icalspanlist_as_vfreebusy
icalcomponent * icalspanlist_as_vfreebusy(icalspanlist *sl, const char *organizer, const char *attendee)
Definition
icalspanlist.c:356
icalspanlist_next_free_time
struct icalperiodtype icalspanlist_next_free_time(icalspanlist *sl, struct icaltimetype t)
Definition
icalspanlist.c:217
icalperiodtype
Definition
icalperiod.h:29
icaltimetype
Definition
icaltime.h:90
Generated on
for Libical API Documentation by
1.18.0