| 1 | /* |
| 2 | Copyright(C) 2018 Brazil |
| 3 | Copyright(C) 2019-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.h"cxx . . $ `<file>/lib/grn.h`/ |
| 23 | |
| 24 | #ifdef __cplusplus |
| 25 | extern "C" { |
| 26 | #endif |
| 27 | |
| 28 | typedef structcxx . . $ $anonymous_type_7ca5847f2bc55948_0# { |
| 29 | grn_objcxx . . $ grn_obj# *proccxx . . $ $anonymous_type_7ca5847f2bc55948_0#proc.; |
| 30 | void *optionscxx . . $ $anonymous_type_7ca5847f2bc55948_0#options.; |
| 31 | grn_option_revisioncxx . . $ grn_option_revision# options_revisioncxx . . $ $anonymous_type_7ca5847f2bc55948_0#options_revision.; |
| 32 | grn_close_funccxx . . $ grn_close_func# options_close_funccxx . . $ $anonymous_type_7ca5847f2bc55948_0#options_close_func.; |
| 33 | grn_critical_sectioncxx . . $ grn_critical_section# lockcxx . . $ $anonymous_type_7ca5847f2bc55948_0#lock.; |
| 34 | } grn_table_modulecxx . . $ grn_table_module#; |
| 35 | |
| 36 | void |
| 37 | grn_table_module_initcxx . . $ grn_table_module_init(a126267325ea3924).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_table_modulecxx . . $ grn_table_module# *module, grn_idcxx . . $ grn_id# module_id); |
| 38 | void |
| 39 | grn_table_module_set_proccxx . . $ grn_table_module_set_proc(f803b1f1478a4c6c).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 40 | grn_table_modulecxx . . $ grn_table_module# *module, |
| 41 | grn_objcxx . . $ grn_obj# *proc); |
| 42 | void |
| 43 | grn_table_module_set_optionscxx . . $ grn_table_module_set_options(1fe92ee9cad215e9).(grn_ctxcxx . . $ grn_ctx# *ctx, |
| 44 | grn_table_modulecxx . . $ grn_table_module# *module, |
| 45 | void *options, |
| 46 | grn_option_revisioncxx . . $ grn_option_revision# revision, |
| 47 | grn_close_funccxx . . $ grn_close_func# close_func); |
| 48 | void |
| 49 | grn_table_module_fincxx . . $ grn_table_module_fin(ca6eb248c4ceb5d7).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_table_modulecxx . . $ grn_table_module# *module); |
| 50 | |
| 51 | void |
| 52 | grn_table_modules_initcxx . . $ grn_table_modules_init(cda3a5f3c2e53c6b).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_objcxx . . $ grn_obj# *modules_buffer); |
| 53 | void |
| 54 | grn_table_modules_fincxx . . $ grn_table_modules_fin(cda3a5f3c2e53c6b).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_objcxx . . $ grn_obj# *modules_buffer); |
| 55 | void |
| 56 | grn_table_modules_addcxx . . $ grn_table_modules_add(99eba0d3a8372d65).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_objcxx . . $ grn_obj# *modules_buffer, grn_objcxx . . $ grn_obj# *proc); |
| 57 | void |
| 58 | grn_table_modules_rewindcxx . . $ grn_table_modules_rewind(cda3a5f3c2e53c6b).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_objcxx . . $ grn_obj# *modules_buffer); |
| 59 | grn_table_modulecxx . . $ grn_table_module# * |
| 60 | grn_table_modules_get_modulecxx . . $ grn_table_modules_get_module(14b65aa6e49d0033).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_objcxx . . $ grn_obj# *modules_buffer, size_t i); |
| 61 | grn_objcxx . . $ grn_obj# * |
| 62 | grn_table_modules_get_proccxx . . $ grn_table_modules_get_proc(4cf6cb25ccc4ff8b).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_objcxx . . $ grn_obj# *modules_buffer, size_t i); |
| 63 | |
| 64 | #ifdef __cplusplus |
| 65 | } |
| 66 | #endif |