From 014ca657e600ee2b3b4dc9d2ef482d050cd0917d Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 14 Sep 2011 07:57:13 +0930 Subject: tdb2: unify tdb1_parse_record into tdb_parse_record Switch on the TDB_VERSION1 flag. Signed-off-by: Rusty Russell (Imported from CCAN commit 3352e4e947777d4a90a2dd4f3037e1e494231b25) --- lib/tdb2/tdb1.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/tdb2/tdb1.h') diff --git a/lib/tdb2/tdb1.h b/lib/tdb2/tdb1.h index 75cf39d7e1..f0536f986d 100644 --- a/lib/tdb2/tdb1.h +++ b/lib/tdb2/tdb1.h @@ -38,11 +38,6 @@ void tdb1_set_max_dead(struct tdb_context *tdb, int max_dead); -int tdb1_parse_record(struct tdb_context *tdb, TDB_DATA key, - int (*parser)(TDB_DATA key, TDB_DATA data, - void *private_data), - void *private_data); - TDB_DATA tdb1_firstkey(struct tdb_context *tdb); TDB_DATA tdb1_nextkey(struct tdb_context *tdb, TDB_DATA key); -- cgit