diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-28 21:05:24 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-28 21:05:24 +0000 |
commit | 2954dbdabf126bcfaf956de5ac3d28adb8940c1b (patch) | |
tree | 333e3909c63e08a1ca6270a4a46c79c1de0061b0 /include/m_jabber.h | |
parent | 8f0577ab8e8c06fdefd347b9485cb0c212e221e6 (diff) |
no more google related code in Jabber
git-svn-id: http://svn.miranda-ng.org/main/trunk@6264 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_jabber.h')
-rw-r--r-- | include/m_jabber.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/m_jabber.h b/include/m_jabber.h index 26635b24a4..dd1ed23084 100644 --- a/include/m_jabber.h +++ b/include/m_jabber.h @@ -72,6 +72,11 @@ enum JH_PRIORITY_UNHANDLED = 5000 // useful for example to catch unhandled Iq stanzas to send a correct reply.
};
+struct JABBER_DISCO_FIELD
+{
+ LPCTSTR category, type, name;
+};
+
typedef void* HJHANDLER;
typedef BOOL (*JABBER_HANDLER_FUNC)(struct IJabberInterface *ji, HXML node, void *pUserData);
@@ -196,4 +201,13 @@ Returns FALSE if all is Ok, and TRUE otherwise. #define ME_JABBER_EXTLISTINIT "Jabber/ExtListInit"
+/*
+A hook to be called during server disco info parsing
+wParam = (WPARAM)(JABBER_DISCO_FIELD*)
+lParam = (LPARAM)(IJabberInterface*).
+Returns FALSE if all is Ok, and TRUE otherwise.
+*/
+
+#define ME_JABBER_SRVDISCOINFO "Jabber/ServerDiscoInfo"
+
#endif // M_JABBER_H__
|