};
union checklabel_state {
- int dummy;
+ struct {
+#define PTR_NDOMAIN 2
+ unsigned domainmap; /* which domains are still live */
+ byte ipv[PTR_NDOMAIN][32]; /* address components so far */
+ } ptr;
};
typedef struct {
void (*callback)(adns_query parent, adns_query child);
union {
- struct afinfo_addr ptr_parent_addr;
adns_rr_hostaddr *hostaddr;
} pinfo; /* state for use by parent's callback function */
union {
struct {
+ struct afinfo_addr addr;
+ } ptr;
+ struct {
unsigned want, have;
} addr;
} tinfo; /* type-specific state for the query itself: zero-init if you