src/backup/catalog_shell.rs: adapt to use API Schema definition and rustyline

This major refactoring of the catalog based shell utilizes the new API macro and
the API Schema as well as rustyline instead of the old GNU readline C API.

The code now has these 3 main components:
 * The `Shell` which handles the readline loop via rustyline.
 * The shell functions defined via the API macro.
 * The `Context` which holds catalog and decoder instances.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
This commit is contained in:
Christian Ebner 2019-12-05 17:23:21 +01:00 committed by Dietmar Maurer
parent 9b78352188
commit 6934c6fe77
1 changed files with 498 additions and 636 deletions

File diff suppressed because it is too large Load Diff