1 #ifndef IPV4ADDRESSAPI_H
2 #define IPV4ADDRESSAPI_H
32 #include "api/DllDecl.h"
46 static void shutdown();
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);
119 virtual void readIpAddress(
long deviceID,
int *errorCode,
unsigned char ifNum,
unsigned char addressIndex,
120 unsigned char *ipAddress,
int ipAddressLength,
unsigned int *netmask);
141 unsigned char *ipAddress,
int ipAddressLength,
unsigned int netmask);
195 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)
virtual void addStaticIpAddress(long deviceID, int *errorCode, unsigned char ifNum, unsigned char *ipAddress, int ipAddressLength, unsigned int netmask)
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)
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