aboutsummaryrefslogtreecommitdiff
path: root/scheme.h
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-02-09 03:01:53 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-02-09 03:01:53 +0100
commit7eba3f7dbcef5ecf05d6d05e1c2fbd323d7898df (patch)
tree3ba6b44d20b9f857207e55487154e8d378caea90 /scheme.h
parentAdd support for full tree printing. (diff)
downloadcalp-7eba3f7dbcef5ecf05d6d05e1c2fbd323d7898df.tar.gz
calp-7eba3f7dbcef5ecf05d6d05e1c2fbd323d7898df.tar.xz
Add some more scheme bindings.
Diffstat (limited to '')
-rw-r--r--scheme.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/scheme.h b/scheme.h
index 9417896e..dff4b07f 100644
--- a/scheme.h
+++ b/scheme.h
@@ -2,6 +2,8 @@
#define SCHEME_H
#include <libguile.h>
+#include "calendar.h"
+#include "strbuf.h"
SCM make_calendar(SCM path);
@@ -11,4 +13,12 @@ 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 */