hamsterdb_int.h
来自「About: hamsterdb is a database engine w」· C头文件 代码 · 共 58 行
H
58 行
/** * \file hamsterdb_int.h * \brief Internal hamsterdb functions. * \author Christoph Rupp, chris@crupp.de * * Copyright (C) 2005-2007 Christoph Rupp (chris@crupp.de). * All rights reserved. See file LICENSE for licence and copyright * information. * */#ifndef HAM_HAMSTERDB_INT_H__#define HAM_HAMSTERDB_INT_H__#ifdef __cplusplusextern "C" {#endif #include <ham/hamsterdb.h>/** * a callback function for dump - dumps a single key to stdout */typedef void (*ham_dump_cb_t)(const ham_u8_t *key, ham_size_t keysize);/** * dump the whole tree to stdout * * @remark you can pass a callback function pointer, or NULL for the default * function (dumps the first 16 bytes of the key) * * @remark This function returns HAM_NOT_IMPLEMENTED unless hamsterdb * was built with HAM_ENABLE_INTERNAL (run ./configure --enable-internal) * * @remark set 'reserved' to NULL */HAM_EXPORT ham_status_tham_dump(ham_db_t *db, void *reserved, ham_dump_cb_t cb);/** * verify the whole tree - this is only useful when you debug hamsterdb * * @remark This function returns HAM_NOT_IMPLEMENTED unless hamsterdb * was built with HAM_ENABLE_INTERNAL (run ./configure --enable-internal) * * @remark set 'reserved' to NULL */HAM_EXPORT ham_status_tham_check_integrity(ham_db_t *db, void *reserved);#ifdef __cplusplus} // extern "C"#endif #endif /* HAM_HAMSTERDB_INT_H__ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?