- Timestamp:
- 2016-05-15T16:16:37Z (9 years ago)
- Parents:
- 4fe91a1
- Location:
- protocols
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.c
r4fe91a1 r9d6c0f2 42 42 gboolean load_plugin(char *path) 43 43 { 44 guint abi; 45 guint (*abi_function) (void); 44 46 void (*init_function) (void); 45 47 … … 51 53 } 52 54 55 if (!g_module_symbol(mod, "init_plugin_abi", (gpointer *) &abi_function)) { 56 log_message(LOGLVL_WARNING, "Can't find function `init_plugin_abi' in `%s'\n", path); 57 g_module_close(mod); 58 return FALSE; 59 } 60 61 abi = abi_function(); 62 63 if (abi != BITLBEE_ABI_VERSION_CODE) { 64 log_message(LOGLVL_WARNING, 65 "`%s' uses ABI %u but %u is required\n", 66 path, abi, BITLBEE_ABI_VERSION_CODE); 67 g_module_close(mod); 68 return FALSE; 69 } 70 53 71 if (!g_module_symbol(mod, "init_plugin", (gpointer *) &init_function)) { 54 72 log_message(LOGLVL_WARNING, "Can't find function `init_plugin' in `%s'\n", path); 73 g_module_close(mod); 55 74 return FALSE; 56 75 } -
protocols/skype/skype.c
r4fe91a1 r9d6c0f2 1763 1763 register_protocol(ret); 1764 1764 } 1765 1766 guint init_plugin_abi(void) 1767 { 1768 return BITLBEE_ABI_VERSION_CODE; 1769 }
Note: See TracChangeset
for help on using the changeset viewer.