Logo Search packages:      
Sourcecode: avahi version File versions  Download package

rr.h File Reference


Detailed Description

Functions and definitions for manipulating DNS resource record (RR) data.

Definition in file rr.h.

#include <inttypes.h>
#include <sys/types.h>
#include <avahi-common/strlst.h>
#include <avahi-common/address.h>
#include <avahi-common/cdecl.h>

Go to the source code of this file.

Classes

struct  AvahiKey
struct  AvahiRecord

Enumerations

enum  {
  AVAHI_DNS_TYPE_ANY = 0xFF, AVAHI_DNS_TYPE_OPT = 41, AVAHI_DNS_TYPE_TKEY = 249, AVAHI_DNS_TYPE_TSIG = 250,
  AVAHI_DNS_TYPE_IXFR = 251, AVAHI_DNS_TYPE_AXFR = 252
}
enum  { AVAHI_DNS_CLASS_ANY = 0xFF, AVAHI_DNS_CACHE_FLUSH = 0x8000, AVAHI_DNS_UNICAST_RESPONSE = 0x8000 }

Functions

const char * avahi_dns_class_to_string (uint16_t clazz)
const char * avahi_dns_type_to_string (uint16_t type)
int avahi_key_equal (const AvahiKey *a, const AvahiKey *b)
unsigned avahi_key_hash (const AvahiKey *k)
int avahi_key_is_valid (AvahiKey *k)
AvahiKeyavahi_key_new (const char *name, uint16_t clazz, uint16_t type)
AvahiKeyavahi_key_ref (AvahiKey *k)
char * avahi_key_to_string (const AvahiKey *k)
void avahi_key_unref (AvahiKey *k)
int avahi_rdata_parse (AvahiRecord *record, const void *rdata, size_t size)
size_t avahi_rdata_serialize (AvahiRecord *record, void *rdata, size_t max_size)
int avahi_record_equal_no_ttl (const AvahiRecord *a, const AvahiRecord *b)
int avahi_record_is_valid (AvahiRecord *r)
AvahiRecordavahi_record_new (AvahiKey *k, uint32_t ttl)
AvahiRecordavahi_record_new_full (const char *name, uint16_t clazz, uint16_t type, uint32_t ttl)
AvahiRecordavahi_record_ref (AvahiRecord *r)
char * avahi_record_to_string (const AvahiRecord *r)
void avahi_record_unref (AvahiRecord *r)


Generated by  Doxygen 1.6.0   Back to index