📄 sysvars.c
字号:
/* $Header: /usr/cvsroot/target/src/wrn/wm/demo/winagent/sysvars.c,v 1.2 2001/11/09 21:29:36 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 1988-1997 Epilogue Technology Corporation. * Copyright 1998 Integrated Systems, Inc. * All rights reserved. ****************************************************************************//* * $Log: sysvars.c,v $ * Revision 1.2 2001/11/09 21:29:36 josh * winagent path retooling * * Revision 1.1.1.1 2001/11/05 17:49:18 tneale * Tornado shuffle * * Revision 1.7 2001/01/19 22:25:10 paul * Update copyright. * * Revision 1.6 2000/03/17 00:15:49 meister * Update copyright message * * Revision 1.5 1998/02/25 04:58:29 sra * Update copyrights. * * Revision 1.4 1997/03/20 06:53:32 sra * DFARS-safe copyright text. Zap! * * Revision 1.3 1997/02/25 10:58:16 sra * Update copyright notice, dust under the bed. * *//* [clearcase]modification history-------------------01a,19apr05,job update copyright notices*/#if (!defined(asn1_inc))#include <wrn/wm/snmp/engine/asn1.h>#endif#include "sysvars.h"#include <sys/types.h>#include <sys/timeb.h>/********************************************************************** * * Define the various System Group variables used in this system. * * This file should closely match sysvars.h * **********************************************************************/#include "wsagent.h"/* WARNING: The following strings should be in NVT form, i.e. any embedded *//* newlines whould be carriage-return followed by linefeed (newline) */char snmp_sysDescr[MAX_SYSDESCR] = "Epilogue Demo SNMP agent for Win95";char snmp_sysContact[MAX_SYSCONTACT] = "Contact info@epilogue.com for more information.";char snmp_sysLocation[MAX_SYSLOCATION] = "sysLocation not set";char snmp_sysName[MAX_SYSNAME] = "sysName not set";OIDC_T snmp_product_id[] = { /* ISO */ 1, /* ORG */ 3, /* DOD */ 6, /* INTERNET */ 1, /* PRIVATE */ 4, /* ENTERPRISES */ 1, /* Epilogue Technology */ 12, /* Products */ 7, /* Unix Agent */ 1, /* Version 3 */ 3, /* Subversion */ 0 };int snmp_product_id_count = sizeof(snmp_product_id)/sizeof(OIDC_T);OBJ_ID_T snmp_sysObjectID = {sizeof(snmp_product_id)/sizeof(OIDC_T), snmp_product_id };struct _timeb boot_at;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -