use hostname from SRV record to look up IP addresses
[project/mdnsd.git] / cache.h
diff --git a/cache.h b/cache.h
index 8affee6ca6f6f27e1e66bab6fe3b1c9beb42e612..7c81418ce99da7f392f7468917b18921df207fff 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -58,7 +58,8 @@ void cache_answer(struct interface *iface, struct sockaddr *from, uint8_t *base,
                  int blen, char *name, struct dns_answer *a, uint8_t *rdata,
                  int flush);
 int cache_host_is_known(char *record);
-void cache_dump_records(struct blob_buf *buf, const char *name, int array);
+void cache_dump_records(struct blob_buf *buf, const char *name, int array,
+                       const char **hostname);
 void cache_dump_recursive(struct blob_buf *b, const char *name, uint16_t type, struct interface *iface);
 
 #endif