summaryrefslogtreecommitdiffstats
path: root/src/pacman/util.h
diff options
context:
space:
mode:
authorNathan Jones <nathanj@insightbb.com>2007-11-14 01:32:56 +0100
committerDan McGee <dan@archlinux.org>2007-11-14 03:59:02 +0100
commit46ec9e3548b5b567c7eb18c360f54a77b6313b12 (patch)
tree0fd80f989cf93916e68fbd3e54146eb6516d756e /src/pacman/util.h
parent70a91cbb22bb3ec88d518e2e6c43553c53cde318 (diff)
downloadpacman-46ec9e3548b5b567c7eb18c360f54a77b6313b12.tar.gz
pacman-46ec9e3548b5b567c7eb18c360f54a77b6313b12.tar.xz
Make it easier to ignore multiple packages.
This makes --ignore and --ignoregroup able to accept multiple packages/groups by separating each with a comma. For instance: pacman -Su --ignore kernel26,udev,glibc This was requested in the comments of FS#8054. Signed-off-by: Nathan Jones <nathanj@insightbb.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/util.h')
-rw-r--r--src/pacman/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pacman/util.h b/src/pacman/util.h
index 4d17b179..931b456b 100644
--- a/src/pacman/util.h
+++ b/src/pacman/util.h
@@ -46,6 +46,7 @@ void indentprint(const char *str, int indent);
char *strtoupper(char *str);
char *strtrim(char *str);
char *strreplace(const char *str, const char *needle, const char *replace);
+alpm_list_t *strsplit(const char *str, const char splitchar);
void list_display(const char *title, const alpm_list_t *list);
void display_targets(const alpm_list_t *syncpkgs, pmdb_t *db_local);
int yesno(char *fmt, ...);