BlockFile


Description:

[ CCode ( has_construct_function = false ) ]
public BlockFile (string path, int flags, string version, size_t block_size)

Allocate a new block file, stored at path.

version contains an 8 character version string which must match the head of the file, or the file will be intitialised.

block_size is currently ignored and is set to CAMEL_BLOCK_SIZE.

Parameters:

path

a path with file name of the new BlockFile

flags

file open flags to use

version

a version string

block_size

block size, currently ignored

Returns:

The new block file, or null if it could not be created.