#define OH_CHECK_INIT_STATE(sid) \
do { \
SaHpiBoolT state; \
SaErrorT init_error; \
if ((init_error = oh_get_session_subscription(sid,&state)) != SA_OK) { \
dbg("Init state check failed! (%s, %d)", oh_lookup_error(init_error), sid); \
return init_error; \
} \
} while (0)
阅读(245) | 评论(0) | 转发(0) |