imessaging: Add irpc_all_servers() to list all available servers
commit3b4ef03097293f758d8f11cbe434063ed1dc6b91
authorAndrew Bartlett <abartlet@samba.org>
Mon, 29 Oct 2012 04:32:21 +0000 (29 15:32 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 30 Oct 2012 21:13:56 +0000 (31 08:13 +1100)
tree3f4cff477eca62c6fe37dfc20488d5923d581edd
parent39e58d6845ee4dab0e9ae1537fccaed837ead728
imessaging: Add irpc_all_servers() to list all available servers

This is implemented with a tdb_traverse_read(), and will allow a tool
to disover the name and server_id of all Samba processes, as each
process registers itself to recieve messages.

Andrew Bartlett
source4/lib/messaging/irpc.h
source4/lib/messaging/messaging.c
source4/librpc/idl/irpc.idl