X hits on this document

PDF document

February 10, 2006 - page 233 / 238

941 views

0 shares

0 downloads

0 comments

233 / 238

_ _ os_timed out t

timed_out,

void

*cb_data);

/*

Cancel the given timer.

If the timer has already been called

(or is in the process of being called) ESRCH, and it may not return ESRCH for other words, if ESRCH is returned, the timeout handler has or will be called.

this should return any other reason. timer is valid and

*/

In the

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

_

*handler, t *id);

/*

Used to implement locking primitives for multi-threaded access.

If these are NULL, then the single-threaded and doesn’t longer have to be recursive

code will assume that the system is

need locking.

Note that these

no

locks,

they

may

be

normal

non-recursive locks. */ i n t ( * c r e a t e _ l o c k ) ( o s _ h a n d l e r _ t

*handler,

os_hnd_lock_t **id); int (*destroy_lock)(os_handler_t *handler, os_hnd_lock_t *id); int (*lock)(os_handler_t *handler, os_hnd_lock_t *id); int (*unlock)(os_handler_t *handler, os_hnd_lock_t *id);

/* Return "len" bytes of random data into "data". */

void

*data,

unsigned int

len);

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

*handler,

/*

Log See

reports the log

some through here.

They will

types

defined

in

ipmiif.h

for

not end in newlines. more information on

handling these. */ v o i d ( * l o g ) ( o s _ h a n d l e r _ t

*handler,

e n u m i p m i _ l o g _ t y p e _ e l o g _ t y p e ,

const char ...); v o i d ( * v l o g ) ( o s _ h a n d l e r _ t

*format,

*handler,

e n u m i p m i _ l o g _ t y p e _ e l o g _ t y p e ,

const char

*format,

va_list

ap);

/* The user may use this for whatever they like. */ void *user_data;

/* The rest of these are not used by OpenIPMI proper, but are here

221

Document info
Document views941
Page views941
Page last viewedSun Dec 11 08:19:38 UTC 2016
Pages238
Paragraphs8090
Words85809

Comments