Commit ac21bbb1 authored by Ondřej Surý's avatar Ondřej Surý Committed by Mark Andrews

Add C++ declarations to dns/fixedname.h

(cherry picked from commit 94a1c853)
parent ca6dda73
Pipeline #4687 passed with stages
in 14 minutes and 19 seconds
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
*****/ *****/
#include <isc/buffer.h> #include <isc/buffer.h>
#include <isc/lang.h>
#include <dns/name.h> #include <dns/name.h>
...@@ -64,6 +65,8 @@ struct dns_fixedname { ...@@ -64,6 +65,8 @@ struct dns_fixedname {
unsigned char data[DNS_NAME_MAXWIRE]; unsigned char data[DNS_NAME_MAXWIRE];
}; };
ISC_LANG_BEGINDECLS
void void
dns_fixedname_init(dns_fixedname_t *fixed); dns_fixedname_init(dns_fixedname_t *fixed);
...@@ -76,4 +79,6 @@ dns_fixedname_name(dns_fixedname_t *fixed); ...@@ -76,4 +79,6 @@ dns_fixedname_name(dns_fixedname_t *fixed);
dns_name_t * dns_name_t *
dns_fixedname_initname(dns_fixedname_t *fixed); dns_fixedname_initname(dns_fixedname_t *fixed);
ISC_LANG_ENDDECLS
#endif /* DNS_FIXEDNAME_H */ #endif /* DNS_FIXEDNAME_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment