aboutsummaryrefslogtreecommitdiff
path: root/vcal.h
diff options
context:
space:
mode:
Diffstat (limited to 'vcal.h')
-rw-r--r--vcal.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/vcal.h b/vcal.h
index a8245ff0..761448c9 100644
--- a/vcal.h
+++ b/vcal.h
@@ -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);