/* * Copyright (C) 1996-2024 The Squid Software Foundation and contributors * * Squid software is distributed under GPLv2+ license and includes * contributions from numerous individuals and organizations. * Please see the COPYING and CONTRIBUTORS files for details. */ #ifndef SQUID_SRC_IDENT_IDENT_H #define SQUID_SRC_IDENT_IDENT_H #if USE_IDENT #include "cbdata.h" #include "comm/forward.h" typedef void IDCB(const char *ident, void *data); /// Ident Lookup API namespace Ident { /** * Open a connection and request IDENT information from a peer machine. * Callback will be called when the lookup is completed. */ void Start(const Comm::ConnectionPointer &conn, IDCB * callback, void *cbdata); } // namespace Ident #endif /* USE_IDENT */ #endif /* SQUID_SRC_IDENT_IDENT_H */