summaryrefslogtreecommitdiff
path: root/ahost.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-04-16 09:01:16 +0000
committerYang Tse <yangsita@gmail.com>2007-04-16 09:01:16 +0000
commitbba777d6da91eba55eb0ef6b4d2a1a2cf215fec9 (patch)
treea41857c5993eabd518e305b9160dfef9ebdcbf4f /ahost.c
parentcd6a0a68b86d5d862291de1583fb55fc65e1b5d7 (diff)
downloadc-ares-bba777d6da91eba55eb0ef6b4d2a1a2cf215fec9.tar.gz
c-ares-bba777d6da91eba55eb0ef6b4d2a1a2cf215fec9.tar.bz2
c-ares-bba777d6da91eba55eb0ef6b4d2a1a2cf215fec9.zip
ares_getopt() command-line parser function does not belong to actual
c-ares library. It is just a convinience source code helper function for use in example programs adig.c and ahost.c
Diffstat (limited to 'ahost.c')
-rw-r--r--ahost.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ahost.c b/ahost.c
index d6a227f..dfb51a9 100644
--- a/ahost.c
+++ b/ahost.c
@@ -38,6 +38,7 @@
#include "ares_dns.h"
#include "inet_ntop.h"
#include "inet_net_pton.h"
+#include "ares_getopt.h"
#ifndef optind
extern int optind;