--------------------- PatchSet 5167 Date: 2007/08/06 07:26:37 Author: amosjeffries Branch: docs Tag: (none) Log: Update old text referencing auth_user_request with current AuthUserRequest Members: doc/Programming-Guide/AuthenticationFramework.dox:1.1.2.2->1.1.2.3 src/ACL.h:1.18.10.1->1.18.10.2 Index: squid3/doc/Programming-Guide/AuthenticationFramework.dox =================================================================== RCS file: /cvsroot/squid-sf//squid3/doc/Programming-Guide/Attic/AuthenticationFramework.dox,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -r1.1.2.2 -r1.1.2.3 --- squid3/doc/Programming-Guide/AuthenticationFramework.dox 6 Aug 2007 05:56:29 -0000 1.1.2.2 +++ squid3/doc/Programming-Guide/AuthenticationFramework.dox 6 Aug 2007 07:26:37 -0000 1.1.2.3 @@ -138,7 +138,7 @@ work on the data structures used by the authentication schemes. \par typedef void AUTHSREQFREE(auth_user_request_t *); - The AUTHSREQFREE function is called when a auth_user_request is being + The AUTHSREQFREE function is called when an AuthUserRequest is being freed by the authentication framework, and scheme specific data was present. The function should free any scheme related data and MUST set the scheme_data pointer to NULL. Failure to unlink the scheme data will @@ -165,7 +165,7 @@ assume the authentication will be based on the Proxy-* Headers. -\par typedef void AUTHSAUTHUSER(auth_user_request_t *, request_t *, ConnStateData *, http_hdr_type); +\par typedef void AUTHSAUTHUSER(AuthUserRequest_t *, request_t *, ConnStateData *, http_hdr_type); Functions of type AUTHSAUTHUSER are called when Squid has a request that needs authentication. If needed the auth scheme can alter the auth_user pointer (usually to point @@ -173,12 +173,12 @@ late in the auth process. For an example of this see the NTLM scheme). These functions are responsible for performing any in-squid routines for the authentication of the user. - The auth_user_request struct that is passed around is only + The AuthUserRequest struct that is passed around is only persistent for the current request. If the auth module requires access to the structure in the future it MUST lock it, and implement some method for identifying it in the future. For example the NTLM module implements a connection - based authentication scheme, so the auth_user_request struct + based authentication scheme, so the AuthUserRequest struct gets referenced from the ConnStateData. \par typedef void AUTHSDECODE(auth_user_request_t *, const char *); @@ -228,11 +228,11 @@ whether the request was an accelerated request or a proxied request. For example operation see the digest auth scheme. (Digest uses a Authentication-Info header.) This function is called whenever a - auth_user_request exists in a request when the reply is constructed + AuthUserRequest exists in a request when the reply is constructed after the body is sent on chunked replies respectively. \par typedef void AUTHSONCLOSEC(ConnStateData *); - This function type is called when a auth_user_request is + This function type is called when a AuthUserRequest is linked into a ConnStateData struct, and the connection is closed. If any scheme specific activities related to the request or connection are in progress, this function MUST clear them. Index: squid3/src/ACL.h =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/ACL.h,v retrieving revision 1.18.10.1 retrieving revision 1.18.10.2 diff -u -r1.18.10.1 -r1.18.10.2 --- squid3/src/ACL.h 6 Aug 2007 05:56:29 -0000 1.18.10.1 +++ squid3/src/ACL.h 6 Aug 2007 07:26:38 -0000 1.18.10.2 @@ -1,6 +1,6 @@ /* - * $Id: ACL.h,v 1.18.10.1 2007/08/06 05:56:29 amosjeffries Exp $ + * $Id: ACL.h,v 1.18.10.2 2007/08/06 07:26:38 amosjeffries Exp $ * * * SQUID Web Proxy Cache http://www.squid-cache.org/ @@ -171,7 +171,7 @@ ACLList *next; }; -MEMPROXY_CLASS_INLINE(ACLList) +MEMPROXY_CLASS_INLINE(ACLList); /// \ingroup ACL typedef ACLList acl_list;