]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/tdb2.h
tdb2: Internal error helpers.
[ccan] / ccan / tdb2 / tdb2.h
index 3e02c8037e16a65b89ba1254e7d8752fb5babdc8..4fd34e8b5574d0557abe7e5c9fae5b95cead990b 100644 (file)
@@ -111,7 +111,8 @@ enum TDB_ERROR {
        TDB_ERR_EXISTS  = -5,   /* The key already exists. */
        TDB_ERR_NOEXIST = -6,   /* The key does not exist. */
        TDB_ERR_EINVAL  = -7,   /* You're using it wrong. */
-       TDB_ERR_RDONLY  = -8    /* The database is read-only. */
+       TDB_ERR_RDONLY  = -8,   /* The database is read-only. */
+       TDB_ERR_LAST = TDB_ERR_RDONLY
 };
 
 /**