summaryrefslogtreecommitdiff
path: root/src/checksum.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/checksum.h')
-rw-r--r--src/checksum.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/checksum.h b/src/checksum.h
new file mode 100644
index 000000000..2ae2b4463
--- /dev/null
+++ b/src/checksum.h
@@ -0,0 +1,15 @@
+#include <config.h>
+
+#include <sys/types.h>
+#include "system.h"
+
+/* For long options that have no equivalent short option, use a
+ non-character as a pseudo short option, starting with CHAR_MAX + 1. */
+enum
+{
+ ALG_UNSPECIFIED = 0,
+ ALG_MD5 = CHAR_MAX + 1,
+ ALG_SHA1
+};
+
+extern int algorithm;