git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2911
d4fa192b-c00b-0410-8231-
f00ffab90ce4
varnishtest_LDADD = \
$(top_builddir)/lib/libvarnish/libvarnish.la \
$(top_builddir)/lib/libvarnishcompat/libvarnishcompat.la \
+ $(top_builddir)/lib/libvarnishapi/libvarnishapi.la \
${PTHREAD_LIBS}
EXTRA_DIST = $(top_srcdir)/bin/varnishtest/tests/*.vtc \
#include "vqueue.h"
#include "miniobj.h"
#include "libvarnish.h"
+#include "varnishapi.h"
#include "cli.h"
#include "cli_common.h"
#include "vss.h"
struct vtclog *vl1;
VTAILQ_ENTRY(varnish) list;
+ struct varnish_stats *stats;
+
const char *args;
int fds[4];
pid_t pid;
vsb_delete(vsb);
AZ(pthread_create(&v->tp, NULL, varnish_thread, v));
+ v->stats = VSL_OpenStats(v->name);
+
vtc_log(v->vl, 3, "opening CLI connection");
for (i = 0; i < 10; i++) {
(void)usleep(200000);