BModuleInfo

BModuleInfo — handling of loadable modules

Synopsis




struct      BModuleInfo;
BModuleInfo* b_module_info_new              (const gchar *filename);
gint        b_module_infos_scan_dir         (const gchar *dirname);

Object Hierarchy


  GObject
   +----GTypeModule
         +----BModuleInfo

Implemented Interfaces

BModuleInfo implements GTypePlugin.

Description

Details

struct BModuleInfo

struct BModuleInfo;

The BModuleInfo struct is considered private.


b_module_info_new ()

BModuleInfo* b_module_info_new              (const gchar *filename);

Creates a new BModuleInfo object a loadable module.

filename : the filename of the loadable module
Returns : a newly allocated BModuleInfo object

b_module_infos_scan_dir ()

gint        b_module_infos_scan_dir         (const gchar *dirname);

Scans the given directory for loadable modules and registers the types implemented by the found modules.

dirname : the name of the directory to scan or NULL to use the default directory
Returns : the number of successfully registered modules