blob: 6c05ddee761b9a74e1ff70f0e55f9b4b24589f92 [file] [log] [blame]
Tom485038e2016-12-02 13:44:45 +05301#pragma once
2
3namespace provider
4{
5
6/*
7 * @brief Provider Library filename extension
8 *
9 * Autotools versions the shared libraries, so the shared libraries end with
10 * extension name .so.*
11 */
12
13constexpr auto PROVIDER_SONAME_EXTN = ".so.";
14
15/*
16 * @brief Register Callback handlers for IPMI provider libraries
17 *
18 * Open the directory path for net-ipmid provider libraries and scan the
19 * directory for files that end with .so.*. and dlopen the shared libraries
20 * to register the handlers for the callback routines.
21 *
22 * @param[in] providerLibPath - Directory path for reading the IPMI provider
23 * libraries
24 */
25void registerCallbackHandlers(const char* providerLibPath);
26
27} // namespace provider