summaryrefslogtreecommitdiffstats
path: root/xlators/storage/bdb/src/bdb.h
diff options
context:
space:
mode:
authorBasavanagowda Kanur <gowda@gluster.com>2009-04-13 04:47:39 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-04-13 10:26:37 +0530
commitec06475f22db2a3683167c5ffbe236c8e4aaf0ab (patch)
tree316b286f25958ab142125fe86f5984bd32a8da18 /xlators/storage/bdb/src/bdb.h
parent945f438d393297cf72a3157532625b6b02e87268 (diff)
changes to database read interface, to make use of a given buffer instead of allocating internally.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/storage/bdb/src/bdb.h')
-rw-r--r--xlators/storage/bdb/src/bdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/bdb/src/bdb.h b/xlators/storage/bdb/src/bdb.h
index e25978cc6..ffdadd1cc 100644
--- a/xlators/storage/bdb/src/bdb.h
+++ b/xlators/storage/bdb/src/bdb.h
@@ -443,7 +443,7 @@ bdb_db_get(struct bdb_ctx *bctx,
off_t offset);
*/
int32_t
-bdb_db_fread (struct bdb_fd *bfd, char **bufp, size_t size, off_t offset);
+bdb_db_fread (struct bdb_fd *bfd, char *bufp, size_t size, off_t offset);
int32_t
bdb_db_iread (struct bdb_ctx *bctx, const char *key, char **bufp);