1 /*
2  * IS-IS Rout(e)ing protocol - isis_events.h
3  *
4  * Copyright (C) 2001,2002   Sampo Saaristo
5  *                           Tampere University of Technology
6  *                           Institute of Communications Engineering
7  *
8  * This program is free software; you can redistribute it and/or modify it
9  * under the terms of the GNU General Public Licenseas published by the Free
10  * Software Foundation; either version 2 of the License, or (at your option)
11  * any later version.
12  *
13  * This program is distributed in the hope that it will be useful,but WITHOUT
14  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
16  * more details.
17 
18  * You should have received a copy of the GNU General Public License along
19  * with this program; if not, write to the Free Software Foundation, Inc.,
20  * 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21  */
22 
23 #ifndef _ISIS_EVENTS_H_
24 #define _ISIS_EVENTS_H_
25 
26 #define AUTH_ERROR_TYPE_LSP   3
27 #define AUTH_ERROR_TYPE_SNP   2
28 #define AUTH_ERROR_TYPE_HELLO 1
29 
30 extern void isis_event_system_type_change (struct isis_area *, int);
31 extern void isis_event_area_addr_change (struct isis_area *);
32 extern void isis_event_circuit_state_change (struct isis_circuit *, int);
33 extern void isis_event_circuit_type_change (struct isis_circuit *, int);
34 extern void isis_event_adjacency_state_change (struct isis_adjacency *, int);
35 extern void isis_event_auth_failure (char *, const char *, u_char *);
36 
37 #endif /* _ISIS_EVENTS_H_ */
38