IanaParser.h (875B)
1 #ifndef IanaParser_H 2 #define IanaParser_H 3 4 #include <stdio.h> 5 #include <stdint.h> 6 #include <stddef.h> 7 #include <stdbool.h> 8 #include "diplomat_runtime.h" 9 10 #include "DataError.d.h" 11 #include "DataProvider.d.h" 12 #include "TimeZone.d.h" 13 #include "TimeZoneIterator.d.h" 14 15 #include "IanaParser.d.h" 16 17 18 19 20 21 22 IanaParser* icu4x_IanaParser_create_mv1(void); 23 24 typedef struct icu4x_IanaParser_create_with_provider_mv1_result {union {IanaParser* ok; DataError err;}; bool is_ok;} icu4x_IanaParser_create_with_provider_mv1_result; 25 icu4x_IanaParser_create_with_provider_mv1_result icu4x_IanaParser_create_with_provider_mv1(const DataProvider* provider); 26 27 TimeZone* icu4x_IanaParser_parse_mv1(const IanaParser* self, DiplomatStringView value); 28 29 TimeZoneIterator* icu4x_IanaParser_iter_mv1(const IanaParser* self); 30 31 void icu4x_IanaParser_destroy_mv1(IanaParser* self); 32 33 34 35 36 37 #endif // IanaParser_H