Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 9f1cdbeeb5
Fetching contributors…

Cannot retrieve contributors at this time

68 lines (55 sloc) 1.225 kB
/* XXX: Copyright ?? */
#include "config.h"
#include <stdio.h>
#define P(x, ...) printf(x "\n", ##__VA_ARGS__)
#define VSC_F(n, t, l, f, e, d) printf("%s%s\n\t%s\n\n", #n, e, d);
int main(int argc, char **argv)
{
(void)argc;
(void)argv;
P("================");
P("varnish-counters");
P("================");
P("");
P("---------------------------------");
P("Varnish counter field definitions");
P("---------------------------------");
P(":Author: Tollef Fog Heen");
P(":Date: 2011-09-20");
P(":Version: 1.0");
P(":Manual section: 7");
P("");
P("MAIN COUNTERS");
P("=============");
P("");
#include "tbl/vsc_f_main.h"
P("");
P("LOCK COUNTERS");
P("=============");
P("");
#define VSC_DO_LCK
#include "tbl/vsc_fields.h"
#undef VSC_DO_LCK
P("");
P("PER MALLOC STORAGE COUNTERS");
P("===========================");
P("");
#define VSC_DO_SMA
#include "tbl/vsc_fields.h"
#undef VSC_DO_SMA
P("");
P("PER FILE STORAGE COUNTERS");
P("=========================");
P("");
#define VSC_DO_SMF
#include "tbl/vsc_fields.h"
#undef VSC_DO_SMF
P("");
P("PER BACKEND COUNTERS");
P("====================");
P("");
#define VSC_DO_VBE
#include "tbl/vsc_fields.h"
#undef VSC_DO_VBE
return (0);
}
Jump to Line
Something went wrong with that request. Please try again.