diff options
Diffstat (limited to 'src/include/rados/librados.h')
-rw-r--r-- | src/include/rados/librados.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/rados/librados.h b/src/include/rados/librados.h index 449aeebe41a..eaf43ab6339 100644 --- a/src/include/rados/librados.h +++ b/src/include/rados/librados.h @@ -693,6 +693,15 @@ int rados_objects_list_open(rados_ioctx_t io, rados_list_ctx_t *ctx); uint32_t rados_objects_list_get_pg_hash_position(rados_list_ctx_t ctx); /** + * Reposition object iterator to a different hash position + * + * @param ctx iterator marking where you are in the listing + * @param pos hash position to move to + * @returns actual (rounded) position we moved to + */ +uint32_t rados_objects_list_seek(rados_list_ctx_t ctx, uint32_t pos); + +/** * Get the next object name and locator in the pool * * *entry and *key are valid until next call to rados_objects_list_* |