diff options
Diffstat (limited to 'xmrstak/misc/utility.hpp')
-rw-r--r-- | xmrstak/misc/utility.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/xmrstak/misc/utility.hpp b/xmrstak/misc/utility.hpp new file mode 100644 index 0000000..b2e841d --- /dev/null +++ b/xmrstak/misc/utility.hpp @@ -0,0 +1,12 @@ +#pragma once + +#include <string> + +namespace xmrstak +{ + /** case insensitive string compare + * + * @return true if both strings are equal, else false + */ + bool strcmp_i(const std::string& str1, const std::string& str2); +} // namepsace xmrstak |