diff options
| author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2013-05-04 21:39:27 +0000 |
|---|---|---|
| committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2013-05-04 21:39:27 +0000 |
| commit | fec6336699f34758d3e6cb41b2edf902fedb9035 (patch) | |
| tree | 8256c1dbf3ca7c9e58a3dbecf07cf826fb2e0ce2 /src/libical/icaltypes.h | |
| parent | 7dbffd7e2b0067e834801617c5c486e3177f6709 (diff) | |
| download | libical-master.tar.gz | |
libical-1.0HEADlibical-1.0master
Diffstat (limited to 'src/libical/icaltypes.h')
| -rw-r--r-- | src/libical/icaltypes.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/src/libical/icaltypes.h b/src/libical/icaltypes.h index 2f0e6f6..b1629c2 100644 --- a/src/libical/icaltypes.h +++ b/src/libical/icaltypes.h @@ -34,8 +34,8 @@ struct icalgeotype { - float lat; - float lon; + double lat; + double lon; }; @@ -67,7 +67,7 @@ don't use it after the original string has been freed. BTW, you would get that original string from *icalproperty_get_requeststatus() or icalvalue_get_text(), when -operating on a the value of a request_status property. */ +operating on the value of a request_status property. */ struct icalreqstattype { @@ -105,5 +105,18 @@ struct icaltimezonetype { void icaltimezonetype_free(struct icaltimezonetype tzt); +/* ical_unknown_token_handling : + * How should the ICAL library handle components, properties and parameters with + * unknown names? + * FIXME: Currently only affects parameters. Extend to components and properties. + */ +typedef enum ical_unknown_token_handling { + ICAL_ASSUME_IANA_TOKEN = 1, + ICAL_DISCARD_TOKEN = 2, + ICAL_TREAT_AS_ERROR = 3 +} ical_unknown_token_handling; + +ical_unknown_token_handling ical_get_unknown_token_handling_setting(void); +void ical_set_unknown_token_handling_setting(ical_unknown_token_handling newSetting); #endif /* !ICALTYPES_H */ |
