comparison libpurple/server.h @ 25657:ff29208e03ef

propagate from branch 'im.pidgin.pidgin' (head 75f0460d3679231b61d572e76fe02534a597c6b5) to branch 'im.pidgin.pidgin.vv' (head 7872d32a910cd4c1fbc3e2457295e4c1d40188f5)
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 27 May 2008 06:27:46 +0000
parents 591ef3693345 92e71f6e10d4
children 10f5a529d2a6
comparison
equal deleted inserted replaced
23222:01e1468da703 25657:ff29208e03ef
27 #define _PURPLE_SERVER_H_ 27 #define _PURPLE_SERVER_H_
28 28
29 #include "account.h" 29 #include "account.h"
30 #include "conversation.h" 30 #include "conversation.h"
31 #include "prpl.h" 31 #include "prpl.h"
32 #include "media.h"
32 33
33 #ifdef __cplusplus 34 #ifdef __cplusplus
34 extern "C" { 35 extern "C" {
35 #endif 36 #endif
36 37
180 void serv_got_chat_left(PurpleConnection *g, int id); 181 void serv_got_chat_left(PurpleConnection *g, int id);
181 void serv_got_chat_in(PurpleConnection *g, int id, const char *who, 182 void serv_got_chat_in(PurpleConnection *g, int id, const char *who,
182 PurpleMessageFlags flags, const char *message, time_t mtime); 183 PurpleMessageFlags flags, const char *message, time_t mtime);
183 void serv_send_file(PurpleConnection *gc, const char *who, const char *file); 184 void serv_send_file(PurpleConnection *gc, const char *who, const char *file);
184 185
186 #ifdef USE_FARSIGHT
187 PurpleMedia *serv_initiate_media(PurpleConnection *gc, const char *who,
188 PurpleMediaStreamType type);
189 gboolean serv_can_do_media(PurpleConnection *gc, const char *who,
190 PurpleMediaStreamType type);
191 #else
192 /* hmm, is this really nice? */
193 void *serv_initiate_media(void*, void*, void*);
194 void *serv_can_do_media(void *, void *, void *);
195 #endif
196
185 #ifdef __cplusplus 197 #ifdef __cplusplus
186 } 198 }
187 #endif 199 #endif
188 200
189 #endif /* _PURPLE_SERVER_H_ */ 201 #endif /* _PURPLE_SERVER_H_ */