version 1.21, 1997/01/18 08:49:28
|
version 1.22, 1997/01/20 14:31:55
|
Line 918 static void AHTProfile_delete (v
|
Line 918 static void AHTProfile_delete (v
|
static void AHTProfile_delete () |
static void AHTProfile_delete () |
#endif /* __STDC__ */ |
#endif /* __STDC__ */ |
{ |
{ |
if (HTLib_isInitialized ()) |
|
{ |
/* free the Amaya global context */ |
|
HTList_delete (Amaya->docid_status); |
|
HTList_delete (Amaya->reqlist); |
|
TtaFreeMemory (Amaya); |
|
|
|
if (HTLib_isInitialized ()) |
|
{ |
|
|
|
/* Clean up the persistent cache (if any) */ |
|
HTCacheTerminate (); |
|
|
/* Clean up the persistent cache (if any) */ |
/* Clean up all the global preferences */ |
HTCacheTerminate (); |
HTFormat_deleteAll (); |
|
|
/* Clean up all the global preferences */ |
/* Terminate libwww */ |
HTFormat_deleteAll (); |
HTLibTerminate (); |
|
} |
/* Terminate libwww */ |
|
HTLibTerminate (); |
|
} |
|
|
|
/* free the global context */ |
|
HTList_delete (Amaya->docid_status); |
|
HTList_delete (Amaya->reqlist); |
|
TtaFreeMemory (Amaya); |
|
} |
} |
|
|
/*---------------------------------------------------------------------- |
/*---------------------------------------------------------------------- |