summaryrefslogtreecommitdiffstats
path: root/src/pacman/util.h
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2007-12-03 22:57:54 +0100
committerDan McGee <dan@archlinux.org>2007-12-04 01:43:12 +0100
commit72dae726910bce78647fb47ccfbba657b229ffb4 (patch)
treef8cbb1007255f07f2d7fc47548d8175cd77f0288 /src/pacman/util.h
parent0d1cb037566f3327315cf946d2443abb114b623a (diff)
downloadpacman-72dae726910bce78647fb47ccfbba657b229ffb4.tar.gz
pacman-72dae726910bce78647fb47ccfbba657b229ffb4.tar.xz
Delay output during progress bar
This fixes the output issue related to the progress bar by delaying the output. We can decide later (post-release) if we like this method or we want to switch to something else. Signed-off-by: Chantry Xavier <shiningxc@gmail.com> [Dan: just some minor cleanups] 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 0295d7e5..4f4b3db3 100644
--- a/src/pacman/util.h
+++ b/src/pacman/util.h
@@ -55,6 +55,7 @@ int yesno(char *fmt, ...);
int pm_printf(pmloglevel_t level, const char *format, ...) __attribute__((format(printf,2,3)));
int pm_fprintf(FILE *stream, pmloglevel_t level, const char *format, ...) __attribute__((format(printf,3,4)));
int pm_vfprintf(FILE *stream, pmloglevel_t level, const char *format, va_list args) __attribute__((format(printf,3,0)));
+int pm_vasprintf(char **string, pmloglevel_t level, const char *format, va_list args) __attribute__((format(printf,3,0)));
#ifndef HAVE_STRNDUP
char *strndup(const char *s, size_t n);