Create libipmid and libipmid-host
This starts a transition to common ipmid libraries that providers can
link against. It will allow for a cleaner separation between common
ipmid functionality and daemon type specific code. This is needed so we
can resolve all of the symbols in the providers at link time instead of
discovering bad linkage by building and running a full ipmi daemon.
In future commits libraries will be packaged for libipmid and libipmid-host
which provide all of the symbols used by the current set of ipmid
providers.
This is the first step, it just separates and renames the headers.
Legacy symlinks are still kept around for compatability. It also adds
stub libraries so that external users can start linking as intended.
Change-Id: I6bbd7a146362012d26812a7b039d1c4075862cbd
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/chassishandler.cpp b/chassishandler.cpp
index 7b94189..068ad89 100644
--- a/chassishandler.cpp
+++ b/chassishandler.cpp
@@ -9,7 +9,7 @@
#include <arpa/inet.h>
#include <endian.h>
-#include <host-ipmid/ipmid-api.h>
+#include <ipmid/api.h>
#include <limits.h>
#include <mapper.h>
#include <netinet/in.h>