| 75 unsigned long channel_ids; |
75 unsigned long channel_ids; |
| 76 GList *grps; |
76 GList *grps; |
| 77 |
77 |
| 78 char *motd; |
78 char *motd; |
| 79 PurpleRoomlist *roomlist; |
79 PurpleRoomlist *roomlist; |
| 80 #ifdef HAVE_SILCMIME_H |
|
| 81 SilcMimeAssembler mimeass; |
80 SilcMimeAssembler mimeass; |
| 82 #endif |
|
| 83 unsigned int detaching : 1; |
81 unsigned int detaching : 1; |
| 84 unsigned int resuming : 1; |
82 unsigned int resuming : 1; |
| 85 unsigned int roomlist_canceled : 1; |
83 unsigned int roomlist_canceled : 1; |
| 86 unsigned int chpk : 1; |
84 unsigned int chpk : 1; |
| 87 } *SilcPurple; |
85 } *SilcPurple; |
| 146 void silcpurple_chat_chauth_show(SilcPurple sg, SilcChannelEntry channel, |
144 void silcpurple_chat_chauth_show(SilcPurple sg, SilcChannelEntry channel, |
| 147 SilcDList channel_pubkeys); |
145 SilcDList channel_pubkeys); |
| 148 void silcpurple_parse_attrs(SilcDList attrs, char **moodstr, char **statusstr, |
146 void silcpurple_parse_attrs(SilcDList attrs, char **moodstr, char **statusstr, |
| 149 char **contactstr, char **langstr, char **devicestr, |
147 char **contactstr, char **langstr, char **devicestr, |
| 150 char **tzstr, char **geostr); |
148 char **tzstr, char **geostr); |
| 151 #ifdef SILC_ATTRIBUTE_USER_ICON |
|
| 152 void silcpurple_buddy_set_icon(PurpleConnection *gc, PurpleStoredImage *img); |
149 void silcpurple_buddy_set_icon(PurpleConnection *gc, PurpleStoredImage *img); |
| 153 #endif |
|
| 154 #ifdef HAVE_SILCMIME_H |
|
| 155 char *silcpurple_file2mime(const char *filename); |
150 char *silcpurple_file2mime(const char *filename); |
| 156 SilcDList silcpurple_image_message(const char *msg, SilcUInt32 *mflags); |
151 SilcDList silcpurple_image_message(const char *msg, SilcUInt32 *mflags); |
| 157 #endif |
|
| 158 |
152 |
| 159 #ifdef _WIN32 |
153 #ifdef _WIN32 |
| 160 typedef int uid_t; |
154 typedef int uid_t; |
| 161 |
155 |
| 162 struct passwd { |
156 struct passwd { |