chiark / gitweb /
Columns are now resizable and wide columns are ellipsized. Columns
[disorder] / lib / ifreq.h
index 93778d28a3f727661d6e49d00eb3576d0e1dd079..3f2dd9dc38f50ca0569b42db43bb21bccc398022 100644 (file)
@@ -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
 #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);