aboutsummaryrefslogtreecommitdiff
path: root/src/restore.h
diff options
context:
space:
mode:
authorJan Sucan <jan@jansucan.com>2022-06-18 08:50:45 +0200
committerJan Sucan <jan@jansucan.com>2022-06-18 08:50:54 +0200
commit948a65cf39c8ce31c5adc0f24979e0cb55bc33c3 (patch)
treeae923f4594fef0abb777f63291d62530c345b229 /src/restore.h
parente1d10bea5d9fc94ba800ade1de430c7f3c0ccacd (diff)
Refactor the command line interface
Select operation by its name instead of by number of the arguments.
Diffstat (limited to 'src/restore.h')
-rw-r--r--src/restore.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/restore.h b/src/restore.h
index 02d70ff..a6c09d1 100644
--- a/src/restore.h
+++ b/src/restore.h
@@ -30,6 +30,7 @@
#include "options.h"
#include "resources.h"
-int restore(const options_t *const opts, resources_t *const res);
+int restore(const options_restore_t *const opts,
+ const resources_restore_t *const res);
#endif /* RESTORE_H */