]> err.no Git - varnish/commitdiff
Add SHMLOG opening and walking functions to libvarnishapi
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 28 Jun 2006 20:58:03 +0000 (20:58 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 28 Jun 2006 20:58:03 +0000 (20:58 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@259 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/include/varnishapi.h
varnish-cache/lib/libvarnishapi/Makefile.am

index fe384fd48f9134498077747b0ffd6f5a215b71df..1574247d8268bd23b54051fc9da3b5ad69b9dd91 100644 (file)
@@ -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;
 
index 6baa51cd7db072d7430a3f8dde019d4d7b0d579f..f95a15fe517a935129cd799dc71edad4fc9063a9 100644 (file)
@@ -5,6 +5,9 @@ INCLUDES = -I$(top_srcdir)/include
 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