lib/libvarnishapi/vsl_dispatch.c
int
VSLQ_Flush(struct VSLQ *vslq, VSLQ_dispatch_f *func, void *priv)
{
	struct vtx *vtx;

	CHECK_OBJ_NOTNULL(vslq, VSLQ_MAGIC);

	while (!VTAILQ_EMPTY(&vslq->incomplete)) {
		vtx = VTAILQ_FIRST(&vslq->incomplete);
		CHECK_OBJ_NOTNULL(vtx, VTX_MAGIC);
		AZ(vtx->flags & VTX_F_COMPLETE);
		vtx_force(vslq, vtx, "flush");
	}

	return (vslq_process_ready(vslq, func, priv));
}
/* Flush any incomplete vtx held on to. Do callbacks if func != NULL */
Flush any incomplete vtx held on to. Do callbacks if func != NULL
Flush any incomplete vtx held on to . Do callbacks if func ! = NULL
int
VSLQ_Flush(struct VSLQ *vslq, VSLQ_dispatch_f *func, void *priv)
{
	struct vtx *vtx;
	CHECK_OBJ_NOTNULL(vslq, VSLQ_MAGIC);
	while (!VTAILQ_EMPTY(&vslq->incomplete)) {
		vtx = VTAILQ_FIRST(&vslq->incomplete);
		CHECK_OBJ_NOTNULL(vtx, VTX_MAGIC);
		AZ(vtx->flags & VTX_F_COMPLETE);
		vtx_force(vslq, vtx, "flush");
	}
	return (vslq_process_ready(vslq, func, priv));
}
int VSLQ_Flush ( struct VSLQ * vslq , VSLQ_dispatch_f * func , void * priv ) { struct vtx * vtx ; CHECK_OBJ_NOTNULL ( vslq , VSLQ_MAGIC ) ; while ( ! VTAILQ_EMPTY ( & vslq -> incomplete ) ) { vtx = VTAILQ_FIRST ( & vslq -> incomplete ) ; CHECK_OBJ_NOTNULL ( vtx , VTX_MAGIC ) ; AZ ( vtx -> flags & VTX_F_COMPLETE ) ; vtx_force ( vslq , vtx , " " ) ; } return ( vslq_process_ready ( vslq , func , priv ) ) ; }
Flush any incomplete vtx held on to.
Flush any incomplete vtx held on to .