diff options
author | David Cantrell <dcantrell@redhat.com> | 2008-02-08 18:38:36 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2008-02-08 18:38:36 -1000 |
commit | e0e631492e43a1e3a2a0c4fbb8b31fa7a239f869 (patch) | |
tree | c5a40a49fa1907327d0e99888e7624989dab0c1a /isys/iface.h | |
parent | 0b703896e838fcb9ac09b9ebaab7b432c01e65ff (diff) | |
download | anaconda-e0e631492e43a1e3a2a0c4fbb8b31fa7a239f869.tar.gz anaconda-e0e631492e43a1e3a2a0c4fbb8b31fa7a239f869.tar.xz anaconda-e0e631492e43a1e3a2a0c4fbb8b31fa7a239f869.zip |
Rename nl.c to iface.c and functions to iface_*
Rename the interface control functions to start with iface_
rather than nl_. The libnl API uses nl_ and it gets confusing
if we use that here too.
Diffstat (limited to 'isys/iface.h')
-rw-r--r-- | isys/iface.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/isys/iface.h b/isys/iface.h new file mode 100644 index 000000000..cc1f81330 --- /dev/null +++ b/isys/iface.h @@ -0,0 +1,28 @@ +/* + * iface.h + * + * Copyright (C) 2006, 2007, 2008 Red Hat, Inc. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + * Author(s): David Cantrell <dcantrell@redhat.com> + */ + +#include <netlink/cache.h> +#include <netlink/socket.h> + +/* Function prototypes */ +struct nl_cache *iface_get_link_cache(struct nl_handle **handle); +char *iface_mac2str(char *ifname); +char *iface_ip2str(char *ifname); |