summaryrefslogtreecommitdiff
path: root/accel-pptpd/radius/radius_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pptpd/radius/radius_p.h')
-rw-r--r--accel-pptpd/radius/radius_p.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/accel-pptpd/radius/radius_p.h b/accel-pptpd/radius/radius_p.h
index d7f009d8..a24d6877 100644
--- a/accel-pptpd/radius/radius_p.h
+++ b/accel-pptpd/radius/radius_p.h
@@ -16,6 +16,7 @@ struct radius_pd_t
struct ppp_t *ppp;
pthread_mutex_t lock;
+ struct rad_req_t *auth_req;
struct rad_req_t *acct_req;
struct triton_timer_t acct_interim_timer;
uint32_t acct_input_octets;
@@ -31,6 +32,12 @@ struct radius_pd_t
struct ipdb_item_t ipaddr;
int acct_interim_interval;
int acct_delay_time;
+
+ uint8_t *attr_class;
+ int attr_class_len;
+ uint8_t *attr_state;
+ int attr_state_len;
+ int termination_action;
};
struct rad_req_t
@@ -75,7 +82,7 @@ int rad_req_send(struct rad_req_t *);
int rad_req_wait(struct rad_req_t *, int);
struct radius_pd_t *find_pd(struct ppp_t *ppp);
-void rad_proc_attrs(struct rad_req_t *req);
+int rad_proc_attrs(struct rad_req_t *req);
int rad_auth_pap(struct radius_pd_t *rpd, const char *username, va_list args);
int rad_auth_chap_md5(struct radius_pd_t *rpd, const char *username, va_list args);