static void
do_shutdown (void *cls)
{
+ (void) cls;
+
if (NULL != req_handle)
GNUNET_RPS_request_cancel (req_handle);
GNUNET_RPS_disconnect (rps_handle);
const struct GNUNET_PeerIdentity *recv_peers)
{
uint64_t i;
+ (void) cls;
req_handle = NULL;
for (i = 0; i < n; i++)
const struct GNUNET_PeerIdentity *recv_peers)
{
uint64_t i;
+ (void) cls;
if (0 == n)
{
{
static uint64_t num_peers;
static struct GNUNET_PeerIdentity zero_pid;
+ (void) cls;
+ (void) cfgfile;
rps_handle = GNUNET_RPS_connect (cfg);
if (NULL == rps_handle)
{
const struct GNUNET_RPS_Handle *h = cls;
const struct GNUNET_RPS_Request_Handle *req_handle = value;
+ (void) key;
send_request (h, req_handle->id, req_handle->num_peers);
return GNUNET_YES; /* continue iterating */
{
uint16_t msize = ntohs (msg->header.size);
uint32_t num_peers = ntohl (msg->num_peers);
+ (void) cls;
msize -= sizeof (struct GNUNET_RPS_CS_ReplyMessage);
if ( (msize / sizeof (struct GNUNET_PeerIdentity) != num_peers) ||
{
uint16_t msize = ntohs (msg->header.size);
uint32_t num_peers = ntohl (msg->num_peers);
+ (void) cls;
msize -= sizeof (struct GNUNET_RPS_CS_DEBUG_ViewReply);
if ( (msize / sizeof (struct GNUNET_PeerIdentity) != num_peers) ||