2007-07-13 19:37:47 +00:00
|
|
|
#ifndef YBT_H
|
|
|
|
#define YBT_H
|
|
|
|
|
2007-11-29 14:18:54 +00:00
|
|
|
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
|
|
|
|
|
2007-07-13 19:37:47 +00:00
|
|
|
// brttypes.h must be first to make 64-bit file mode work right in linux.
|
|
|
|
#include "brttypes.h"
|
|
|
|
#include "../include/db.h"
|
|
|
|
|
|
|
|
|
2007-11-29 15:17:46 +00:00
|
|
|
DBT* toku_init_dbt (DBT *);
|
|
|
|
DBT *toku_fill_dbt(DBT *dbt, bytevec k, ITEMLEN len);
|
2013-04-16 23:57:41 -04:00
|
|
|
int toku_dbt_set (ITEMLEN len, bytevec val, DBT *d, struct simple_dbt *sdbt);
|
2008-05-24 17:22:14 +00:00
|
|
|
int toku_dbt_set_value (DBT *, bytevec *val, ITEMLEN vallen, void **staticptrp, BOOL ybt1_disposable);
|
2013-04-16 23:57:41 -04:00
|
|
|
void toku_sdbt_cleanup(struct simple_dbt *sdbt);
|
2007-11-14 17:58:38 +00:00
|
|
|
|
2007-07-13 19:37:47 +00:00
|
|
|
#endif
|