MINOR: dns: add DNS statistics
add a new command on the stats socket to print a DNS resolvers section
(including per server) statistics: "show stats resolvers <id>"
diff --git a/include/types/applet.h b/include/types/applet.h
index 5efeea5..ff82ef3 100644
--- a/include/types/applet.h
+++ b/include/types/applet.h
@@ -110,6 +110,9 @@
struct list wake_on_read;
struct list wake_on_write;
} hlua;
+ struct {
+ struct dns_resolvers *ptr;
+ } resolvers;
} ctx; /* used by stats I/O handlers to dump the stats */
};