Mercurial > pidgin.yaz
comparison libpurple/protocols/jabber/libxmpp.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 | e062a1dfe6ad |
children | bb41bdce8981 |
comparison
equal
deleted
inserted
replaced
23110:53bf3c21b79d | 23111:718a9c287839 |
---|---|
114 jabber_roomlist_room_serialize, /* roomlist_room_serialize */ | 114 jabber_roomlist_room_serialize, /* roomlist_room_serialize */ |
115 jabber_unregister_account, /* unregister_user */ | 115 jabber_unregister_account, /* unregister_user */ |
116 jabber_send_attention, /* send_attention */ | 116 jabber_send_attention, /* send_attention */ |
117 jabber_attention_types, /* attention_types */ | 117 jabber_attention_types, /* attention_types */ |
118 | 118 |
119 /* padding */ | 119 sizeof(PurplePluginProtocolInfo), /* struct_size */ |
120 NULL | |
121 }; | 120 }; |
122 | 121 |
123 static gboolean load_plugin(PurplePlugin *plugin) | 122 static gboolean load_plugin(PurplePlugin *plugin) |
124 { | 123 { |
125 purple_signal_register(plugin, "jabber-receiving-xmlnode", | 124 purple_signal_register(plugin, "jabber-receiving-xmlnode", |