summaryrefslogtreecommitdiff
path: root/sys/include/ape/auth.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2018-01-21 22:37:45 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2018-01-21 22:37:45 +0100
commit3004f058f69a16f09c07c58d0e60a1732190f0d3 (patch)
tree183e78edf574b5cfed682e03adbcd8c787644c0f /sys/include/ape/auth.h
parenta7974d96b7e510cba9ae4ef87fed8b0ded109f98 (diff)
libauth: add auth_respondAI() function to get AuthInfo for mschap/mschapv2
Diffstat (limited to 'sys/include/ape/auth.h')
-rw-r--r--sys/include/ape/auth.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/include/ape/auth.h b/sys/include/ape/auth.h
index 317d08298..f5b5327a0 100644
--- a/sys/include/ape/auth.h
+++ b/sys/include/ape/auth.h
@@ -135,7 +135,8 @@ extern void auth_freeAI(AuthInfo *ai);
extern int auth_chuid(AuthInfo *ai, char *ns);
extern Chalstate *auth_challenge(char*, ...);
extern AuthInfo* auth_response(Chalstate*);
-extern int auth_respond(void*, uint, char*, uint, void*, uint, AuthGetkey *getkey, char*, ...);
+extern int auth_respond(void*, uint, char*, uint, void*, uint, AuthGetkey*, char*, ...);
+extern int auth_respondAI(void *, uint, char*, uint, void*, uint, AuthInfo**, AuthGetkey*, char*, ...);
extern void auth_freechal(Chalstate*);
extern AuthInfo* auth_userpasswd(char *user, char *passwd);
extern UserPasswd* auth_getuserpasswd(AuthGetkey *getkey, char*, ...);
@@ -147,6 +148,7 @@ extern uint auth_rpc(AuthRpc *rpc, char *verb, void *a, int n);
#pragma varargck argpos auth_proxy 3
#pragma varargck argpos auth_challenge 1
#pragma varargck argpos auth_respond 8
+#pragma varargck argpos auth_respondAI 9
#pragma varargck argpos auth_getuserpasswd 2
#endif