]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/private.h
tdb2: rename ->read and ->write functions.
[ccan] / ccan / tdb2 / private.h
index 75e49c8313fcee17d40f8fe01ecd7953c7305fb3..e2982bc5aac6cb49ac5c0118736f5c7b536e94c7 100644 (file)
@@ -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);