1 #pragma once 2 #include "../../paths.hpp" 3 4 #include <filesystem> 5 6 namespace openpower 7 { 8 namespace pels 9 { 10 11 /** 12 * @brief Returns the path to the PEL ID file 13 */ 14 std::filesystem::path getPELIDFile(); 15 16 /** 17 * @brief Returns the path to the PEL repository 18 */ 19 std::filesystem::path getPELRepoPath(); 20 21 /** 22 * @brief Returns the path to the read only data directory 23 */ 24 std::filesystem::path getPELReadOnlyDataPath(); 25 26 /** 27 * @brief Returns the maximum size in bytes allocated to store PELs. 28 * 29 * This is still in paths.c/hpp even though it doesn't return a path 30 * because this file is easy to override when testing. 31 * 32 * @return size_t The maximum size in bytes to use for storing PELs. 33 */ 34 size_t getPELRepoSize(); 35 36 /** 37 * @brief Returns the maximum number of PELs allowed 38 * 39 * This is still in paths.c/hpp even though it doesn't return a path 40 * because this file is easy to override when testing. 41 * 42 * @return size_t The maximum number of PELs to allow in the repository. 43 */ 44 size_t getMaxNumPELs(); 45 46 } // namespace pels 47 } // namespace openpower 48