コード例 #1
0
ファイル: hosts.c プロジェクト: Haxe/gtk-gnutella
void
host_close(void)
{
	pcache_close();
	free_networks();
	aging_destroy(&node_connects);
}
コード例 #2
0
ファイル: udp.c プロジェクト: MrJoe/gtk-gnutella
/**
 * Final cleanup when application terminates.
 */
void
udp_close(void)
{
	if (udp_pings) {
		udp_ping_expire(TRUE);
		hash_list_free(&udp_pings);
	}

	cq_periodic_remove(&udp_ping_ev);
	aging_destroy(&udp_aging_pings);
}
コード例 #3
0
ファイル: node.c プロジェクト: graaff/gtk-gnutella
/**
 * Shutdown.
 */
void G_COLD
g2_node_close(void)
{
	aging_destroy(&g2_udp_pings);
}