1 #ifndef IPV4ADDRESSAPI_H
2 #define IPV4ADDRESSAPI_H
32 #include "api/DllDecl.h"
46 static void shutdown();
78 void setDHCPEnable(
long deviceID,
int *errorCode,
unsigned char ifNum,
unsigned char enabled);
119 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);
Definition: Ipv4AddressAPI.h:41
void deleteStaticIpAddress(long deviceID, int *errorCode, unsigned char ifNum, unsigned char addressIndex)
void readIpAddress(long deviceID, int *errorCode, unsigned char ifNum, unsigned char addressIndex, unsigned char *ipAddress, int ipAddressLength, unsigned int *netmask)
void getDefaultGatewayIpAddress(long deviceID, int *errorCode, unsigned char ifNum, unsigned char *outIpAddress, int ipAddressLength)
void setDefaultGatewayIpAddress(long deviceID, int *errorCode, unsigned char ifNum, unsigned char *ipAddress, int ipAddressLength)
int getNumberOfIpAddresses(long deviceID, int *errorCode, unsigned char ifNum)
bool isDHCPEnabled(long deviceID, int *errorCode, unsigned char ifNum)
void setDHCPEnable(long deviceID, int *errorCode, unsigned char ifNum, unsigned char enabled)
void addStaticIpAddress(long deviceID, int *errorCode, unsigned char ifNum, unsigned char *ipAddress, int ipAddressLength, unsigned int netmask)
This is an interface to OceanDirect that allows the user to connect to devices over USB and other bus...
Definition: OceanDirectAPI.h:144