Sha256: 907f05a5d84a3d2a0ca8832d12e94dee4d475c5e45538bdd316d8a01950262e1

Contents?: true

Size: 1.57 KB

Versions: 6

Compression:

Stored size: 1.57 KB

Contents

/* -*- c-basic-offset: 2 -*- */
/*
  Copyright(C) 2018 Brazil

  This library is free software; you can redistribute it and/or
  modify it under the terms of the GNU Lesser General Public
  License version 2.1 as published by the Free Software Foundation.

  This library is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public
  License along with this library; if not, write to the Free Software
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
*/

#pragma once

#include <groonga.h>
#include <msgpack.h>

#ifdef __cplusplus
extern "C" {
#endif

#define GRN_MSGPACK_OBJECT_EXT_TIME 0

grn_rc grn_msgpack_pack_raw(grn_ctx *ctx,
                            msgpack_packer *packer,
                            const char *value,
                            unsigned int value_size,
                            grn_id value_domain);

grn_rc grn_msgpack_pack(grn_ctx *ctx,
                        msgpack_packer *packer,
                        grn_obj *value);

grn_rc grn_msgpack_unpack_array(grn_ctx *ctx,
                                msgpack_object_array *array,
                                grn_obj *vector);
# if MSGPACK_VERSION_MAJOR >= 1
int64_t grn_msgpack_unpack_ext_time(grn_ctx *ctx,
                                    msgpack_object_ext *ext);
# endif /* MSGPACK_VERSION_MAJOR >= 1 */

#ifdef __cplusplus
}
#endif

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rroonga-9.0.7-x64-mingw32 vendor/local/include/groonga/groonga/msgpack.h
rroonga-9.0.7-x86-mingw32 vendor/local/include/groonga/groonga/msgpack.h
rroonga-9.0.3-x64-mingw32 vendor/local/include/groonga/groonga/msgpack.h
rroonga-9.0.3-x86-mingw32 vendor/local/include/groonga/groonga/msgpack.h
rroonga-9.0.2-x64-mingw32 vendor/local/include/groonga/groonga/msgpack.h
rroonga-9.0.2-x86-mingw32 vendor/local/include/groonga/groonga/msgpack.h