summaryrefslogtreecommitdiffstats
path: root/xmrstak/misc/utility.hpp
diff options
context:
space:
mode:
authorpsychocrypt <psychocrypt@users.noreply.github.com>2017-10-26 20:58:27 +0200
committerpsychocrypt <psychocrypt@users.noreply.github.com>2017-10-27 20:13:19 +0200
commit12802f12e30f57c2a9eefca2c1a5955275c95127 (patch)
treea10bced239ecd012ceeed593571a3fb8bccee9cb /xmrstak/misc/utility.hpp
parent41451d91e8e50f2b6c4b07630987dbc5a58aecb9 (diff)
downloadxmr-stak-12802f12e30f57c2a9eefca2c1a5955275c95127.zip
xmr-stak-12802f12e30f57c2a9eefca2c1a5955275c95127.tar.gz
rename `xmr` to `monero`
- rename all `xmr` to `monero` - be insensitive while check for set currency - add function to compate two strings insensitive
Diffstat (limited to 'xmrstak/misc/utility.hpp')
-rw-r--r--xmrstak/misc/utility.hpp12
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
OpenPOWER on IntegriCloud