mongoose/docs/c-api/dns.h/mg_dns_copy_body.md
Dmitry Frank 7bed7ff482 Docs are generated for Mongoose
Comments in headers are changed a bit: removed adoc-specific stuff,
markdown is used instead

PUBLISHED_FROM=9242cce85cc52a47a197d377e7e23804721a6bb5
2016-03-21 13:29:29 +01:00

347 B

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

Append already encoded body from an existing message.

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

Return number of appened bytes.