mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-11 15:40:24 +00:00
772d1dfa77
v0.3.0 adds support for rbd.FeatureSet that can be used to parse the features of an RBD image. This will be used in the followup commit that adds rbdVolume.getImageInfo(). Signed-off-by: Niels de Vos <ndevos@redhat.com>
14 lines
273 B
Go
14 lines
273 B
Go
package rbd
|
|
|
|
/*
|
|
|
|
#include <rbd/librbd.h>
|
|
|
|
extern int diffIterateCallback(uint64_t ofs, size_t len, int exists, int index);
|
|
|
|
int callDiffIterateCallback(uint64_t ofs, size_t len, int exists, int index) {
|
|
return diffIterateCallback(ofs, len, exists, index);
|
|
}
|
|
*/
|
|
import "C"
|