summaryrefslogtreecommitdiffstats
path: root/isys/isys.h
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-11-18 17:19:33 +0000
committerJeremy Katz <katzj@redhat.com>2002-11-18 17:19:33 +0000
commitfda834d4b0831ef0400f03d8e3bf95880b364037 (patch)
tree2773786b6d6484897ad6eb8c94c4e1e5cfc7150e /isys/isys.h
parenta705ddcdf2ff8cdb5481adb31577b7867fd9e490 (diff)
downloadanaconda-fda834d4b0831ef0400f03d8e3bf95880b364037.tar.gz
anaconda-fda834d4b0831ef0400f03d8e3bf95880b364037.tar.xz
anaconda-fda834d4b0831ef0400f03d8e3bf95880b364037.zip
add getLinkStatus to determine whether an interface has an active link
Diffstat (limited to 'isys/isys.h')
-rw-r--r--isys/isys.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/isys/isys.h b/isys/isys.h
index 4483b80f3..38fb0358e 100644
--- a/isys/isys.h
+++ b/isys/isys.h
@@ -56,4 +56,7 @@ int rmmod(char * modName);
/* returns 0 for true, !0 for false */
int fileIsIso(const char * file);
+/* returns 1 for link, 0 for no link, -1 for unknown */
+int get_link_status(char *ifname);
+
#endif