diff options
author | Michael Andres <ma@suse.de> | 2014-02-25 11:36:10 +0100 |
---|---|---|
committer | Michael Andres <ma@suse.de> | 2014-02-25 11:36:10 +0100 |
commit | 1692a946f563e1378d6fc6e8859c2638139999d6 (patch) | |
tree | fae0c7806c0bdb71d5f67a6c4d035e156edc83b0 /ext | |
parent | da3898d847cfc414142edf27521bbe63131230dd (diff) | |
download | libsolv-1692a946f563e1378d6fc6e8859c2638139999d6.tar.gz libsolv-1692a946f563e1378d6fc6e8859c2638139999d6.tar.bz2 libsolv-1692a946f563e1378d6fc6e8859c2638139999d6.zip |
repo_helix: parse application elements
Diffstat (limited to 'ext')
-rw-r--r-- | ext/repo_helix.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/repo_helix.c b/ext/repo_helix.c index c36c59c..95dac35 100644 --- a/ext/repo_helix.c +++ b/ext/repo_helix.c @@ -100,6 +100,7 @@ static struct stateswitch stateswitches[] = { { STATE_SUBCHANNEL, "atom", STATE_PACKAGE, 0 }, { STATE_SUBCHANNEL, "patch", STATE_PACKAGE, 0 }, { STATE_SUBCHANNEL, "product", STATE_PACKAGE, 0 }, + { STATE_SUBCHANNEL, "application", STATE_PACKAGE, 0 }, { STATE_PACKAGE, "name", STATE_NAME, 1 }, { STATE_PACKAGE, "vendor", STATE_VENDOR, 1 }, { STATE_PACKAGE, "buildtime", STATE_BUILDTIME, 1 }, @@ -461,6 +462,8 @@ startElement(void *userData, const char *name, const char **atts) pd->kind = "product"; else if (!strcmp(name, "patch")) pd->kind = "patch"; + else if (!strcmp(name, "application")) + pd->kind = "application"; else pd->kind = NULL; /* default is package */ pd->levrspace = 1; |