aboutsummaryrefslogtreecommitdiffstats
path: root/gg_sniff/dns.c
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2012-12-14 08:04:33 +0100
committerLaurent Ghigonis <laurent@p1sec.com>2012-12-14 08:04:33 +0100
commit88e39aaf73a98f7aed5a3000c9c535bcbf671913 (patch)
tree75d61f1237511a31f4f37268d78b0ead2d732880 /gg_sniff/dns.c
parentmove TODO to a separate file (diff)
downloadglouglou-88e39aaf73a98f7aed5a3000c9c535bcbf671913.tar.xz
glouglou-88e39aaf73a98f7aed5a3000c9c535bcbf671913.zip
add comments on doc about dns with libevent
Diffstat (limited to 'gg_sniff/dns.c')
-rw-r--r--gg_sniff/dns.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gg_sniff/dns.c b/gg_sniff/dns.c
index b1a7963..8450e0a 100644
--- a/gg_sniff/dns.c
+++ b/gg_sniff/dns.c
@@ -2,6 +2,12 @@
#include <event2/util.h>
#include <event2/event.h>
+/*
+ * For dns with libevent, see
+ * http://www.wangafu.net/~nickm/libevent-2.0/doxygen/html/dns_8h.html
+ * http://www.wangafu.net/~nickm/libevent-book/Ref9_dns.html
+ */
+
int
ggsniff_dns_init(struct event_base *ev_base)
{