#define URL_RDONLY 0
#define URL_WRONLY 1
#define URL_RDWR 2
-#define URL_DIRECT 2 /* Use O_DIRECT for file access */
+#define URL_DIRECT 4
typedef int URLInterruptCB(void);
int must_flush; /**< true if the next seek should flush */
int eof_reached; /**< true if eof reached */
int write_flag; /**< true if open for writing */
+ int o_direct_flag; /**< true if the underlaying file is open with O_DIRECT */
int is_streamed;
int max_packet_size;
unsigned long checksum;