aboutsummaryrefslogtreecommitdiff
path: root/squashfs-tools/progressbar.h
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@squashfs.org.uk>2012-10-18 23:55:37 +0100
committerMohamad Ayyash <mkayyash@google.com>2015-02-23 12:35:10 -0800
commit3b89ee8f79141ded7929145981c26362eeef2a26 (patch)
treedc5052c2e61577f22ae591016186f61e89bbecb8 /squashfs-tools/progressbar.h
parent9f920f6d8698ecc622f98048c666f90fcf3dac96 (diff)
downloadsquashfs-tools-3b89ee8f79141ded7929145981c26362eeef2a26.tar.gz
mksquashfs: Split progress bar out into separate files
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
Diffstat (limited to 'squashfs-tools/progressbar.h')
-rw-r--r--squashfs-tools/progressbar.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/squashfs-tools/progressbar.h b/squashfs-tools/progressbar.h
new file mode 100644
index 0000000..87b657e
--- /dev/null
+++ b/squashfs-tools/progressbar.h
@@ -0,0 +1,32 @@
+/*
+ * Create a squashfs filesystem. This is a highly compressed read only
+ * filesystem.
+ *
+ * Copyright (c) 2012
+ * Phillip Lougher <phillip@lougher.demon.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2,
+ * or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * progressbar.h
+ */
+
+extern void inc_progress_bar();
+extern void dec_progress_bar(int count);
+extern void progress_bar_size(int count);
+extern void update_progress_bar();
+extern void enable_progress_bar();
+extern void disable_progress_bar();
+extern void init_progress_bar();
+extern void progressbar_error(char *fmt, ...);