aboutsummaryrefslogtreecommitdiff
path: root/vcal.h
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-01-21 11:37:43 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-01-21 11:37:43 +0100
commitada4556833ce249a0d4c3c2a5a91e0a6a01b837f (patch)
treec2e94d36b5ead42f5cf3090acd6566ede0090a80 /vcal.h
parentBunch of renames + macros. (diff)
downloadcalp-ada4556833ce249a0d4c3c2a5a91e0a6a01b837f.tar.gz
calp-ada4556833ce249a0d4c3c2a5a91e0a6a01b837f.tar.xz
Rename all instances of string to strbuf.
Diffstat (limited to 'vcal.h')
-rw-r--r--vcal.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/vcal.h b/vcal.h
index 58d347c1..285d2d0b 100644
--- a/vcal.h
+++ b/vcal.h
@@ -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);