diff options
author | Vernon Mauery <vernon.mauery@linux.intel.com> | 2019-04-03 09:19:34 -0700 |
---|---|---|
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | 2019-04-08 17:24:51 +0000 |
commit | e08fbffcd9bd1976f7d26d48bf7a4c3e5843d4a8 (patch) | |
tree | 6abf67790aef9bc4d8bdf49302550941dc2230c2 /apphandler.cpp | |
parent | 6c90b04bc5ec1c7e868eab00da7e9774626751b2 (diff) | |
download | phosphor-host-ipmid-e08fbffcd9bd1976f7d26d48bf7a4c3e5843d4a8.tar.gz phosphor-host-ipmid-e08fbffcd9bd1976f7d26d48bf7a4c3e5843d4a8.zip |
Only include ipmid/api.hpp for the new API
After some feedback from users of the new IPMI API, they wanted to see
two things:
1) don't require ipmid/api.hpp and ipmid/registration.hpp to be able to
write new handlers
2) only require including ipmid/api.hpp (instead of ipmid/api.h)
So now, by simply including ipmid/api.hpp instead of ipmid/api.h
(deprecated), handlers incorporating the new IPMI API can be written.
Change-Id: I446dcce70cff03d4ecc28c658292d052485f77fc
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
Diffstat (limited to 'apphandler.cpp')
-rw-r--r-- | apphandler.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apphandler.cpp b/apphandler.cpp index 1169e07..e1779bb 100644 --- a/apphandler.cpp +++ b/apphandler.cpp @@ -1,5 +1,4 @@ #include <arpa/inet.h> -#include <ipmid/api.h> #include <limits.h> #include <mapper.h> #include <systemd/sd-bus.h> @@ -15,7 +14,6 @@ #include <filesystem> #include <fstream> #include <ipmid/api.hpp> -#include <ipmid/registration.hpp> #include <ipmid/types.hpp> #include <ipmid/utils.hpp> #include <memory> |