mongoose/docs/c-api/dns.h/mg_dns_copy_questions.md

16 lines
373 B
Markdown
Raw Normal View History

---
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);
---
2016-07-26 00:14:48 +08:00
Appends already encoded questions from an existing message.
This is useful when generating a DNS reply message which includes
all question records.
2016-07-26 00:14:48 +08:00
Returns the number of appened bytes.