diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-01-21 11:32:33 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-01-21 11:32:33 +0100 |
commit | d5a5ce02552c4d58c34226eaa0b9c71743630a32 (patch) | |
tree | cd73d4fbcf95913da90a2195e99b7cb369f16b17 /vcal.h | |
parent | Add closedir. (diff) | |
download | calp-d5a5ce02552c4d58c34226eaa0b9c71743630a32.tar.gz calp-d5a5ce02552c4d58c34226eaa0b9c71743630a32.tar.xz |
Bunch of renames + macros.
Diffstat (limited to 'vcal.h')
-rw-r--r-- | vcal.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -40,9 +40,11 @@ struct s_vevent { struct s_vevent; typedef struct s_vevent vevent; -int vevent_init (vevent* ev, int init_size); +int CONSTRUCTOR_DECL(vevent, int init_size); + +int CONSTRUCTOR_DECL(content_line); +int CONSTRUCTOR_DECL(content_line, int keylen, int vallen); -int init_content_line (content_line* c, int keylen, int vallen); int content_line_free (content_line* c); int content_line_copy (content_line* dest, content_line* src); @@ -70,8 +72,8 @@ typedef struct { vevent* events; } vcalendar; -int init_vcalendar(vcalendar* cal); -int free_vcalendar(vcalendar* cal); +int CONSTRUCTOR_DECL(vcalendar); +int free_vcalendar (vcalendar* cal); int push_event(vcalendar* cal, vevent* ev); |