X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/81b1bf12365297c8bace12f28e45c0796c593915..cca956b199841d754e8a78391d2e2c7efce4a3ee:/lib/ifreq.h diff --git a/lib/ifreq.h b/lib/ifreq.h index 93778d2..3f2dd9d 100644 --- a/lib/ifreq.h +++ b/lib/ifreq.h @@ -1,6 +1,6 @@ /* * This file is part of DisOrder. - * Copyright (C) 2007 Richard Kettlewell + * Copyright (C) 2007, 2008 Richard Kettlewell * * 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 @@ -23,15 +23,6 @@ #ifndef IFREQ_H #define IFREQ_H -struct ifreq; - -/** @brief Get the list of network interfaces - * @param fd File descriptor to use - * @param interfaces Where to put pointer to array of interfaces - * @param ninterfaces Where to put count of interfaces - */ -void ifreq_list(int fd, struct ifreq **interfaces, int *ninterfaces); - /** @brief Return true if two socket addresses match */ int sockaddr_equal(const struct sockaddr *a, const struct sockaddr *b);