X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fchap-new.h;h=e5330da57630c7365ac3aea5981836411d9761e8;hb=ab1b84327c5ecddf485734baa49b0b846f756c05;hp=665e78fb19a99a26ab0b44ade689a1fb20787c71;hpb=08ef47ca532294eb428238c831616748940e24a2;p=ppp.git diff --git a/pppd/chap-new.h b/pppd/chap-new.h index 665e78f..e5330da 100644 --- a/pppd/chap-new.h +++ b/pppd/chap-new.h @@ -120,6 +120,9 @@ extern int (*chap_verify_hook)(char *name, char *ourname, int id, /* Called by digest code to register a digest type */ extern void chap_register_digest(struct chap_digest_type *); +/* Lookup a digest handler by type */ +extern struct chap_digest_type *chap_find_digest(int digest_code); + /* Called by authentication code to start authenticating the peer. */ extern void chap_auth_peer(int unit, char *our_name, int digest_code);