comparison libpurple/protocols/oscar/libaim.c @ 23109:718a9c287839

Use up the last padding for PurplePluginProtocolInfo in a way that allows adding newer functions without causing any major version bump. This is based on the changes from the .vv branch. I changed the PURPLE_PROTOCOL_PLUGIN_HAS_FUNC macro a little so it can be used for the old as well as the new functions. Someone should confirm this looks OK.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 05 May 2008 06:19:46 +0000
parents 651ab2001da2
children bb41bdce8981
comparison
equal deleted inserted replaced
23108:53bf3c21b79d 23109:718a9c287839
94 NULL, /* roomlist_room_serialize */ 94 NULL, /* roomlist_room_serialize */
95 NULL, /* unregister_user */ 95 NULL, /* unregister_user */
96 NULL, /* send_attention */ 96 NULL, /* send_attention */
97 NULL, /* get_attention_types */ 97 NULL, /* get_attention_types */
98 98
99 /* padding */ 99 sizeof(PurplePluginProtocolInfo), /* struct_size */
100 NULL
101 }; 100 };
102 101
103 static PurplePluginInfo info = 102 static PurplePluginInfo info =
104 { 103 {
105 PURPLE_PLUGIN_MAGIC, 104 PURPLE_PLUGIN_MAGIC,