source: trunk/third/ifplugd/src/interface.h @ 20388

Revision 20388, 1.3 KB checked in by amb, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r20387, which included commits to RCS files with non-trunk default branches.
Line 
1#ifndef foointerfacehfoo
2#define foointerfacehfoo
3
4/* $Id: interface.h,v 1.1.1.1 2004-04-09 20:08:58 amb Exp $ */
5
6/*
7 * This file is part of ifplugd.
8 *
9 * ifplugd is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * ifplugd is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with ifplugd; if not, write to the Free Software Foundation,
21 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
22 */
23
24int interface_auto_up;
25int interface_do_message;
26
27typedef enum { IFSTATUS_UP, IFSTATUS_DOWN, IFSTATUS_ERR } interface_status_t;
28
29void interface_up(int fd, char *iface);
30
31interface_status_t interface_detect_beat_mii(int fd, char *iface);
32interface_status_t interface_detect_beat_priv(int fd, char *iface);
33interface_status_t interface_detect_beat_ethtool(int fd, char *iface);
34interface_status_t interface_detect_beat_wlan(int fd, char *iface);
35
36#endif
Note: See TracBrowser for help on using the repository browser.