$darkmode
Libical API Documentation 4.0 STABLE VERSION Visit the v3.0 documentation
vcardtypes.h
Go to the documentation of this file.
1 /*======================================================================
2  FILE: vcardtypes.h
3  CREATOR: Ken Murchison 24 Aug 2022
4 
5  SPDX-FileCopyrightText: 2022, Fastmail Pty. Ltd. (https://fastmail.com)
6  SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
7  ======================================================================*/
8 
14 #ifndef VCARDTYPES_H
15 #define VCARDTYPES_H
16 
17 #include "libical_vcard_export.h"
18 
19 #define VCARD_GEO_LEN 16
20 
21 typedef struct vcardgeotype {
22  const char *uri;
23  struct {
24  char lat[VCARD_GEO_LEN];
25  char lon[VCARD_GEO_LEN];
26  } coords;
27 } vcardgeotype;
28 
29 typedef struct vcardtztype {
30  const char *tzid;
31  const char *uri;
32  int utcoffset;
33 } vcardtztype;
34 
35 #endif /* VCARDTYPES_H */