aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-08-30 17:21:01 +0200
committerMattias Andrée <maandree@kth.se>2024-08-30 17:21:22 +0200
commit8a572a7cf41d220f6afbf4ea9a65710edf885e98 (patch)
tree18fd584bd315f8d78ee9ce4606e92e7d302a2645 /common.h
parentSecond commit (diff)
downloadanysum-8a572a7cf41d220f6afbf4ea9a65710edf885e98.tar.gz
anysum-8a572a7cf41d220f6afbf4ea9a65710edf885e98.tar.bz2
anysum-8a572a7cf41d220f6afbf4ea9a65710edf885e98.tar.xz
m + add -W[no-]xlink and -W[no-]xdev
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'common.h')
-rw-r--r--common.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/common.h b/common.h
index a228fbd..f601ae5 100644
--- a/common.h
+++ b/common.h
@@ -58,6 +58,8 @@ struct config {
int warn_improper_format;
int hexinput;
int recursive;
+ int xdev;
+ int xlink;
struct algorithm *algorithms;
size_t nalgorithms;
size_t threads;
@@ -113,7 +115,8 @@ struct thread_data {
/* get.c */
int calculate_and_print_each(char **files, struct algorithm *algorithms, size_t nalgorithms,
- size_t nthreads, enum format format, int hexinput, int recursive);
+ size_t nthreads, enum format format, int hexinput, int recursive,
+ int xdev, int xlink);
/* check.c */
int verify_checksums(char **files, struct algorithm *algorithms, size_t nalgorithms, size_t nthreads,