Gmodule ( re )



apparently it work with
g_module_symbol(handle, "init_mod", (gpointer*)&init_mod);
it is strange cause init_mod is a ptr...
void (*init_mod)(struct scan_mod_param *) = NULL;

--
                                 -- Yoann
         It is well known that M$ products don't call free() after a malloc()
      The unix community wishes them "good luck" for their future development...





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]