diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-01-21 11:37:43 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-01-21 11:37:43 +0100 |
commit | ada4556833ce249a0d4c3c2a5a91e0a6a01b837f (patch) | |
tree | c2e94d36b5ead42f5cf3090acd6566ede0090a80 /vcal.h | |
parent | Bunch of renames + macros. (diff) | |
download | calp-ada4556833ce249a0d4c3c2a5a91e0a6a01b837f.tar.gz calp-ada4556833ce249a0d4c3c2a5a91e0a6a01b837f.tar.xz |
Rename all instances of string to strbuf.
Diffstat (limited to 'vcal.h')
-rw-r--r-- | vcal.h | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -6,17 +6,17 @@ #include "strbuf.h" typedef struct { - string key; - string value; - string* vals; + strbuf key; + strbuf value; + strbuf* vals; int val_count; } parameter; typedef struct { - string key; - string val; + strbuf key; + strbuf val; - string* aux_values; + strbuf* aux_values; int value_count; parameter* params; @@ -29,10 +29,10 @@ typedef struct { struct s_vevent { /* - string dtstart; - string dtend; - string summary; - string description; + strbuf dtstart; + strbuf dtend; + strbuf summary; + strbuf description; */ TABLE(content_line) clines; }; @@ -60,7 +60,7 @@ int add_content_line (vevent* ev, content_line* c); int copy_vevent(vevent* dest, vevent* src); /* - * Copies src -> dest, initializing all the strings along the way. + * Copies src -> dest, initializing all the strbufs along the way. * Requires dest to be initialized. */ int vevent_init_copy(vevent* dest, vevent* src); |