Method
EBackendCacheKeysget_ref_count_sync
since: 3.48
Declaration [src]
gboolean
e_cache_keys_get_ref_count_sync (
ECacheKeys* self,
const gchar* key,
guint* out_ref_count,
GCancellable* cancellable,
GError** error
)
Description [src]
Gets currently stored reference count for the key.
Note the reference count can be 0, which means the key
is stored forever.
Available since: 3.48
Parameters
key-
Type:
const gchar*A key to get reference count for.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. out_ref_count-
Type:
guint*Return location for the stored reference count for the
key.The argument will be set by the function. cancellable-
Type:
GCancellableOptional
GCancellableobject, orNULL.The argument can be NULL.The data is owned by the caller of the method. error-
Type:
GError **The return location for a recoverable error.
The argument can be NULL.If the return location is not NULL, then you must initialize it to aNULLGError*.The argument will be left initialized to NULLby the method if there are no errors.In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.