summaryrefslogtreecommitdiff
path: root/accel-pptpd/radius/radius_p.h
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2010-10-27 20:50:15 +0400
committerDmitry Kozlov <xeb@mail.ru>2010-10-27 20:50:15 +0400
commit04a57e858bed078548c4c8715aa3d35ba81401ae (patch)
tree3b692c1ac3769dfc117c4680121e1652f140d6fe /accel-pptpd/radius/radius_p.h
parent0d2a0aafea94e33cfaa19948eb7e4dd1e62fce5e (diff)
downloadaccel-ppp-04a57e858bed078548c4c8715aa3d35ba81401ae.tar.gz
accel-ppp-04a57e858bed078548c4c8715aa3d35ba81401ae.zip
radius: implemented Class, Termination-Action attributes
Diffstat (limited to 'accel-pptpd/radius/radius_p.h')
-rw-r--r--accel-pptpd/radius/radius_p.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/accel-pptpd/radius/radius_p.h b/accel-pptpd/radius/radius_p.h
index d7f009d..af7af06 100644
--- a/accel-pptpd/radius/radius_p.h
+++ b/accel-pptpd/radius/radius_p.h
@@ -31,6 +31,9 @@ struct radius_pd_t
struct ipdb_item_t ipaddr;
int acct_interim_interval;
int acct_delay_time;
+
+ uint8_t *class;
+ int class_len;
};
struct rad_req_t
@@ -75,7 +78,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);