aboutsummaryrefslogtreecommitdiff
path: root/doc/ref/guile/data-formats.texi
blob: 037d3ae733b113f075556c85599cd54f6ef66f83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@node Data Formats
@section Data Formats
A data format is some way that an individual event may get serialized
to disk. The default is iCalendar (TODO reference RFC 5545), but
others might be available (TODO footnote and reference xcal).

Each available format should be included as
@code{(vcomponent formats @var{format-name})}.
Which module corresponds to what file type is currently defined out of band.

Each module should expose the following procedures.

@defun serialize component port
Write a serialized representation of @var{component} to @var{port}.
@end defun

@defun deserialize port
Read a serialized representation of a component from @var{port}, and
return the deserialized instance of this object.
@end defun

@subsection iCalendar
RFC 5545

@subsection xCal