Changeset 9d6c0f2
- Timestamp:
- 2016-05-15T16:16:37Z (9 years ago)
- Parents:
- 4fe91a1
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
bitlbee.h
r4fe91a1 r9d6c0f2 40 40 #define BITLBEE_VER(a, b, c) (((a) << 16) + ((b) << 8) + (c)) 41 41 #define BITLBEE_VERSION_CODE BITLBEE_VER(3, 4, 2) 42 #define BITLBEE_ABI_VERSION_CODE 1 42 43 43 44 #define MAX_STRING 511 -
otr.c
r4fe91a1 r9d6c0f2 267 267 register_irc_plugin(&otr_plugin); 268 268 } 269 270 #ifndef OTR_BI 271 guint init_plugin_abi(void) 272 { 273 return BITLBEE_ABI_VERSION_CODE; 274 } 275 #endif 269 276 270 277 gboolean otr_irc_new(irc_t *irc) -
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.