summaryrefslogtreecommitdiff
path: root/src/pprint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pprint.h')
-rw-r--r--src/pprint.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pprint.h b/src/pprint.h
index 7fa303e..de1f1f4 100644
--- a/src/pprint.h
+++ b/src/pprint.h
@@ -3,6 +3,11 @@
/* progress print functions */
+/* level 1: print progress bar only.
+ * level 2: print copy start/done messages.
+ * level 3: print ssh connection establishment/disconnection.
+ * level 4: print chunk information.
+ */
void pprint_set_level(int level);
void pprint(int level, const char *fmt, ...);
@@ -11,4 +16,5 @@ void pprint(int level, const char *fmt, ...);
#define pprint3(fmt, ...) pprint(3, "\r\033[K" fmt, ##__VA_ARGS__)
#define pprint4(fmt, ...) pprint(4, "\r\033[K" fmt, ##__VA_ARGS__)
+
#endif /* _PPRRINT_H_ */