Hardik Goyal | b09d6b0 | 2019-08-13 16:15:50 -0700 | [diff] [blame^] | 1 | // Copyright 2019 The Chromium OS Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef DEBUGD_SRC_HELPER_UTILS_H_ |
| 6 | #define DEBUGD_SRC_HELPER_UTILS_H_ |
| 7 | |
| 8 | #include <string> |
| 9 | |
| 10 | namespace debugd { |
| 11 | |
| 12 | // Get the full path of a helper executable located at the |relative_path| |
| 13 | // relative to the debugd helpers directory. Return false if the full path |
| 14 | // is too long. |
| 15 | bool GetHelperPath(const std::string& relative_path, std::string* full_path); |
| 16 | |
| 17 | } // namespace debugd |
| 18 | #endif // DEBUGD_SRC_HELPER_UTILS_H_ |