1 #pragma once
2 
3 namespace attn
4 {
5 
6 /** @brief Dump types supported by dump request */
7 enum class DumpType
8 {
9     Hostboot,
10     Hardware
11 };
12 
13 /** @brief Structure for dump request parameters */
14 class DumpParameters
15 {
16   public:
17     uint32_t logId;
18     uint32_t unitId;
19     DumpType dumpType;
20 };
21 
22 /**
23  * Request a dump from the dump manager
24  *
25  * Request a dump from the dump manager and register a monitor for observing
26  * the dump progress.
27  *
28  * @param dumpParameters Parameters for the dump request
29  */
30 void requestDump(const DumpParameters& dumpParameters);
31 
32 } // namespace attn
33