I'm trying to get the list of nodes in a cluster using only the C API.
More or less what the following shell command returns, but from C API
rabbitmqctl cluster_status -n rabbit@<remote hostname>
I'd like to avoid calling rabbitmqctl
from the C with system()
or popoen()
or whatever as I want to avoid having a dependency on the rabbitmq server package on the client side.
Any hint ?