Packages
camel-1.2
Camel
UIDCache
free_uids
destroy
get_new_uids
save
save_uid
expired
fd
filename
level
size
uids
UIDCache
Object Hierarchy:
Camel.UIDCache
Camel.UIDCache
Camel.UIDCache
Description:
[
CCode
( has_type_id =
false
) ]
public
struct
UIDCache
Namespace:
Camel
Package:
camel-1.2
Content:
Static methods:
public
static
void
free_uids
(
owned
GenericArray
<
string
> uids)
Frees the array of UIDs.
Methods:
public
void
destroy
()
Destroys
this
and frees its data.
public
GenericArray
<
string
>
get_new_uids
(
GenericArray
<
string
> uids)
Returns an array of UIDs from
uids
that are not in
this
, and removes UIDs from
this
that aren't in
uids
.
public
bool
save
()
Attempts to save
this
back to disk.
public
void
save_uid
(
string
uid)
Marks a uid for saving.
Fields:
public
unowned
string
filename
public
unowned
HashTable
<
void
*,
void
*>
uids
public
uint
level
public
size_t
expired
public
size_t
size
public
int
fd