]> git.ozlabs.org Git - ccan/blob - ccan/hash/_info
str: provide checks for ctype.h char functions, and strstr and strchr functions.
[ccan] / ccan / hash / _info
1 #include <string.h>
2 #include <stdio.h>
3
4 /**
5  * hash - routines for hashing bytes
6  *
7  * When creating a hash table it's important to have a hash function
8  * which mixes well and is fast.  This package supplies such functions.
9  *
10  * The hash functions come in two flavors: the normal ones and the
11  * stable ones.  The normal ones can vary from machine-to-machine and
12  * may change if we find better or faster hash algorithms in future.
13  * The stable ones will always give the same results on any computer,
14  * and on any version of this package.
15  *
16  * License: Public Domain
17  * Maintainer: Rusty Russell <rusty@rustcorp.com.au>
18  * Author: Bob Jenkins <bob_jenkins@burtleburtle.net>
19  */
20 int main(int argc, char *argv[])
21 {
22         if (argc != 2)
23                 return 1;
24
25         if (strcmp(argv[1], "depends") == 0) {
26                 printf("ccan/build_assert\n");
27                 return 0;
28         }
29
30         return 1;
31 }