summaryrefslogtreecommitdiff
path: root/lib/tdb2/tdb1_traverse.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-09-14 07:26:13 +0930
committerRusty Russell <rusty@rustcorp.com.au>2011-09-14 07:26:13 +0930
commit0b81b07110c463300431a09f24e67144f97ad8b0 (patch)
tree2663dd4f519a712cef4dd036d37d8d61abc5673e /lib/tdb2/tdb1_traverse.c
parente9fe56cdf3285295642db09b70b673d865551b4a (diff)
downloadsamba-0b81b07110c463300431a09f24e67144f97ad8b0.tar.gz
samba-0b81b07110c463300431a09f24e67144f97ad8b0.tar.bz2
samba-0b81b07110c463300431a09f24e67144f97ad8b0.zip
tdb2: remove _PUBLIC_ in tdb1 functions.
They'll all be accessed via the tdb2 API. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit 39f55294799c6443c0ad7bef09f1c113cf89d295)
Diffstat (limited to 'lib/tdb2/tdb1_traverse.c')
-rw-r--r--lib/tdb2/tdb1_traverse.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/tdb2/tdb1_traverse.c b/lib/tdb2/tdb1_traverse.c
index 515beb1f0d..ba1501279d 100644
--- a/lib/tdb2/tdb1_traverse.c
+++ b/lib/tdb2/tdb1_traverse.c
@@ -208,7 +208,7 @@ out:
/*
a write style traverse - temporarily marks the db read only
*/
-_PUBLIC_ int tdb1_traverse_read(struct tdb1_context *tdb,
+int tdb1_traverse_read(struct tdb1_context *tdb,
tdb1_traverse_func fn, void *private_data)
{
struct tdb1_traverse_lock tl = { NULL, 0, 0, F_RDLCK };
@@ -236,7 +236,7 @@ _PUBLIC_ int tdb1_traverse_read(struct tdb1_context *tdb,
WARNING: The data buffer given to the callback fn does NOT meet the
alignment restrictions malloc gives you.
*/
-_PUBLIC_ int tdb1_traverse(struct tdb1_context *tdb,
+int tdb1_traverse(struct tdb1_context *tdb,
tdb1_traverse_func fn, void *private_data)
{
struct tdb1_traverse_lock tl = { NULL, 0, 0, F_WRLCK };
@@ -261,7 +261,7 @@ _PUBLIC_ int tdb1_traverse(struct tdb1_context *tdb,
/* find the first entry in the database and return its key */
-_PUBLIC_ TDB1_DATA tdb1_firstkey(struct tdb1_context *tdb)
+TDB1_DATA tdb1_firstkey(struct tdb1_context *tdb)
{
TDB1_DATA key;
struct tdb1_record rec;
@@ -289,7 +289,7 @@ _PUBLIC_ TDB1_DATA tdb1_firstkey(struct tdb1_context *tdb)
}
/* find the next entry in the database, returning its key */
-_PUBLIC_ TDB1_DATA tdb1_nextkey(struct tdb1_context *tdb, TDB1_DATA oldkey)
+TDB1_DATA tdb1_nextkey(struct tdb1_context *tdb, TDB1_DATA oldkey)
{
uint32_t oldhash;
TDB1_DATA key = tdb1_null;