comparison libpurple/protocols/silc/silc.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 a666d3e7447f
children bb41bdce8981
comparison
equal deleted inserted replaced
23108:53bf3c21b79d 23109:718a9c287839
2069 2069
2070 /* padding */ 2070 /* padding */
2071 NULL, 2071 NULL,
2072 NULL, 2072 NULL,
2073 NULL, 2073 NULL,
2074 NULL 2074 sizeof(PurplePluginProtocolInfo), /* struct_size */
2075 }; 2075 };
2076 2076
2077 static PurplePluginInfo info = 2077 static PurplePluginInfo info =
2078 { 2078 {
2079 PURPLE_PLUGIN_MAGIC, 2079 PURPLE_PLUGIN_MAGIC,