Esempio n. 1
0
static void
httpd_client_delete(gpointer data, G_GNUC_UNUSED gpointer user_data)
{
	struct httpd_client *client = data;

	httpd_client_free(client);
}
/**
 * Frees the client and removes it from the server's client list.
 */
static void
httpd_client_close(struct httpd_client *client)
{
	assert(client != NULL);

	httpd_output_remove_client(client->httpd, client);
	httpd_client_free(client);
}