aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
blob: cb1aaf4e8c266969be3126b17f72010054c1804c (plain)
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