r259 - in trunk/varnish-cache: include lib/libvarnishapi

phk at projects.linpro.no phk at projects.linpro.no
Wed Jun 28 22:58:04 CEST 2006


Author: phk
Date: 2006-06-28 22:58:03 +0200 (Wed, 28 Jun 2006)
New Revision: 259

Modified:
   trunk/varnish-cache/include/varnishapi.h
   trunk/varnish-cache/lib/libvarnishapi/Makefile.am
Log:
Add SHMLOG opening and walking functions to libvarnishapi


Modified: trunk/varnish-cache/include/varnishapi.h
===================================================================
--- trunk/varnish-cache/include/varnishapi.h	2006-06-28 17:46:04 UTC (rev 258)
+++ trunk/varnish-cache/include/varnishapi.h	2006-06-28 20:58:03 UTC (rev 259)
@@ -7,6 +7,11 @@
 
 #define V_DEAD __attribute__ ((noreturn))
 
+/* shmlog.c */
+struct shmloghead *VSL_OpenLog(void);
+unsigned char *VSL_NextLog(struct shmloghead *lh, unsigned char **pp);
+
+
 /* varnish_debug.c */
 void		 vdb_panic(const char *, ...) V_DEAD;
 

Modified: trunk/varnish-cache/lib/libvarnishapi/Makefile.am
===================================================================
--- trunk/varnish-cache/lib/libvarnishapi/Makefile.am	2006-06-28 17:46:04 UTC (rev 258)
+++ trunk/varnish-cache/lib/libvarnishapi/Makefile.am	2006-06-28 20:58:03 UTC (rev 259)
@@ -5,6 +5,9 @@
 lib_LTLIBRARIES = libvarnishapi.la
 
 libvarnishapi_la_SOURCES = \
-	varnish_debug.c \
-	varnish_log.c \
-	varnish_util.c
+	shmlog.c
+
+
+#	varnish_debug.c 
+#	varnish_log.c 
+#	varnish_util.c




More information about the varnish-commit mailing list