]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Prototype for mschap_add_reply
authorAlan T. DeKok <aland@freeradius.org>
Tue, 29 May 2012 19:21:10 +0000 (21:21 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 11 Jun 2012 11:13:36 +0000 (13:13 +0200)
src/main/radclient.c
src/modules/rlm_mschap/mschap.h

index c3b79b5e2d09130a598f4d19988073820fb20e2e..e704221cdc0a597e41eba4147195f9ab682e61ad 100644 (file)
@@ -37,6 +37,8 @@ RCSID("$Id$")
 
 #include <assert.h>
 
+typedef struct REQUEST REQUEST;        /* to shut up warnings about mschap.h */
+
 #include "smbdes.h"
 #include "mschap.h"
 
index cdb74b861026431332d3d48656f331a20e0d154b..306685a351ba3b1fc44f22c8c0bab19c979ca009 100644 (file)
@@ -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*/