summaryrefslogtreecommitdiff
path: root/src/libical/icaltypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libical/icaltypes.h')
-rw-r--r--src/libical/icaltypes.h19
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 */