20.1.6 ead_terminate_client() (terminates the EADS client)
- Organization of this subsection
(1) Description
This function deletes the cache manager that is managing the cache, and terminates the EADS client.
ead_terminate_client() frees the specified cache manager as well as the cache that was started by it. Therefore, after you have executed ead_terminate_client(), you can no longer execute an operation that references them. If you try, the operation is not guaranteed.
(2) Format
#include <eads.h> void ead_terminate_client ( const EAD_CACHE_MANAGER *cmp, /* In */ int *error_code /* Out */ );
(3) Arguments
- cmp
-
Specifies the handle (pointer) to the cache manager that is managing the cache.
Specify a handle obtained from ead_init_client() or ead_init_client_n().
- error_code
-
Specifies the pointer from which to retrieve the error code.
For details about error codes, see 20.2 Error codes in the client library (C).