summaryrefslogtreecommitdiff
path: root/ccan/dgraph/_info
blob: 81a75a77a45310b517ee8ecd3bc88f6f38063078 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "config.h"
#include <stdio.h>
#include <string.h>

/**
 * dgraph - simple directed graph module
 *
 * This code implements a simple directed graph, with nodes and edges.
 *
 * License: LGPL (v2.1 or any later version)
 */
int main(int argc, char *argv[])
{
	/* Expect exactly one argument */
	if (argc != 2)
		return 1;

	if (strcmp(argv[1], "depends") == 0) {
		printf("ccan/tlist\n");
		printf("ccan/typesafe_cb\n");
		return 0;
	}

	return 1;
}