~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
server/: Eliminate the remaining address-family-specific knowledge.
[tripe]
/
server
/
tripe.h
diff --git
a/server/tripe.h
b/server/tripe.h
index
6946c5f
..
f447be5
100644
(file)
--- a/
server/tripe.h
+++ b/
server/tripe.h
@@
-420,10
+420,10
@@
extern const bulkops bulktab[];
/* --- The address-family table --- */
#define ADDRFAM(_) \
/* --- The address-family table --- */
#define ADDRFAM(_) \
- _(INET)
+ _(INET
, want_ipv4
)
enum {
enum {
-#define ENUM(af) AFIX_##af,
+#define ENUM(af
, qf
) AFIX_##af,
ADDRFAM(ENUM)
#undef ENUM
NADDRFAM
ADDRFAM(ENUM)
#undef ENUM
NADDRFAM
@@
-432,6
+432,9
@@
enum {
extern const struct addrfam {
int af;
const char *name;
extern const struct addrfam {
int af;
const char *name;
+#ifdef HAVE_LIBADNS
+ adns_queryflags qf;
+#endif
} aftab[NADDRFAM];
/* --- Socket addresses --- *
} aftab[NADDRFAM];
/* --- Socket addresses --- *