mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
3719bf2c2f
git-svn-id: file:///svn/toku/tokudb@43686 c7de825b-a66e-492c-adef-691d508d4ae1
30 lines
1.1 KiB
C
30 lines
1.1 KiB
C
#ifndef TOKU_YBT_H
|
|
#define TOKU_YBT_H
|
|
|
|
#ident "$Id$"
|
|
#ident "Copyright (c) 2007-2010 Tokutek Inc. All rights reserved."
|
|
#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
|
|
|
|
// fttypes.h must be first to make 64-bit file mode work right in linux.
|
|
#include "fttypes.h"
|
|
#include <db.h>
|
|
|
|
#if defined(__cplusplus) || defined(__cilkplusplus)
|
|
extern "C" {
|
|
#endif
|
|
|
|
DBT *toku_init_dbt(DBT *);
|
|
DBT *toku_init_dbt_flags(DBT *, uint32_t flags);
|
|
void toku_destroy_dbt(DBT *);
|
|
DBT *toku_fill_dbt(DBT *dbt, bytevec k, ITEMLEN len);
|
|
DBT *toku_copyref_dbt(DBT *dst, const DBT src);
|
|
DBT *toku_clone_dbt(DBT *dst, const DBT src);
|
|
int toku_dbt_set(ITEMLEN len, bytevec val, DBT *d, struct simple_dbt *sdbt);
|
|
int toku_dbt_set_value(DBT *, bytevec *val, ITEMLEN vallen, void **staticptrp, BOOL ybt1_disposable);
|
|
void toku_sdbt_cleanup(struct simple_dbt *sdbt);
|
|
|
|
#if defined(__cplusplus) || defined(__cilkplusplus)
|
|
}
|
|
#endif
|
|
|
|
#endif
|