Debian Codegraph @

intl/icu_capi/bindings/cpp/ICU4XTimeZoneIdMapper.h

raw
1 #ifndef ICU4XTimeZoneIdMapper_H
2 #define ICU4XTimeZoneIdMapper_H
3 #include <stdio.h>
4 #include <stdint.h>
5 #include <stddef.h>
6 #include <stdbool.h>
7 #include "diplomat_runtime.h"
8
9 #ifdef __cplusplus
10 namespace capi {
11 #endif
12
13 typedef struct ICU4XTimeZoneIdMapper ICU4XTimeZoneIdMapper;
14 #ifdef __cplusplus
15 } // namespace capi
16 #endif
17 #include "ICU4XDataProvider.h"
18 #include "diplomat_result_box_ICU4XTimeZoneIdMapper_ICU4XError.h"
19 #include "diplomat_result_void_ICU4XError.h"
20 #ifdef __cplusplus
21 namespace capi {
22 extern "C" {
23 #endif
24
25 diplomat_result_box_ICU4XTimeZoneIdMapper_ICU4XError ICU4XTimeZoneIdMapper_create(const ICU4XDataProvider* provider);
26
27 diplomat_result_void_ICU4XError ICU4XTimeZoneIdMapper_iana_to_bcp47(const ICU4XTimeZoneIdMapper* self, const char* value_data, size_t value_len, DiplomatWriteable* write);
28
29 diplomat_result_void_ICU4XError ICU4XTimeZoneIdMapper_normalize_iana(const ICU4XTimeZoneIdMapper* self, const char* value_data, size_t value_len, DiplomatWriteable* write);
30
31 diplomat_result_void_ICU4XError ICU4XTimeZoneIdMapper_canonicalize_iana(const ICU4XTimeZoneIdMapper* self, const char* value_data, size_t value_len, DiplomatWriteable* write);
32
33 diplomat_result_void_ICU4XError ICU4XTimeZoneIdMapper_find_canonical_iana_from_bcp47(const ICU4XTimeZoneIdMapper* self, const char* value_data, size_t value_len, DiplomatWriteable* write);
34 void ICU4XTimeZoneIdMapper_destroy(ICU4XTimeZoneIdMapper* self);
35
36 #ifdef __cplusplus
37 } // extern "C"
38 } // namespace capi
39 #endif
40 #endif