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

📄 diskio.h

📁 snmp的源代码,已经在我的ubuntu下编译通过
💻 H
字号:
#ifndef _MIBGROUP_DISKIO_H#define _MIBGROUP_DISKIO_Hconfig_require(util_funcs)config_add_mib(UCD-DISKIO-MIB)    /*     * Define all our functions using prototyping for ANSI compilers      */    /*     * These functions are then defined in the example.c file      */     void            init_diskio(void);     FindVarMethod   var_diskio;/* * Magic number definitions.  These numbers are the last oid index * numbers to the table that you are going to define.  For example, * lets say (since we are) creating a mib table at the location * .1.3.6.1.4.1.2021.254.  The following magic numbers would be the * next numbers on that oid for the var_example function to use, ie: * .1.3.6.1.4.1.2021.254.1 (and .2 and .3 ...)  */#define	DISKIO_INDEX		1#define DISKIO_DEVICE		2#define DISKIO_NREAD		3#define DISKIO_NWRITTEN		4#define DISKIO_READS		5#define DISKIO_WRITES		6#define DISKIO_LA1		9#define DISKIO_LA5              10#define DISKIO_LA15             11#endif                          /* _MIBGROUP_DISKIO_H */

⌨️ 快捷键说明

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