#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,
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 */
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;