summaryrefslogtreecommitdiff
path: root/libpurple/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpurple/server.h')
-rw-r--r--libpurple/server.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libpurple/server.h b/libpurple/server.h
index ee4b70ad74..83172474c9 100644
--- a/libpurple/server.h
+++ b/libpurple/server.h
@@ -166,6 +166,17 @@ void serv_got_chat_invite(PurpleConnection *gc, const char *name,
PurpleConversation *serv_got_joined_chat(PurpleConnection *gc,
int id, const char *name);
+/**
+ * Called by a prpl when an attempt to join a chat via serv_join_chat()
+ * fails.
+ *
+ * @param gc The connection on which chat joining failed
+ * @param data The components passed to serv_join_chat() originally.
+ * The hash function should be g_str_hash() and the equal
+ * function should be g_str_equal().
+ */
+void purple_serv_got_join_chat_failed(PurpleConnection *gc, GHashTable *data);
+
void serv_got_chat_left(PurpleConnection *g, int id);
void serv_got_chat_in(PurpleConnection *g, int id, const char *who,
PurpleMessageFlags flags, const char *message, time_t mtime);