|
|
1.1 ! root 1: /* ds_ext.c - */ ! 2: ! 3: #ifndef lint ! 4: static char *rcsid = "$Header: /f/osi/dsap/x500as/RCS/ds_ext.c,v 7.0 89/11/23 21:50:30 mrose Rel $"; ! 5: #endif ! 6: ! 7: /* ! 8: * $Header: /f/osi/dsap/x500as/RCS/ds_ext.c,v 7.0 89/11/23 21:50:30 mrose Rel $ ! 9: * ! 10: * ! 11: * $Log: ds_ext.c,v $ ! 12: * Revision 7.0 89/11/23 21:50:30 mrose ! 13: * Release 6.0 ! 14: * ! 15: */ ! 16: ! 17: /* ! 18: * NOTICE ! 19: * ! 20: * Acquisition, use, and distribution of this module and related ! 21: * materials are subject to the restrictions of a license agreement. ! 22: * Consult the Preface in the User's Manual for the full terms of ! 23: * this agreement. ! 24: * ! 25: */ ! 26: ! 27: ! 28: /* LINTLIBRARY */ ! 29: ! 30: #include "quipu/util.h" ! 31: #include "quipu/common.h" ! 32: ! 33: extern LLog * log_dsap; ! 34: ! 35: eis_def(eis_p) ! 36: EntryInfoSelection *eis_p; ! 37: { ! 38: eis_p->eis_allattributes = TRUE; ! 39: eis_p->eis_select = NULLATTR; ! 40: eis_p->eis_infotypes = EIS_ATTRIBUTESANDVALUES; ! 41: } ! 42: ! 43: svc_def(svc_p) ! 44: ServiceControl *svc_p; ! 45: { ! 46: svc_p->svc_options = SVC_OPT_DONTDEREFERENCEALIAS; ! 47: svc_p->svc_prio = SVC_PRIO_MED; ! 48: svc_p->svc_timelimit = SVC_NOTIMELIMIT; ! 49: svc_p->svc_sizelimit = SVC_NOSIZELIMIT; ! 50: svc_p->svc_scopeofreferral = SVC_REFSCOPE_NONE; ! 51: } ! 52: ! 53: flt_def(flt) ! 54: Filter * flt; ! 55: { ! 56: *flt = filter_alloc (); ! 57: (*flt)->flt_type = FILTER_AND; ! 58: (*flt)->flt_next = NULLFILTER; ! 59: (*flt)->flt_un.flt_un_filter = NULLFILTER; ! 60: } ! 61: ! 62: subords_free(subp) ! 63: struct subordinate *subp; ! 64: { ! 65: if(subp == NULLSUBORD) ! 66: return; ! 67: subords_free(subp->sub_next); ! 68: rdn_free(subp->sub_rdn); ! 69: free((char *)subp); ! 70: } ! 71: ! 72: ems_free(emp) ! 73: struct entrymod *emp; ! 74: { ! 75: if(emp == NULLMOD) ! 76: return; ! 77: ems_free(emp->em_next); ! 78: as_free(emp->em_what); ! 79: free((char *)emp); ! 80: } ! 81: ! 82: aps_free(app) ! 83: struct access_point *app; ! 84: { ! 85: if(app == NULLACCESSPOINT) ! 86: return; ! 87: aps_free(app->ap_next); ! 88: dn_free(app->ap_name); ! 89: psap_free (app->ap_address); ! 90: free((char *)app); ! 91: } ! 92: ! 93: crefs_free(crefp) ! 94: ContinuationRef crefp; ! 95: { ! 96: if(crefp == NULLCONTINUATIONREF) ! 97: return; ! 98: crefs_free(crefp->cr_next); ! 99: dn_free(crefp->cr_name); ! 100: aps_free(crefp->cr_accesspoints); ! 101: free((char *)crefp); ! 102: } ! 103:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.