mirror of
https://github.com/troglobit/libite.git
synced 2026-11-01 13:00:33 +00:00
Add missing progress bar API's
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
6e558e98f0
commit
16ae343df2
1 file changed
+4
-1
@@ -80,7 +80,10 @@ pid_t pidfile_poll (const char *pidfile);
|
|||||||
|
|
||||||
void *reallocarray(void *optr, size_t nmemb, size_t size);
|
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
|
#ifndef touch
|
||||||
# define touch(x) do { if (mknod((x), S_IFREG|0644, 0) && errno != EEXIST) warn("Failed creating %s", x); } while (0)
|
# define touch(x) do { if (mknod((x), S_IFREG|0644, 0) && errno != EEXIST) warn("Failed creating %s", x); } while (0)
|
||||||
|
|||||||
Reference in new issue
Block a user