📄 dyncfgam.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. *//* * $Log: dyncfgam.c,v $ * Revision 1.6 2003/01/15 14:05:03 josh * directory structure shifting * * Revision 1.5 2002/01/07 15:44:10 tneale * Fixed error in path to vxprotos.h * * Revision 1.4 2002/01/04 22:35:11 tneale * Added vxprotos.h include * * Revision 1.3 2001/11/06 21:50:45 josh * second (and hopefully final) pass of new path hacking * * Revision 1.2 2001/11/06 21:20:08 josh * revised new path hacking * * Revision 1.1.1.1 2001/11/05 17:47:42 tneale * Tornado shuffle * * Revision 1.1.2.1 2001/10/23 23:09:01 meister * Core dyncfg related to the agentx master side * *//* [clearcase]modification history-------------------01b,18apr05,job update copyright notices01a,24nov03,job update copyright information*/#include <wrn/wm/snmp/engine/asn1.h>#include <wrn/wm/snmp/engine/snmp.h>#include <wrn/wm/snmp/engine/agentx.h>#include <wrn/wm/snmp/vxagent/vxprotos.h>#include <wrn/wm/common/dyncfg.h>DYNCFG_EXTERN_FUNCPTR0(envoy_ax_ma_init,void)DYNCFG_EXTERN_FUNCPTR8(_snmp_find_next_helper_ax, int, MIBNODE_T *, int, OIDC_T*, OBJ_ID_T *, int, VB_T *, SNMP_PKT_T *, int)DYNCFG_EXTERN_FUNCPTR2(_snmp_find_next_bound, int, MIBNODE_T *, VB_T *)/* * set all dynamic configuration function pointers and variables for the * vxworks agentx master agent component here */void ax_master_dyncfg_init (void){ DYNCFG_FUNCPTR_SET_DEFAULT(envoy_ax_ma_init); DYNCFG_FUNCPTR_SET_DEFAULT(_snmp_find_next_helper_ax); DYNCFG_FUNCPTR_SET_DEFAULT(_snmp_find_next_bound);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -