author | Markus Bröker <mbroeker@largo.dyndns.tv> |
Thu, 16 Apr 2009 12:49:13 +0200 | |
changeset 61 | 4b4c97f179da |
parent 45 | 7197576fedcf |
child 77 | 49e0babccb23 |
permissions | -rw-r--r-- |
44
bb6586b1c547
md5.c renamed to md5rec.c
Emilio Largo <largo@largo.homelinux.org>
parents:
diff
changeset
|
1 |
/** |
45
7197576fedcf
pmc: namespace algebra for vector
Emilio Largo <largo@largo.homelinux.org>
parents:
44
diff
changeset
|
2 |
* test/demos/md5rec.c |
44
bb6586b1c547
md5.c renamed to md5rec.c
Emilio Largo <largo@largo.homelinux.org>
parents:
diff
changeset
|
3 |
* Copyright (C) 2008 Markus Broeker |
bb6586b1c547
md5.c renamed to md5rec.c
Emilio Largo <largo@largo.homelinux.org>
parents:
diff
changeset
|
4 |
*/ |
bb6586b1c547
md5.c renamed to md5rec.c
Emilio Largo <largo@largo.homelinux.org>
parents:
diff
changeset
|
5 |
|
bb6586b1c547
md5.c renamed to md5rec.c
Emilio Largo <largo@largo.homelinux.org>
parents:
diff
changeset
|
6 |
#include <stdio.h> |
bb6586b1c547
md5.c renamed to md5rec.c
Emilio Largo <largo@largo.homelinux.org>
parents:
diff
changeset
|
7 |
#include <stdlib.h> |
bb6586b1c547
md5.c renamed to md5rec.c
Emilio Largo <largo@largo.homelinux.org>
parents:
diff
changeset
|
8 |
#include <lsf.h> |
bb6586b1c547
md5.c renamed to md5rec.c
Emilio Largo <largo@largo.homelinux.org>
parents:
diff
changeset
|
9 |
|
bb6586b1c547
md5.c renamed to md5rec.c
Emilio Largo <largo@largo.homelinux.org>
parents:
diff
changeset
|
10 |
int main (int argc, char **argv) |
bb6586b1c547
md5.c renamed to md5rec.c
Emilio Largo <largo@largo.homelinux.org>
parents:
diff
changeset
|
11 |
{ |
bb6586b1c547
md5.c renamed to md5rec.c
Emilio Largo <largo@largo.homelinux.org>
parents:
diff
changeset
|
12 |
if (argc != 2) { |
bb6586b1c547
md5.c renamed to md5rec.c
Emilio Largo <largo@largo.homelinux.org>
parents:
diff
changeset
|
13 |
printf ("Usage: %s <directory>\n", argv[0]); |
bb6586b1c547
md5.c renamed to md5rec.c
Emilio Largo <largo@largo.homelinux.org>
parents:
diff
changeset
|
14 |
printf ("Report bugs to mbroeker@largo.homelinux.org\n"); |
bb6586b1c547
md5.c renamed to md5rec.c
Emilio Largo <largo@largo.homelinux.org>
parents:
diff
changeset
|
15 |
return EXIT_FAILURE; |
bb6586b1c547
md5.c renamed to md5rec.c
Emilio Largo <largo@largo.homelinux.org>
parents:
diff
changeset
|
16 |
} |
bb6586b1c547
md5.c renamed to md5rec.c
Emilio Largo <largo@largo.homelinux.org>
parents:
diff
changeset
|
17 |
|
bb6586b1c547
md5.c renamed to md5rec.c
Emilio Largo <largo@largo.homelinux.org>
parents:
diff
changeset
|
18 |
md5recursive (argv[1], 1); |
bb6586b1c547
md5.c renamed to md5rec.c
Emilio Largo <largo@largo.homelinux.org>
parents:
diff
changeset
|
19 |
|
bb6586b1c547
md5.c renamed to md5rec.c
Emilio Largo <largo@largo.homelinux.org>
parents:
diff
changeset
|
20 |
return EXIT_SUCCESS; |
bb6586b1c547
md5.c renamed to md5rec.c
Emilio Largo <largo@largo.homelinux.org>
parents:
diff
changeset
|
21 |
} |