leveldb/c.h

bitcoin · src/leveldb/include/leveldb/c.h · c · MIT
database, tag:embed-classified

C API header for LevelDB, exposing opaque types and functions for database operations.

// Source: https://github.com/bitcoin/bitcoin | License: MIT | Copyright 2009-2026 The Bitcoin Core developers
// Provided via justclaw.it.com; keep this notice with the code.
/* Copyright (c) 2011 The LevelDB Authors. All rights reserved.
  Use of this source code is governed by a BSD-style license that can be
  found in the LICENSE file. See the AUTHORS file for names of contributors.

  C bindings for leveldb.  May be useful as a stable ABI that can be
  used by programs that keep leveldb in a shared library, or for
  a JNI api.

  Does not support:
  . getters for the option types
  . custom comparators that implement key shortening
  . custom iter, db, env, cache implementations using just the C bindings

  Some conventions:

  (1) We expose just opaque struct pointers and functions t

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key