2011-02-12 17:04:44 +01:00
|
|
|
#ifndef _UTILS_H
|
|
|
|
#define _UTILS_H
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
std::string strip_whitespaces (const std::string input_str);
|
|
|
|
bool create_dir (const std::string &dir_str);
|
2011-03-16 17:03:41 +01:00
|
|
|
std::string sha256_hash (std::string input);
|
2011-04-19 12:16:52 +02:00
|
|
|
std::string sha256_hash_file (const char *filename);
|
2011-02-12 17:04:44 +01:00
|
|
|
|
|
|
|
#endif /* _UTILS_H */
|