| 1 | /* |
| 2 | Copyright (C) 2009-2016 Brazil |
| 3 | Copyright (C) 2018-2025 Sutou Kouhei <[email protected]> |
| 4 | |
| 5 | This library is free software; you can redistribute it and/or |
| 6 | modify it under the terms of the GNU Lesser General Public |
| 7 | License as published by the Free Software Foundation; either |
| 8 | version 2.1 of the License, or (at your option) any later version. |
| 9 | |
| 10 | This library is distributed in the hope that it will be useful, |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | Lesser General Public License for more details. |
| 14 | |
| 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | License along with this library; if not, write to the Free Software |
| 17 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | */ |
| 19 | |
| 20 | #pragma once |
| 21 | |
| 22 | #include "grn.h"cxx . . $ `<file>/lib/grn.h`/ |
| 23 | |
| 24 | #ifdef __cplusplus |
| 25 | extern "C" { |
| 26 | #endif |
| 27 | |
| 28 | typedef grn_char_typecxx . . $ grn_char_type# (*grn_nfkc_char_type_funccxx . . $ grn_nfkc_char_type_func#)(const unsigned char *utf8); |
| 29 | typedef const char *(*grn_nfkc_decompose_funccxx . . $ grn_nfkc_decompose_func#)(const unsigned char *utf8); |
| 30 | typedef const char *(*grn_nfkc_compose_funccxx . . $ grn_nfkc_compose_func#)(const unsigned char *prefix_utf8, |
| 31 | const unsigned char *suffix_utf8); |
| 32 | |
| 33 | typedef structcxx . . $ $anonymous_type_e6f39bc5fb66346a_0# { |
| 34 | grn_nfkc_char_type_funccxx . . $ grn_nfkc_char_type_func# char_type_funccxx . . $ $anonymous_type_e6f39bc5fb66346a_0#char_type_func.; |
| 35 | grn_nfkc_decompose_funccxx . . $ grn_nfkc_decompose_func# decompose_funccxx . . $ $anonymous_type_e6f39bc5fb66346a_0#decompose_func.; |
| 36 | grn_nfkc_compose_funccxx . . $ grn_nfkc_compose_func# compose_funccxx . . $ $anonymous_type_e6f39bc5fb66346a_0#compose_func.; |
| 37 | } grn_nfkc_funcscxx . . $ grn_nfkc_funcs#; |
| 38 | |
| 39 | typedef structcxx . . $ $anonymous_type_e6f39bc5fb66346a_1# { |
| 40 | grn_nfkc_char_type_funccxx . . $ grn_nfkc_char_type_func# char_type_funccxx . . $ $anonymous_type_e6f39bc5fb66346a_1#char_type_func.; |
| 41 | grn_nfkc_decompose_funccxx . . $ grn_nfkc_decompose_func# decompose_funccxx . . $ $anonymous_type_e6f39bc5fb66346a_1#decompose_func.; |
| 42 | grn_nfkc_compose_funccxx . . $ grn_nfkc_compose_func# compose_funccxx . . $ $anonymous_type_e6f39bc5fb66346a_1#compose_func.; |
| 43 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! include_removed_source_locationcxx . . $ $anonymous_type_e6f39bc5fb66346a_1#include_removed_source_location.; |
| 44 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! report_source_offsetcxx . . $ $anonymous_type_e6f39bc5fb66346a_1#report_source_offset.; |
| 45 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! unify_latin_alphabet_withcxx . . $ $anonymous_type_e6f39bc5fb66346a_1#unify_latin_alphabet_with.; |
| 46 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! unify_kanacxx . . $ $anonymous_type_e6f39bc5fb66346a_1#unify_kana.; |
| 47 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! unify_kana_casecxx . . $ $anonymous_type_e6f39bc5fb66346a_1#unify_kana_case.; |
| 48 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! unify_kana_voiced_sound_markcxx . . $ $anonymous_type_e6f39bc5fb66346a_1#unify_kana_voiced_sound_mark.; |
| 49 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! unify_hyphencxx . . $ $anonymous_type_e6f39bc5fb66346a_1#unify_hyphen.; |
| 50 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! unify_prolonged_sound_markcxx . . $ $anonymous_type_e6f39bc5fb66346a_1#unify_prolonged_sound_mark.; |
| 51 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! unify_hyphen_and_prolonged_sound_markcxx . . $ $anonymous_type_e6f39bc5fb66346a_1#unify_hyphen_and_prolonged_sound_mark.; |
| 52 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! unify_middle_dotcxx . . $ $anonymous_type_e6f39bc5fb66346a_1#unify_middle_dot.; |
| 53 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! unify_katakana_v_soundscxx . . $ $anonymous_type_e6f39bc5fb66346a_1#unify_katakana_v_sounds.; |
| 54 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! unify_katakana_bu_soundcxx . . $ $anonymous_type_e6f39bc5fb66346a_1#unify_katakana_bu_sound.; |
| 55 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! unify_katakana_du_small_soundscxx . . $ $anonymous_type_e6f39bc5fb66346a_1#unify_katakana_du_small_sounds.; |
| 56 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! unify_katakana_du_soundcxx . . $ $anonymous_type_e6f39bc5fb66346a_1#unify_katakana_du_sound.; |
| 57 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! unify_katakana_zu_small_soundscxx . . $ $anonymous_type_e6f39bc5fb66346a_1#unify_katakana_zu_small_sounds.; |
| 58 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! unify_katakana_wo_soundcxx . . $ $anonymous_type_e6f39bc5fb66346a_1#unify_katakana_wo_sound.; |
| 59 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! unify_katakana_di_soundcxx . . $ $anonymous_type_e6f39bc5fb66346a_1#unify_katakana_di_sound.; |
| 60 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! unify_katakana_gu_small_soundscxx . . $ $anonymous_type_e6f39bc5fb66346a_1#unify_katakana_gu_small_sounds.; |
| 61 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! unify_kana_hyphencxx . . $ $anonymous_type_e6f39bc5fb66346a_1#unify_kana_hyphen.; |
| 62 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! unify_kana_prolonged_sound_markcxx . . $ $anonymous_type_e6f39bc5fb66346a_1#unify_kana_prolonged_sound_mark.; |
| 63 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! unify_katakana_trailing_ocxx . . $ $anonymous_type_e6f39bc5fb66346a_1#unify_katakana_trailing_o.; |
| 64 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! unify_iteration_markcxx . . $ $anonymous_type_e6f39bc5fb66346a_1#unify_iteration_mark.; |
| 65 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! unify_to_romajicxx . . $ $anonymous_type_e6f39bc5fb66346a_1#unify_to_romaji.; |
| 66 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! unify_to_katakanacxx . . $ $anonymous_type_e6f39bc5fb66346a_1#unify_to_katakana.; |
| 67 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! remove_blankcxx . . $ $anonymous_type_e6f39bc5fb66346a_1#remove_blank.; |
| 68 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! remove_blank_forcecxx . . $ $anonymous_type_e6f39bc5fb66346a_1#remove_blank_force.; |
| 69 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! remove_blank_force_is_setcxx . . $ $anonymous_type_e6f39bc5fb66346a_1#remove_blank_force_is_set.; |
| 70 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! remove_new_linecxx . . $ $anonymous_type_e6f39bc5fb66346a_1#remove_new_line.; |
| 71 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! remove_symbolcxx . . $ $anonymous_type_e6f39bc5fb66346a_1#remove_symbol.; |
| 72 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! stripcxx . . $ $anonymous_type_e6f39bc5fb66346a_1#strip.; |
| 73 | } grn_nfkc_normalize_optionscxx . . $ grn_nfkc_normalize_options#; |
| 74 | |
| 75 | typedef void (*grn_nfkc_normalize_options_init_funccxx . . $ grn_nfkc_normalize_options_init_func#)(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 76 | grn_nfkc_normalize_optionscxx . . $ grn_nfkc_normalize_options# *options); |
| 77 | |
| 78 | const char *grn_nfkc_decomposecxx . . $ grn_nfkc_decompose(366f986dcc4a6ef).(const unsigned char *utf8); |
| 79 | const char *grn_nfkc_composecxx . . $ grn_nfkc_compose(95490b1495f9e841).(const unsigned char *prefix_utf8, |
| 80 | const unsigned char *suffix_utf8); |
| 81 | |
| 82 | GRN_APIcxx . . $ `lib/grn.h:84:13`! grn_char_typecxx . . $ grn_char_type# grn_nfkc50_char_typecxx . . $ grn_nfkc50_char_type(9f045321b9ef9a8a).(const unsigned char *utf8); |
| 83 | const char *grn_nfkc50_decomposecxx . . $ grn_nfkc50_decompose(366f986dcc4a6ef).(const unsigned char *utf8); |
| 84 | const char *grn_nfkc50_composecxx . . $ grn_nfkc50_compose(95490b1495f9e841).(const unsigned char *prefix_utf8, |
| 85 | const unsigned char *suffix_utf8); |
| 86 | |
| 87 | GRN_APIcxx . . $ `lib/grn.h:84:13`! grn_char_typecxx . . $ grn_char_type# grn_nfkc100_char_typecxx . . $ grn_nfkc100_char_type(9f045321b9ef9a8a).(const unsigned char *utf8); |
| 88 | const char *grn_nfkc100_decomposecxx . . $ grn_nfkc100_decompose(366f986dcc4a6ef).(const unsigned char *utf8); |
| 89 | const char *grn_nfkc100_composecxx . . $ grn_nfkc100_compose(95490b1495f9e841).(const unsigned char *prefix_utf8, |
| 90 | const unsigned char *suffix_utf8); |
| 91 | |
| 92 | GRN_APIcxx . . $ `lib/grn.h:84:13`! grn_char_typecxx . . $ grn_char_type# grn_nfkc121_char_typecxx . . $ grn_nfkc121_char_type(9f045321b9ef9a8a).(const unsigned char *utf8); |
| 93 | const char *grn_nfkc121_decomposecxx . . $ grn_nfkc121_decompose(366f986dcc4a6ef).(const unsigned char *utf8); |
| 94 | const char *grn_nfkc121_composecxx . . $ grn_nfkc121_compose(95490b1495f9e841).(const unsigned char *prefix_utf8, |
| 95 | const unsigned char *suffix_utf8); |
| 96 | |
| 97 | GRN_APIcxx . . $ `lib/grn.h:84:13`! grn_char_typecxx . . $ grn_char_type# grn_nfkc130_char_typecxx . . $ grn_nfkc130_char_type(9f045321b9ef9a8a).(const unsigned char *utf8); |
| 98 | const char *grn_nfkc130_decomposecxx . . $ grn_nfkc130_decompose(366f986dcc4a6ef).(const unsigned char *utf8); |
| 99 | const char *grn_nfkc130_composecxx . . $ grn_nfkc130_compose(95490b1495f9e841).(const unsigned char *prefix_utf8, |
| 100 | const unsigned char *suffix_utf8); |
| 101 | |
| 102 | GRN_APIcxx . . $ `lib/grn.h:84:13`! grn_char_typecxx . . $ grn_char_type# grn_nfkc150_char_typecxx . . $ grn_nfkc150_char_type(9f045321b9ef9a8a).(const unsigned char *utf8); |
| 103 | const char *grn_nfkc150_decomposecxx . . $ grn_nfkc150_decompose(366f986dcc4a6ef).(const unsigned char *utf8); |
| 104 | const char *grn_nfkc150_composecxx . . $ grn_nfkc150_compose(95490b1495f9e841).(const unsigned char *prefix_utf8, |
| 105 | const unsigned char *suffix_utf8); |
| 106 | |
| 107 | GRN_APIcxx . . $ `lib/grn.h:84:13`! grn_char_typecxx . . $ grn_char_type# grn_nfkc160_char_typecxx . . $ grn_nfkc160_char_type(9f045321b9ef9a8a).(const unsigned char *utf8); |
| 108 | const char *grn_nfkc160_decomposecxx . . $ grn_nfkc160_decompose(366f986dcc4a6ef).(const unsigned char *utf8); |
| 109 | const char *grn_nfkc160_composecxx . . $ grn_nfkc160_compose(95490b1495f9e841).(const unsigned char *prefix_utf8, |
| 110 | const unsigned char *suffix_utf8); |
| 111 | |
| 112 | GRN_APIcxx . . $ `lib/grn.h:84:13`! grn_char_typecxx . . $ grn_char_type# grn_nfkc170_char_typecxx . . $ grn_nfkc170_char_type(9f045321b9ef9a8a).(const unsigned char *utf8); |
| 113 | const char *grn_nfkc170_decomposecxx . . $ grn_nfkc170_decompose(366f986dcc4a6ef).(const unsigned char *utf8); |
| 114 | const char *grn_nfkc170_composecxx . . $ grn_nfkc170_compose(95490b1495f9e841).(const unsigned char *prefix_utf8, |
| 115 | const unsigned char *suffix_utf8); |
| 116 | |
| 117 | void grn_nfkc_normalize_options_initcxx . . $ grn_nfkc_normalize_options_init(8647ab7c630d26d1).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 118 | grn_nfkc_normalize_optionscxx . . $ grn_nfkc_normalize_options# *options, |
| 119 | grn_nfkc_char_type_funccxx . . $ grn_nfkc_char_type_func# char_type_func, |
| 120 | grn_nfkc_decompose_funccxx . . $ grn_nfkc_decompose_func# decompose_func, |
| 121 | grn_nfkc_compose_funccxx . . $ grn_nfkc_compose_func# compose_func); |
| 122 | void grn_nfkc100_normalize_options_initcxx . . $ grn_nfkc100_normalize_options_init(66cb9d46be8c81d2).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 123 | grn_nfkc_normalize_optionscxx . . $ grn_nfkc_normalize_options# *options); |
| 124 | void grn_nfkc121_normalize_options_initcxx . . $ grn_nfkc121_normalize_options_init(66cb9d46be8c81d2).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 125 | grn_nfkc_normalize_optionscxx . . $ grn_nfkc_normalize_options# *options); |
| 126 | void grn_nfkc130_normalize_options_initcxx . . $ grn_nfkc130_normalize_options_init(66cb9d46be8c81d2).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 127 | grn_nfkc_normalize_optionscxx . . $ grn_nfkc_normalize_options# *options); |
| 128 | void grn_nfkc150_normalize_options_initcxx . . $ grn_nfkc150_normalize_options_init(66cb9d46be8c81d2).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 129 | grn_nfkc_normalize_optionscxx . . $ grn_nfkc_normalize_options# *options); |
| 130 | void grn_nfkc160_normalize_options_initcxx . . $ grn_nfkc160_normalize_options_init(66cb9d46be8c81d2).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 131 | grn_nfkc_normalize_optionscxx . . $ grn_nfkc_normalize_options# *options); |
| 132 | void grn_nfkc170_normalize_options_initcxx . . $ grn_nfkc170_normalize_options_init(66cb9d46be8c81d2).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 133 | grn_nfkc_normalize_optionscxx . . $ grn_nfkc_normalize_options# *options); |
| 134 | grn_nfkc_funcscxx . . $ grn_nfkc_funcs# |
| 135 | grn_nfkc_version_option_processcxx . . $ grn_nfkc_version_option_process(81667bdf4b817038).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 136 | grn_objcxx . . $ grn_obj# *raw_options, |
| 137 | unsigned int i, |
| 138 | grn_raw_stringcxx . . $ grn_raw_string# *name_raw, |
| 139 | const char *tag); |
| 140 | grn_rccxx . . $ grn_rc# grn_nfkc_normalize_options_applycxx . . $ grn_nfkc_normalize_options_apply(4141fc3d5a6fa1fa).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 141 | grn_nfkc_normalize_optionscxx . . $ grn_nfkc_normalize_options# *options, |
| 142 | grn_objcxx . . $ grn_obj# *raw_options, |
| 143 | const char *tag); |
| 144 | void grn_nfkc_normalize_options_fincxx . . $ grn_nfkc_normalize_options_fin(66cb9d46be8c81d2).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 145 | grn_nfkc_normalize_optionscxx . . $ grn_nfkc_normalize_options# *options); |
| 146 | |
| 147 | #ifdef __cplusplus |
| 148 | } |
| 149 | #endif |