tor-browser

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

DecomposingNormalizer.h (1864B)


      1 #ifndef DecomposingNormalizer_H
      2 #define DecomposingNormalizer_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 
     13 #include "DecomposingNormalizer.d.h"
     14 
     15 
     16 
     17 
     18 
     19 
     20 DecomposingNormalizer* icu4x_DecomposingNormalizer_create_nfd_mv1(void);
     21 
     22 typedef struct icu4x_DecomposingNormalizer_create_nfd_with_provider_mv1_result {union {DecomposingNormalizer* ok; DataError err;}; bool is_ok;} icu4x_DecomposingNormalizer_create_nfd_with_provider_mv1_result;
     23 icu4x_DecomposingNormalizer_create_nfd_with_provider_mv1_result icu4x_DecomposingNormalizer_create_nfd_with_provider_mv1(const DataProvider* provider);
     24 
     25 DecomposingNormalizer* icu4x_DecomposingNormalizer_create_nfkd_mv1(void);
     26 
     27 typedef struct icu4x_DecomposingNormalizer_create_nfkd_with_provider_mv1_result {union {DecomposingNormalizer* ok; DataError err;}; bool is_ok;} icu4x_DecomposingNormalizer_create_nfkd_with_provider_mv1_result;
     28 icu4x_DecomposingNormalizer_create_nfkd_with_provider_mv1_result icu4x_DecomposingNormalizer_create_nfkd_with_provider_mv1(const DataProvider* provider);
     29 
     30 void icu4x_DecomposingNormalizer_normalize_mv1(const DecomposingNormalizer* self, DiplomatStringView s, DiplomatWrite* write);
     31 
     32 bool icu4x_DecomposingNormalizer_is_normalized_mv1(const DecomposingNormalizer* self, DiplomatStringView s);
     33 
     34 bool icu4x_DecomposingNormalizer_is_normalized_utf16_mv1(const DecomposingNormalizer* self, DiplomatString16View s);
     35 
     36 size_t icu4x_DecomposingNormalizer_is_normalized_up_to_mv1(const DecomposingNormalizer* self, DiplomatStringView s);
     37 
     38 size_t icu4x_DecomposingNormalizer_is_normalized_utf16_up_to_mv1(const DecomposingNormalizer* self, DiplomatString16View s);
     39 
     40 void icu4x_DecomposingNormalizer_destroy_mv1(DecomposingNormalizer* self);
     41 
     42 
     43 
     44 
     45 
     46 #endif // DecomposingNormalizer_H