|
|
BSD 4.3reno
/* ds_ext.c - */
#ifndef lint
static char *rcsid = "$Header: /var/lib/cvsd/repos/CSRG/43BSDReno/contrib/isode-beta/dsap/x500as/ds_ext.c,v 1.1.1.1 2018/04/24 16:12:56 root Exp $";
#endif
/*
* $Header: /var/lib/cvsd/repos/CSRG/43BSDReno/contrib/isode-beta/dsap/x500as/ds_ext.c,v 1.1.1.1 2018/04/24 16:12:56 root Exp $
*
*
* $Log: ds_ext.c,v $
* Revision 1.1.1.1 2018/04/24 16:12:56 root
* BSD 4.3reno
*
* Revision 7.0 89/11/23 21:50:30 mrose
* Release 6.0
*
*/
/*
* NOTICE
*
* 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
* this agreement.
*
*/
/* LINTLIBRARY */
#include "quipu/util.h"
#include "quipu/common.h"
extern LLog * log_dsap;
eis_def(eis_p)
EntryInfoSelection *eis_p;
{
eis_p->eis_allattributes = TRUE;
eis_p->eis_select = NULLATTR;
eis_p->eis_infotypes = EIS_ATTRIBUTESANDVALUES;
}
svc_def(svc_p)
ServiceControl *svc_p;
{
svc_p->svc_options = SVC_OPT_DONTDEREFERENCEALIAS;
svc_p->svc_prio = SVC_PRIO_MED;
svc_p->svc_timelimit = SVC_NOTIMELIMIT;
svc_p->svc_sizelimit = SVC_NOSIZELIMIT;
svc_p->svc_scopeofreferral = SVC_REFSCOPE_NONE;
}
flt_def(flt)
Filter * flt;
{
*flt = filter_alloc ();
(*flt)->flt_type = FILTER_AND;
(*flt)->flt_next = NULLFILTER;
(*flt)->flt_un.flt_un_filter = NULLFILTER;
}
subords_free(subp)
struct subordinate *subp;
{
if(subp == NULLSUBORD)
return;
subords_free(subp->sub_next);
rdn_free(subp->sub_rdn);
free((char *)subp);
}
ems_free(emp)
struct entrymod *emp;
{
if(emp == NULLMOD)
return;
ems_free(emp->em_next);
as_free(emp->em_what);
free((char *)emp);
}
aps_free(app)
struct access_point *app;
{
if(app == NULLACCESSPOINT)
return;
aps_free(app->ap_next);
dn_free(app->ap_name);
psap_free (app->ap_address);
free((char *)app);
}
crefs_free(crefp)
ContinuationRef crefp;
{
if(crefp == NULLCONTINUATIONREF)
return;
crefs_free(crefp->cr_next);
dn_free(crefp->cr_name);
aps_free(crefp->cr_accesspoints);
free((char *)crefp);
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.