Import Upstream version 1.2.2
[quagga-debian.git] / isisd / topology / spgrid.h
1 /*
2  * IS-IS Rout(e)ing protocol - topology/spgrid.h
3                                Routines for manipulation of SSN and SRM flags
4  * Copyright (C) 2001 Sampo Saaristo, Ofer Wald
5  *
6  * This program is free software; you can redistribute it and/or modify it 
7  * under the terms of the GNU General Public Licenseas published by the Free 
8  * Software Foundation; either version 2 of the License, or (at your option) 
9  * any later version.
10  *
11  * This program is distributed in the hope that it will be useful,but WITHOUT 
12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for 
14  * more details.
15
16  * You should have received a copy of the GNU General Public License along 
17  * with this program; if not, write to the Free Software Foundation, Inc., 
18  * 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
19  */
20
21 /*
22  * Based on:
23  * SPLIB Copyright C 1994 by Cherkassky, Goldberg, and Radzik
24  *
25  */
26 #ifndef _ZEBRA_ISIS_TOPOLOGY_SPGRID_H
27 #define _ZEBRA_ISIS_TOPOLOGY_SPGRID_H
28
29 struct arc {
30   long from_node;
31   long to_node;
32   long distance;
33 };
34
35 int           gen_spgrid_topology (struct vty *vty, struct list *topology);
36 int           spgrid_check_params (struct vty *vty, int argc, const char **argv);
37
38
39 #endif /* _ZEBRA_ISIS_TOPOLOGY_SPGRID_H */
40
41
42
43
44
45