]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/DiskIO/AIO/async_io.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / DiskIO / AIO / async_io.h
index cee79876d685b46b153e415163bcc4c72e812235..b871231c00900e1acb2b11bd17090897d59d16e9 100644 (file)
 /* for FREE* */
 #include "typedefs.h"
 
-#define MAX_ASYNCOP            128
+#define MAX_ASYNCOP     128
 
 typedef enum {
-    AQ_STATE_NONE,             /* Not active/uninitialised */
-    AQ_STATE_SETUP             /* Initialised */
+    AQ_STATE_NONE,      /* Not active/uninitialised */
+    AQ_STATE_SETUP      /* Initialised */
 } async_queue_state_t;
 
 typedef enum {
@@ -69,9 +69,10 @@ struct _async_queue_entry {
 
 struct _async_queue {
     async_queue_state_t aq_state;
-    async_queue_entry_t aq_queue[MAX_ASYNCOP]; /* queued ops */
-    int aq_numpending;         /* Num of pending ops */
+    async_queue_entry_t aq_queue[MAX_ASYNCOP];  /* queued ops */
+    int aq_numpending;      /* Num of pending ops */
 };
 
 #endif /* USE_DISKIO_AIO */
 #endif /* __ASYNC_IO_H_ */
+