1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-20 18:56:39 +02:00
This commit is contained in:
Jim Meyering
2000-10-22 11:51:50 +00:00
parent 148e5d1b4d
commit cf806f5d2d
2 changed files with 17 additions and 0 deletions

15
src/checksum.h Normal file
View File

@@ -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;

2
src/md5.c Normal file
View File

@@ -0,0 +1,2 @@
#include "checksum.h"
int algorithm = ALG_MD5;