Constructor
CamelKeyFilenew
Declaration [src]
CamelKeyFile*
camel_key_file_new (
const gchar* path,
gint flags,
const gchar* version
)
Parameters
path-
Type:
const gchar*A filename with path of the
CamelKeyFileto create.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. flags-
Type:
gintOpen flags.
version-
Type:
const gchar*Version string (header) of file. Currently written but not checked.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: CamelKeyFile
A new key file, or NULL if the file could not
be opened/created/initialised.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |
The return value can be NULL. |