| 1 | /* |
| 2 | Copyright(C) 2015-2018 Brazil |
| 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_ctx.h" |
| 22 | |
| 23 | #ifdef __cplusplus |
| 24 | extern "C" { |
| 25 | #endif |
| 26 | |
| 27 | extern const grn_log_level GRN_REPORT_INDEX_LOG_LEVEL; |
| 28 | |
| 29 | void grn_report_index(grn_ctx *ctx, |
| 30 | const char *action, |
| 31 | const char *tag, |
| 32 | grn_obj *index); |
| 33 | |
| 34 | void grn_report_index_not_used(grn_ctx *ctx, |
| 35 | const char *action, |
| 36 | const char *tag, |
| 37 | grn_obj *index, |
| 38 | const char *reason); |
| 39 | |
| 40 | void grn_report_table(grn_ctx *ctx, |
| 41 | const char *action, |
| 42 | const char *tag, |
| 43 | grn_obj *table); |
| 44 | |
| 45 | void grn_report_column(grn_ctx *ctx, |
| 46 | const char *action, |
| 47 | const char *tag, |
| 48 | grn_obj *column); |
| 49 | |
| 50 | void grn_report_accessor(grn_ctx *ctx, |
| 51 | const char *action, |
| 52 | const char *tag, |
| 53 | grn_obj *accessor); |
| 54 | |
| 55 | #ifdef __cplusplus |
| 56 | } |
| 57 | #endif |