aboutsummaryrefslogtreecommitdiff
path: root/vcal.h
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-03-08 10:12:04 +0100
committerHugo Hörnquist <hugo@hornquist.se>2019-03-08 10:12:04 +0100
commitd89343bf6959e8a0f9bf891a8773daf6b8a9825b (patch)
tree1dfe746619bf4b044fcae3eddec6fbcaa081feeb /vcal.h
parentRemove C hash library. (diff)
downloadcalp-d89343bf6959e8a0f9bf891a8773daf6b8a9825b.tar.gz
calp-d89343bf6959e8a0f9bf891a8773daf6b8a9825b.tar.xz
Add copy-vevent.
Diffstat (limited to 'vcal.h')
-rw-r--r--vcal.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/vcal.h b/vcal.h
index 798a00a1..1dfc5b17 100644
--- a/vcal.h
+++ b/vcal.h
@@ -73,6 +73,11 @@ struct s_vcomponent {
TRIE(content_line) clines;
LLIST(vcomponent) components;
+ /*
+ * Holds a Guile representation of this object. Used to always
+ * return the same foreign (for guile) object for the same
+ * vcomponent.
+ */
SCM scm;
};
@@ -96,8 +101,18 @@ char* vcomponent_get_val (vcomponent*, const char* key);
*/
int PUSH(vcomponent)(vcomponent*, vcomponent*);
+/*
+ * Deep copy is currently not implemented for vcomponentes.
+ * The reason for this method being here is since some
+ * generic methods in other places complain otherwise.
+ */
int DEEP_COPY(vcomponent)(vcomponent*, vcomponent*);
+/*
+ * "Shallow" copy of vcomponent.
+ */
+int vcomponent_copy(vcomponent*, vcomponent*);
+
FMT_F(vcomponent);
#endif /* VCAL_H */