X hits on this document

PDF document

February 10, 2006 - page 193 / 238

872 views

0 shares

0 downloads

0 comments

193 / 238

}

}

s t a t i c o s _ h a n d l e r _ t * o s _ h n d ;

static void m y _ v l o g ( o s _ h a n d l e r _ const char t

*handler, *format,

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

va list

_

ap)

{

int do_nl = 1;

switch(log_type) {

case IPMI_LOG_INFO: printf("INFO: "); break;

case IPMI_LOG_WARNING: printf("WARN: "); break;

case IPMI_LOG_SEVERE: printf("SEVR: "); break;

case IPMI_LOG_FATAL: printf("FATL: "); break;

c a s e I P M I _ L O G _ E R R _ I N F O printf("EINF: "); break; :

case IPMI_LOG_DEBUG_START: do_nl = 0; /* FALLTHROUGH */ case IPMI_LOG_DEBUG: printf("DEBG: "); break;

case IPMI_LOG_DEBUG_CONT: do_nl = 0; /* FALLTHROUGH */

181

Document info
Document views872
Page views872
Page last viewedSat Dec 10 06:09:08 UTC 2016
Pages238
Paragraphs8090
Words85809

Comments