--------------------- PatchSet 1365 Date: 2001/01/23 20:37:44 Author: rbcollins Branch: auth_rewrite Tag: (none) Log: added configured scheme function Members: doc/Programming-Guide/prog-guide.sgml:1.1.1.2.10.3.2.4->1.1.1.2.10.3.2.5 Index: squid/doc/Programming-Guide/prog-guide.sgml =================================================================== RCS file: /cvsroot/squid-sf//squid/doc/Programming-Guide/prog-guide.sgml,v retrieving revision 1.1.1.2.10.3.2.4 retrieving revision 1.1.1.2.10.3.2.5 diff -u -r1.1.1.2.10.3.2.4 -r1.1.1.2.10.3.2.5 --- squid/doc/Programming-Guide/prog-guide.sgml 7 Jan 2001 11:09:08 -0000 1.1.1.2.10.3.2.4 +++ squid/doc/Programming-Guide/prog-guide.sgml 23 Jan 2001 20:37:44 -0000 1.1.1.2.10.3.2.5 @@ -2,7 +2,7 @@
Squid Programmers Guide Duane Wessels, Squid Developers -$Id: prog-guide.sgml,v 1.1.1.2.10.3.2.4 2001/01/07 11:09:08 rbcollins Exp $ +$Id: prog-guide.sgml,v 1.1.1.2.10.3.2.5 2001/01/23 20:37:44 rbcollins Exp $ Squid is a WWW Cache application developed by the National Laboratory @@ -2063,10 +2063,15 @@

typedef int AUTHSACTIVE();

The Active function is used by squid to determine whether the auth - module has successfully configured and initialised itself. If Active - returns 0 no other module functions except Shutdown/Dump/Parse/FreeConfig - will be called by Squid. - + module has successfully initialised itself with the current configuration. + +

typedef int AUTHSCONFIGURED(); + +

The configured function is used to see if the auth module has been given + valid parameters and is able to handle authentication requests if initialised. + If configured returns 0 no other module functions except + Shutdown/Dump/Parse/FreeConfig will be called by Squid. +

typedef void AUTHSSETUP(authscheme_entry_t *);

functions of type AUTHSSETUP are used to register an auth module with