tor-browser

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

ComposingNormalizer.h (1814B)


      1 #ifndef ComposingNormalizer_H
      2 #define ComposingNormalizer_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 "ComposingNormalizer.d.h"
     14 
     15 
     16 
     17 
     18 
     19 
     20 ComposingNormalizer* icu4x_ComposingNormalizer_create_nfc_mv1(void);
     21 
     22 typedef struct icu4x_ComposingNormalizer_create_nfc_with_provider_mv1_result {union {ComposingNormalizer* ok; DataError err;}; bool is_ok;} icu4x_ComposingNormalizer_create_nfc_with_provider_mv1_result;
     23 icu4x_ComposingNormalizer_create_nfc_with_provider_mv1_result icu4x_ComposingNormalizer_create_nfc_with_provider_mv1(const DataProvider* provider);
     24 
     25 ComposingNormalizer* icu4x_ComposingNormalizer_create_nfkc_mv1(void);
     26 
     27 typedef struct icu4x_ComposingNormalizer_create_nfkc_with_provider_mv1_result {union {ComposingNormalizer* ok; DataError err;}; bool is_ok;} icu4x_ComposingNormalizer_create_nfkc_with_provider_mv1_result;
     28 icu4x_ComposingNormalizer_create_nfkc_with_provider_mv1_result icu4x_ComposingNormalizer_create_nfkc_with_provider_mv1(const DataProvider* provider);
     29 
     30 void icu4x_ComposingNormalizer_normalize_mv1(const ComposingNormalizer* self, DiplomatStringView s, DiplomatWrite* write);
     31 
     32 bool icu4x_ComposingNormalizer_is_normalized_utf8_mv1(const ComposingNormalizer* self, DiplomatStringView s);
     33 
     34 bool icu4x_ComposingNormalizer_is_normalized_utf16_mv1(const ComposingNormalizer* self, DiplomatString16View s);
     35 
     36 size_t icu4x_ComposingNormalizer_is_normalized_utf8_up_to_mv1(const ComposingNormalizer* self, DiplomatStringView s);
     37 
     38 size_t icu4x_ComposingNormalizer_is_normalized_utf16_up_to_mv1(const ComposingNormalizer* self, DiplomatString16View s);
     39 
     40 void icu4x_ComposingNormalizer_destroy_mv1(ComposingNormalizer* self);
     41 
     42 
     43 
     44 
     45 
     46 #endif // ComposingNormalizer_H