aboutsummaryrefslogtreecommitdiff
path: root/vcal.h
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-02-03 23:35:27 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-02-03 23:35:27 +0100
commit82c63a1f2422c3f4b1599bcb889e3ed1fc4f6ed0 (patch)
treec433dbc1621492794c6d9993f4939aa68c20940b /vcal.h
parentLoads of memmory fixes, among other. (diff)
downloadcalp-82c63a1f2422c3f4b1599bcb889e3ed1fc4f6ed0.tar.gz
calp-82c63a1f2422c3f4b1599bcb889e3ed1fc4f6ed0.tar.xz
Add linked list generic type.
Diffstat (limited to 'vcal.h')
-rw-r--r--vcal.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/vcal.h b/vcal.h
index 350871b7..91eed471 100644
--- a/vcal.h
+++ b/vcal.h
@@ -5,6 +5,10 @@
#include "strbuf.h"
+#define TYPE strbuf
+#include "linked_list.h"
+#undef TYPE
+
typedef struct {
strbuf key;
strbuf value;
@@ -15,9 +19,7 @@ typedef struct {
typedef struct {
strbuf key;
- strbuf val;
- strbuf* aux_values;
- int value_count;
+ LLIST(strbuf) vals;
parameter* params;
int param_count;