diff options
author | Federico Lucifredi <flucifredi@acm.org> | 2008-01-21 07:05:36 +0000 |
---|---|---|
committer | Federico Lucifredi <flucifredi@acm.org> | 2008-01-21 07:05:36 +0000 |
commit | c02ed28968bf163cc6c7d11f635247935662200f (patch) | |
tree | 03a463a6ba58d9c70ecbdff59d8f8762caaf194d /avahi-core/domain-util.h | |
parent | 6197fe64852c19670e10451d29566a4035069930 (diff) |
fixes.
git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico2@1737 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/domain-util.h')
-rw-r--r-- | avahi-core/domain-util.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/avahi-core/domain-util.h b/avahi-core/domain-util.h index 1fdb4f0..7e4ae52 100644 --- a/avahi-core/domain-util.h +++ b/avahi-core/domain-util.h @@ -27,6 +27,7 @@ #include <avahi-common/cdecl.h> #include <avahi-common/domain.h> +#include <avahi-core/rr.h> AVAHI_C_DECL_BEGIN @@ -54,11 +55,11 @@ unsigned char * avahi_uint32_to_canonical_string(uint32_t v); /** returns the number of labels in a canonical DNS domain */ uint8_t avahi_count_canonical_labels(const char* input); -/** returns keytag of a given DNSKEY record */ -uint16_t avahi_keytag(AvahiRecord r); - /* reference keytag generator from RFC 4034 */ -uint16_t avahi_keytag(uint8_t key[], uint16_t keysize); +uint16_t keytag(uint8_t key[], uint16_t keysize); + +/** returns keytag of a given DNSKEY record */ +uint16_t avahi_keytag(AvahiRecord* r); AVAHI_C_DECL_END |