|
libkeepass 0.2.0
KeePass key database importer/exporter library
|
Imports/exports one database dialect. More...
#include <format_codec.hh>
Public Member Functions | |
| virtual std::unique_ptr< Database > | Import (std::istream &src, const Key &key)=0 |
Imports a database from src using key. | |
| virtual void | Export (std::ostream &dst, const Database &db, const Key &key)=0 |
Exports db to dst using key. | |
Imports/exports one database dialect.
Implementations are cheap to construct and own all per-operation state. KeePass only looks codecs up in the registry by numeric format id, so a new dialect can be added by registering a factory without touching the unified API.