mariadb/newbrt/ybt.h
Bradley C. Kuszmaul 0dca556c4f More work on making compare_fun
git-svn-id: file:///svn/tokudb@35 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-24 11:13:42 +00:00

14 lines
380 B
C

#ifndef YBT_H
#define YBT_H
// brttypes.h must be first to make 64-bit file mode work right in linux.
#include "brttypes.h"
#include "../include/db.h"
DBT* init_dbt (DBT *);
DBT *fill_dbt(DBT *dbt, bytevec k, ITEMLEN len);
DBT *fill_dbt_ap(DBT *dbt, bytevec k, ITEMLEN len, void *app_private);
int ybt_set_value (DBT *, bytevec val, ITEMLEN vallen, void **staticptrp);
#endif