summaryrefslogtreecommitdiff
path: root/libpurple/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpurple/server.h')
-rw-r--r--libpurple/server.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libpurple/server.h b/libpurple/server.h
index 83172474c9..e80d3873ed 100644
--- a/libpurple/server.h
+++ b/libpurple/server.h
@@ -29,6 +29,7 @@
#include "account.h"
#include "conversation.h"
#include "prpl.h"
+#include "media.h"
#ifdef __cplusplus
extern "C" {
@@ -182,6 +183,17 @@ void serv_got_chat_in(PurpleConnection *g, int id, const char *who,
PurpleMessageFlags flags, const char *message, time_t mtime);
void serv_send_file(PurpleConnection *gc, const char *who, const char *file);
+#ifdef USE_FARSIGHT
+PurpleMedia *serv_initiate_media(PurpleConnection *gc, const char *who,
+ PurpleMediaStreamType type);
+gboolean serv_can_do_media(PurpleConnection *gc, const char *who,
+ PurpleMediaStreamType type);
+#else
+/* hmm, is this really nice? */
+void *serv_initiate_media(void*, void*, void*);
+void *serv_can_do_media(void *, void *, void *);
+#endif
+
#ifdef __cplusplus
}
#endif