diff options
Diffstat (limited to 'src/mir_core')
-rw-r--r-- | src/mir_core/mir_core.def | 1 | ||||
-rw-r--r-- | src/mir_core/miranda.cpp | 2 | ||||
-rw-r--r-- | src/mir_core/miranda.h | 3 |
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;
|