rados_list_lockers

List clients that have locked the named object lock and information about the lock.

The number of bytes required in each buffer is put in the corresponding size out parameter. If any of the provided buffers are too short, -ERANGE is returned after these sizes are filled in.

@param io the context to operate in @param o the name of the object @param name the name of the lock @param exclusive where to store whether the lock is exclusive (1) or shared (0) @param tag where to store the tag associated with the object lock @param tag_len number of bytes in tag buffer @param clients buffer in which locker clients are stored, separated by '\0' @param clients_len number of bytes in the clients buffer @param cookies buffer in which locker cookies are stored, separated by '\0' @param cookies_len number of bytes in the cookies buffer @param addrs buffer in which locker addresses are stored, separated by '\0' @param addrs_len number of bytes in the clients buffer @returns number of lockers on success, negative error code on failure @returns -ERANGE if any of the buffers are too short

extern (C)
ssize_t
rados_list_lockers
(,
const(char)* o
,
const(char)* name
,,
char* tag
,
size_t* tag_len
,
char* clients
,
size_t* clients_len
,
char* cookies
,
size_t* cookies_len
,
char* addrs
,
size_t* addrs_len
)

Meta