]> git.ozlabs.org Git - ccan/blob - ccan/intmap/_info
d9ba46223c0e3071b5f8f56d0d83d686a03e3428
[ccan] / ccan / intmap / _info
1 #include "config.h"
2 #include <stdio.h>
3 #include <string.h>
4
5 /**
6  * intmap - ordered map integers to various types
7  *
8  * This code an ordered map of strings to values
9  *
10  * This code implements an ordered map of strings as a critbit tree. See:
11  *
12  *  http://cr.yp.to/critbit.html
13  *  http://github.com/agl/critbit (which this code is based on)
14  *
15  * License: CC0
16  * Author: Rusty Russell <rusty@rustcorp.com.au>
17  */
18 int main(int argc, char *argv[])
19 {
20         /* Expect exactly one argument */
21         if (argc != 2)
22                 return 1;
23
24         if (strcmp(argv[1], "depends") == 0) {
25                 printf("ccan/ilog\n"
26                        "ccan/short_types\n"
27                        "ccan/str\n"
28                        "ccan/tcon\n"
29                        "ccan/typesafe_cb\n");
30                 return 0;
31         }
32
33         return 1;
34 }