summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-01-09 11:17:16 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-01-09 11:17:16 +0300
commitc1137914b90fd115909178ba8e037281708cfd9a (patch)
tree8541542c8ddd138537c74292824e4f5647e1b8e8 /include
parent1c81465a63439cb37c3fbedb0ced3a839ded4a46 (diff)
UnregisterDatabasePlugin - a function to unload database driver on the flow
Diffstat (limited to 'include')
-rw-r--r--include/m_db_int.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/m_db_int.h b/include/m_db_int.h
index 5d4d870bb5..1657a13d05 100644
--- a/include/m_db_int.h
+++ b/include/m_db_int.h
@@ -400,6 +400,9 @@ EXTERN_C MIR_CORE_DLL(void) db_setCurrent(MDatabaseCommon *_db);
// registers a database plugin
EXTERN_C MIR_APP_DLL(void) RegisterDatabasePlugin(DATABASELINK *pDescr);
+// unregisters a database plugin
+EXTERN_C MIR_APP_DLL(void) UnregisterDatabasePlugin(DATABASELINK *pDescr);
+
// looks for a database plugin by its short name
// returns DATABASELINK* of the required plugin or nullptr on error
EXTERN_C MIR_APP_DLL(DATABASELINK*) GetDatabasePlugin(const char *pszDriverName);