CHAPTER 2. OPENIPMI
ipmi fru.h ipmi auth.h
ipmi err.h os handler.h
ipmi posix.h ipmi log.h
The main include file for OpenIPMI. It contains the main functions the user must deal with when working with the OpenIPMI library. Almost everything will include this. It includes ipmi types.h and ipmi bits.h, too, so you don’t have to include those. Interface for FRU data. The file holding information about athentication algorithms. You need this if dealing with an authenticated interface. Various values, mostly for sensors, used by the user. ipmiif.h includes this file, so you generally don’t have to include it explicitly. Types for the basic IPMI objects. ipmiif.h includes this file, so you generally don’t have to include it explicitly. Error values, both IPMI and system, as well as macros for interpreting these. The os-specific handler types are defined here. You must implement this and supply it to the IPMI code. For *nix systems, This file a default mechanism for handling many of the os-specific handler operations. This defines some POSIX OS handlers. Holds definitions for the logging interface.
Files dealing with messaging interfaces
ipmi lan.h ipmi smi.h
This is the LAN messaging interface, this contains the calls for creating a LAN connection. This is the messaging interface for talking to local IPMI interfaces (like KCS), this contains
the calls for creating an SMI connection.
File for system configuration
ipmi pef.h ipmi lanparm.h ipmi pet.h
Contains code for configuring the PEF. Contains code for configuring the LAN configuration data. Contains code that allows the user to easily set up an IPMI LAN interface on a BMC
to send SNMP traps.
These files expose the more IPMI-ish parts of OpenIPMI; things that are closer to raw IPMI. You should not use these unless you really need them.
ipmi mc.h ipmi addr.h ipmi conn.h
This defines interfaces for the management controllers. The file holding information about IPMI addresses. This defines the interface for the messaging interfaces.
ipmi msgbits.h ipmi picmg.h ipmi sdr.h
This defines various IPMI messages. This defines various PIGMC messages. This defines internal interfaces for the SDR repository.