--------------------- PatchSet 5579 Date: 2007/09/01 08:45:06 Author: amosjeffries Branch: docs Tag: (none) Log: Functions should be defined in .cc with same parameter types as their .h Members: include/List.h:1.7.14.1->1.7.14.2 src/ACLMethodData.cc:1.8->1.8.14.1 src/ACLProtocolData.cc:1.8->1.8.14.1 src/asn.cc:1.28.2.2->1.28.2.3 src/client_side.cc:1.126.2.5->1.126.2.6 src/comm.cc:1.74.2.6->1.74.2.7 Index: squid3/include/List.h =================================================================== RCS file: /cvsroot/squid-sf//squid3/include/List.h,v retrieving revision 1.7.14.1 retrieving revision 1.7.14.2 diff -u -r1.7.14.1 -r1.7.14.2 --- squid3/include/List.h 31 Jul 2007 04:29:06 -0000 1.7.14.1 +++ squid3/include/List.h 1 Sep 2007 08:45:06 -0000 1.7.14.2 @@ -1,6 +1,6 @@ /* - * $Id: List.h,v 1.7.14.1 2007/07/31 04:29:06 amosjeffries Exp $ + * $Id: List.h,v 1.7.14.2 2007/09/01 08:45:06 amosjeffries Exp $ * * * SQUID Web Proxy Cache http://www.squid-cache.org/ @@ -36,8 +36,8 @@ #include "cbdata.h" +/// \ingroup POD template - class List { @@ -57,8 +57,8 @@ CBDATA_CLASS(List); }; +/// \ingroup POD template - class ListContainer { @@ -72,6 +72,7 @@ List *head; }; +/// \ingroup POD template class ListIterator { @@ -93,8 +94,10 @@ /* implementation follows */ +/** \cond AUTODOCS-IGNORE */ template cbdata_type List::CBDATA_List = CBDATA_UNKNOWN; +/** \endcond */ template void * Index: squid3/src/ACLMethodData.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/ACLMethodData.cc,v retrieving revision 1.8 retrieving revision 1.8.14.1 diff -u -r1.8 -r1.8.14.1 --- squid3/src/ACLMethodData.cc 12 May 2006 13:49:56 -0000 1.8 +++ squid3/src/ACLMethodData.cc 1 Sep 2007 08:45:07 -0000 1.8.14.1 @@ -1,5 +1,5 @@ /* - * $Id: ACLMethodData.cc,v 1.8 2006/05/12 13:49:56 squidadm Exp $ + * $Id: ACLMethodData.cc,v 1.8.14.1 2007/09/01 08:45:07 amosjeffries Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -62,8 +62,9 @@ /* explicit instantiation required for some systems */ -template cbdata_type List -::CBDATA_List; +/// \cond AUTODOCS-IGNORE +template cbdata_type List::CBDATA_List; +/// \endcond wordlist * ACLMethodData::dump() Index: squid3/src/ACLProtocolData.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/ACLProtocolData.cc,v retrieving revision 1.8 retrieving revision 1.8.14.1 diff -u -r1.8 -r1.8.14.1 --- squid3/src/ACLProtocolData.cc 12 May 2006 13:49:56 -0000 1.8 +++ squid3/src/ACLProtocolData.cc 1 Sep 2007 08:45:07 -0000 1.8.14.1 @@ -1,5 +1,5 @@ /* - * $Id: ACLProtocolData.cc,v 1.8 2006/05/12 13:49:56 squidadm Exp $ + * $Id: ACLProtocolData.cc,v 1.8.14.1 2007/09/01 08:45:07 amosjeffries Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -62,8 +62,9 @@ /* explicit instantiation required for some systems */ -template cbdata_type List -::CBDATA_List; +/// \cond AUTODOCS-IGNORE +template cbdata_type List::CBDATA_List; +/// \endcond wordlist * ACLProtocolData::dump() Index: squid3/src/asn.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/asn.cc,v retrieving revision 1.28.2.2 retrieving revision 1.28.2.3 diff -u -r1.28.2.2 -r1.28.2.3 --- squid3/src/asn.cc 1 Sep 2007 03:56:50 -0000 1.28.2.2 +++ squid3/src/asn.cc 1 Sep 2007 08:45:07 -0000 1.28.2.3 @@ -1,6 +1,6 @@ /* - * $Id: asn.cc,v 1.28.2.2 2007/09/01 03:56:50 amosjeffries Exp $ + * $Id: asn.cc,v 1.28.2.3 2007/09/01 08:45:07 amosjeffries Exp $ * * DEBUG: section 53 AS Number handling * AUTHOR: Duane Wessels, Kostas Anagnostakis @@ -68,15 +68,15 @@ /* explicit instantiation required for some systems */ -template cbdata_type List -::CBDATA_List; +/// \cond AUTODOCS-IGNORE +template cbdata_type List::CBDATA_List; +/// \endcond -/* +/** * Structure for as number information. it could be simply * a list but it's coded as a structure for future * enhancements (e.g. expires) */ - struct _as_info { List *as_number; @@ -99,8 +99,7 @@ typedef struct _as_info as_info; -/* entry into the radix tree */ - +/** entry into the radix tree */ struct _rtentry { @@ -388,9 +387,9 @@ } -/* add a network (addr, mask) to the radix tree, with matching AS - * number */ - +/** + * add a network (addr, mask) to the radix tree, with matching AS number + */ static int asnAddNet(char *as_string, int as_number) { Index: squid3/src/client_side.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/client_side.cc,v retrieving revision 1.126.2.5 retrieving revision 1.126.2.6 diff -u -r1.126.2.5 -r1.126.2.6 --- squid3/src/client_side.cc 1 Sep 2007 03:56:52 -0000 1.126.2.5 +++ squid3/src/client_side.cc 1 Sep 2007 08:45:07 -0000 1.126.2.6 @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.126.2.5 2007/09/01 03:56:52 amosjeffries Exp $ + * $Id: client_side.cc,v 1.126.2.6 2007/09/01 08:45:07 amosjeffries Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -211,7 +211,7 @@ void -ClientSocketContext::removeFromConnectionList(ConnStateData::Pointer conn) +ClientSocketContext::removeFromConnectionList(RefCount conn) { ClientSocketContext::Pointer *tempContextPointer; assert(conn != NULL); @@ -1308,8 +1308,8 @@ /* Please don't do anything with the FD past here! */ } -void -ClientSocketContextPushDeferredIfNeeded(ClientSocketContext::Pointer deferredRequest, ConnStateData::Pointer & conn) +static void +ClientSocketContextPushDeferredIfNeeded(ClientSocketContext::Pointer deferredRequest, ConnStateData::Pointer &conn) { debugs(33, 2, "ClientSocketContextPushDeferredIfNeeded: FD " << conn->fd << " Sending next"); Index: squid3/src/comm.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/comm.cc,v retrieving revision 1.74.2.6 retrieving revision 1.74.2.7 diff -u -r1.74.2.6 -r1.74.2.7 --- squid3/src/comm.cc 1 Sep 2007 03:56:59 -0000 1.74.2.6 +++ squid3/src/comm.cc 1 Sep 2007 08:45:07 -0000 1.74.2.7 @@ -1,6 +1,6 @@ /* - * $Id: comm.cc,v 1.74.2.6 2007/09/01 03:56:59 amosjeffries Exp $ + * $Id: comm.cc,v 1.74.2.7 2007/09/01 08:45:07 amosjeffries Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -2412,8 +2412,9 @@ /* explicit instantiation required for some systems */ -template cbdata_type List -::CBDATA_List; +/// \cond AUTODOCS-IGNORE +template cbdata_type List::CBDATA_List; +/// \endcond void DeferredReadManager::delayRead(DeferredRead const &aRead) {