summaryrefslogtreecommitdiffstats
path: root/intl/icu_capi/cpp/include/ICU4XBcp47ToIanaMapper.h
blob: 483afe1ec295e0f0713acaf5d4fbfe6038ffc05c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef ICU4XBcp47ToIanaMapper_H
#define ICU4XBcp47ToIanaMapper_H
#include <stdio.h>
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include "diplomat_runtime.h"

#ifdef __cplusplus
namespace capi {
#endif

typedef struct ICU4XBcp47ToIanaMapper ICU4XBcp47ToIanaMapper;
#ifdef __cplusplus
} // namespace capi
#endif
#include "ICU4XDataProvider.h"
#include "diplomat_result_box_ICU4XBcp47ToIanaMapper_ICU4XError.h"
#include "diplomat_result_void_ICU4XError.h"
#ifdef __cplusplus
namespace capi {
extern "C" {
#endif

diplomat_result_box_ICU4XBcp47ToIanaMapper_ICU4XError ICU4XBcp47ToIanaMapper_create(const ICU4XDataProvider* provider);

diplomat_result_void_ICU4XError ICU4XBcp47ToIanaMapper_get(const ICU4XBcp47ToIanaMapper* self, const char* value_data, size_t value_len, DiplomatWriteable* write);
void ICU4XBcp47ToIanaMapper_destroy(ICU4XBcp47ToIanaMapper* self);

#ifdef __cplusplus
} // extern "C"
} // namespace capi
#endif
#endif