]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Polish: cleanup IDENT header
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 29 Sep 2014 13:41:03 +0000 (06:41 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 29 Sep 2014 13:41:03 +0000 (06:41 -0700)
src/ident/Ident.h
src/typedefs.h

index fa79ecb69e588ae27893d120bfcb533c35f7a309..d0b971bd84292ef1a21f0efd373fb3712b4b01fe 100644 (file)
@@ -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 */
index 59b365b567c16ec88b16c1abe5a27b81db138775..790b34025b837a70c9f5ee8002a8cde4add786b3 100644 (file)
@@ -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;