mg_dns_copy_questions.md 374 Bytes
Newer Older
1 2 3 4 5 6 7 8
---
title: "mg_dns_copy_questions()"
decl_name: "mg_dns_copy_questions"
symbol_kind: "func"
signature: |
  int mg_dns_copy_questions(struct mbuf *io, struct mg_dns_message *msg);
---

9
Appends already encoded questions from an existing message.
10 11 12 13

This is useful when generating a DNS reply message which includes
all question records.

14
Returns the number of appended bytes. 
15