diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2012-07-10 18:58:53 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-07-10 18:58:53 +0400 |
commit | 80c32d237e01b1c05663ccfa34003d2f49aa7eee (patch) | |
tree | a49da21b5219e4bc89d9794918f054f3620cb140 /accel-pppd/include/ap_session.h | |
parent | 64b5b693764c4f36870fd988ccbb53bcb188e74d (diff) | |
download | accel-ppp-xebd-80c32d237e01b1c05663ccfa34003d2f49aa7eee.tar.gz accel-ppp-xebd-80c32d237e01b1c05663ccfa34003d2f49aa7eee.zip |
initial session backup implementation
Diffstat (limited to 'accel-pppd/include/ap_session.h')
-rw-r--r-- | accel-pppd/include/ap_session.h | 6 |
1 files changed, 6 insertions, 0 deletions
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; |