Subversion Repositories f9daq

Rev

Rev 151 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 151 Rev 154
Line 1... Line 1...
1
/** @file */
1
/** @file */
2
 
2
 
3
#ifndef WIENER_SNMP_H
3
#ifndef WIENER_SNMP_H
4
#define WIENER_SNMP_H
4
#define WIENER_SNMP_H
5
 
5
 
6
//#include "netsnmplib.h"
-
 
7
/*
-
 
8
#ifdef _MSC_VER
6
#ifdef _MSC_VER
9
#define EXPORT extern "C" _declspec(dllexport)
7
#define EXPORT extern "C" _declspec(dllexport)
10
#else
8
#else
11
#define EXPORT extern "C"
9
#define EXPORT extern "C"
12
#endif
10
#endif
13
*/
-
 
14
#define EXPORT
-
 
15
 
11
 
16
#define WIN32_LEAN_AND_MEAN
12
#define WIN32_LEAN_AND_MEAN
17
 
13
 
18
//#include <net-snmp/net-snmp-config.h>
14
//SAMO #include <net-snmp/net-snmp-config.h>
19
#include "net-snmp-config.h"
15
#include "net-snmp-config.h" // SAMO
20
//#define NET_SNMP_SNMPV3_H                   // we don't need SNMPV3 (one include file is missing)
16
//SAMO #define NET_SNMP_SNMPV3_H                   // we don't need SNMPV3 (one include file is missing)
21
#include <net-snmp/net-snmp-includes.h>
17
#include <net-snmp/net-snmp-includes.h>
22
 
18
 
23
typedef void *HSNMP;   // SNMP handle (like FILE)
19
typedef void *HSNMP;   // SNMP handle (like FILE)
24
 
20
 
25
// DLL functions
21
// DLL functions