7 This file is part of nss-mdns.
9 nss-mdns is free software; you can redistribute it and/or modify it
10 under the terms of the GNU Lesser General Public License as
11 published by the Free Software Foundation; either version 2 of the
12 License, or (at your option) any later version.
14 nss-mdns is distributed in the hope that it will be useful, but
15 WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 General Public License for more details.
19 You should have received a copy of the GNU Lesser General Public
20 License along with nss-mdns; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
27 /* Maximum number of entries to return */
28 #define MAX_ENTRIES 16
41 int data_len; /* only valid when doing reverse lookup */
43 ipv4_address_t ipv4[MAX_ENTRIES];
44 ipv6_address_t ipv6[MAX_ENTRIES];
45 char *name[MAX_ENTRIES];
49 int gns_resolve_name(int af,
51 struct userdata *userdata);