📄 ax_maini.c
字号:
/* * Copyright 2000-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. *//* * Copyright 1998 Integrated Systems, Inc. * All rights reserved. *//* * $Log: ax_maini.c,v $ * Revision 1.7 2002/04/02 14:49:09 andre * Added tblLastChg globals * * Revision 1.6 2002/03/22 17:59:40 josh * moved declaration of axConnTblLastChg, axSessTblLastChg, and * axRegTblLastChg to ax_maini.c to prevent master agent code * from being sucked into subagent builds * * Revision 1.5 2002/03/18 16:27:43 tneale * Added support for Agentx Session table * * Revision 1.4 2002/03/12 15:50:32 tneale * Added the Registration table of the Agentx MIB * * Revision 1.3 2002/02/22 20:15:00 andre * Initial checkin for AgentX MIB changes * * Revision 1.2 2001/11/06 21:20:02 josh * revised new path hacking * * Revision 1.1.1.1 2001/11/05 17:47:41 tneale * Tornado shuffle * * Revision 9.2 2001/01/19 22:22:16 paul * Update copyright. * * Revision 9.1 2000/03/17 00:18:53 meister * Update copyright message * * Revision 9.0 1998/10/16 22:10:53 sar * Update version stamp to match release * * Revision 8.1 1998/08/12 04:43:58 sar * Move the initialization routines around some in order to minimize * the amount of code that gets pulled in for init purposes. * *//* [clearcase]modification history-------------------01b,18apr05,job update copyright notices01a,24nov03,job update copyright information*/#include <wrn/wm/snmp/engine/asn1conf.h>#include <wrn/wm/snmp/engine/agentx.h>#include <wrn/wm/snmp/engine/snmp.h>bits32_t agentxDefaultTimeout = ENVOY_AX_DEFAULT_TIMEOUT;AX_CB_T *first_axcb = 0;bits32_t ax_reqid = 1;bits32_t ax_registration_id = 1;TREENODE_T *registration_root = 0;bits32_t agentxRegisterDuplicate = 0;bits32_t envoy_ax_session_id = 1;ENVOY_AX_SESSION_T *envoy_ax_session_list = 0;bits32_t context_list_id = 1;ENVOY_AX_CONTEXT_T *context_list = 0;sbits32_t agentxMasterAgentXVer = ENVOY_AX_VERSION_MAXIMUM;bits32_t axConnTblLastChg;bits32_t axSessTblLastChg;bits32_t axRegTblLastChg;ENVOY_AX_MA_REGLIST_T *envoy_ax_registration_list = 0;void envoy_ax_ma_init (void){agentxDefaultTimeout = ENVOY_AX_DEFAULT_TIMEOUT;first_axcb = 0;ax_reqid = 1;ax_registration_id = 1;registration_root = 0;agentxRegisterDuplicate = 0;envoy_ax_session_id = 1;envoy_ax_session_list = 0;context_list_id = 1;context_list = 0;agentxMasterAgentXVer = ENVOY_AX_VERSION_MAXIMUM;axConnTblLastChg = 0;axSessTblLastChg = 0;axRegTblLastChg = 0;envoy_ax_registration_list = 0;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -