Groonga
Loading...
Searching...
No Matches
util.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2010-2017 Brazil
3 Copyright (C) 2023 Sutou Kouhei <kou@clear-code.com>
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#ifdef __cplusplus
23extern "C" {
24#endif
25
49grn_inspect(grn_ctx *ctx, grn_obj *buffer, grn_obj *obj);
52 grn_obj *buffer,
53 grn_obj *content,
54 const char *indent);
99 grn_obj *buffer,
100 grn_obj *obj,
101 const char *indent);
299grn_inspect_type(grn_ctx *ctx, grn_obj *buffer, unsigned char type);
350grn_inspect_query_log_flags(grn_ctx *ctx, grn_obj *buffer, unsigned int flags);
353 grn_obj *buffer,
354 grn_obj *table,
355 const void *key,
356 uint32_t key_size);
357
376GRN_API void
404GRN_API void
432GRN_API void
434
435#ifdef __cplusplus
436}
437#endif
#define GRN_API
Definition groonga.h:39
grn_encoding
Definition groonga.h:163
Definition groonga.h:351
Definition groonga.h:919
Definition geo.h:26
GRN_API grn_obj * grn_inspect_query_log_flags(grn_ctx *ctx, grn_obj *buffer, unsigned int flags)
Inspect the given query log flags and produce their names.
GRN_API grn_obj * grn_inspect_limited(grn_ctx *ctx, grn_obj *buffer, grn_obj *obj)
Inspect specified object and produce a length-limited textual representation.
GRN_API grn_obj * grn_inspect_name(grn_ctx *ctx, grn_obj *buffer, grn_obj *obj)
Inspect specified object and return the name of the specified object.
GRN_API grn_obj * grn_inspect_indented(grn_ctx *ctx, grn_obj *buffer, grn_obj *obj, const char *indent)
Inspect specified object and produce an indented textual representation.
GRN_API void grn_p_geo_point(grn_ctx *ctx, grn_geo_point *point)
Print inspected text of the given geo point.
GRN_API grn_obj * grn_inspect_key(grn_ctx *ctx, grn_obj *buffer, grn_obj *table, const void *key, uint32_t key_size)
GRN_API void grn_p_ii_values(grn_ctx *ctx, grn_obj *obj)
Print inspected text of the given index column values.
GRN_API grn_obj * grn_inspect_encoding(grn_ctx *ctx, grn_obj *buffer, grn_encoding encoding)
Inspect the given encoding and produce its name.
GRN_API void grn_p(grn_ctx *ctx, grn_obj *obj)
Print inspected text of the given object.
GRN_API grn_obj * grn_inspect_indent(grn_ctx *ctx, grn_obj *buffer, grn_obj *content, const char *indent)
GRN_API grn_obj * grn_inspect(grn_ctx *ctx, grn_obj *buffer, grn_obj *obj)
Inspect specified object and produce a textual representation.
GRN_API grn_obj * grn_inspect_type(grn_ctx *ctx, grn_obj *buffer, unsigned char type)
Inspect the given type and produce its name.