Initialization/Shutdown

Initialization/Shutdown

Synopsis

gboolean            mate_vfs_init                       (void);
gboolean            mate_vfs_initialized                (void);
void                mate_vfs_shutdown                   (void);
void                mate_vfs_loadinit                   (gpointer app,
                                                         gpointer modinfo);
void                mate_vfs_preinit                    (gpointer app,
                                                         gpointer modinfo);
void                mate_vfs_postinit                   (gpointer app,
                                                         gpointer modinfo);

Description

Starting MateVFS up and shutting it down. Usually when using the whole MATE framework this library is initialized and shutdown automatically when calling mate_init.

Details

mate_vfs_init ()

gboolean            mate_vfs_init                       (void);

If mate-vfs is not already initialized, initialize it. This must be called prior to performing any other mate-vfs operations, and may be called multiple times without error.

Returns :

TRUE if mate-vfs is successfully initialized (or was already initialized).

mate_vfs_initialized ()

gboolean            mate_vfs_initialized                (void);

Detects if mate-vfs has already been initialized (mate-vfs must be initialized prior to using any methods or operations).

Returns :

TRUE if mate-vfs has already been initialized.

mate_vfs_shutdown ()

void                mate_vfs_shutdown                   (void);

Cease all active mate-vfs operations and unload the MIME database from memory.


mate_vfs_loadinit ()

void                mate_vfs_loadinit                   (gpointer app,
                                                         gpointer modinfo);

Warning

mate_vfs_loadinit is deprecated and should not be used in newly-written code.


mate_vfs_preinit ()

void                mate_vfs_preinit                    (gpointer app,
                                                         gpointer modinfo);

Warning

mate_vfs_preinit is deprecated and should not be used in newly-written code.


mate_vfs_postinit ()

void                mate_vfs_postinit                   (gpointer app,
                                                         gpointer modinfo);

Warning

mate_vfs_postinit is deprecated and should not be used in newly-written code.