diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-03 23:35:27 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-03 23:35:27 +0100 |
commit | 82c63a1f2422c3f4b1599bcb889e3ed1fc4f6ed0 (patch) | |
tree | c433dbc1621492794c6d9993f4939aa68c20940b /vcal.h | |
parent | Loads of memmory fixes, among other. (diff) | |
download | calp-82c63a1f2422c3f4b1599bcb889e3ed1fc4f6ed0.tar.gz calp-82c63a1f2422c3f4b1599bcb889e3ed1fc4f6ed0.tar.xz |
Add linked list generic type.
Diffstat (limited to 'vcal.h')
-rw-r--r-- | vcal.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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; |