stdafx.cpp

来自「一些关SNMP的源代码」· C++ 代码 · 共 36 行

CPP
36
字号
// stdafx.cpp : source file that includes just the standard includes
// SnmpComp.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information

#include "stdafx.h"

#ifdef DOTNET_USES_SNMP_PP_DLL

#include "snmp_pp\mp_v3.h"
#include "snmp_pp\notifyqueue.h"
#include "snmp_pp\octet.h"
#include "snmp_pp\target.h"
#include "snmp_pp\uxsnmp.h"

#ifdef SNMP_PP_NAMESPACE
namespace Snmp_pp {
#endif

v3MP *v3MP::I = 0;

#define SNMP_TRAP_PORT 162    // standard port # for SNMP traps
int CNotifyEventQueue::m_listen_port = SNMP_TRAP_PORT;

enum OctetStr::OutputType OctetStr::hex_output_type = OctetStr::OutputHexAndClear;

unsigned long SnmpTarget::default_timeout = 100;
int SnmpTarget::default_retries = 1;

SnmpSynchronized Snmp::v3Lock;

#ifdef SNMP_PP_NAMESPACE
}; // end of namespace Snmp_pp
#endif

#endif

⌨️ 快捷键说明

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