mongoose/docs/c-api/dns.h/mg_dns_copy_questions.md
2016-07-25 17:14:48 +01:00

373 B

title decl_name symbol_kind signature
mg_dns_copy_questions() mg_dns_copy_questions func int mg_dns_copy_questions(struct mbuf *io, struct mg_dns_message *msg);

Appends already encoded questions from an existing message.

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

Returns the number of appened bytes.