]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
moved dread_ctrl to disk.h
authorFrancesco Chemolli <kinkie@squid-cache.org>
Mon, 24 Sep 2012 19:27:10 +0000 (21:27 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Mon, 24 Sep 2012 19:27:10 +0000 (21:27 +0200)
src/disk.cc
src/disk.h
src/mem.cc
src/structs.h

index 21b127de5b55cdd1ec55f307f8b5b018cfe70062..1e2595acc3217d2288ff6fc5a03534682822edb4 100644 (file)
@@ -32,6 +32,7 @@
 
 #include "squid.h"
 #include "comm/Loops.h"
+#include "disk.h"
 #include "fd.h"
 #include "fde.h"
 #include "globals.h"
index 847c950014a7ef16faf00647c378f5c51fc51959..9910fdbdeedd2595ba6d797f3211d4cbdbaf8f18 100644 (file)
 #include "typedefs.h"
 
 class MemBuf;
+// POD
+
+class dread_ctrl
+{
+public:
+    int fd;
+    off_t offset;
+    int req_len;
+    char *buf;
+    int end_of_file;
+    DRCB *handler;
+    void *client_data;
+};
+
 
 int file_open(const char *path, int mode);
 void file_close(int fd);
index 04934e650dceba1ae9ea6489121fd72769f7f9c0..56cad3e3d4955012888e24b9a64977870e1524f7 100644 (file)
@@ -35,6 +35,7 @@
 #include "acl/AclNameList.h"
 #include "CacheDigest.h"
 #include "ClientInfo.h"
+#include "disk.h"
 #include "event.h"
 #include "md5.h"
 #include "Mem.h"
index 762927367c0689d6d249acd664b8afd0fe942b3b..0355753f3273d32170479cedc7b8cc277b08b1b6 100644 (file)
@@ -40,19 +40,6 @@ struct acl_size_t {
     int64_t size;
 };
 
-// POD
-class dread_ctrl
-{
-public:
-    int fd;
-    off_t offset;
-    int req_len;
-    char *buf;
-    int end_of_file;
-    DRCB *handler;
-    void *client_data;
-};
-
 // POD
 class dwrite_q
 {