From 16ae343df236c7ccb29c3a86d8c5ca4a4e199565 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Mon, 6 Jun 2016 17:38:36 +0200 Subject: [PATCH] Add missing progress bar API's Signed-off-by: Joachim Nilsson --- lite.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lite.h b/lite.h index 4a6c7e8..7978f26 100644 --- a/lite.h +++ b/lite.h @@ -80,7 +80,10 @@ pid_t pidfile_poll (const char *pidfile); void *reallocarray(void *optr, size_t nmemb, size_t size); -int tree(char *path, int show_perms); +int tree(char *path, int show_perms); + +void progress (int percent, int max_width); +void progress_simple(int percent); #ifndef touch # define touch(x) do { if (mknod((x), S_IFREG|0644, 0) && errno != EEXIST) warn("Failed creating %s", x); } while (0)