comparison libpurple/protocols/sametime/sametime.c @ 32726:7353c0c50117

Switch back to initializing the struct this way. I guess the other way doesn't work on Windows? I lost this change when I propagated from the 2.x.y branch because I wasn't comfortable making this change during the manual merge.
author Mark Doliner <mark@kingant.net>
date Wed, 05 Oct 2011 07:45:13 +0000
parents d9434361a5cb
children 2ec94166be43
comparison
equal deleted inserted replaced
32725:d9434361a5cb 32726:7353c0c50117
5116 } 5116 }
5117 } 5117 }
5118 5118
5119 5119
5120 static PurplePluginProtocolInfo mw_prpl_info = { 5120 static PurplePluginProtocolInfo mw_prpl_info = {
5121 .struct_size = sizeof(PurplePluginProtocolInfo), 5121 sizeof(PurplePluginProtocolInfo),
5122 .options = OPT_PROTO_IM_IMAGE, 5122 OPT_PROTO_IM_IMAGE,
5123 .user_splits = NULL, /*< set in mw_plugin_init */ 5123 NULL, /*< set in mw_plugin_init */
5124 .protocol_options = NULL, /*< set in mw_plugin_init */ 5124 NULL, /*< set in mw_plugin_init */
5125 .icon_spec = NO_BUDDY_ICONS, 5125 NO_BUDDY_ICONS,
5126 .list_icon = mw_prpl_list_icon, 5126 mw_prpl_list_icon,
5127 .list_emblem = mw_prpl_list_emblem, 5127 mw_prpl_list_emblem,
5128 .status_text = mw_prpl_status_text, 5128 mw_prpl_status_text,
5129 .tooltip_text = mw_prpl_tooltip_text, 5129 mw_prpl_tooltip_text,
5130 .status_types = mw_prpl_status_types, 5130 mw_prpl_status_types,
5131 .blist_node_menu = mw_prpl_blist_node_menu, 5131 mw_prpl_blist_node_menu,
5132 .chat_info = mw_prpl_chat_info, 5132 mw_prpl_chat_info,
5133 .chat_info_defaults = mw_prpl_chat_info_defaults, 5133 mw_prpl_chat_info_defaults,
5134 .login = mw_prpl_login, 5134 mw_prpl_login,
5135 .close = mw_prpl_close, 5135 mw_prpl_close,
5136 .send_im = mw_prpl_send_im, 5136 mw_prpl_send_im,
5137 .set_info = NULL, 5137 NULL,
5138 .send_typing = mw_prpl_send_typing, 5138 mw_prpl_send_typing,
5139 .get_info = mw_prpl_get_info, 5139 mw_prpl_get_info,
5140 .set_status = mw_prpl_set_status, 5140 mw_prpl_set_status,
5141 .set_idle = mw_prpl_set_idle, 5141 mw_prpl_set_idle,
5142 .change_passwd = NULL, 5142 NULL,
5143 .add_buddy = mw_prpl_add_buddy, 5143 mw_prpl_add_buddy,
5144 .add_buddies = mw_prpl_add_buddies, 5144 mw_prpl_add_buddies,
5145 .remove_buddy = mw_prpl_remove_buddy, 5145 mw_prpl_remove_buddy,
5146 .remove_buddies = NULL, 5146 NULL,
5147 .add_permit = mw_prpl_add_permit, 5147 mw_prpl_add_permit,
5148 .add_deny = mw_prpl_add_deny, 5148 mw_prpl_add_deny,
5149 .rem_permit = mw_prpl_rem_permit, 5149 mw_prpl_rem_permit,
5150 .rem_deny = mw_prpl_rem_deny, 5150 mw_prpl_rem_deny,
5151 .set_permit_deny = mw_prpl_set_permit_deny, 5151 mw_prpl_set_permit_deny,
5152 .join_chat = mw_prpl_join_chat, 5152 mw_prpl_join_chat,
5153 .reject_chat = mw_prpl_reject_chat, 5153 mw_prpl_reject_chat,
5154 .get_chat_name = mw_prpl_get_chat_name, 5154 mw_prpl_get_chat_name,
5155 .chat_invite = mw_prpl_chat_invite, 5155 mw_prpl_chat_invite,
5156 .chat_leave = mw_prpl_chat_leave, 5156 mw_prpl_chat_leave,
5157 .chat_whisper = mw_prpl_chat_whisper, 5157 mw_prpl_chat_whisper,
5158 .chat_send = mw_prpl_chat_send, 5158 mw_prpl_chat_send,
5159 .keepalive = mw_prpl_keepalive, 5159 mw_prpl_keepalive,
5160 .register_user = NULL, 5160 NULL,
5161 .get_cb_info = NULL, 5161 NULL,
5162 .alias_buddy = mw_prpl_alias_buddy, 5162 mw_prpl_alias_buddy,
5163 .group_buddy = mw_prpl_group_buddy, 5163 mw_prpl_group_buddy,
5164 .rename_group = mw_prpl_rename_group, 5164 mw_prpl_rename_group,
5165 .buddy_free = mw_prpl_buddy_free, 5165 mw_prpl_buddy_free,
5166 .convo_closed = mw_prpl_convo_closed, 5166 mw_prpl_convo_closed,
5167 .normalize = mw_prpl_normalize, 5167 mw_prpl_normalize,
5168 .set_buddy_icon = NULL, 5168 NULL,
5169 .remove_group = mw_prpl_remove_group, 5169 mw_prpl_remove_group,
5170 .get_cb_real_name = NULL, 5170 NULL,
5171 .set_chat_topic = NULL, 5171 NULL,
5172 .find_blist_chat = NULL, 5172 NULL,
5173 .roomlist_get_list = NULL, 5173 NULL,
5174 .roomlist_expand_category = NULL, 5174 NULL,
5175 .can_receive_file = mw_prpl_can_receive_file, 5175 NULL,
5176 .send_file = mw_prpl_send_file, 5176 mw_prpl_can_receive_file,
5177 .new_xfer = mw_prpl_new_xfer, 5177 mw_prpl_send_file,
5178 .offline_message = NULL, 5178 mw_prpl_new_xfer,
5179 .whiteboard_prpl_ops = NULL, 5179 NULL,
5180 .send_raw = NULL 5180 NULL,
5181 NULL,
5182 NULL,
5183 NULL,
5184 NULL,
5185 NULL,
5186 NULL,
5187 NULL,
5188 NULL,
5189 NULL,
5190 NULL,
5191 NULL
5181 }; 5192 };
5182 5193
5183 5194
5184 static PurplePluginPrefFrame * 5195 static PurplePluginPrefFrame *
5185 mw_plugin_get_plugin_pref_frame(PurplePlugin *plugin) { 5196 mw_plugin_get_plugin_pref_frame(PurplePlugin *plugin) {