Commit fc5adc10 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add SHMLOG opening and walking functions to libvarnishapi


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@259 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent ac23ad9f
...@@ -7,6 +7,11 @@ ...@@ -7,6 +7,11 @@
#define V_DEAD __attribute__ ((noreturn)) #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 */ /* varnish_debug.c */
void vdb_panic(const char *, ...) V_DEAD; void vdb_panic(const char *, ...) V_DEAD;
......
...@@ -5,6 +5,9 @@ INCLUDES = -I$(top_srcdir)/include ...@@ -5,6 +5,9 @@ INCLUDES = -I$(top_srcdir)/include
lib_LTLIBRARIES = libvarnishapi.la lib_LTLIBRARIES = libvarnishapi.la
libvarnishapi_la_SOURCES = \ libvarnishapi_la_SOURCES = \
varnish_debug.c \ shmlog.c
varnish_log.c \
varnish_util.c
# varnish_debug.c
# varnish_log.c
# varnish_util.c
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment