]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/base/AsyncCalls.dox
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / base / AsyncCalls.dox
index b0be201ee6d7d02a9a6a5d67276bee45dab39759..7018dcea3c115c55c3875343f8e96124dc0ee54f 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 1996-2020 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.
+ */
+
 /**
 \defgroup AsyncCalls Asynchronous Calls
 \ingroup Components
@@ -53,7 +61,7 @@ be dialed is irrelevant here.
 handle the call back, then it must cancel it.  Whether that Call will be
 scheduled is irrelevant here. If the Recipient has an AsyncCall pointer,
 calling AsyncCall::cancel is sufficient, but the code should use
-call-specific APIs when possible (e.g., comm_read_cancel or comm_close).
+call-specific APIs when possible (e.g., Comm::ReadCancel or comm_close).
 
 - Processed calls should be forgotten: If you scheduled, received, or
 cancel the call, set its pointer to NULL. The Caller should forget the