current state of 'sat-solver'
[platform/upstream/libsolv.git] / tools / helix2solv.c
1 /*
2  * helix2solv.c
3  * 
4  * parse 'helix' type xml and write out .solv file
5  *
6  * reads from stdin
7  * writes to stdout
8  */
9
10 #include <sys/types.h>
11 #include <limits.h>
12 #include <fcntl.h>
13 #include <stdio.h>
14 #include <stdlib.h>
15 #include <string.h>
16
17 #include "pool.h"
18 #include "source_helix.h"
19 #include "source_write.h"
20
21 int
22 main(int argc, char **argv)
23 {
24   Pool *pool = pool_create();
25   Source *source = pool_addsource_helix(pool, stdin);
26   pool_writesource(pool, source, stdout);
27   pool_free(pool);
28   exit(0);
29 }