_info 457 B

12345678910111213141516171819202122232425
  1. #include "config.h"
  2. #include <stdio.h>
  3. #include <string.h>
  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. if (strcmp(argv[1], "depends") == 0) {
  17. printf("ccan/tlist\n");
  18. printf("ccan/typesafe_cb\n");
  19. return 0;
  20. }
  21. return 1;
  22. }