2 * Copyright (c) 2007, Novell Inc.
4 * This program is licensed under the BSD license, read LICENSE.BSD
5 * for further information
11 * parse 'helix' type xml and write out .solv file
17 #include <sys/types.h>
23 #include "repo_helix.h"
24 #include "common_write.h"
27 main(int argc, char **argv)
29 Pool *pool = pool_create();
30 Repo *repo = repo_create(pool, "<stdin>");
31 if (repo_add_helix(repo, stdin, 0))
33 fprintf(stderr, "helix2solv: %s\n", pool_errstr(pool));
36 tool_write(repo, 0, 0);