projects
/
platform
/
upstream
/
libsolv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
to follow SUSE tools conventions
[platform/upstream/libsolv.git]
/
tools
/
rpmmd2solv.c
1
#include <sys/types.h>
2
#include <limits.h>
3
#include <fcntl.h>
4
#include <stdio.h>
5
#include <stdlib.h>
6
#include <string.h>
7
8
#include "pool.h"
9
#include "repo_rpmmd.h"
10
#include "repo_write.h"
11
12
int
13
main(int argc, char **argv)
14
{
15
Pool *pool = pool_create();
16
Repo *repo = pool_addrepo_rpmmd(pool, stdin);
17
pool_writerepo(pool, repo, stdout);
18
pool_free(pool);
19
exit(0);
20
}