diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-10-23 13:51:03 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-10-23 18:27:20 +0200 |
commit | 3b62e250c066f44d0ab08a7db037b6b4f74a914b (patch) | |
tree | f51002dff1175c7ce97902eeb36f909da3aab5d0 /lib/tdb/common/check.c | |
parent | 4f8826ff7f4789c5b5f363b733a42053f72aa526 (diff) | |
download | samba-3b62e250c066f44d0ab08a7db037b6b4f74a914b.tar.gz samba-3b62e250c066f44d0ab08a7db037b6b4f74a914b.tar.bz2 samba-3b62e250c066f44d0ab08a7db037b6b4f74a914b.zip |
tdb: rename 'struct list_struct' into 'struct tdb_record'
metze
Diffstat (limited to 'lib/tdb/common/check.c')
-rw-r--r-- | lib/tdb/common/check.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/tdb/common/check.c b/lib/tdb/common/check.c index 94240bbed1..4924734fdd 100644 --- a/lib/tdb/common/check.c +++ b/lib/tdb/common/check.c @@ -63,7 +63,7 @@ corrupt: /* Generic record header check. */ static bool tdb_check_record(struct tdb_context *tdb, tdb_off_t off, - const struct list_struct *rec) + const struct tdb_record *rec) { tdb_off_t tailer; @@ -228,7 +228,7 @@ static void record_offset(unsigned char bits[], tdb_off_t off) /* Check that an in-use record is valid. */ static bool tdb_check_used_record(struct tdb_context *tdb, tdb_off_t off, - const struct list_struct *rec, + const struct tdb_record *rec, unsigned char **hashes, int (*check)(TDB_DATA, TDB_DATA, void *), void *private_data) @@ -287,7 +287,7 @@ fail_put_key: /* Check that an unused record is valid. */ static bool tdb_check_free_record(struct tdb_context *tdb, tdb_off_t off, - const struct list_struct *rec, + const struct tdb_record *rec, unsigned char **hashes) { if (!tdb_check_record(tdb, off, rec)) @@ -308,7 +308,7 @@ int tdb_check(struct tdb_context *tdb, unsigned int h; unsigned char **hashes; tdb_off_t off, recovery_start; - struct list_struct rec; + struct tdb_record rec; bool found_recovery = false; if (tdb_lockall(tdb) == -1) |