Packages
camel-1.2
Camel
BlockFile
BlockFile
@delete
attach_block
detach_block
free_block
get_cache_limit
get_root
get_root_block
init_root
rename
set_cache_limit
sync
sync_block
touch_block
unref_block
validate_root
BlockFile
Object Hierarchy:
Camel.BlockFile
Camel.BlockFile
Camel.BlockFile
GLib.Object
GLib.Object
GLib.Object->Camel.BlockFile
Description:
[
CCode
( type_id =
"camel_block_file_get_type ()"
) ]
public
class
BlockFile
:
Object
Namespace:
Camel
Package:
camel-1.2
Content:
Creation methods:
public
BlockFile
(
string
path,
int
flags,
string
version,
size_t
block_size)
Allocate a new block file, stored at
path
.
Methods:
public
int
@delete
()
Deletes existing block file.
public
void
attach_block
(
Block
bl)
Reattach a block that has been detached.
public
void
detach_block
(
Block
bl)
Detatch a block from the block file's cache.
public
int
free_block
(
_block_t
id)
public
int
get_cache_limit
()
public
unowned
BlockRoot
?
get_root
()
public
unowned
Block
?
get_root_block
()
public
virtual
int
init_root
()
public
int
rename
(
string
path)
Renames existing block file to a new
path
.
public
void
set_cache_limit
(
int
block_cache_limit)
Sets a new block cache limit for
this
.
public
int
sync
()
Sync all dirty blocks to disk, including the root block.
public
int
sync_block
(
Block
bl)
Flush a block to disk immediately.
public
void
touch_block
(
Block
bl)
Mark a block as dirty.
public
void
unref_block
(
Block
bl)
Mark a block as unused.
public
virtual
int
validate_root
()
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref