X hits on this document

PDF document

February 10, 2006 - page 218 / 238

933 views

0 shares

0 downloads

0 comments

218 / 238

206

APPENDIX K. CONNECTION HANDLING INTERFACE (IPMI CONN.H)

*

  • *

    You should have received a copy of the GNU Lesser General Public

    • *

      License along with this program; if not, write to the Free

    • *

      Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

*/

#ifndef #define

_ _

_ _ IPMI CONN H IPMI CONN H _ _

#includ

e <OpenIPMI/ipmi_types.h>

#include <OpenIPMI/ipmi_addr.h> #include <OpenIPMI/ipmiif.h> #include <OpenIPMI/os_handler.h>

_ _ const ipmi addr t

*addr,

unsigned int

addr_len,

ipmi_event_t

*event,

void

*cb_data);

#ifdef __cplusplus extern "C" { #endif

_ _ const ipmi addr t *addr,

unsigned int

_ addr len,

_ const ipmi msg_t

*cmd,

long

sequence,

void

*cmd_data,

void

*data2,

void

*data3);

/* Called when an incoming command is received by the IPMI code. */

t y p e d e f v o i d ( * i p m i _ l l _ c m d _ h a n d l e r _ t ) ( i p m i _ c o n _ t

*ipmi,

/* Called when an IPMI response to a command comes in from the BMC. */

/* Called when a low-level connection has failed or come up. is zero, the connection has come up after being failed.

If err if err is

*ipmi, *rspi);

may need to be established here. */ t y p e d e f v o i d ( * i p m i _ l l _ e v t _ h a n d l e r _ t ) ( i p m i _ c o n _ t

*ipmi,

in

from the BMC.

Note that the

an

event came in

but did not have

t y p e d e f i n t ( * i p m i _ l l _ r s p _ h a n d l e r _ t ) ( i p m i _ c o n _ t i p m i _ m s g i _ t

/*

Called when an IPMI event comes event may be NULL, meaning that

enough information to build a full event message.

So this

is just Note that so that

an if

event log. be invalid,

indication that there an event is delivered

is a new event in the here, it’s mcid might

Document info
Document views933
Page views933
Page last viewedSun Dec 11 03:02:39 UTC 2016
Pages238
Paragraphs8090
Words85809

Comments