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

int avahi_rdata_parse ( AvahiRecord record,
const void *  rdata,
size_t  size 

Parse a binary rdata object and fill it into *record. This function is actually implemented in dns.c

Definition at line 838 of file dns.c.

    int ret;
    AvahiDnsPacket p;
    p.data = (void*) rdata;
    p.max_size = p.size = size;
    p.rindex = 0;
    p.name_table = NULL;

    ret = parse_rdata(&p, record, size);

    return ret;

Generated by  Doxygen 1.6.0   Back to index