resolved-dns-rr.h revision 42cc2eebb01056beb7acd3ecfe8e533558237f84
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering This file is part of systemd.
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering Copyright 2014 Lennart Poettering
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering systemd is free software; you can redistribute it and/or modify it
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering under the terms of the GNU Lesser General Public License as published by
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering the Free Software Foundation; either version 2.1 of the License, or
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering (at your option) any later version.
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering systemd is distributed in the hope that it will be useful, but
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering WITHOUT ANY WARRANTY; without even the implied warranty of
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering Lesser General Public License for more details.
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering You should have received a copy of the GNU Lesser General Public License
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering along with systemd; If not, see <http://www.gnu.org/licenses/>.
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poetteringtypedef struct DnsResourceKey DnsResourceKey;
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poetteringtypedef struct DnsResourceRecord DnsResourceRecord;
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering/* DNS record classes, see RFC 1035 */
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering/* DNS record types, see RFC 1035 */
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering /* Normal records */
fc2f9534d07db2b185c02b1961428b53daf1986eLennart Poettering /* Special records */
struct DnsResourceRecord {
unsigned n_ref;
bool unparseable;
void *data;
} generic;
char *name;
} srv;
char *name;
char *cpu;
char *os;
} hinfo;
char **strings;
} aaaa;
char *mname;
char *rname;
} soa;
char *exchange;
} mx;
} loc;
void *key;
} sshfp;
return NULL;
int dns_resource_key_compare_func(const void *a, const void *b);
int dns_resource_record_new_reverse(DnsResourceRecord **ret, int family, const union in_addr_union *address, const char *name);