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

📄 snmpint.h

📁 wm PNE 3.3 source code, running at more than vxworks6.x version.
💻 H
字号:
/* $Header: /usr/cvsroot/target/src/wrn/wm/demo/snmptalk/snmpint.h,v 1.3 2002/03/11 19:17:10 josh Exp $ *//* * Copyright (C) 1999-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 1991-1997 Epilogue Technology Corporation. *  Copyright 1998 Integrated Systems, Inc. *  All rights reserved. ****************************************************************************//* procedure declarations for various SNMP interface routines *//* * $Log: snmpint.h,v $ * Revision 1.3  2002/03/11 19:17:10  josh * snmptalk's destination address is now stored and passed around * as an ipaddr_t.  This required changes to a lot of internal function * calls that used to expect an inaddr_t to be passed around.  Also, * snmptalk is now capable of using IPv6 sockets * * Revision 1.2  2001/11/08 16:47:31  tneale * Updated for newset file layout * * Revision 1.1.1.1  2001/11/05 17:49:12  tneale * Tornado shuffle * * Revision 7.9  2001/01/19 22:24:50  paul * Update copyright. * * Revision 7.8  2000/03/17 00:14:35  meister * Update copyright message * * Revision 7.7  1998/06/23 20:56:47  sar * Moved parse.h to snark/h/parse.h * * Revision 7.6  1998/05/23 17:50:08  sar * Cleanup unneeded externs * * Revision 7.5  1998/02/25 04:58:06  sra * Update copyrights. * * Revision 7.4  1997/03/20 06:53:58  sra * DFARS-safe copyright text.  Zap! * * Revision 7.3  1997/02/25 10:58:16  sra * Update copyright notice, dust under the bed. * * Revision 7.2  1997/02/19 08:10:29  sra * More fun merging snmptalk into snark, general snark cleanup. * * Revision 7.1  1997/01/08 01:55:00  sar * Modified to use the snark sty driver for in/output * * Revision 7.0  1996/03/18  20:19:20  sar * Updated rev to 7.0 and copyright to 96 * * Revision 6.1  1995/10/20  22:39:59  sar * removed party stuff * * Revision 6.0  1995/05/31  21:50:24  sra * Release 6.0. * * Revision 5.0  1994/05/16  15:57:40  sar * Updated revision to 5.0 and copyright to include 1994 * * Revision 4.2  1994/05/11  17:55:37  sar * added master_agent to reasons to define snmptalk_view_init * * Revision 4.1  1994/05/09  20:59:43  sar * Added SNMPTalk_View_Init for use with USE_V2_VIEWS option (so we can * install a v2 view without installing the rest of the v2 database. * * Revision 4.0  1993/06/24  17:14:56  sar * Updated rev to 4.0 and copyright to 93 * * Revision 3.6  1993/06/02  23:10:22  dab * Changed #ifdef's to #if's for things from install.h * * Revision 3.5  1993/04/22  20:17:59  sar * Update macros and defines.  For example we now use INSTALL_ENVOY_SNMP_VERSION_1 * * Revision 3.4  1993/03/03  20:03:22  dab * don't undef __(), might need it * * Revision 3.3  1993/02/26  17:24:35  dab * SNMPTalk_Party_Init returns an int. * * Revision 3.2  1993/02/23  19:02:01  dab * Added SNMPTalk_Party_Init(). * * Revision 3.1  1993/02/22  20:56:25  dab * Added SNMPTalk_Create_Request() so the code would more easily do * both v1 and v2. * * Revision 3.0  1992/04/03  17:51:50  dab * Release 3.0 * * Revision 1.2  91/09/30  14:13:40  dab * checked in with -k by dab at 92.04.03.17.48.22. *  * Revision 1.2  91/09/30  14:13:40  dab * Added declaration for print_snmp_error(). *  * Revision 1.1  91/09/12  13:44:27  dab * Initial revision *  * Revision 2.100  91/08/09  14:05:27  dab * Update version number.  This is just before the work to upgrade to * release 3.0. *  * Revision 1.1  91/07/11  18:13:39  romkey * Initial revision *  *//* [clearcase]modification history-------------------01a,19apr05,job  update copyright notices*/#include <wrn/wm/demo/snarklib.h>extern void command_next(struct sty *);extern int         snmp_get_number (long *, OIDC_T *, int);extern SNMP_PKT_T *snmp_get        (OIDC_T *, int, char *, inaddr_t);extern SNMP_PKT_T *snmp_next       (OIDC_T *, int, char *, inaddr_t);struct ipaddr;extern char       *snmp_send_rec   (struct sty *, SNMP_PKT_T *,                                    struct ipaddr *,				    void (*io_complete)(struct sty *,							SNMP_PKT_T *),				    void (*io_error)(struct sty *, char *));extern void        print_snmp_error        (struct sty *, SNMP_PKT_T *);extern SNMP_PKT_T *SNMPTalk_Create_Request (int, int, int, int);

⌨️ 快捷键说明

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