comparison libpurple/protocols/oscar/libaim.c @ 32493:743bb6b1aa30

Move struct_size to the beginning of the struct. Even if we don't rewrite this somehow (as a GObject or otherwise), it really belongs at the start.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 03 Sep 2011 23:30:40 +0000
parents cd1d9e04c587
children c6943fd38d44
comparison
equal deleted inserted replaced
32492:cd1d9e04c587 32493:743bb6b1aa30
27 #include "oscarcommon.h" 27 #include "oscarcommon.h"
28 #include "oscar.h" 28 #include "oscar.h"
29 29
30 static PurplePluginProtocolInfo prpl_info = 30 static PurplePluginProtocolInfo prpl_info =
31 { 31 {
32 sizeof(PurplePluginProtocolInfo), /* struct_size */
32 OPT_PROTO_MAIL_CHECK | OPT_PROTO_IM_IMAGE | OPT_PROTO_INVITE_MESSAGE, 33 OPT_PROTO_MAIL_CHECK | OPT_PROTO_IM_IMAGE | OPT_PROTO_INVITE_MESSAGE,
33 NULL, /* user_splits */ 34 NULL, /* user_splits */
34 NULL, /* protocol_options */ 35 NULL, /* protocol_options */
35 {"gif,jpeg,bmp,ico", 0, 0, 64, 64, 7168, PURPLE_ICON_SCALE_SEND | PURPLE_ICON_SCALE_DISPLAY}, /* icon_spec */ 36 {"gif,jpeg,bmp,ico", 0, 0, 64, 64, 7168, PURPLE_ICON_SCALE_SEND | PURPLE_ICON_SCALE_DISPLAY}, /* icon_spec */
36 oscar_list_icon_aim, /* list_icon */ 37 oscar_list_icon_aim, /* list_icon */
92 NULL, /* send_raw */ 93 NULL, /* send_raw */
93 NULL, /* roomlist_room_serialize */ 94 NULL, /* roomlist_room_serialize */
94 NULL, /* unregister_user */ 95 NULL, /* unregister_user */
95 NULL, /* send_attention */ 96 NULL, /* send_attention */
96 NULL, /* get_attention_types */ 97 NULL, /* get_attention_types */
97 sizeof(PurplePluginProtocolInfo), /* struct_size */
98 NULL, /* get_account_text_table */ 98 NULL, /* get_account_text_table */
99 NULL, /* initiate_media */ 99 NULL, /* initiate_media */
100 NULL, /* get_media_caps */ 100 NULL, /* get_media_caps */
101 NULL, /* get_moods */ 101 NULL, /* get_moods */
102 NULL, /* set_public_alias */ 102 NULL, /* set_public_alias */