disabled all plugins hooks

This commit is contained in:
Sylvain Rochet 2012-06-04 00:12:45 +02:00
parent eb020656d2
commit 8332a5aa53

View File

@ -136,11 +136,13 @@ struct chap_digest_type {
struct chap_digest_type *next; struct chap_digest_type *next;
}; };
#if 0 /* UNUSED */
/* Hook for a plugin to validate CHAP challenge */ /* Hook for a plugin to validate CHAP challenge */
extern int (*chap_verify_hook)(char *name, char *ourname, int id, extern int (*chap_verify_hook)(char *name, char *ourname, int id,
struct chap_digest_type *digest, struct chap_digest_type *digest,
unsigned char *challenge, unsigned char *response, unsigned char *challenge, unsigned char *response,
char *message, int message_space); char *message, int message_space);
#endif /* UNUSED */
/* Called by digest code to register a digest type */ /* Called by digest code to register a digest type */
extern void chap_register_digest(struct chap_digest_type *); extern void chap_register_digest(struct chap_digest_type *);