Mercurial > pidgin
comparison src/protocols/silc/silcgaim.h @ 12217:029802981b81
[gaim-migrate @ 14519]
SILC IM Image and cipher selection support from Pekka Riikonen.
Modified by me so the SILC prpl continues to work with SILC Toolkit < 1.0.1,
but without images. Any breakage is my fault.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Thu, 24 Nov 2005 21:07:12 +0000 |
parents | 4d3119205a33 |
children | fc464a0abccc |
comparison
equal
deleted
inserted
replaced
12216:4d3119205a33 | 12217:029802981b81 |
---|---|
73 unsigned long channel_ids; | 73 unsigned long channel_ids; |
74 GList *grps; | 74 GList *grps; |
75 | 75 |
76 char *motd; | 76 char *motd; |
77 GaimRoomlist *roomlist; | 77 GaimRoomlist *roomlist; |
78 | 78 #ifdef HAVE_SILCMIME_H |
79 SilcMimeAssembler mimeass; | |
80 #endif | |
79 unsigned int detaching : 1; | 81 unsigned int detaching : 1; |
80 unsigned int resuming : 1; | 82 unsigned int resuming : 1; |
81 unsigned int roomlist_canceled : 1; | 83 unsigned int roomlist_canceled : 1; |
82 unsigned int chpk : 1; | 84 unsigned int chpk : 1; |
83 } *SilcGaim; | 85 } *SilcGaim; |
131 void silcgaim_chat_join(GaimConnection *gc, GHashTable *data); | 133 void silcgaim_chat_join(GaimConnection *gc, GHashTable *data); |
132 char *silcgaim_get_chat_name(GHashTable *data); | 134 char *silcgaim_get_chat_name(GHashTable *data); |
133 void silcgaim_chat_invite(GaimConnection *gc, int id, const char *msg, | 135 void silcgaim_chat_invite(GaimConnection *gc, int id, const char *msg, |
134 const char *name); | 136 const char *name); |
135 void silcgaim_chat_leave(GaimConnection *gc, int id); | 137 void silcgaim_chat_leave(GaimConnection *gc, int id); |
136 int silcgaim_chat_send(GaimConnection *gc, int id, const char *msg, | 138 int silcgaim_chat_send(GaimConnection *gc, int id, const char *msg, GaimMessageFlags flags); |
137 GaimMessageFlags flags); | |
138 void silcgaim_chat_set_topic(GaimConnection *gc, int id, const char *topic); | 139 void silcgaim_chat_set_topic(GaimConnection *gc, int id, const char *topic); |
139 GaimRoomlist *silcgaim_roomlist_get_list(GaimConnection *gc); | 140 GaimRoomlist *silcgaim_roomlist_get_list(GaimConnection *gc); |
140 void silcgaim_roomlist_cancel(GaimRoomlist *list); | 141 void silcgaim_roomlist_cancel(GaimRoomlist *list); |
141 void silcgaim_chat_chauth_show(SilcGaim sg, SilcChannelEntry channel, | 142 void silcgaim_chat_chauth_show(SilcGaim sg, SilcChannelEntry channel, |
142 SilcBuffer channel_pubkeys); | 143 SilcBuffer channel_pubkeys); |
143 void silcgaim_parse_attrs(SilcDList attrs, char **moodstr, char **statusstr, | 144 void silcgaim_parse_attrs(SilcDList attrs, char **moodstr, char **statusstr, |
144 char **contactstr, char **langstr, char **devicestr, | 145 char **contactstr, char **langstr, char **devicestr, |
145 char **tzstr, char **geostr); | 146 char **tzstr, char **geostr); |
147 #ifdef HAVE_SILCMIME_H | |
148 char *silcgaim_file2mime(const char *filename); | |
149 SilcDList silcgaim_image_message(const char *msg, SilcUInt32 *mflags); | |
150 #endif | |
146 | 151 |
147 #ifdef _WIN32 | 152 #ifdef _WIN32 |
148 typedef int uid_t; | 153 typedef int uid_t; |
149 | 154 |
150 struct passwd { | 155 struct passwd { |