diff options
author | Hugo Hörnquist <hugo@hornquist.se> | 2019-03-08 10:12:04 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@hornquist.se> | 2019-03-08 10:12:04 +0100 |
commit | d89343bf6959e8a0f9bf891a8773daf6b8a9825b (patch) | |
tree | 1dfe746619bf4b044fcae3eddec6fbcaa081feeb /vcal.h | |
parent | Remove C hash library. (diff) | |
download | calp-d89343bf6959e8a0f9bf891a8773daf6b8a9825b.tar.gz calp-d89343bf6959e8a0f9bf891a8773daf6b8a9825b.tar.xz |
Add copy-vevent.
Diffstat (limited to 'vcal.h')
-rw-r--r-- | vcal.h | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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 */ |