X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fttxml%2F_info;fp=ccan%2Fttxml%2F_info;h=9bf0ddbcdebe9adb688670ec343145a591912cd9;hb=a89ccb89e84236ba0226038a1cbecc901e95614b;hp=0000000000000000000000000000000000000000;hpb=de868b8eee34e39b4465dd9def9141b97926e847;p=ccan diff --git a/ccan/ttxml/_info b/ccan/ttxml/_info new file mode 100644 index 00000000..9bf0ddbc --- /dev/null +++ b/ccan/ttxml/_info @@ -0,0 +1,23 @@ +#include +#include "config.h" + +/** + * ttxml - tiny XML library for parsing (trusted!) XML documents. + * + * This parses an XML file into a convenient data structure. + * + * License: GPL + * Author: Daniel Burke + */ +int main(int argc, char *argv[]) +{ + /* Expect exactly one argument */ + if (argc != 2) + return 1; + + if (strcmp(argv[1], "depends") == 0) { + return 0; + } + + return 1; +}