diff options
author | Hugo Hörnquist <hugo@hornquist.se> | 2019-02-10 00:53:10 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@hornquist.se> | 2019-02-10 00:53:24 +0100 |
commit | 492302ac5d8742d99a394ee23ea290a99ad2c6c9 (patch) | |
tree | 1924df5f2e837247b6ec96d82469932be0102228 /vcal.h | |
parent | Linked list improvements. (diff) | |
download | calp-492302ac5d8742d99a394ee23ea290a99ad2c6c9.tar.gz calp-492302ac5d8742d99a394ee23ea290a99ad2c6c9.tar.xz |
Add param field to content_line.
Diffstat (limited to 'vcal.h')
-rw-r--r-- | vcal.h | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -7,22 +7,32 @@ #define TYPE strbuf #include "linked_list.h" +// #include "trie.h" #undef TYPE +/* typedef struct { strbuf key; strbuf value; + strbuf* vals; int val_count; } parameter; +*/ + +typedef struct { + strbuf key; + strbuf val; +} key_val; typedef struct { strbuf key; LLIST(strbuf) vals; - parameter* params; - int param_count; + /* parcams NULL by default, since most content lines doesn't have + * any properties */ + LLIST(strbuf) params; } content_line; INIT_F(content_line); |