blob: ea3a6cdcb80ba8d5dcfea3c62a412c2dc9f06139 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_DEVICES_COORDINATOR_ENV_H_
#define SRC_DEVICES_COORDINATOR_ENV_H_
namespace devmgr {
// getenv_bool looks in the environment for |key|. If not found, it
// returns |default_value|. If found, it returns false if the found
// value matches "0", "off", or "false", otherwise it returns true.
bool getenv_bool(const char* key, bool default_value);
} // namespace devmgr
#endif // SRC_DEVICES_COORDINATOR_ENV_H_