Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/MariaDB/storage/mroonga/vendor/groonga/include/groonga/   (MariaDB Server Version 8.1-8.4©)  Datei vom 1.9.2026 mit Größe 2 kB image not shown  

Quelle  config.h   Sprache: C

 

/* -*- c-basic-offset: 2 -*- */
/*
  Copyright(C) 2015-2016 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-1335  USA
*/


#pragma once

#ifdef __cplusplus
extern "C" {
#endif

#define GRN_CONFIG_MAX_KEY_SIZE GRN_TABLE_MAX_KEY_SIZE
#define GRN_CONFIG_MAX_VALUE_SIZE                                         \
  (GRN_CONFIG_VALUE_SPACE_SIZE - sizeof(uint32_t) - 1) /* 1 is for '\0' */
#define GRN_CONFIG_VALUE_SPACE_SIZE (4 * 1024)

GRN_API grn_rc grn_config_set(grn_ctx *ctx,
                              const char *key, int32_t key_size,
                              const char *value, int32_t value_size);
GRN_API grn_rc grn_config_get(grn_ctx *ctx,
                              const char *key, int32_t key_size,
                              const char **value, uint32_t *value_size);


GRN_API grn_rc grn_config_delete(grn_ctx *ctx,
                                 const char *key, int32_t key_size);

GRN_API grn_obj *grn_config_cursor_open(grn_ctx *ctx);
GRN_API grn_bool grn_config_cursor_next(grn_ctx *ctx, grn_obj *cursor);
GRN_API uint32_t grn_config_cursor_get_key(grn_ctx *ctx,
                                           grn_obj *cursor,
                                           const char **key);
GRN_API uint32_t grn_config_cursor_get_value(grn_ctx *ctx,
                                             grn_obj *cursor,
                                             const char **value);

/* Deprecated since 5.1.2. Use GRN_CONFIG_* instead. */

#define GRN_CONF_MAX_KEY_SIZE     GRN_CONFIG_MAX_KEY_SIZE
#define GRN_CONF_MAX_VALUE_SIZE   GRN_CONFIG_MAX_VALUE_SIZE
#define GRN_CONF_VALUE_SPACE_SIZE GRN_CONFIG_VALUE_SPACE_SIZE

GRN_API grn_rc grn_conf_set(grn_ctx *ctx,
                            const char *key, int32_t key_size,
                            const char *value, int32_t value_size);
GRN_API grn_rc grn_conf_get(grn_ctx *ctx,
                            const char *key, int32_t key_size,
                            const char **value, uint32_t *value_size);

#ifdef __cplusplus
}
#endif

Messung V0.5 in Prozent
C=94 H=100 G=96

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet am  2026-10-08) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.