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

📄 axscmpnt.c

📁 wm PNE 3.3 source code, running at more than vxworks6.x version.
💻 C
字号:
/* *  Copyright 2001-2005 Wind River Systems, Inc. *  All rights reserved.  Provided under license only. *  Distribution or other use of this software is only *  permitted pursuant to the terms of a license agreement *  from Wind River Systems (and is otherwise prohibited). *  Refer to that license agreement for terms of use. *//*modification history-------------------------01b,19apr05,job  update copyright notices01a,08mar04,job  dynamic configuration startup code*/#include "copyright_wrs.h"#include <vxWorks.h>#include <stdio.h>#include <msgQLib.h>#include <semLib.h>#include <taskLib.h>#include <wrn/wm/snmp/vxagent/axCfg.h>#include <wrn/wm/snmp/engine/vxcmpnts.h>#include <wrn/wm/snmp/vxagent/vxprotos.h>#include <wrn/wm/common/dyncfg.h>extern STATUS axSubagentIoInit (void);extern void snmpAxSubagentSpawn (void);void registerAxSubagentComponent (void);extern unsigned int snmpdInstalledComponentsValue;extern SEM_ID   snmpdConfigMutex;static void _ax_sub_user_dyncfg_init(void){}void initAxSubagentComponent (void){    int task_mode;    task_mode = 0x0000;    taskSpawn ("tRegAxSubagentComponent", 95, task_mode, 8182,                (FUNCPTR) registerAxSubagentComponent, 0,0,0,0,0,0,0,0,0,0);}void registerAxSubagentComponent (void){    semTake (snmpdConfigMutex, WAIT_FOREVER);    snmpdInstalledComponentsValue |= SNMPD_AGENTX_SUBAGENT_COMPONENT;    /* set up any pointers needed for dynamic configuration */    ax_sub_dyncfg_init ();     /* this one will handle the user part */    _ax_sub_user_dyncfg_init();    semGive (snmpdConfigMutex);}

⌨️ 快捷键说明

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