aboutsummaryrefslogtreecommitdiff
path: root/src/common/Utilities/Util.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2016-03-21 17:25:34 +0100
committerShauren <shauren.trinity@gmail.com>2016-03-21 17:25:34 +0100
commite3af42e05cdf9e4c959d4e038349008da4faca27 (patch)
tree8fd6ae40a6b4896955157ed79bfbee98e8ae91a2 /src/common/Utilities/Util.h
parent60e1b50b3bc69809cccc6b94fb53c59913512be4 (diff)
Core/Util: Extracted GetPID to separate function
Diffstat (limited to 'src/common/Utilities/Util.h')
-rw-r--r--src/common/Utilities/Util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/Utilities/Util.h b/src/common/Utilities/Util.h
index 486c86f9182..79248544c20 100644
--- a/src/common/Utilities/Util.h
+++ b/src/common/Utilities/Util.h
@@ -315,7 +315,8 @@ bool Utf8ToUpperOnlyLatin(std::string& utf8String);
bool IsIPAddress(char const* ipaddress);
-uint32 CreatePIDFile(const std::string& filename);
+uint32 CreatePIDFile(std::string const& filename);
+uint32 GetPID();
std::string ByteArrayToHexStr(uint8 const* bytes, uint32 length, bool reverse = false);
void HexStrToByteArray(std::string const& str, uint8* out, bool reverse = false);