2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

remove typedef; add dns_fixedname_name()

This commit is contained in:
Bob Halley
1999-03-08 19:31:48 +00:00
parent 84d3cd8fed
commit 4a8b521fd7

View File

@@ -63,12 +63,12 @@ ISC_LANG_BEGINDECLS
***** Types
*****/
typedef struct dns_fixedname {
dns_name_t name;
dns_offsets_t offsets;
isc_buffer_t buffer;
unsigned char data[255];
} dns_fixedname_t;
struct dns_fixedname {
dns_name_t name;
dns_offsets_t offsets;
isc_buffer_t buffer;
unsigned char data[255];
};
#define dns_fixedname_init(fn) \
do { \
@@ -81,6 +81,8 @@ typedef struct dns_fixedname {
#define dns_fixedname_invalidate(fn) \
dns_name_invalidate(&((fn)->name))
#define dns_fixedname_name(fn) (&((fn)->name))
ISC_LANG_ENDDECLS
#endif /* DNS_FIXEDNAME_H */