]> git.ozlabs.org Git - ccan/blob - hash/_info.c
First cut of hashing routines.
[ccan] / hash / _info.c
1 /**
2  * hash - routines for hashing bytes
3  *
4  * When creating a hash table it's important to have a hash function
5  * which mixes well and is fast.  This package supplies such functions.
6  *
7  * The hash functions come in two flavors: the normal ones and the
8  * stable ones.  The normal ones can vary from machine-to-machine and
9  * may change if we find better or faster hash algorithms in future.
10  * The stable ones will always give the same results on any computer,
11  * and on any version of this package.
12  */
13 int main(int argc, char *argv[])
14 {
15         if (argc != 2)
16                 return 1;
17
18         if (strcmp(argv[1], "depends") == 0) {
19                 return 0;
20         }
21
22         return 1;
23 }