summaryrefslogtreecommitdiff
path: root/accel-pppd/include
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2016-04-02 20:25:13 +0300
committerDmitry Kozlov <xeb@mail.ru>2016-04-02 20:25:13 +0300
commit7def2aa4a0af5eb26fc290257585a8c2901c0c3c (patch)
tree5aa0750758e7d48865d3c017db2a107a35baf440 /accel-pppd/include
parent60a945d8f075a5b90882455fa50678e2888b1d0f (diff)
downloadaccel-ppp-7def2aa4a0af5eb26fc290257585a8c2901c0c3c.tar.gz
accel-ppp-7def2aa4a0af5eb26fc290257585a8c2901c0c3c.zip
for single-session=deny make early check for duplicate username (before calling radius)
Diffstat (limited to 'accel-pppd/include')
-rw-r--r--accel-pppd/include/ap_session.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/include/ap_session.h b/accel-pppd/include/ap_session.h
index c6f15dd..230eb26 100644
--- a/accel-pppd/include/ap_session.h
+++ b/accel-pppd/include/ap_session.h
@@ -140,6 +140,7 @@ void ap_session_terminate(struct ap_session *ses, int cause, int hard);
void ap_session_activate(struct ap_session *ses);
void ap_session_accounting_started(struct ap_session *ses);
int ap_session_set_username(struct ap_session *ses, char *username);
+int ap_check_username(const char *username);
void ap_session_ifup(struct ap_session *ses);
void ap_session_ifdown(struct ap_session *ses);