]> git.ozlabs.org Git - ccan/blob - ccan/dgraph/_info
container_of: don't put member_ptr in container_off.
[ccan] / ccan / dgraph / _info
1 #include "config.h"
2 #include <string.h>
3
4 /**
5  * dgraph - simple directed graph module
6  *
7  * This code implements a simple directed graph, with nodes and edges.
8  *
9  * License: LGPL (v2.1 or any later version)
10  */
11 int main(int argc, char *argv[])
12 {
13         /* Expect exactly one argument */
14         if (argc != 2)
15                 return 1;
16
17         if (strcmp(argv[1], "depends") == 0) {
18                 printf("ccan/tlist\n");
19                 printf("ccan/typesafe_cb\n");
20                 return 0;
21         }
22
23         return 1;
24 }