summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_fsm.h
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_fsm.h')
-rw-r--r--bgpd/bgp_fsm.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/bgpd/bgp_fsm.h b/bgpd/bgp_fsm.h
index a606dd05..bbf9ebca 100644
--- a/bgpd/bgp_fsm.h
+++ b/bgpd/bgp_fsm.h
@@ -27,14 +27,20 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
/* Prototypes. */
+extern void
+bgp_fsm_enable_session(bgp_session session) ;
extern void
-bgp_fsm_enable_connection(bgp_connection connection) ;
+bgp_fsm_disable_session(bgp_session session, bgp_notify notification) ;
extern void
bgp_fsm_event(bgp_connection connection, bgp_fsm_event_t event) ;
extern void
+bgp_fsm_raise_exception(bgp_connection connection, bgp_session_event_t except,
+ bgp_notify notification) ;
+
+extern void
bgp_fsm_io_fatal_error(bgp_connection connection, int err) ;
extern void
@@ -46,10 +52,7 @@ bgp_fsm_connect_completed(bgp_connection connection, int err,
union sockunion* su_remote) ;
extern void
-bgp_fsm_stop_session(bgp_connection connection, bgp_stopped_cause_t cause,
- bgp_notify notification) ;
-extern void
-bgp_fsm_stop_connection(bgp_connection connection, bgp_stopped_cause_t cause,
+bgp_fsm_notification_exception(bgp_connection connection,
bgp_notify notification) ;