index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Florian Pritz <bluewind@xinu.at> | 2014-09-15 18:06:47 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-09-30 22:20:53 +1000 |
commit | 4e263f24c6ed1cc710b7873b9ea37534117247ea (patch) | |
tree | afdf105036af29f6830f2bcbe1b9f2308f85f2d8 /lib/libalpm/alpm.h | |
parent | 13c9745302b11dcee7b1b894d95789a2caf11c9d (diff) |
-rw-r--r-- | lib/libalpm/alpm.h | 11 |
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 1cfd4f5b..888b6a00 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -1517,6 +1517,17 @@ alpm_list_t *alpm_checkconflicts(alpm_handle_t *handle, alpm_list_t *pkglist); */ char *alpm_dep_compute_string(const alpm_depend_t *dep); +/** Return a newly allocated dependency information parsed from a string + * @param depstring a formatted string, e.g. "glibc=2.12" + * @return a dependency info structure + */ +alpm_depend_t *alpm_dep_from_string(const char *depstring); + +/** Free a dependency info structure + * @param dep struct to free + */ +void alpm_dep_free(alpm_depend_t *dep); + /** @} */ /** @} */ |