diff options
Diffstat (limited to 'pcitool/formaters.h')
-rw-r--r-- | pcitool/formaters.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pcitool/formaters.h b/pcitool/formaters.h new file mode 100644 index 0000000..c854da5 --- /dev/null +++ b/pcitool/formaters.h @@ -0,0 +1,12 @@ +#ifndef _PCITOOL_FORMATERS_H +#define _PCITOOL_FORMATERS_H + +void PrintTime(size_t duration); +void PrintNumber(size_t num); +void PrintSize(size_t num); +void PrintPercent(size_t num, size_t total); +char *GetPrintSize(char *str, size_t size); + + +#endif /* _PCITOOL_FORMATERS_H */ + |