diff options
Diffstat (limited to 'devices.h')
-rw-r--r-- | devices.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -extern int getDeviceIndex(int sockfd, unsigned char *deviceName); -extern int getDeviceMAC(const int sockfd, const unsigned char *deviceName, unsigned char *mac); -extern int getDeviceIp(const int sockfd, const unsigned char *deviceName, struct sockaddr_in *ip); +extern int getDeviceIndex(int sockfd, char *deviceName); +extern int getDeviceMAC(const int sockfd, const char *deviceName, unsigned char *mac); +extern int getDeviceIp(const int sockfd, const char *deviceName, struct sockaddr_in *ip); int getIps(char *name, int nameLen, struct sockaddr_in *ip); |