X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb2%2Fprivate.h;h=e2982bc5aac6cb49ac5c0118736f5c7b536e94c7;hp=75e49c8313fcee17d40f8fe01ecd7953c7305fb3;hb=04cf551d15ee93716aa0462adadc0a3891480813;hpb=aa12380008323e14f8d7dabe78b174b72f69e2dd;ds=inline diff --git a/ccan/tdb2/private.h b/ccan/tdb2/private.h index 75e49c83..e2982bc5 100644 --- a/ccan/tdb2/private.h +++ b/ccan/tdb2/private.h @@ -366,8 +366,8 @@ struct tdb_context { }; struct tdb_methods { - int (*read)(struct tdb_context *, tdb_off_t, void *, tdb_len_t); - int (*write)(struct tdb_context *, tdb_off_t, const void *, tdb_len_t); + int (*tread)(struct tdb_context *, tdb_off_t, void *, tdb_len_t); + int (*twrite)(struct tdb_context *, tdb_off_t, const void *, tdb_len_t); int (*oob)(struct tdb_context *, tdb_off_t, bool); int (*expand_file)(struct tdb_context *, tdb_len_t); void *(*direct)(struct tdb_context *, tdb_off_t, size_t, bool);