Chinaunix首页 | 论坛 | 博客
  • 博客访问: 567123
  • 博文数量: 493
  • 博客积分: 2891
  • 博客等级: 少校
  • 技术积分: 4960
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-17 17:11
文章分类

全部博文(493)

文章存档

2010年(493)

分类:

2010-04-12 12:42:49

struct oh_global_param {
        oh_global_param_type type;
        oh_global_param_union u;
};
typedef enum {
        OPENHPI_ON_EP = 1,
        OPENHPI_LOG_ON_SEV,
        OPENHPI_EVT_QUEUE_LIMIT,
        OPENHPI_DEL_SIZE_LIMIT,
        OPENHPI_DEL_SAVE,
        OPENHPI_DAT_SIZE_LIMIT,
        OPENHPI_DAT_USER_LIMIT,
 OPENHPI_DAT_SAVE,
        //OPENHPI_DEBUG,
        //OPENHPI_DEBUG_TRACE,
        //OPENHPI_DEBUG_LOCK,
        OPENHPI_PATH,
        OPENHPI_VARPATH,
        OPENHPI_CONF
} oh_global_param_type;
typedef union {
        SaHpiEntityPathT on_ep;
        SaHpiSeverityT log_on_sev;
        SaHpiUint32T evt_queue_limit;
        SaHpiUint32T del_size_limit;
        SaHpiBoolT del_save;
        SaHpiUint32T dat_size_limit;
        SaHpiUint32T dat_user_limit;
 SaHpiBoolT dat_save;
        //unsigned char dbg; /* 1 = YES, 0 = NO */
        //unsigned char dbg_trace; /* !0 = YES, 0 = NO */
        //unsigned char dbg_lock; /* !0 = YES, 0 = NO */
        char path[OH_MAX_TEXT_BUFFER_LENGTH];
        char varpath[OH_MAX_TEXT_BUFFER_LENGTH];
        char conf[OH_MAX_TEXT_BUFFER_LENGTH];
} oh_global_param_union;
阅读(416) | 评论(0) | 转发(0) |
0

上一篇:glib

下一篇:glib

给主人留下些什么吧!~~