rados_ioctx_snap_list

List all the ids of pool snapshots

If the output array does not have enough space to fit all the snapshots, -ERANGE is returned and the caller should retry with a larger array.

@param io the pool to read from @param snaps where to store the results @param maxlen the number of rados_snap_t that fit in the snaps array @returns number of snapshots on success, negative error code on failure @returns -ERANGE is returned if the snaps array is too short

extern (C)
int
rados_ioctx_snap_list

Meta