xref: /openbmc/openpower-hw-diags/attn/attn_main.hpp (revision 3fb52e53551e528f4b2f53b053a7e996993d06d7)
1 #pragma once
2 
3 #include <attn/attn_config.hpp>
4 
5 namespace attn
6 {
7 
8 /**
9  * @brief Load the attention handler as a gpio monitor
10  *
11  * Request the attention gpio for monitoring and attach the attention handler
12  * as the gpio event handler.
13  *
14  * @param i_config     pointer to attention handler configuration object
15  *
16  * @return 0 == success
17  */
18 int attnDaemon(Config* i_config);
19 
20 } // namespace attn
21