1997-11-05 02:52:05 +03:00
|
|
|
/* $NetBSD: __dn_comp.c,v 1.4 1997/11/04 23:52:36 thorpej Exp $ */
|
1997-04-22 10:55:36 +04:00
|
|
|
|
|
|
|
/*
|
|
|
|
* written by matthew green, 22/04/97.
|
|
|
|
* public domain.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <sys/cdefs.h>
|
|
|
|
|
|
|
|
#ifdef __indr_reference
|
1997-11-05 02:52:05 +03:00
|
|
|
__indr_reference(__dn_comp,dn_comp)
|
1997-04-22 10:55:36 +04:00
|
|
|
#else
|
|
|
|
|
|
|
|
#include <sys/types.h>
|
1997-04-22 22:53:16 +04:00
|
|
|
#include <netinet/in.h>
|
|
|
|
#include <resolv.h>
|
1997-04-22 10:55:36 +04:00
|
|
|
|
1997-07-18 01:27:33 +04:00
|
|
|
/* XXX THIS IS A MESS! SEE <resolv.h> XXX */
|
1997-04-22 10:55:36 +04:00
|
|
|
|
|
|
|
#undef dn_comp
|
1997-07-18 01:27:33 +04:00
|
|
|
int dn_comp __P((const char *, u_char *, int, u_char **, u_char **));
|
|
|
|
|
1997-04-22 10:55:36 +04:00
|
|
|
int
|
|
|
|
dn_comp(exp_dn, comp_dn, length, dnptrs, lastdnptr)
|
|
|
|
const char *exp_dn;
|
|
|
|
u_char *comp_dn, **dnptrs, **lastdnptr;
|
|
|
|
int length;
|
|
|
|
{
|
|
|
|
|
|
|
|
return __dn_comp(exp_dn, comp_dn, length, dnptrs, lastdnptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|