1#ifndef IPV4ADDRESSAPI_H
2#define IPV4ADDRESSAPI_H
32#include "api/DllDecl.h"
63 virtual bool isDHCPEnabled(
long deviceID,
int *errorCode,
unsigned char ifNum);
78 virtual void setDHCPEnable(
long deviceID,
int *errorCode,
unsigned char ifNum,
unsigned char enabled);
118 virtual void readIpAddress(
long deviceID,
int *errorCode,
unsigned char ifNum,
unsigned char addressIndex,
119 unsigned char *ipAddress,
int ipAddressLength,
unsigned int *netmask);
139 unsigned char *ipAddress,
int ipAddressLength,
unsigned int netmask);
193 virtual void getDefaultGatewayIpAddress(
long deviceID,
int* errorCode,
unsigned char ifNum,
unsigned char* outIpAddress,
int ipAddressLength);
Definition Ipv4AddressAPI.h:41
virtual void deleteStaticIpAddress(long deviceID, int *errorCode, unsigned char ifNum, unsigned char addressIndex)
virtual void setDHCPEnable(long deviceID, int *errorCode, unsigned char ifNum, unsigned char enabled)
static Ipv4AddressAPI * instance
Definition Ipv4AddressAPI.h:197
virtual void addStaticIpAddress(long deviceID, int *errorCode, unsigned char ifNum, unsigned char *ipAddress, int ipAddressLength, unsigned int netmask)
virtual ~Ipv4AddressAPI()
virtual int getNumberOfIpAddresses(long deviceID, int *errorCode, unsigned char ifNum)
virtual void getDefaultGatewayIpAddress(long deviceID, int *errorCode, unsigned char ifNum, unsigned char *outIpAddress, int ipAddressLength)
static Ipv4AddressAPI * getInstance()
virtual void readIpAddress(long deviceID, int *errorCode, unsigned char ifNum, unsigned char addressIndex, unsigned char *ipAddress, int ipAddressLength, unsigned int *netmask)
virtual bool isDHCPEnabled(long deviceID, int *errorCode, unsigned char ifNum)
virtual void setDefaultGatewayIpAddress(long deviceID, int *errorCode, unsigned char ifNum, unsigned char *ipAddress, int ipAddressLength)
This is an interface to OceanDirect that allows the user to connect to devices over USB and other bus...
Definition OceanDirectAPI.h:147