diff options
author | George Hazan <george.hazan@gmail.com> | 2013-06-30 10:50:46 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-06-30 10:50:46 +0000 |
commit | a546606709e6bb72e01eb38b2c8c8756608fd5d6 (patch) | |
tree | 33110aeaabdf001d7cc10973c2d2c5fba621ae21 /include/m_core.h | |
parent | 6e158816887eb9421fa5c1d3f182aafe829dda0d (diff) |
forgotten helper - db_set (writes a DBVARIANT)
git-svn-id: http://svn.miranda-ng.org/main/trunk@5190 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_core.h')
-rw-r--r-- | include/m_core.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/m_core.h b/include/m_core.h index 638666c0d7..f4cb21587d 100644 --- a/include/m_core.h +++ b/include/m_core.h @@ -283,10 +283,10 @@ MIR_CORE_DLL(HANDLE) db_event_prev(HANDLE hDbEvent); * DATABASE SETTINGS
*/
+MIR_CORE_DLL(INT_PTR) db_get(HANDLE hContact, const char *szModule, const char *szSetting, DBVARIANT *dbv);
MIR_CORE_DLL(int) db_get_b(HANDLE hContact, const char *szModule, const char *szSetting, int errorValue);
MIR_CORE_DLL(int) db_get_w(HANDLE hContact, const char *szModule, const char *szSetting, int errorValue);
MIR_CORE_DLL(DWORD) db_get_dw(HANDLE hContact, const char *szModule, const char *szSetting, DWORD errorValue);
-MIR_CORE_DLL(INT_PTR) db_get(HANDLE hContact, const char *szModule, const char *szSetting, DBVARIANT *dbv);
MIR_CORE_DLL(char*) db_get_sa(HANDLE hContact, const char *szModule, const char *szSetting);
MIR_CORE_DLL(WCHAR*) db_get_wsa(HANDLE hContact, const char *szModule, const char *szSetting);
@@ -296,6 +296,7 @@ MIR_CORE_DLL(WCHAR*) db_get_wsa(HANDLE hContact, const char *szModule, const ch MIR_CORE_DLL(INT_PTR) db_get_s(HANDLE hContact, const char *szModule, const char *szSetting, DBVARIANT *dbv, const int nType);
#endif
+MIR_CORE_DLL(INT_PTR) db_set(HANDLE hContact, const char *szModule, const char *szSetting, DBVARIANT *dbv);
MIR_CORE_DLL(INT_PTR) db_set_b(HANDLE hContact, const char *szModule, const char *szSetting, BYTE val);
MIR_CORE_DLL(INT_PTR) db_set_w(HANDLE hContact, const char *szModule, const char *szSetting, WORD val);
MIR_CORE_DLL(INT_PTR) db_set_dw(HANDLE hContact, const char *szModule, const char *szSetting, DWORD val);
|