|
Groonga 3.0.9 Source Code Document
|
#include "groonga_in.h"#include <string.h>#include "str.h"#include "db.h"#include "util.h"#include "output.h"
Go to the source code of this file.
Macros | |
| #define | LEVELS (&ctx->impl->levels) |
| #define | DEPTH (GRN_BULK_VSIZE(LEVELS)>>2) |
| #define | CURR_LEVEL (DEPTH ? (GRN_UINT32_VALUE_AT(LEVELS, (DEPTH - 1))) : 0) |
| #define | INCR_DEPTH(i) GRN_UINT32_PUT(ctx, LEVELS, i) |
| #define | DECR_DEPTH (DEPTH ? grn_bulk_truncate(ctx, LEVELS, GRN_BULK_VSIZE(LEVELS) - sizeof(uint32_t)) : 0) |
| #define | INCR_LENGTH (DEPTH ? (GRN_UINT32_VALUE_AT(LEVELS, (DEPTH - 1)) += 2) : 0) |
| #define | EQUAL_NAME_P(_name) |
| #define | DEFAULT_LIMIT 10 |
| #define | JSON_CALLBACK_PARAM "callback" |
Enumerations | |
| enum | xml_status { XML_START, XML_START_ELEMENT, XML_END_ELEMENT, XML_TEXT } |
| enum | xml_place { XML_PLACE_NONE, XML_PLACE_COLUMN, XML_PLACE_HIT } |
Functions | |
| void | grn_output_array_open (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, const char *name, int nelements) |
| void | grn_output_array_close (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type) |
| void | grn_output_map_open (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, const char *name, int nelements) |
| void | grn_output_map_close (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type) |
| void | grn_output_int32 (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, int value) |
| void | grn_output_int64 (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, int64_t value) |
| void | grn_output_uint64 (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, int64_t value) |
| void | grn_output_float (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, double value) |
| void | grn_output_str (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, const char *value, size_t value_len) |
| void | grn_output_cstr (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, const char *value) |
| void | grn_output_bool (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, grn_bool value) |
| void | grn_output_time (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, int64_t value) |
| void | grn_output_geo_point (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, grn_geo_point *value) |
| void | grn_output_obj (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, grn_obj *obj, grn_obj_format *format) |
| void | grn_output_envelope (grn_ctx *ctx, grn_rc rc, grn_obj *head, grn_obj *body, grn_obj *foot, const char *file, int line) |
| #define CURR_LEVEL (DEPTH ? (GRN_UINT32_VALUE_AT(LEVELS, (DEPTH - 1))) : 0) |
| #define DECR_DEPTH (DEPTH ? grn_bulk_truncate(ctx, LEVELS, GRN_BULK_VSIZE(LEVELS) - sizeof(uint32_t)) : 0) |
| #define DEFAULT_LIMIT 10 |
| #define DEPTH (GRN_BULK_VSIZE(LEVELS)>>2) |
| #define EQUAL_NAME_P | ( | _name | ) |
| #define INCR_DEPTH | ( | i | ) | GRN_UINT32_PUT(ctx, LEVELS, i) |
| #define INCR_LENGTH (DEPTH ? (GRN_UINT32_VALUE_AT(LEVELS, (DEPTH - 1)) += 2) : 0) |
| enum xml_place |
| enum xml_status |
| void grn_output_array_close | ( | grn_ctx * | ctx, |
| grn_obj * | outbuf, | ||
| grn_content_type | output_type | ||
| ) |
| void grn_output_array_open | ( | grn_ctx * | ctx, |
| grn_obj * | outbuf, | ||
| grn_content_type | output_type, | ||
| const char * | name, | ||
| int | nelements | ||
| ) |
| void grn_output_bool | ( | grn_ctx * | ctx, |
| grn_obj * | outbuf, | ||
| grn_content_type | output_type, | ||
| grn_bool | value | ||
| ) |
| void grn_output_cstr | ( | grn_ctx * | ctx, |
| grn_obj * | outbuf, | ||
| grn_content_type | output_type, | ||
| const char * | value | ||
| ) |
| void grn_output_float | ( | grn_ctx * | ctx, |
| grn_obj * | outbuf, | ||
| grn_content_type | output_type, | ||
| double | value | ||
| ) |
| void grn_output_geo_point | ( | grn_ctx * | ctx, |
| grn_obj * | outbuf, | ||
| grn_content_type | output_type, | ||
| grn_geo_point * | value | ||
| ) |
| void grn_output_int32 | ( | grn_ctx * | ctx, |
| grn_obj * | outbuf, | ||
| grn_content_type | output_type, | ||
| int | value | ||
| ) |
| void grn_output_int64 | ( | grn_ctx * | ctx, |
| grn_obj * | outbuf, | ||
| grn_content_type | output_type, | ||
| int64_t | value | ||
| ) |
| void grn_output_map_close | ( | grn_ctx * | ctx, |
| grn_obj * | outbuf, | ||
| grn_content_type | output_type | ||
| ) |
| void grn_output_map_open | ( | grn_ctx * | ctx, |
| grn_obj * | outbuf, | ||
| grn_content_type | output_type, | ||
| const char * | name, | ||
| int | nelements | ||
| ) |
| void grn_output_obj | ( | grn_ctx * | ctx, |
| grn_obj * | outbuf, | ||
| grn_content_type | output_type, | ||
| grn_obj * | obj, | ||
| grn_obj_format * | format | ||
| ) |
| void grn_output_str | ( | grn_ctx * | ctx, |
| grn_obj * | outbuf, | ||
| grn_content_type | output_type, | ||
| const char * | value, | ||
| size_t | value_len | ||
| ) |
| void grn_output_time | ( | grn_ctx * | ctx, |
| grn_obj * | outbuf, | ||
| grn_content_type | output_type, | ||
| int64_t | value | ||
| ) |
| void grn_output_uint64 | ( | grn_ctx * | ctx, |
| grn_obj * | outbuf, | ||
| grn_content_type | output_type, | ||
| int64_t | value | ||
| ) |
1.8.1.2