sim_resources.h

来自「HIP 硬件设备管理标准接口」· C头文件 代码 · 共 42 行

H
42
字号
/*      -*- linux-c -*- * * (C) Copyright IBM Corp. 2003 * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  This * file and program are licensed under a BSD style license.  See * the Copying file included with the OpenHPI distribution for * full licensing terms. * * Authors: *      Steve Sherman <stevees@us.ibm.com> *      W. David Ashley <dashley@us.ibm.com> */#ifndef __SIM_RESOURCES_H#define __SIM_RESOURCES_Htypedef union {	char string[MAX_ASN_STR_LEN];        long integer;} SnmpValueT; typedef struct {	int type;	SnmpValueT value;  } SnmpMibInfoT;struct snmp_rsa_data {        const char *oid;	SnmpMibInfoT mib;};extern GHashTable * sim_hash;extern struct snmp_rsa_data sim_resource_array[];#define SNMP_FORCE_ERROR -9999#endif

⌨️ 快捷键说明

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