_info 482 B

1234567891011121314151617181920212223242526
  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. printf("ccan/agar\n");
  20. return 0;
  21. }
  22. return 1;
  23. }