FreeBSD/usr.sbin/jail/state.c
/*
 * Move a jail to a new list.
 */
Move a jail to a new list.
Move a jail to a new list .
void
requeue(struct cfjail *j, struct cfjails *queue)
{
	if (j->queue != queue) {
		TAILQ_REMOVE(j->queue, j, tq);
		TAILQ_INSERT_TAIL(queue, j, tq);
		j->queue = queue;
	}
}
void requeue ( struct cfjail * j , struct cfjails * queue ) { if ( j -> queue != queue ) { TAILQ_REMOVE ( j -> queue , j , tq ) ; TAILQ_INSERT_TAIL ( queue , j , tq ) ; j -> queue = queue ; } }
Move a jail to a new list.
Move a jail to a new list .