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

📄 snmptask.h

📁 这里包含了风河vxworks系统中的官方例程的C源代码
💻 H
字号:
/* snmpTask.h */#include <taskLib.h>#define TASK_TBL_INDEX_LEN      1       /* Length of the index */#define MAXTASKS                500     /* Max # of tasks in the system */#define DISPLAY_STR_SZ          255     /* Max Length for display string */#define TSK_PRIOR		1	/* Flag for undo routine */#define TSK_STAT_SUS		2	/* Flag for undo routine */#define TSK_STAT_DEL		4#define TSK_STAT_RDY		8#define TSK_OPTN		16	/* Flag for undo routine */typedef struct {        INT_32_T        taskId;        char            taskName[DISPLAY_STR_SZ];        INT_32_T        taskPriority;        INT_32_T        taskStatus;        INT_32_T        taskOptions;        char            taskMain[DISPLAY_STR_SZ];        UINT_32_T       taskStackPtr;        UINT_32_T       taskStackBase;        UINT_32_T       taskStackPos;        UINT_32_T       taskStackEnd;        UINT_32_T       taskStackSize;        UINT_32_T       taskStackSizeUsage;        UINT_32_T       taskStackMaxUsed;        UINT_32_T       taskStackFree;        INT_32_T        taskErrorStatus;} STRUCT_taskEntry;

⌨️ 快捷键说明

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