12#if HAVE_DISKIO_MODULE_AIO
22#include "mem/forward.h"
24#define MAX_ASYNCOP 128
34} async_queue_entry_state_t;
40} async_queue_entry_type_t;
42typedef struct _async_queue_entry async_queue_entry_t;
44typedef struct _async_queue async_queue_t;
50struct _async_queue_entry {
51 async_queue_entry_state_t aq_e_state;
52 async_queue_entry_type_t aq_e_type;
55#if defined(__USE_FILE_OFFSET64) && !defined(__GNUC__)
56 struct aiocb64 aq_e_aiocb;
58 struct aiocb aq_e_aiocb;
61 void *aq_e_callback_data;
70 async_queue_state_t aq_state;
71 async_queue_entry_t aq_queue[MAX_ASYNCOP];