netif_utils: correctly close fd on read error
[project/ustp.git] / bridge_track.h
1 /*****************************************************************************
2 This program is free software; you can redistribute it and/or modify it
3 under the terms of the GNU General Public License as published by the Free
4 Software Foundation; either version 2 of the License, or (at your option)
5 any later version.
6
7 This program is distributed in the hope that it will be useful, but WITHOUT
8 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
9 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
10 more details.
11
12 You should have received a copy of the GNU General Public License along with
13 this program; if not, write to the Free Software Foundation, Inc., 59
14 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15
16 The full GNU General Public License is included in this distribution in the
17 file called LICENSE.
18
19 ******************************************************************************/
20
21 #ifndef MSTPD_BRIDGE_TRACK_H
22 #define MSTPD_BRIDGE_TRACK_H
23
24 #include "mstp.h"
25
26 int bridge_create(int bridge_idx, CIST_BridgeConfig *cfg);
27 void bridge_delete(int bridge_idx);
28 int bridge_track_fini(void);
29
30 #endif