This reduces a few more links to protos.h by moving the small ident.c
requirements into ident.h in preparation for modulising that component.
#include "ACLRegexData.h"
#include "ACLUserData.h"
#include "client_side.h"
+#include "ident.h"
ACLIdent::~ACLIdent()
{
#include "HttpHdrContRange.h"
#include "HttpReply.h"
#include "HttpRequest.h"
+#include "ident.h"
#include "MemObject.h"
#include "fde.h"
#include "client_side_request.h"
-
/*
* $Id: ident.cc,v 1.78 2007/12/14 23:11:47 amosjeffries Exp $
*
*/
#include "squid.h"
+#include "ident.h"
#include "comm.h"
#include "MemBuf.h"
--- /dev/null
+/*
+ * $Id$
+ */
+#ifndef SQUID_IDENT_H
+#define SQUID_IDENT_H
+
+/*
+ \defgroup IdentAPI Ident Lookup API
+ \ingroup SquidComponents
+ *
+ */
+
+#include "config.h"
+
+#if USE_IDENT
+
+#include "cbdata.h"
+
+class IPAddress;
+
+/// \ingroup IdentAPI
+SQUIDCEXTERN void identStart(IPAddress &me, IPAddress &my_peer, IDCB * callback, void *cbdata);
+
+/// \ingroup IdentAPI
+SQUIDCEXTERN void identInit(void);
+
+#endif /* USE_IDENT */
+#endif /* SQUID_IDENT_H */
#include "ExternalACL.h"
#include "Store.h"
#include "ICP.h"
+#include "ident.h"
#include "HttpReply.h"
#include "pconn.h"
#include "Mem.h"
extern void start_announce(void *unused);
extern void waisStart(FwdState *);
-/* ident.c */
-#if USE_IDENT
-
-SQUIDCEXTERN void identStart(IPAddress &me, IPAddress &my_peer,
- IDCB * callback, void *cbdata);
-SQUIDCEXTERN void identInit(void);
-#endif
-
SQUIDCEXTERN void statInit(void);
extern void statRegisterWithCacheManager(CacheManager & manager);
SQUIDCEXTERN void statFreeMemory(void);