summaryrefslogtreecommitdiff
path: root/src/pacman/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/util.h')
-rw-r--r--src/pacman/util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pacman/util.h b/src/pacman/util.h
index 37509788..61bf09ee 100644
--- a/src/pacman/util.h
+++ b/src/pacman/util.h
@@ -47,6 +47,9 @@
s1[(len)-1] = 0; \
} while(0)
+/* update speed for the fill_progress based functions */
+#define UPDATE_SPEED_SEC 0.2f
+
#define _(str) gettext(str)
unsigned int getcols();
int makepath(char *path);
@@ -56,6 +59,9 @@ char *strtoupper(char *str);
char *strtrim(char *str);
int reg_match(char *string, char *pattern);
void list_display(const char *title, alpm_list_t *list);
+void display_targets(alpm_list_t *pkgs);
+float get_update_timediff(int first_call);
+void fill_progress(const int percent, const int proglen);
#endif /* _PM_UTIL_H */