/* * Copyright (c) 2007, Novell Inc. * * This program is licensed under the BSD license, read LICENSE.BSD * for further information */ /* * helix2solv.c * * parse 'helix' type xml and write out .solv file * * reads from stdin * writes to stdout */ #include #include #include #include #include #include #include "pool.h" #include "repo_helix.h" #include "common_write.h" int main(int argc, char **argv) { Pool *pool = pool_create(); Repo *repo = repo_create(pool, ""); repo_add_helix(repo, stdin, 0); tool_write(repo, 0, 0); pool_free(pool); exit(0); }