cnmibvar.h

来自「PEAKAUDIO用于EV2板的MCU控制源码」· C头文件 代码 · 共 36 行

H
36
字号
/*************************************************************************

 cnmibvar.h

 This include file declares a mib variable struct as well as the defines
 associated with the struct.

--Copyright (C) 2001-2004 by Cirrus Logic Inc. All Rights Reserved
*************************************************************************/

#ifndef cnmibvar_h
#define cnmibvar_h


//type defines
#define cMIB_TYPE_DISPLAY_STR		1
#define cMIB_TYPE_OBJECT_ID			2
#define cMIB_TYPE_IPADDRESS			3
#define cMIB_TYPE_PHYSADDRESS		4
#define cMIB_TYPE_TIMETICKS			5
#define cMIB_TYPE_COUNTER				6
#define cMIB_TYPE_COUNTER2			7
#define cMIB_TYPE_INTEGER				8
#define cMIB_TYPE_INTEGER16			9
#define cMIB_TYPE_INTEGER48			10

code struct mib_var_struct	{
	code unsigned char * mib_name_ptr;
	code unsigned long mib_address;
	code unsigned char mib_type;
};

extern code struct mib_var_struct cn_mib_var[];

#endif

⌨️ 快捷键说明

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