this function was added by
df507cde8d. but the declaration was not added
to the header file.
this change silences following warning:
build/src/pybind/cephfs/pyrex/cephfs.c:6647:25: warning: implicit declaration of function 'ceph_getaddrs'; did you mean 'ceph_getxattr'? [-Wimplicit-function-declaration]
__pyx_v_ret = ceph_getaddrs(__pyx_v_self->cluster, (&__pyx_v_addrs));
^~~~~~~~~~~~~
ceph_getxattr
Signed-off-by: Kefu Chai <kchai@redhat.com>
*/
void ceph_shutdown(struct ceph_mount_info *cmount);
+/**
+ * Return associated client addresses
+ *
+ * @param cmount the mount handle
+ * @param addrs the output addresses
+ * @returns 0 on success, a negative error code on failure
+ * @note the returned addrs should be free by the caller
+ */
+int ceph_getaddrs(struct ceph_mount_info *cmount, char** addrs);
+
/**
* Get a global id for current instance
*