Operation Captive Reference Manual |
---|
init —
gboolean captive_init (void); gboolean captive_shutdown (void); void captive_log_init (const struct captive_options *captive_options);
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. |
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. |
<< Operation Captive | ldr >> |