/* 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 {
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_ */
+