Files
m241Neelima/vxworks-6.9/target/src/wrn/wm/snmp/engine/proxyini.c
T
2026-07-30 11:19:44 +05:30

74 lines
1.8 KiB
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: proxyini.c,v $
* Revision 1.2 2001/11/06 21:20:20 josh
* revised new path hacking
*
* Revision 1.1.1.1 2001/11/05 17:47:43 tneale
* Tornado shuffle
*
* Revision 9.4 2001/01/19 22:22:23 paul
* Update copyright.
*
* Revision 9.3 2000/03/17 00:19:16 meister
* Update copyright message
*
* Revision 9.2 1999/11/01 19:56:54 josh
* cleaning up initializations to keep extra files out of code when not
* in use
*
* Revision 9.1 1999/11/01 15:03:49 josh
* manually reinitialize globals on startup -- makes Envoy restartable
*
* Revision 9.0 1998/10/16 22:11:53 sar
* Update version stamp to match release
*
* Revision 8.1 1998/08/12 04:43:57 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 notices
01a,24nov03,job update copyright information
*/
#include <wrn/wm/snmp/engine/asn1conf.h>
#include <wrn/wm/snmp/engine/snmp.h>
#include <wrn/wm/snmp/engine/proxy.h>
#if INSTALL_ENVOY_SNMP_LOCK
ENVOY_SNMP_LOCK(SNMP_ProxyLock);
#endif
PROXY_CB_T *pcb_root = 0;
UINT_32_T proxy_id = 0;
void
envoy_proxy_init (void)
{
#if INSTALL_ENVOY_SNMP_LOCK
ENVOY_SNMP_INIT_LOCK_TAG(SNMP_ProxyLock, SNMP_PROXYLOCK_TAG);
#endif
pcb_root = 0;
proxy_id = 0;
}