BLib Reference Manual |
---|
BModuleInfo — handling of loadable modules
struct BModuleInfo; BModuleInfo* b_module_info_new (const gchar *filename); gint b_module_infos_scan_dir (const gchar *dirname);
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 |
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 |
<< BModule Utilities | BModule Internal API >> |