Struct
CamelUIDCache
Description
struct CamelUIDCache {
gchar* filename;
GHashTable* uids;
guint level;
gsize expired;
gsize size;
gint fd;
}
No description available.
Structure members
filename
- No description available.
uids
- No description available.
level
- No description available.
expired
- No description available.
size
- No description available.
fd
- No description available.
Functions
camel_uid_cache_new
Creates a new UID cache, initialized from filename
. If filename
doesn’t already exist, the UID cache will be empty. Otherwise, if
it does exist but can’t be read, the function will return NULL
.
Instance methods
camel_uid_cache_get_new_uids
Returns an array of UIDs from uids
that are not in cache
, and
removes UIDs from cache
that aren’t in uids
.