summaryrefslogtreecommitdiff
path: root/protocols/Yahoo/src/chat.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-10-14 08:19:21 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-10-14 08:19:21 +0000
commite179ffc995c96568bfdce46ac73f58d569166f05 (patch)
treeee2dfd530b75ef4ae06cb7079c923fe7e2fbafa8 /protocols/Yahoo/src/chat.h
parentd722261be7a0cd3aa259aa285aea7f936c0e2f0e (diff)
Yahoo: folders restructurization
git-svn-id: http://svn.miranda-ng.org/main/trunk@1918 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/src/chat.h')
-rw-r--r--protocols/Yahoo/src/chat.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/protocols/Yahoo/src/chat.h b/protocols/Yahoo/src/chat.h
new file mode 100644
index 0000000000..c56fa435c7
--- /dev/null
+++ b/protocols/Yahoo/src/chat.h
@@ -0,0 +1,42 @@
+/*
+ * $Id: chat.h 9334 2009-04-04 21:56:36Z gena01 $
+ *
+ * myYahoo Miranda Plugin
+ *
+ * Authors: Gennady Feldman (aka Gena01)
+ * Laurent Marechal (aka Peorth)
+ *
+ * This code is under GPL and is based on AIM, MSN and Miranda source code.
+ * I want to thank Robert Rainwater and George Hazan for their code and support
+ * and for answering some of my questions during development of this plugin.
+ */
+#ifndef _YAHOO_CHAT_H_
+#define _YAHOO_CHAT_H_
+
+/* Conference handlers */
+void ext_yahoo_got_conf_invite(int id, const char *me, const char *who, const char *room, const char *msg, YList *members);
+
+void ext_yahoo_conf_userdecline(int id, const char *me, const char *who, const char *room, const char *msg);
+
+void ext_yahoo_conf_userjoin(int id, const char *me, const char *who, const char *room);
+
+void ext_yahoo_conf_userleave(int id, const char *me, const char *who, const char *room);
+
+void ext_yahoo_conf_message(int id, const char *me, const char *who, const char *room, const char *msg, int utf8);
+
+/* chat handlers */
+void ext_yahoo_chat_cat_xml(int id, const char *xml);
+
+void ext_yahoo_chat_join(int id, const char *me, const char *room, const char * topic, YList *members, int fd);
+
+void ext_yahoo_chat_userjoin(int id, const char *me, const char *room, struct yahoo_chat_member *who);
+
+void ext_yahoo_chat_userleave(int id, const char *me, const char *room, const char *who);
+
+void ext_yahoo_chat_message(int id, const char *me, const char *who, const char *room, const char *msg, int msgtype, int utf8);
+
+void ext_yahoo_chat_yahoologout(int id, const char *me);
+
+void ext_yahoo_chat_yahooerror(int id, const char *me);
+
+#endif