chiark
/
gitweb
/
~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adns_reverse_submit function for easy in-addr queries.
[adns]
/
client
/
adnshost.h
diff --git
a/client/adnshost.h
b/client/adnshost.h
index 3ab665d576e5e215f0450782d61cde1a1cf258f0..ee3a5ca7c86e4997265815e83f88a8e4e4512ee6 100644
(file)
--- a/
client/adnshost.h
+++ b/
client/adnshost.h
@@
-36,6
+36,10
@@
#include <stdlib.h>
#include <assert.h>
#include <stdlib.h>
#include <assert.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+
#include "config.h"
#include "adns.h"
#include "dlist.h"
#include "config.h"
#include "adns.h"
#include "dlist.h"
@@
-72,7
+76,7
@@
extern int ov_tcp, ov_cname;
extern char *ov_id;
extern struct perqueryflags_remember ov_pqfr;
extern char *ov_id;
extern struct perqueryflags_remember ov_pqfr;
-extern optfunc of_help, of_type, of_asynch_id, of_cancel_id;
+extern optfunc of_help, of_type, of_
ptr, of_
asynch_id, of_cancel_id;
const struct optioninfo *opt_findl(const char *opt);
const struct optioninfo *opt_finds(const char **optp);
const struct optioninfo *opt_findl(const char *opt);
const struct optioninfo *opt_finds(const char **optp);