]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/adaptation/icap/icap_log.h
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / adaptation / icap / icap_log.h
index bf577ab399679df81c4ac733d17089018b62339a..ef777cb902ac52c5a9264639e558cc881286a757 100644 (file)
@@ -1,14 +1,27 @@
+/*
+ * Copyright (C) 1996-2021 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 ICAP_LOG_H_
 #define ICAP_LOG_H_
 
+#include "AccessLogEntry.h"
+#include "base/RefCount.h"
+
+typedef RefCount<AccessLogEntry> AccessLogEntryPointer;
 class AccessLogEntry;
 class ACLChecklist;
 
 void icapLogClose();
 void icapLogOpen();
 void icapLogRotate();
-void icapLogLog(AccessLogEntry *al, ACLChecklist * checklist);
+void icapLogLog(AccessLogEntryPointer &al);
 
 extern int IcapLogfileStatus;
 
 #endif /*ICAP_LOG_H_*/
+