tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

DataProvider.h (1733B)


      1 #ifndef DataProvider_H
      2 #define DataProvider_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 "LocaleFallbacker.d.h"
     12 
     13 #include "DataProvider.d.h"
     14 
     15 
     16 
     17 
     18 
     19 
     20 typedef struct icu4x_DataProvider_from_fs_mv1_result {union {DataProvider* ok; DataError err;}; bool is_ok;} icu4x_DataProvider_from_fs_mv1_result;
     21 icu4x_DataProvider_from_fs_mv1_result icu4x_DataProvider_from_fs_mv1(DiplomatStringView path);
     22 
     23 typedef struct icu4x_DataProvider_from_byte_slice_mv1_result {union {DataProvider* ok; DataError err;}; bool is_ok;} icu4x_DataProvider_from_byte_slice_mv1_result;
     24 icu4x_DataProvider_from_byte_slice_mv1_result icu4x_DataProvider_from_byte_slice_mv1(DiplomatU8View blob);
     25 
     26 typedef struct icu4x_DataProvider_fork_by_marker_mv1_result {union { DataError err;}; bool is_ok;} icu4x_DataProvider_fork_by_marker_mv1_result;
     27 icu4x_DataProvider_fork_by_marker_mv1_result icu4x_DataProvider_fork_by_marker_mv1(DataProvider* self, DataProvider* other);
     28 
     29 typedef struct icu4x_DataProvider_fork_by_locale_mv1_result {union { DataError err;}; bool is_ok;} icu4x_DataProvider_fork_by_locale_mv1_result;
     30 icu4x_DataProvider_fork_by_locale_mv1_result icu4x_DataProvider_fork_by_locale_mv1(DataProvider* self, DataProvider* other);
     31 
     32 typedef struct icu4x_DataProvider_enable_locale_fallback_with_mv1_result {union { DataError err;}; bool is_ok;} icu4x_DataProvider_enable_locale_fallback_with_mv1_result;
     33 icu4x_DataProvider_enable_locale_fallback_with_mv1_result icu4x_DataProvider_enable_locale_fallback_with_mv1(DataProvider* self, const LocaleFallbacker* fallbacker);
     34 
     35 void icu4x_DataProvider_destroy_mv1(DataProvider* self);
     36 
     37 
     38 
     39 
     40 
     41 #endif // DataProvider_H