diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-11-18 17:19:33 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-11-18 17:19:33 +0000 |
commit | fda834d4b0831ef0400f03d8e3bf95880b364037 (patch) | |
tree | 2773786b6d6484897ad6eb8c94c4e1e5cfc7150e /isys/isys.h | |
parent | a705ddcdf2ff8cdb5481adb31577b7867fd9e490 (diff) | |
download | anaconda-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.h | 3 |
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 |