summaryrefslogtreecommitdiff
path: root/Protocols/IAX/iax.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Protocols/IAX/iax.cpp')
-rw-r--r--Protocols/IAX/iax.cpp10
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 ////////////////////////////////////////////////////////////////////////////