summaryrefslogtreecommitdiff
path: root/src/mir_core
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-17 22:37:15 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-17 22:37:15 +0000
commit070ae988a2704d6bea4733e12f644f3d02e71b7f (patch)
tree056758c3fe8adb386ee7fa40f94e1d0ae04dea5b /src/mir_core
parent6c4d35fca373a55252f4bce0bd0102f78eb67037 (diff)
ProtoBroadcastAck macro converted into a function
git-svn-id: http://svn.miranda-ng.org/main/trunk@5007 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_core')
-rw-r--r--src/mir_core/mir_core.def1
-rw-r--r--src/mir_core/miranda.cpp2
-rw-r--r--src/mir_core/miranda.h3
3 files changed, 6 insertions, 0 deletions
diff --git a/src/mir_core/mir_core.def b/src/mir_core/mir_core.def
index 52a16fc917..5631c9c335 100644
--- a/src/mir_core/mir_core.def
+++ b/src/mir_core/mir_core.def
@@ -162,3 +162,4 @@ wildcmpiw @159
mir_base64_encode @160
mir_base64_decode @161
ProtoServiceExists @162
+ProtoBroadcastAck @163
diff --git a/src/mir_core/miranda.cpp b/src/mir_core/miranda.cpp
index 640f2d89db..6fcd531f87 100644
--- a/src/mir_core/miranda.cpp
+++ b/src/mir_core/miranda.cpp
@@ -74,6 +74,7 @@ static void LoadCoreModule(void)
InitPathUtils();
InitialiseModularEngine();
+ InitProtocols();
}
MIR_CORE_DLL(void) UnloadCoreModule(void)
@@ -83,6 +84,7 @@ MIR_CORE_DLL(void) UnloadCoreModule(void)
CloseHandle(hThreadQueueEmpty);
TlsFree(mir_tls);
+ UninitProtocols();
DestroyModularEngine();
UnloadLangPackModule();
}
diff --git a/src/mir_core/miranda.h b/src/mir_core/miranda.h
index 3619cc9b56..1bfebf35c7 100644
--- a/src/mir_core/miranda.h
+++ b/src/mir_core/miranda.h
@@ -35,6 +35,9 @@ void DestroyModularEngine(void);
int InitPathUtils(void);
+void InitProtocols();
+void UninitProtocols();
+
extern HINSTANCE hInst;
extern HWND hAPCWindow;
extern HANDLE hStackMutex, hThreadQueueEmpty;