Commit | Line | Data |
---|---|---|
f522e28b C |
1 | /* ds_ext.c - */ |
2 | ||
3 | #ifndef lint | |
4 | static char *rcsid = "$Header: /f/osi/dsap/common/RCS/ds_ext.c,v 7.1 91/02/22 09:19:06 mrose Interim $"; | |
5 | #endif | |
6 | ||
7 | /* | |
8 | * $Header: /f/osi/dsap/common/RCS/ds_ext.c,v 7.1 91/02/22 09:19:06 mrose Interim $ | |
9 | * | |
10 | * | |
11 | * $Log: ds_ext.c,v $ | |
12 | * Revision 7.1 91/02/22 09:19:06 mrose | |
13 | * Interim 6.8 | |
14 | * | |
15 | * Revision 7.0 90/12/01 18:07:30 mrose | |
16 | * *** empty log message *** | |
17 | * | |
18 | * Revision 7.0 89/11/23 21:50:30 mrose | |
19 | * Release 6.0 | |
20 | * | |
21 | */ | |
22 | ||
23 | /* | |
24 | * NOTICE | |
25 | * | |
26 | * Acquisition, use, and distribution of this module and related | |
27 | * materials are subject to the restrictions of a license agreement. | |
28 | * Consult the Preface in the User's Manual for the full terms of | |
29 | * this agreement. | |
30 | * | |
31 | */ | |
32 | ||
33 | ||
34 | /* LINTLIBRARY */ | |
35 | ||
36 | #include "quipu/util.h" | |
37 | #include "quipu/common.h" | |
38 | ||
39 | extern LLog * log_dsap; | |
40 | ||
41 | subords_free(subp) | |
42 | struct subordinate *subp; | |
43 | { | |
44 | if(subp == NULLSUBORD) | |
45 | return; | |
46 | subords_free(subp->sub_next); | |
47 | rdn_free(subp->sub_rdn); | |
48 | free((char *)subp); | |
49 | } | |
50 | ||
51 | ems_free(emp) | |
52 | struct entrymod *emp; | |
53 | { | |
54 | if(emp == NULLMOD) | |
55 | return; | |
56 | ems_free(emp->em_next); | |
57 | as_free(emp->em_what); | |
58 | free((char *)emp); | |
59 | } | |
60 | ||
61 | aps_free(app) | |
62 | struct access_point *app; | |
63 | { | |
64 | if(app == NULLACCESSPOINT) | |
65 | return; | |
66 | ||
67 | aps_free(app->ap_next); | |
68 | dn_free(app->ap_name); | |
69 | if (app->ap_address) | |
70 | psap_free (app->ap_address); | |
71 | ||
72 | free((char *)app); | |
73 | } | |
74 | ||
75 | crefs_free(crefp) | |
76 | ContinuationRef crefp; | |
77 | { | |
78 | if(crefp == NULLCONTINUATIONREF) | |
79 | return; | |
80 | crefs_free(crefp->cr_next); | |
81 | dn_free(crefp->cr_name); | |
82 | aps_free(crefp->cr_accesspoints); | |
83 | free((char *)crefp); | |
84 | } | |
85 |