1/* -*- c-basic-offset: 2 -*- */
2/*
3 Copyright(C) 2015-2016 Brazil
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 version 2.1 as published by the Free Software Foundation.
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
24extern "C" {
25#endif
26
27extern const grn_log_level GRN_REPORT_INDEX_LOG_LEVEL;
28
29void grn_report_index(grn_ctx *ctx,
30 const char *action,
31 const char *tag,
32 grn_obj *index);
33
34void 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
40void grn_report_table(grn_ctx *ctx,
41 const char *action,
42 const char *tag,
43 grn_obj *table);
44
45#ifdef __cplusplus
46}
47#endif
48