⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 syntax-rowstatus-get.m2i

📁 开发snmp的开发包有两个开放的SNMP开发库
💻 M2I
字号:
#############################################################  -*- c -*-## generic include for XXX. Do not use directly.#### $Id: syntax-RowStatus-get.m2i 12090 2005-04-18 22:04:52Z rstory $########################################################################@if $m2c_mark_boundary == 1@/** START code generated by $RCSfile$ $Revision: 12090 $ */@end@##########################################################################@include generic-get-decl.m2i@@include generic-ctx-get.m2i@@if $m2c_node_skip_mapping != 1@    /*     * TODO:245:o: |-> Implement $context RowStatus mapping@if $mfd_code_verbose == 1@     *     * If the values for your data type don't exactly match the     * possible values defined by the mib, you should map them here.@end@     */    /*     * update INTERNAL_* macros defined in the header, if neccessary     */    switch ($m2c_node_lh) {        /* `active', which indicates that the conceptual row is              available for use by the managed device */    case INTERNAL_$context.uc_$node.uc_ACTIVE:        $m2c_node_lh = ROWSTATUS_ACTIVE;        break;        /* `notInService', which indicates that the conceptual                 row exists in the agent, but is unavailable for use by                 the managed device (see NOTE below); 'notInService' has                 no implication regarding the internal consistency of                 the row, availability of resources, or consistency with                 the current state of the managed device */    case INTERNAL_$context.uc_$node.uc_NOTINSERVICE:        $m2c_node_lh = ROWSTATUS_NOTINSERVICE;        break;        /* `notReady', which indicates that the conceptual row                 exists in the agent, but is missing information                 necessary in order to be available for use by the                 managed device (i.e., one or more required columns in                 the conceptual row have not been instanciated) */    case INTERNAL_$context.uc_$node.uc_NOTREADY:        $m2c_node_lh = ROWSTATUS_NOTREADY;        break;    default:        snmp_log(LOG_ERR,                 "couldn't map value %ld for $node RowStatus\n",                 $m2c_node_lh);        return SNMP_ERR_GENERR;    }@end@@include generic-get-decl-bot.m2i@            ##########################################################################@if $m2c_mark_boundary == 1@/** END code generated by $RCSfile$ $Revision: 12090 $ */@end@

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -