Commit 4a8b521f authored by Bob Halley's avatar Bob Halley

remove typedef; add dns_fixedname_name()

parent 84d3cd8f
......@@ -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 */
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