/*
* 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
#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);