aboutsummaryrefslogtreecommitdiff
path: root/src/backup.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/backup.h
parente1d10bea5d9fc94ba800ade1de430c7f3c0ccacd (diff)
Refactor the command line interface
Select operation by its name instead of by number of the arguments.
Diffstat (limited to 'src/backup.h')
-rw-r--r--src/backup.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backup.h b/src/backup.h
index 057aa15..9f14559 100644
--- a/src/backup.h
+++ b/src/backup.h
@@ -30,6 +30,7 @@
#include "options.h"
#include "resources.h"
-int backup(const options_t *const opts, resources_t *const res);
+int backup(const options_backup_t *const opts,
+ const resources_backup_t *const res);
#endif /* BACKUP_H */