2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

Add C++ declarations to dns/fixedname.h

(cherry picked from commit 94a1c853668f30bda46b1cd26d8f30a913a658fe)
This commit is contained in:
Ondřej Surý 2018-09-05 23:48:04 +02:00 committed by Mark Andrews
parent ca6dda7328
commit ac21bbb13a

View File

@ -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 {
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);
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 */