r4936 - trunk/varnish-cache/lib/libvarnishapi

phk at varnish-cache.org phk at varnish-cache.org
Tue Jun 8 12:35:15 CEST 2010


Author: phk
Date: 2010-06-08 12:35:14 +0200 (Tue, 08 Jun 2010)
New Revision: 4936

Modified:
   trunk/varnish-cache/lib/libvarnishapi/vsc.c
   trunk/varnish-cache/lib/libvarnishapi/vslapi.h
   trunk/varnish-cache/lib/libvarnishapi/vsm.c
Log:
One more vsl->vsc rename



Modified: trunk/varnish-cache/lib/libvarnishapi/vsc.c
===================================================================
--- trunk/varnish-cache/lib/libvarnishapi/vsc.c	2010-06-08 10:31:30 UTC (rev 4935)
+++ trunk/varnish-cache/lib/libvarnishapi/vsc.c	2010-06-08 10:35:14 UTC (rev 4936)
@@ -54,7 +54,7 @@
 static int
 vsc_sf_arg(struct VSM_data *vd, const char *opt)
 {
-	struct vsl_sf *sf;
+	struct vsc_sf *sf;
 	char **av, *q, *p;
 	int i;
 
@@ -179,7 +179,7 @@
 iter_call(const struct VSM_data *vd, vsc_iter_f *func, void *priv,
     const struct vsc_point *const sp)
 {
-	struct vsl_sf *sf;
+	struct vsc_sf *sf;
 	int good = vd->sf_init;
 
 	if (VTAILQ_EMPTY(&vd->sf_list))

Modified: trunk/varnish-cache/lib/libvarnishapi/vslapi.h
===================================================================
--- trunk/varnish-cache/lib/libvarnishapi/vslapi.h	2010-06-08 10:31:30 UTC (rev 4935)
+++ trunk/varnish-cache/lib/libvarnishapi/vslapi.h	2010-06-08 10:35:14 UTC (rev 4936)
@@ -33,10 +33,10 @@
 #define			SLEEP_USEC	(50*1000)
 #define			TIMEOUT_USEC	(5*1000*1000)
 
-struct vsl_sf {
+struct vsc_sf {
 	unsigned		magic;
 #define VSL_SF_MAGIC		0x558478dd
-	VTAILQ_ENTRY(vsl_sf)	next;
+	VTAILQ_ENTRY(vsc_sf)	next;
 	int			flags;
 #define VSL_SF_EXCL		(1 << 0)
 #define VSL_SF_CL_WC		(1 << 1)
@@ -68,7 +68,7 @@
 	/* Stuff relating the stats fields start here */
 
 	int			sf_init;
-	VTAILQ_HEAD(, vsl_sf)	sf_list;
+	VTAILQ_HEAD(, vsc_sf)	sf_list;
 
 	/* Stuff relating the log records below here */
 

Modified: trunk/varnish-cache/lib/libvarnishapi/vsm.c
===================================================================
--- trunk/varnish-cache/lib/libvarnishapi/vsm.c	2010-06-08 10:31:30 UTC (rev 4935)
+++ trunk/varnish-cache/lib/libvarnishapi/vsm.c	2010-06-08 10:35:14 UTC (rev 4936)
@@ -139,7 +139,7 @@
 void
 VSM_Delete(struct VSM_data *vd)
 {
-	struct vsl_sf *sf;
+	struct vsc_sf *sf;
 
 	CHECK_OBJ_NOTNULL(vd, VSM_MAGIC);
 	VSM_Close(vd);




More information about the varnish-commit mailing list