| 1 | /* |
| 2 | Copyright(C) 2020-2022 Sutou Kouhei <[email protected]> |
| 3 | |
| 4 | This library is free software; you can redistribute it and/or |
| 5 | modify it under the terms of the GNU Lesser General Public |
| 6 | License as published by the Free Software Foundation; either |
| 7 | version 2.1 of the License, or (at your option) any later version. |
| 8 | |
| 9 | This library is distributed in the hope that it will be useful, |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 | Lesser General Public License for more details. |
| 13 | |
| 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | License along with this library; if not, write to the Free Software |
| 16 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 17 | */ |
| 18 | |
| 19 | #pragma once |
| 20 | |
| 21 | #include "grn.h"cxx . . $ `<file>/lib/grn.h`/ |
| 22 | |
| 23 | #ifdef __cplusplus |
| 24 | extern "C" { |
| 25 | #endif |
| 26 | |
| 27 | void grn_group_init_from_envcxx . . $ grn_group_init_from_env(49f6e7a06ebc5aa8).(void); |
| 28 | |
| 29 | struct _grn_aggregator_datacxx . . $ _grn_aggregator_data# { |
| 30 | grn_idcxx . . $ grn_id# group_idcxx . . $ _grn_aggregator_data#group_id.; |
| 31 | grn_idcxx . . $ grn_id# source_idcxx . . $ _grn_aggregator_data#source_id.; |
| 32 | grn_objcxx . . $ grn_obj# *group_tablecxx . . $ _grn_aggregator_data#group_table.; |
| 33 | grn_objcxx . . $ grn_obj# *source_tablecxx . . $ _grn_aggregator_data#source_table.; |
| 34 | grn_objcxx . . $ grn_obj# *output_columncxx . . $ _grn_aggregator_data#output_column.; |
| 35 | grn_objcxx . . $ grn_obj# *aggregatorcxx . . $ _grn_aggregator_data#aggregator.; |
| 36 | grn_objcxx . . $ grn_obj# argscxx . . $ _grn_aggregator_data#args.; |
| 37 | void *user_datacxx . . $ _grn_aggregator_data#user_data.; |
| 38 | }; |
| 39 | |
| 40 | struct _grn_table_group_aggregatorcxx . . $ _grn_table_group_aggregator# { |
| 41 | char *output_column_namecxx . . $ _grn_table_group_aggregator#output_column_name.; |
| 42 | uint32_tcxx . . $ uint32_t# output_column_name_lencxx . . $ _grn_table_group_aggregator#output_column_name_len.; |
| 43 | grn_objcxx . . $ grn_obj# *output_column_typecxx . . $ _grn_table_group_aggregator#output_column_type.; |
| 44 | grn_column_flagscxx . . $ grn_column_flags# output_column_flagscxx . . $ _grn_table_group_aggregator#output_column_flags.; |
| 45 | char *expressioncxx . . $ _grn_table_group_aggregator#expression.; |
| 46 | uint32_tcxx . . $ uint32_t# expression_lencxx . . $ _grn_table_group_aggregator#expression_len.; |
| 47 | grn_objcxx . . $ grn_obj# *aggregator_callcxx . . $ _grn_table_group_aggregator#aggregator_call.; |
| 48 | grn_objcxx . . $ grn_obj# *aggregator_call_recordcxx . . $ _grn_table_group_aggregator#aggregator_call_record.; |
| 49 | grn_aggregator_datacxx . . $ grn_aggregator_data# datacxx . . $ _grn_table_group_aggregator#data.; |
| 50 | }; |
| 51 | |
| 52 | grn_rccxx . . $ grn_rc# |
| 53 | grn_table_group_aggregator_initcxx . . $ grn_table_group_aggregator_init(d5916a1b9af592c3).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 54 | grn_table_group_aggregatorcxx . . $ grn_table_group_aggregator# *aggregator); |
| 55 | grn_rccxx . . $ grn_rc# |
| 56 | grn_table_group_aggregator_fincxx . . $ grn_table_group_aggregator_fin(d5916a1b9af592c3).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 57 | grn_table_group_aggregatorcxx . . $ grn_table_group_aggregator# *aggregator); |
| 58 | |
| 59 | |
| 60 | #ifdef __cplusplus |
| 61 | } |
| 62 | #endif |