index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-03-29 00:40:49 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-03-29 00:40:49 -0400 |
commit | bbe55b5ce9f5c43e1c9d5e7e326429175b207ba0 (patch) | |
tree | 82b151aef7d9bfec33f7a046b2d69a7cf70106c4 /lib/libalpm/alpm.c | |
parent | 462ad153e7405013aace5473602e07728d55c278 (diff) |
-rw-r--r-- | lib/libalpm/alpm.c | 7 |
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c index 48044bad..1678fd32 100644 --- a/lib/libalpm/alpm.c +++ b/lib/libalpm/alpm.c @@ -564,6 +564,13 @@ static char *_supported_archs[] = { "x86_64", }; +/** + * @brief Determine if a package name has -ARCH tacked on. + * + * @param pkgname name of the package to parse + * + * @return pointer to start of -ARCH text if it exists, else NULL + */ char SYMEXPORT *alpm_pkg_name_hasarch(char *pkgname) { /* TODO remove this when we transfer everything over to -ARCH |