1 /* $NetBSD: __dn_comp.c,v 1.4 2005/09/13 01:44:10 christos Exp $ */
4 * written by matthew green, 22/04/97.
9 #if defined(LIBC_SCCS) && !defined(lint)
10 __RCSID("$NetBSD: __dn_comp.c,v 1.4 2005/09/13 01:44:10 christos Exp $");
11 #endif /* LIBC_SCCS and not lint */
13 #if defined(__indr_reference)
14 __indr_reference(__dn_comp
,dn_comp
)
17 #include <sys/types.h>
18 #include <netinet/in.h>
21 /* XXX THIS IS A MESS! SEE <resolv.h> XXX */
24 int dn_comp(const char *, u_char
*, int, u_char
**, u_char
**);
27 dn_comp(const char *exp_dn
, u_char
*comp_dn
, int length
, u_char
**dnptrs
,
31 return __dn_comp(exp_dn
, comp_dn
, length
, dnptrs
, lastdnptr
);