1 /* This file is part of the Project Athena Zephyr Notification System.
2 * It contains source for the ZFlushSubscriptions function.
4 * Created by: Robert French
6 * Copyright (c) 1987 by the Massachusetts Institute of Technology.
7 * For copying and distribution information, see the file
13 Code_t
ZFlushSubscriptions()
17 if (!__subscriptions_list
)
20 for (i
=0;i
<__subscriptions_num
;i
++) {
21 free(__subscriptions_list
[i
].zsub_class
);
22 free(__subscriptions_list
[i
].zsub_classinst
);
23 free(__subscriptions_list
[i
].zsub_recipient
);
26 free((char *)__subscriptions_list
);
28 __subscriptions_list
= NULL
;
29 __subscriptions_num
= 0;