kv_close_store()

#include <kvstore.h>

kv_error_t 
kv_close_store(kv_store_t *store) 

Closes the store handle, releasing all resources used by the handle. If authentication was performed for this store handle (that is, if kv_open_store_login() was used), then the client is logged out before the handle's resources are released. After calling this function, you should never use the handle again, even if an error is returned by this function.

Store handles are opened using kv_open_store() or kv_open_store_login().

Parameters

store

The store parameter is the store handle that you want to close.

See Also

Store and Library Operations