diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-09 18:39:03 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-09 18:39:03 +0000 |
commit | f5add60f90e833abe8817bbe3beb64fe5a2b76a8 (patch) | |
tree | 145f0aa625d0d465027c8e618ff88d90f35da107 /include/m_db_int.h | |
parent | 7eb32d55bc5a4a195ddf903c83b8da47f449fa5f (diff) |
db_get_contact - fast access to the cached contacts
git-svn-id: http://svn.miranda-ng.org/main/trunk@8518 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_db_int.h')
-rw-r--r-- | include/m_db_int.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/m_db_int.h b/include/m_db_int.h index 59a555e720..df07a68da8 100644 --- a/include/m_db_int.h +++ b/include/m_db_int.h @@ -212,6 +212,20 @@ struct DATABASELINK };
///////////////////////////////////////////////////////////////////////////////
+// cache access function
+
+#if defined(__cplusplus)
+extern "C"
+{
+#endif
+
+MIR_CORE_DLL(DBCachedContact*) db_get_contact(MCONTACT);
+
+#if defined(__cplusplus)
+}
+#endif
+
+///////////////////////////////////////////////////////////////////////////////
// Database list's services
// MS_DB_REGISTER_PLUGIN : registers a database plugin
|