index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2015-11-11 19:20:00 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-11-28 22:52:11 +1000 |
commit | 8ad893732d44960d04cb476c436b7ea045626f07 (patch) | |
tree | 4da6fb6a66843b8373bdee87773549db7295dbe2 /lib/libalpm/util.h | |
parent | b42d0852f31ce7cef75da5ce51e6c09545ef8f2d (diff) |
-rw-r--r-- | lib/libalpm/util.h | 5 |
diff --git a/lib/libalpm/util.h b/lib/libalpm/util.h index 95112cff..c0c9ff04 100644 --- a/lib/libalpm/util.h +++ b/lib/libalpm/util.h @@ -119,7 +119,10 @@ int _alpm_unpack(alpm_handle_t *handle, const char *archive, const char *prefix, ssize_t _alpm_files_in_directory(alpm_handle_t *handle, const char *path, int full_count); -int _alpm_run_chroot(alpm_handle_t *handle, const char *cmd, char *const argv[]); +typedef ssize_t (*_alpm_cb_io)(void *buf, ssize_t len, void *ctx); + +int _alpm_run_chroot(alpm_handle_t *handle, const char *cmd, char *const argv[], + _alpm_cb_io in_cb, void *in_ctx); int _alpm_ldconfig(alpm_handle_t *handle); int _alpm_str_cmp(const void *s1, const void *s2); char *_alpm_filecache_find(alpm_handle_t *handle, const char *filename); |