]> git.ozlabs.org Git - ccan-lca-2011.git/blob - ccan/tevent/_info
lca2011: hacky import of tevent.
[ccan-lca-2011.git] / ccan / tevent / _info
1 #include <string.h>
2 #include "config.h"
3
4 /**
5  * tevent - reduced version of the SAMBA tevent library
6  *
7  * Cut down and modified for CCAN as an example.
8  *
9  * License: GPL
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/talloc\n");
19                 return 0;
20         }
21
22         return 1;
23 }