1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#ifndef UTILS_H #define UTILS_H 1 int utGetDefaultGwInfo(char **szDevPtr, char **szIpPtr); int utGetIpFromNetDev(char *netdev, char **szIpPtr); #ifdef HAVE_RESOLVE int utGetDomainInfo(char **szDefDomain, char **szDefServer); #endif #ifdef HAVE_UNAME int utGetUnameInfo(char **sysop, char **sysrelease, char **sysmachine); #endif #endif