Subversion Repositories f9daq

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
147 f9daq 1
#include <stdlib.h>   
2
#include <stdio.h>   
3
 
4
 
5
 
6
 
7
 
8
 
9
// DLL functions
10
 
11
void __stdcall syslog(int priority,const char* format,...);
12
int __stdcall SnmpInit(void);
13
void __stdcall SnmpCleanup(void);
14
HSNMP __stdcall SnmpOpen(const char* ipAddress);
15
void __stdcall SnmpClose(HSNMP m_sessp);
16
 
17
 
18
double __stdcall getOutputVoltage(HSNMP m_sessp,int channel);
19
double __stdcall setOutputVoltage(HSNMP m_sessp,int channel,double value);
20
double __stdcall getCurrentMeasurement(HSNMP m_sessp, int channel);
21
double __stdcall getOutputSenseMeasurement(HSNMP m_sessp, int channel);
22
double __stdcall getOutputRiseRate(HSNMP m_sessp,int channel);
23
double __stdcall setOutputRiseRate(HSNMP m_sessp,int channel,double value);
24
double __stdcall getOutputFallRate(HSNMP m_sessp,int channel);
25
double __stdcall setOutputFallRate(HSNMP m_sessp,int channel,double value);
26
int __stdcall getMainSwitch(HSNMP m_sessp);
27
int __stdcall setMainSwitch(HSNMP m_sessp, int value);
28
int __stdcall getChannelStatus(HSNMP m_sessmp, int channel);
29
int __stdcall setChannelSwitch(HSNMP m_sessmp, int channel, int value);
30
int __stdcall getChannelSwitch(HSNMP m_sessmp, int channel);
31
int __stdcall getFantrayTemp(HSNMP m_sessp);
32
int __stdcall getSensorTemp(HSNMP m_sessp, int sensor);
33
 
34
double __stdcall snmpSetDouble(HSNMP m_sessp, const oid* parameter, size_t length, double value);
35
double __stdcall snmpGetDouble(HSNMP m_sessp, const oid* parameter, size_t length);
36
int __stdcall snmpSetInt(HSNMP m_sessp, const oid* parameter, size_t length, int value);
37
int __stdcall snmpGetInt(HSNMP m_sessp, const oid* parameter, size_t length);
38
 
39
 
40
char * __stdcall getOutputName(HSNMP m_sessp, int channel);
41
char * __stdcall snmpGetString(HSNMP m_sessp, const oid* parameter, size_t length);
42
 
43
double __stdcall getOutputTerminalMeasurement(HSNMP m_sessp, int channel);
44
double __stdcall getOutputCurrent(HSNMP m_sessp,int channel);
45
double __stdcall setOutputCurrent(HSNMP m_sessp,int channel,double value);
46
double __stdcall getOutputConfigMaxSenseVoltage(HSNMP m_sessp,int channel);
47
 
48
int __stdcall getOutputNumber(HSNMP m_sessp);
49
int __stdcall getOutputGroups(HSNMP m_sessp);