this put console output into its own function

This commit is contained in:
Marcel Nowicki
2022-02-10 21:18:44 +01:00
parent 3b2e3aa2ff
commit bf6f224a23
3 changed files with 22 additions and 6 deletions

View File

@@ -4,6 +4,8 @@
*/
#include <fstream>
#include <map>
#include <string>
#ifndef TARSTATS___TARFUNC_H
@@ -20,6 +22,8 @@ namespace tar {
// gets type of an item
std::string getitemtype(char &n);
//
void consolestats (std::map<std::string, uintmax_t> &typecount, uintmax_t tarfilesize, uintmax_t sizeofall);
}