1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-16 00:23:52 +03:00

r23195: Add void *private_data to brl_forall

This commit is contained in:
Volker Lendecke
2007-05-29 13:26:44 +00:00
committed by Gerald (Jerry) Carter
parent 3c9fb1c6f3
commit c91b2bdc16
5 changed files with 39 additions and 30 deletions

View File

@@ -62,18 +62,6 @@ struct byte_range_lock {
struct db_record *record;
};
#define BRLOCK_FN_CAST() \
void (*)(struct file_id id, struct server_id pid, \
enum brl_type lock_type, \
enum brl_flavour lock_flav, \
br_off start, br_off size)
#define BRLOCK_FN(fn) \
void (*fn)(struct file_id id, struct server_id pid, \
enum brl_type lock_type, \
enum brl_flavour lock_flav, \
br_off start, br_off size)
/* Internal structure in brlock.tdb.
The data in brlock records is an unsorted linear array of these
records. It is unnecessary to store the count as tdb provides the