]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/DiskIO/DiskDaemon/diomsg.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / DiskIO / DiskDaemon / diomsg.h
index cd8fa2327f1ba847d5ea2b14c89b957e0e6e8749..57e5387f7f7cd3ea17b67e73007c23fb34bb3268 100644 (file)
@@ -1,11 +1,19 @@
+/*
+ * Copyright (C) 1996-2017 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.
+ */
+
 /*
  * diomsg.h
  *
  * Internal declarations for the diskd routines
  */
 
-#ifndef __SQUID_DIOMSG_H__
-#define __SQUID_DIOMSG_H__
+#ifndef SQUID_DIOMSG_H__
+#define SQUID_DIOMSG_H__
 
 enum {
     _MQD_NOP,
@@ -17,14 +25,14 @@ enum {
     _MQD_UNLINK
 };
 
-struct RefCountable_;
+class Lock;
 
 struct diomsg {
     mtyp_t mtype;
     int id;
     int seq_no;
     void * callback_data;
-    RefCountable_ * requestor;
+    Lock * requestor;
     size_t size;
     off_t offset;
     int status;
@@ -33,5 +41,5 @@ struct diomsg {
     static const int msg_snd_rcv_sz;
 };
 
+#endif /* SQUID_DIOMSG_H__ */
 
-#endif