X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fchap.h;h=37d166566f19b6f8614279212d59115509ea081c;hb=c0b0a40bc5d0c880a94e13af2ec980643e36639c;hp=313efff973a5a777a4dd84d67619db56161fed30;hpb=739142cddb7369c7611eeed081a80d52b7b992c9;p=ppp.git diff --git a/pppd/chap.h b/pppd/chap.h index 313efff..37d1665 100644 --- a/pppd/chap.h +++ b/pppd/chap.h @@ -30,7 +30,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: chap.h,v 1.8 1999/11/15 01:44:41 paulus Exp $ + * $Id: chap.h,v 1.9 2002/01/22 16:02:58 dfs Exp $ */ #ifndef __CHAP_INCLUDE__ @@ -85,6 +85,9 @@ typedef struct chap_state { char *resp_name; /* Our name to send with response */ } chap_state; +/* We need the declaration of chap_state to use this prototype */ +extern int (*chap_auth_hook) __P((char *user, u_char *remmd, + int remmd_len, chap_state *cstate)); /* * Client (peer) states.