int
Peers_check_channel_flag (uint32_t *channel_flags, enum Peers_ChannelFlags flags);
+/**
+ * @brief Callback for the scheduler to destroy the knowledge of a peer.
+ *
+ * @param cls Context of the peer
+ */
static void
destroy_peer (void *cls)
{
destroy_channel (void *cls);
+/**
+ * @brief Schedule the destruction of the given channel.
+ *
+ * Do so only if it was not already scheduled and not during shutdown.
+ *
+ * @param channel_ctx The context of the channel to destroy.
+ */
static void
schedule_channel_destruction (struct ChannelCtx *channel_ctx)
{
}
+/**
+ * @brief Schedule the destruction of the given peer.
+ *
+ * Do so only if it was not already scheduled and not during shutdown.
+ *
+ * @param peer_ctx The context of the peer to destroy.
+ */
static void
schedule_peer_destruction (struct PeerContext *peer_ctx)
{
return GNUNET_NO;
}
+/**
+ * @brief Callback for scheduler to destroy a channel
+ *
+ * @param cls Context of the channel
+ */
static void
destroy_channel (void *cls)
{