From 80c32d237e01b1c05663ccfa34003d2f49aa7eee Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry Date: Tue, 10 Jul 2012 18:58:53 +0400 Subject: initial session backup implementation --- accel-pppd/include/ap_session.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'accel-pppd/include/ap_session.h') diff --git a/accel-pppd/include/ap_session.h b/accel-pppd/include/ap_session.h index b964c80..075058c 100644 --- a/accel-pppd/include/ap_session.h +++ b/accel-pppd/include/ap_session.h @@ -7,6 +7,7 @@ #define AP_STATE_STARTING 1 #define AP_STATE_ACTIVE 2 #define AP_STATE_FINISHING 3 +#define AP_STATE_RESTORE 4 #define TERM_USER_REQUEST 1 #define TERM_SESSION_TIMEOUT 2 @@ -30,6 +31,7 @@ #define MPPE_REQUIRE 2 struct ap_session; +struct backup_data; struct ap_ctrl { @@ -71,6 +73,10 @@ struct ap_session struct ap_ctrl *ctrl; +#ifdef USE_BACKUP + struct backup_data *backup; +#endif + int terminating:1; int terminated:1; int terminate_cause; -- cgit v1.2.3