| 1 | /* |
| 2 | Copyright(C) 2009-2016 Brazil |
| 3 | Copyright(C) 2018-2021 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_ctx.h"cxx . . $ `<file>/lib/grn_ctx.h`/ |
| 23 | #include "grn_token.h"cxx . . $ `<file>/lib/grn_token.h`/ |
| 24 | #include "grn_tokenizer.h"cxx . . $ `<file>/lib/grn_tokenizer.h`/ |
| 25 | #include "grn_db.h"cxx . . $ `<file>/lib/grn_db.h`/ |
| 26 | |
| 27 | #ifdef __cpluspluscxx . . $ `<built-in>:470:9`! |
| 28 | extern "C" { |
| 29 | #endif |
| 30 | |
| 31 | struct _grn_token_cursorcxx . . $ _grn_token_cursor# { |
| 32 | boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! initializedcxx . . $ _grn_token_cursor#initialized.; |
| 33 | grn_objcxx . . $ grn_obj# *tablecxx . . $ _grn_token_cursor#table.; |
| 34 | grn_objcxx . . $ grn_obj# original_buffercxx . . $ _grn_token_cursor#original_buffer.; |
| 35 | const unsigned char *origcxx . . $ _grn_token_cursor#orig.; |
| 36 | const unsigned char *currcxx . . $ _grn_token_cursor#curr.; |
| 37 | uint32_tcxx . . $ uint32_t# orig_blencxx . . $ _grn_token_cursor#orig_blen.; |
| 38 | uint32_tcxx . . $ uint32_t# curr_sizecxx . . $ _grn_token_cursor#curr_size.; |
| 39 | int32_tcxx . . $ int32_t# poscxx . . $ _grn_token_cursor#pos.; |
| 40 | grn_tokenize_modecxx . . $ grn_tokenize_mode# modecxx . . $ _grn_token_cursor#mode.; |
| 41 | grn_token_cursor_statuscxx . . $ grn_token_cursor_status# statuscxx . . $ _grn_token_cursor#status.; |
| 42 | grn_obj_flagscxx . . $ grn_obj_flags# table_flagscxx . . $ _grn_token_cursor#table_flags.; |
| 43 | grn_encodingcxx . . $ grn_encoding# encodingcxx . . $ _grn_token_cursor#encoding.; |
| 44 | uint32_tcxx . . $ uint32_t# flagscxx . . $ _grn_token_cursor#flags.; |
| 45 | structcxx . . $ _grn_token_cursor#$anonymous_type_0# { |
| 46 | grn_objcxx . . $ grn_obj# *objectcxx . . $ _grn_token_cursor#$anonymous_type_0#object.; |
| 47 | grn_proc_ctxcxx . . $ grn_proc_ctx# pctxcxx . . $ _grn_token_cursor#$anonymous_type_0#pctx.; |
| 48 | grn_tokenizer_querycxx . . $ grn_tokenizer_query# querycxx . . $ _grn_token_cursor#$anonymous_type_0#query.; |
| 49 | grn_idcxx . . $ grn_id# query_domaincxx . . $ _grn_token_cursor#$anonymous_type_0#query_domain.; |
| 50 | grn_objcxx . . $ grn_obj# casted_querycxx . . $ _grn_token_cursor#$anonymous_type_0#casted_query.; |
| 51 | void *user_datacxx . . $ _grn_token_cursor#$anonymous_type_0#user_data.; |
| 52 | grn_tokencxx . . $ grn_token# current_tokencxx . . $ _grn_token_cursor#$anonymous_type_0#current_token.; |
| 53 | grn_tokencxx . . $ grn_token# next_tokencxx . . $ _grn_token_cursor#$anonymous_type_0#next_token.; |
| 54 | grn_tokencxx . . $ grn_token# original_tokencxx . . $ _grn_token_cursor#$anonymous_type_0#original_token.; |
| 55 | } tokenizercxx . . $ _grn_token_cursor#tokenizer.; |
| 56 | structcxx . . $ _grn_token_cursor#$anonymous_type_1# { |
| 57 | grn_objcxx . . $ grn_obj# *objectscxx . . $ _grn_token_cursor#$anonymous_type_1#objects.; |
| 58 | void **datacxx . . $ _grn_token_cursor#$anonymous_type_1#data.; |
| 59 | } token_filtercxx . . $ _grn_token_cursor#token_filter.; |
| 60 | structcxx . . $ _grn_token_cursor#$anonymous_type_2# { |
| 61 | grn_token_cursor_statuscxx . . $ grn_token_cursor_status# statuscxx . . $ _grn_token_cursor#$anonymous_type_2#status.; |
| 62 | grn_tokencxx . . $ grn_token# *tokencxx . . $ _grn_token_cursor#$anonymous_type_2#token.; |
| 63 | } pendingcxx . . $ _grn_token_cursor#pending.; |
| 64 | }; |
| 65 | |
| 66 | #ifdef __cpluspluscxx . . $ `<built-in>:470:9`! |
| 67 | } |
| 68 | #endif |