2013-04-17 00:00:59 -04:00
/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
# ident "$Id$"
2013-04-16 23:57:48 -04:00
# ifndef _TDB_INTERNAL_H
# define _TDB_INTERNAL_H
# ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
2013-04-16 23:58:57 -04:00
# include "toku_list.h"
2013-04-16 23:57:48 -04:00
// Included by db.h, defines some internal structures. These structures are inlined in some versions of db.h
// the types DB_TXN and so forth have been defined.
2013-04-16 23:58:57 -04:00
//// This list structure is repeated here (from toku_list.h) so that the db.h file will be standalone. Any code that depends on this list matching the structure in toku_list.h
//// will get flagged by the compiler if someone changes one but not the other. See #2276.
//struct toku_list {
// struct toku_list *next, *prev;
//};
2013-04-16 23:58:57 -04:00
2013-04-16 23:57:48 -04:00
struct simple_dbt {
2013-04-17 00:01:01 -04:00
uint32_t len ;
2013-04-16 23:57:48 -04:00
void * data ;
} ;
// end of _TDB_INTERNAL_H:
# endif