static void
connect_notify (void *cls,
- const struct GNUNET_PeerIdentity *peer,
- unsigned int bpm, struct GNUNET_TIME_Absolute last_activity)
+ const struct GNUNET_PeerIdentity *peer)
{
}
static void
disconnect_notify (void *cls,
- const struct GNUNET_PeerIdentity *peer,
- unsigned int bpm,
- struct GNUNET_TIME_Absolute last_activity)
+ const struct GNUNET_PeerIdentity *peer)
{
}
#if START_ARM
if (0 != PLIBC_KILL (p->arm_pid, SIGTERM))
GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill");
- if (p->arm_pid != waitpid (p->arm_pid, NULL, 0))
+ if (GNUNET_OS_process_wait(p->arm_pid) != GNUNET_OK)
GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid");
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"ARM process %u stopped\n", p->arm_pid);