Make xbps_fetch_file accept a callback to update its progress.
This also makes xbps_unpack_binary_pkg follow this convention by avoiding static variables. --HG-- branch : progress_callback rename : bin/xbps-repo/util.c => bin/xbps-bin/util.c
This commit is contained in:
@@ -3,8 +3,8 @@ TOPDIR = ../..
|
||||
|
||||
BIN = xbps-bin
|
||||
OBJS = check.o install.o main.o remove.o show-deps.o
|
||||
OBJS += show-info-files.o ../xbps-repo/util.o find-files.o
|
||||
OBJS += question.o
|
||||
OBJS += show-info-files.o util.o find-files.o
|
||||
OBJS += question.o fetch.o
|
||||
MAN = $(BIN).8
|
||||
|
||||
include $(TOPDIR)/prog.mk
|
||||
|
||||
Reference in New Issue
Block a user