git » nmdb » commit 8568296

Fix the sync prototypes in libnmdb/nmdb.h.

author Alberto Bertogli
2007-03-24 19:45:40 UTC
committer Alberto Bertogli
2007-03-24 19:45:40 UTC
parent ddebe0b5df9de488a7b7808bdd80e03bfe2b302a

Fix the sync prototypes in libnmdb/nmdb.h.

They should have been fixed long time ago, but nobody noticed.

libnmdb/nmdb.h +2 -2

diff --git a/libnmdb/nmdb.h b/libnmdb/nmdb.h
index 8d0a294..ea86356 100644
--- a/libnmdb/nmdb.h
+++ b/libnmdb/nmdb.h
@@ -29,13 +29,13 @@ ssize_t nmdb_cache_get(nmdb_t *db, const unsigned char *key, size_t ksize,
 
 int nmdb_set(nmdb_t *db, const unsigned char *key, size_t ksize,
 		const unsigned char *val, size_t vsize);
-int nmdb_set_async(nmdb_t *db, const unsigned char *key, size_t ksize,
+int nmdb_set_sync(nmdb_t *db, const unsigned char *key, size_t ksize,
 		const unsigned char *val, size_t vsize);
 int nmdb_cache_set(nmdb_t *db, const unsigned char *key, size_t ksize,
 		const unsigned char *val, size_t vsize);
 
 int nmdb_del(nmdb_t *db, const unsigned char *key, size_t ksize);
-int nmdb_del_async(nmdb_t *db, const unsigned char *key, size_t ksize);
+int nmdb_del_sync(nmdb_t *db, const unsigned char *key, size_t ksize);
 int nmdb_cache_del(nmdb_t *db, const unsigned char *key, size_t ksize);
 
 #endif