X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fbitmap%2F_info;fp=ccan%2Fbitmap%2F_info;h=058f8bb2478907f77304c1729e1b5f62c7ab44c9;hb=ba88f53bc56206c7eccac7eac20447e19c34c024;hp=0000000000000000000000000000000000000000;hpb=5628cd2c21655a84dfcf5cc693c8c0d5701fe75d;p=ccan diff --git a/ccan/bitmap/_info b/ccan/bitmap/_info new file mode 100644 index 00000000..058f8bb2 --- /dev/null +++ b/ccan/bitmap/_info @@ -0,0 +1,29 @@ +#include +#include "config.h" + +/** + * bitmap - bitmap handling + * + * This code handles manipulation of bitmaps, arbitrary length arrays + * of bits. + * + * License: LGPL (v2.1 or any later version) + * Author: David Gibson + */ +int main(int argc, char *argv[]) +{ + /* Expect exactly one argument */ + if (argc != 2) + return 1; + + if (strcmp(argv[1], "depends") == 0) { + return 0; + } + + if (strcmp(argv[1], "testdepends") == 0) { + printf("ccan/array_size\n"); + return 0; + } + + return 1; +}