Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

#include <stdlib.h>  
#include <stdio.h>  





 
// DLL functions

void __stdcall syslog(int priority,const char* format,...);
int __stdcall SnmpInit(void);
void __stdcall SnmpCleanup(void);
HSNMP __stdcall SnmpOpen(const char* ipAddress);
void __stdcall SnmpClose(HSNMP m_sessp);


double __stdcall getOutputVoltage(HSNMP m_sessp,int channel);
double __stdcall setOutputVoltage(HSNMP m_sessp,int channel,double value);
double __stdcall getCurrentMeasurement(HSNMP m_sessp, int channel);
double __stdcall getOutputSenseMeasurement(HSNMP m_sessp, int channel);
double __stdcall getOutputRiseRate(HSNMP m_sessp,int channel);
double __stdcall setOutputRiseRate(HSNMP m_sessp,int channel,double value);
double __stdcall getOutputFallRate(HSNMP m_sessp,int channel);
double __stdcall setOutputFallRate(HSNMP m_sessp,int channel,double value);
int __stdcall getMainSwitch(HSNMP m_sessp);
int __stdcall setMainSwitch(HSNMP m_sessp, int value);
int __stdcall getChannelStatus(HSNMP m_sessmp, int channel);
int __stdcall setChannelSwitch(HSNMP m_sessmp, int channel, int value);
int __stdcall getChannelSwitch(HSNMP m_sessmp, int channel);
int __stdcall getFantrayTemp(HSNMP m_sessp);
int __stdcall getSensorTemp(HSNMP m_sessp, int sensor);

double __stdcall snmpSetDouble(HSNMP m_sessp, const oid* parameter, size_t length, double value);
double __stdcall snmpGetDouble(HSNMP m_sessp, const oid* parameter, size_t length);
int __stdcall snmpSetInt(HSNMP m_sessp, const oid* parameter, size_t length, int value);
int __stdcall snmpGetInt(HSNMP m_sessp, const oid* parameter, size_t length);


char * __stdcall getOutputName(HSNMP m_sessp, int channel);
char * __stdcall snmpGetString(HSNMP m_sessp, const oid* parameter, size_t length);

double __stdcall getOutputTerminalMeasurement(HSNMP m_sessp, int channel);
double __stdcall getOutputCurrent(HSNMP m_sessp,int channel);
double __stdcall setOutputCurrent(HSNMP m_sessp,int channel,double value);
double __stdcall getOutputConfigMaxSenseVoltage(HSNMP m_sessp,int channel);

int __stdcall getOutputNumber(HSNMP m_sessp);
int __stdcall getOutputGroups(HSNMP m_sessp);