rados_pool_list

List pools

Gets a list of pool names as NULL-terminated strings. The pool names will be placed in the supplied buffer one after another. After the last pool name, there will be two 0 bytes in a row.

If len is too short to fit all the pool name entries we need, we will fill as much as we can.

@param cluster cluster handle @param buf output buffer @param len output buffer length @returns length of the buffer we would need to list all pools

extern (C)
int
rados_pool_list
(,
char* buf
,
size_t len
)

Meta