summaryrefslogtreecommitdiff
path: root/accel-pppd/include/ap_session.h
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/include/ap_session.h')
-rw-r--r--accel-pppd/include/ap_session.h6
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;