comparison libpurple/protocols/myspace/myspace.c @ 23111: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 3fee7e01e51c
children bb41bdce8981
comparison
equal deleted inserted replaced
23110:53bf3c21b79d 23111:718a9c287839
3129 msim_send_really_raw, /* send_raw */ 3129 msim_send_really_raw, /* send_raw */
3130 NULL, /* roomlist_room_serialize */ 3130 NULL, /* roomlist_room_serialize */
3131 NULL, /* unregister_user */ 3131 NULL, /* unregister_user */
3132 msim_send_attention, /* send_attention */ 3132 msim_send_attention, /* send_attention */
3133 msim_attention_types, /* attention_types */ 3133 msim_attention_types, /* attention_types */
3134 NULL /* _purple_reserved4 */ 3134
3135 sizeof(PurplePluginProtocolInfo), /* struct_size */
3135 }; 3136 };
3136 3137
3137 3138
3138 3139
3139 /** Based on MSN's plugin info comments. */ 3140 /** Based on MSN's plugin info comments. */
3140 static PurplePluginInfo info = { 3141 static PurplePluginInfo info = {
3141 PURPLE_PLUGIN_MAGIC, 3142 PURPLE_PLUGIN_MAGIC,
3142 PURPLE_MAJOR_VERSION, 3143 PURPLE_MAJOR_VERSION,
3143 PURPLE_MINOR_VERSION, 3144 PURPLE_MINOR_VERSION,
3144 PURPLE_PLUGIN_PROTOCOL, /**< type */ 3145 PURPLE_PLUGIN_PROTOCOL, /**< type */
3145 NULL, /**< ui_requirement */ 3146 NULL, /**< ui_requirement */
3146 0, /**< flags */ 3147 0, /**< flags */