diff options
Diffstat (limited to 'src/common/ers.h')
-rw-r--r-- | src/common/ers.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/common/ers.h b/src/common/ers.h index 4dae19f3b..23a996923 100644 --- a/src/common/ers.h +++ b/src/common/ers.h @@ -49,7 +49,7 @@ * ERS - Entry manager. * * ers_new - Allocate an instance of an entry manager. * * ers_report - Print a report about the current state. * - * ers_force_destroy_all - Force the destruction of all the managers. * + * ers_final - Clears the remainder of the manangers. * \*****************************************************************************/ /** @@ -138,7 +138,7 @@ typedef struct eri { // Disable the public functions # define ers_new(size,name,options) NULL # define ers_report() -# define ers_force_destroy_all() +# define ers_final() #else /* not DISABLE_ERS */ // These defines should be used to allow the code to keep working whenever // the system is disabled @@ -170,14 +170,9 @@ ERS ers_new(uint32 size, char *name, enum ERSOptions options); void ers_report(void); /** - * Forcibly destroy all the entry managers, checking for nothing. - * The system is left as if no instances or entries had ever been allocated. - * All previous entries and instances of the managers become invalid. - * The use of this is NOT recommended. - * It should only be used in extreme situations to make shure all the memory - * allocated by this system is released. - */ -void ers_force_destroy_all(void); + * Clears the remainder of the manangers + **/ +void ers_final(void); #endif /* DISABLE_ERS / not DISABLE_ERS */ #endif /* _COMMON_ERS_H_ */ |