From: Amos Jeffries Date: Mon, 29 Sep 2014 13:41:03 +0000 (-0700) Subject: Polish: cleanup IDENT header X-Git-Tag: SQUID_3_5_0_1~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3395fbd06904fc75af6313254b2ebdcd922093f8;p=thirdparty%2Fsquid.git Polish: cleanup IDENT header --- diff --git a/src/ident/Ident.h b/src/ident/Ident.h index fa79ecb69e..d0b971bd84 100644 --- a/src/ident/Ident.h +++ b/src/ident/Ident.h @@ -9,22 +9,18 @@ #ifndef SQUID_IDENT_H #define SQUID_IDENT_H -/** - \defgroup IdentAPI Ident Lookup API - \ingroup SquidComponents - */ - #if USE_IDENT #include "cbdata.h" #include "comm/forward.h" +typedef void IDCB(const char *ident, void *data); + +/// Ident Lookup API namespace Ident { /** - \ingroup IdentAPI - * * Open a connection and request IDENT information from a peer machine. * Callack will be called whan the lookup is completed. * Self-registers with a global ident lookup manager, @@ -33,15 +29,12 @@ namespace Ident void Start(const Comm::ConnectionPointer &conn, IDCB * callback, void *cbdata); /** - \ingroup IdentAPI - * * Initialize IDENT lookup manager. * Currently a hash list of open ident requests. - * \bug Will leak the hash list if called twice. */ void Init(void); -} +} // namespace Ident #endif /* USE_IDENT */ #endif /* SQUID_IDENT_H */ diff --git a/src/typedefs.h b/src/typedefs.h index 59b365b567..790b34025b 100644 --- a/src/typedefs.h +++ b/src/typedefs.h @@ -46,7 +46,6 @@ typedef void DTCB(int errflag, void *data); /* disk trunc CB */ class DnsLookupDetails; typedef void FQDNH(const char *, const DnsLookupDetails &details, void *); -typedef void IDCB(const char *ident, void *data); #include "anyp/ProtocolType.h" class CachePeer;