summaryrefslogtreecommitdiff
path: root/cpp/lib/common/CommonOptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/lib/common/CommonOptions.h')
-rw-r--r--cpp/lib/common/CommonOptions.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/lib/common/CommonOptions.h b/cpp/lib/common/CommonOptions.h
index 2a4b9798cd..beaeb114e6 100644
--- a/cpp/lib/common/CommonOptions.h
+++ b/cpp/lib/common/CommonOptions.h
@@ -62,6 +62,11 @@ value_semantic* optValue(T& value, const char* arg) {
return new OptionValue<T>(value, argName);
}
+/** Environment-to-option name mapping.
+ * Maps env variable "QPID_SOME_VAR" to option "some-var"
+ */
+std::string env2option(const std::string& env);
+
/**
* Like boost::program_options::bool_switch but takes reference, not pointer.
*/