diff options
author | George Hazan <george.hazan@gmail.com> | 2014-02-19 11:48:12 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-02-19 11:48:12 +0000 |
commit | 8dc7456651251bc112b9edd9b5fd1c4849d7c83d (patch) | |
tree | 3e2e376197c49e77488c109a129ea269b08cb38f /include | |
parent | 8d428350dc3307f8ada75fafece2049cca84e969 (diff) |
import to open a database in read-only mode
git-svn-id: http://svn.miranda-ng.org/main/trunk@8172 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r-- | include/m_db_int.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/m_db_int.h b/include/m_db_int.h index 1a0ee644ed..f3affcb1c5 100644 --- a/include/m_db_int.h +++ b/include/m_db_int.h @@ -181,7 +181,7 @@ struct DATABASELINK which is a PLUGINLINK structure
Returns: 0 on success, nonzero on failure
*/
- MIDatabase* (*Load) (const TCHAR *profile);
+ MIDatabase* (*Load)(const TCHAR *profile, BOOL bReadOnly);
/*
Affect: The database plugin should shutdown, unloading things from the core and freeing internal structures
@@ -194,7 +194,7 @@ struct DATABASELINK Returns a pointer to the database checker or NULL if a database doesn't support checking
When you don't need this object aanymore, call its Destroy() method
*/
- MIDatabaseChecker* (*CheckDB) (const TCHAR *profile, int *error);
+ MIDatabaseChecker* (*CheckDB)(const TCHAR *profile, int *error);
};
///////////////////////////////////////////////////////////////////////////////
|