diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-26 21:14:34 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-26 21:14:34 +0100 |
commit | 20b1ec5f84f0292845fb8b276300057a4646f17d (patch) | |
tree | 5f9099ebecd1b6c1f19efe552fd5f61525a4d37f /vcal.h | |
parent | Strbuf remove init_1, add strbuf_load. (diff) | |
download | calp-20b1ec5f84f0292845fb8b276300057a4646f17d.tar.gz calp-20b1ec5f84f0292845fb8b276300057a4646f17d.tar.xz |
Made filename attribute of all objects.
Diffstat (limited to '')
-rw-r--r-- | vcal.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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. |