aboutsummaryrefslogtreecommitdiff
path: root/scheme.h
blob: dff4b07ffbf72d2ec98e9de846c0e9c3001d02a4 (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
#ifndef SCHEME_H
#define SCHEME_H

#include <libguile.h>
#include "calendar.h"
#include "strbuf.h"

SCM make_calendar(SCM path);

SCM calendar_get_attr(SCM calendar, SCM id, SCM attr);

SCM number_events(SCM calendar);

void init_calendar ();

SCM scm_from_strbuf(strbuf* s);
SCM scm_from_llist(LLIST(strbuf)* lst);
SCM scm_from_trie_node(TRIE_NODE(content_line)* node);
SCM scm_from_trie(TRIE(content_line)* trie);
SCM scm_from_vector(VECT(vcomponent)* vect);
SCM calendar_size (SCM);
SCM calendar_components (SCM);

#endif /* SCHEME_H */