aboutsummaryrefslogtreecommitdiff
path: root/vcal.h
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-02-26 21:14:34 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-02-26 21:14:34 +0100
commit20b1ec5f84f0292845fb8b276300057a4646f17d (patch)
tree5f9099ebecd1b6c1f19efe552fd5f61525a4d37f /vcal.h
parentStrbuf remove init_1, add strbuf_load. (diff)
downloadcalp-20b1ec5f84f0292845fb8b276300057a4646f17d.tar.gz
calp-20b1ec5f84f0292845fb8b276300057a4646f17d.tar.xz
Made filename attribute of all objects.
Diffstat (limited to 'vcal.h')
-rw-r--r--vcal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcal.h b/vcal.h
index 1d643a40..451d4463 100644
--- a/vcal.h
+++ b/vcal.h
@@ -67,7 +67,6 @@ typedef struct s_vcomponent vcomponent;
#undef TYPE
struct s_vcomponent {
- char* filename;
char* type;
vcomponent* parent;
TRIE(content_line) clines;
@@ -87,6 +86,9 @@ content_line* get_property (vcomponent* ev, const char* key);
int add_content_line (vcomponent* ev, content_line* c);
+int vcomponent_push_val (vcomponent*, const char* key, const char* val);
+char* vcomponent_get_val (vcomponent*, const char* key);
+
/*
* Appends ev to cal. Doesn't copy ev. So make sure that it wont go
* out of scope.