25 #pragma warning(disable: 4251)
29 #ifdef MCLIENTLIB_EXPORTS
30 #define MCLIENTLIB_API __declspec(dllexport)
32 #define MCLIENTLIB_API __declspec(dllimport)
36 #ifndef MCLIENTLIB_EXPORTS
38 #define MCLIENTLIB_API
40 #define MCLIENTLIB_API
43 #define MCLIENTLIB_API
52 typedef unsigned long MPid ;
57 namespace MClientLib {
75 void setValue(
const std::string& key,
const std::string& value);
76 void unsetValue(
const std::string& key);
77 std::string getValue(
const std::string& key);
78 bool hasValue(
const std::string& key);
80 void purgeEnvironment(
const char* username);
81 std::map<std::string, std::string>
map;
84 std::string resolveEnvironmentString(
const std::string& str) ;