summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Farnum <gregf@hq.newdream.net>2009-11-20 10:47:42 -0800
committerGreg Farnum <gregf@hq.newdream.net>2009-12-01 17:32:38 -0800
commit15373402bc6021301c9d4eab687d59c5dac6a843 (patch)
tree8bb1aac54bdcee1c0d2e0c2962be75680de95b5c
parentae9edc8c067307920e8a48653f4f41b0e51f5f17 (diff)
downloadceph-15373402bc6021301c9d4eab687d59c5dac6a843.tar.gz
librados: minor comments
-rw-r--r--src/include/librados.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/librados.h b/src/include/librados.h
index 30f3691c365..ecce9ec04e9 100644
--- a/src/include/librados.h
+++ b/src/include/librados.h
@@ -45,8 +45,11 @@ struct rados_statfs_t {
int rados_open_pool(const char *name, rados_pool_t *pool);
int rados_close_pool(rados_pool_t pool);
void rados_set_snap(rados_pool_t pool, rados_snap_t snap);
+ /* After creating a new rados_list_ctx_t, call this to initialize it*/
void rados_pool_init_ctx(rados_list_ctx_t *ctx);
+ /* Once you've finished with a rados_list_ctx_t, call before you dump it*/
void rados_pool_close_ctx(rados_list_ctx_t *ctx);
+ /* Given a rados_list_ctx_t and its pool, get the next object in sequence*/
int rados_pool_list_next(rados_pool_t pool, const char **entry, rados_list_ctx_t *ctx);
/* snapshots */