From: Alan T. DeKok Date: Tue, 29 May 2012 19:21:10 +0000 (+0200) Subject: Prototype for mschap_add_reply X-Git-Tag: release_3_0_0_beta0~164 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a644d35445f346e647b48f71a3e29c4c57938f9;p=thirdparty%2Ffreeradius-server.git Prototype for mschap_add_reply --- diff --git a/src/main/radclient.c b/src/main/radclient.c index c3b79b5e2d0..e704221cdc0 100644 --- a/src/main/radclient.c +++ b/src/main/radclient.c @@ -37,6 +37,8 @@ RCSID("$Id$") #include +typedef struct REQUEST REQUEST; /* to shut up warnings about mschap.h */ + #include "smbdes.h" #include "mschap.h" diff --git a/src/modules/rlm_mschap/mschap.h b/src/modules/rlm_mschap/mschap.h index cdb74b86102..306685a351b 100644 --- a/src/modules/rlm_mschap/mschap.h +++ b/src/modules/rlm_mschap/mschap.h @@ -16,6 +16,8 @@ void mschap_auth_response(const char *username, uint8_t *ntresponse, uint8_t *peer_challenge, uint8_t *auth_challenge, char *response); +void mschap_add_reply(REQUEST *request, VALUE_PAIR ** vp, unsigned char ident, + const char* name, const char* value, int len); #endif /*_MSCHAP_H*/