diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-12-13 22:21:24 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-12-13 22:21:24 +0100 |
commit | e43e3c44e9dee571c11a0fed16c27dff177d8c38 (patch) | |
tree | 6bb4c2f83e4431a0d2cca4899e38f08a4713b79e /pcitool/formaters.h | |
parent | 8ce8c60d7b335d4c1b64a9c726665759a6dd17ba (diff) | |
download | ipecamera-e43e3c44e9dee571c11a0fed16c27dff177d8c38.tar.gz ipecamera-e43e3c44e9dee571c11a0fed16c27dff177d8c38.tar.bz2 ipecamera-e43e3c44e9dee571c11a0fed16c27dff177d8c38.tar.xz ipecamera-e43e3c44e9dee571c11a0fed16c27dff177d8c38.zip |
Do event counting when rawcallback is used to stream the data
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 */ + |