* $Header: /f/osi/h/quipu/RCS/name.h,v 7.1 91/02/22 09:26:00 mrose Interim $
* Revision 7.1 91/02/22 09:26:00 mrose
* Revision 7.0 89/11/23 21:56:40 mrose
* Acquisition, use, and distribution of this module and related
* materials are subject to the restrictions of a license agreement.
* Consult the Preface in the User's Manual for the full terms of
typedef struct ava
{ /* represents AttributeValueAssertion */
AttributeValue ava_value
;
typedef struct rdncomp
{ /* RDN is sequence of attribute value */
/* represents RelativeDistinguishedName */
struct rdncomp
*rdn_next
;
#define NULLRDN ((RDN) 0)
#define rdn_comp_alloc() (RDN) smalloc(sizeof(rdncomp))
typedef struct dncomp
{ /* DN is sequence of RDNs. */
/* represents RDNSequence which is */
/* equivalent to DistinguishedName */
struct dncomp
*dn_parent
;
#define dn_comp_alloc() (DN) smalloc(sizeof(dncomp))
#define dn_comp_print(x,y,z) if (y!=NULLDN) rdn_print(x,y->dn_rdn,z)
#define dn_comp_fill(x,y) x -> dn_rdn = y
#define dn_comp_cmp(x,y) ((rdn_cmp (x->dn_rdn ,y->dn_rdn) == OK) ? OK : NOTOK )