libcoap  4.2.0alpha
testhashes.c
Go to the documentation of this file.
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <string.h>
4 
5 #include "uthash.h"
6 
7 int main(int argc, char **argv) {
8  int n;
9  for (n = 1; n < argc; n++) {
10  unsigned int v = 0;
11  HASH_JEN(argv[n], strlen(argv[n]), v);
12  printf("HASH_JEN(\"%s\", %zu) = %u\n", argv[n], strlen(argv[n]), v);
13  }
14  return 0;
15 }
#define HASH_JEN(key, keylen, hashv)
Definition: uthash.h:564
int main(int argc, char **argv)
Definition: testhashes.c:7