]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/private.h
tdb2: shorten attribute members.
[ccan] / ccan / tdb2 / private.h
index 0a030d6e317e368fbf0d057a21ece3b28fd8a624..ab9dc35f76f3a15cb1e7a4716e9ef56359c4711f 100644 (file)
@@ -367,13 +367,13 @@ struct tdb_context {
        /* Logging function */
        void (*logfn)(struct tdb_context *tdb,
                      enum tdb_log_level level,
-                     void *log_private,
+                     void *data,
                      const char *message);
-       void *log_private;
+       void *log_data;
 
        /* Hash function. */
-       uint64_t (*khash)(const void *key, size_t len, uint64_t seed, void *);
-       void *hash_priv;
+       uint64_t (*hashfn)(const void *key, size_t len, uint64_t seed, void *);
+       void *hash_data;
        uint64_t hash_seed;
 
        /* Set if we are in a transaction. */