mariadb/include/tdb-internal.h
Bradley C. Kuszmaul 798429c3cb Fixes #2276. closes[t:2276]
git-svn-id: file:///svn/toku/tokudb@16801 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00

22 lines
730 B
C

#ifndef _TDB_INTERNAL_H
#define _TDB_INTERNAL_H
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "toku_list.h"
// 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.
//// 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;
//};
struct simple_dbt {
u_int32_t len;
void *data;
};
// end of _TDB_INTERNAL_H:
#endif