diff options
Diffstat (limited to 'src/wallet_sqlite.h')
| -rw-r--r-- | src/wallet_sqlite.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet_sqlite.h b/src/wallet_sqlite.h index 5ef862d..385a340 100644 --- a/src/wallet_sqlite.h +++ b/src/wallet_sqlite.h | |||
| @@ -6,6 +6,8 @@ | |||
| 6 | 6 | ||
| 7 | #include <sqlite3.h> | 7 | #include <sqlite3.h> |
| 8 | 8 | ||
| 9 | class CWalletRecordVisitor; | ||
| 10 | |||
| 9 | class CWalletDBSQLite | 11 | class CWalletDBSQLite |
| 10 | { | 12 | { |
| 11 | public: | 13 | public: |
| @@ -26,6 +28,7 @@ public: | |||
| 26 | bool ReadRecord(const vector<unsigned char>& vchKey, | 28 | bool ReadRecord(const vector<unsigned char>& vchKey, |
| 27 | vector<unsigned char>& vchValueRet, | 29 | vector<unsigned char>& vchValueRet, |
| 28 | string& strError); | 30 | string& strError); |
| 31 | bool ScanRecords(CWalletRecordVisitor& visitor, string& strError); | ||
| 29 | bool CountRecords(int& nRecordsRet, string& strError); | 32 | bool CountRecords(int& nRecordsRet, string& strError); |
| 30 | 33 | ||
| 31 | private: | 34 | private: |