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