diff options
author | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2009-12-26 01:17:57 +0000 |
---|---|---|
committer | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2009-12-26 01:17:57 +0000 |
commit | 21f8ca06b26fe42f8bbf8ca477a2824989ff13c7 (patch) | |
tree | 7274373460bbb4f0003cb1138341decca222ef69 /Protocols/IAX/iax.cpp | |
parent | 7426009eed14519df0b2966db6d35b678122a527 (diff) |
iax: fixes and update to new structs of voice service
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@193 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Protocols/IAX/iax.cpp')
-rw-r--r-- | Protocols/IAX/iax.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Protocols/IAX/iax.cpp b/Protocols/IAX/iax.cpp index 54f089a..4fbf873 100644 --- a/Protocols/IAX/iax.cpp +++ b/Protocols/IAX/iax.cpp @@ -53,13 +53,19 @@ UTF8_INTERFACE utfi; LIST_INTERFACE li;
std::vector<HANDLE> hHooks;
-std::vector<HANDLE> hServices;
-OBJLIST<IAXProto> instances(1);
int ModulesLoaded(WPARAM wParam, LPARAM lParam);
int PreShutdown(WPARAM wParam, LPARAM lParam);
+static int sttCompareProtocols(const IAXProto *p1, const IAXProto *p2)
+{
+ return strcmp(p1->m_szModuleName, p2->m_szModuleName);
+}
+OBJLIST<IAXProto> instances(1, &sttCompareProtocols);
+
+
+
// Functions ////////////////////////////////////////////////////////////////////////////
|