init

init —

Synopsis




gboolean    captive_init                    (void);
gboolean    captive_shutdown                (void);
void        captive_log_init                (const struct captive_options *captive_options);

Description

Details

captive_init ()

gboolean    captive_init                    (void);

Expects captive_options: Parsed by captive_options_parse(). NULL value is forbidden. Field image_iochannel NULL value is forbidden.

Initializes libcaptive and loads the specified filesystem.

Returns : TRUE if successfuly initialized.

captive_shutdown ()

gboolean    captive_shutdown                (void);

Closes down libcaptive. It should flush all pending buffers and successfuly close the filesystem. Variable captive_options->image_iochannel will not be set to NULL, you should close such channel yourself.

Returns : TRUE if successfuly shutdown.

captive_log_init ()

void        captive_log_init                (const struct captive_options *captive_options);

captive_options :