touched up tio

This commit is contained in:
2012-04-30 15:15:41 +00:00
parent 1e80161c64
commit 3e4194cca8
13 changed files with 1015 additions and 866 deletions

View File

@ -72,9 +72,9 @@ typedef enum qse_nwio_errnum_t qse_nwio_errnum_t;
#if defined(_WIN32)
typedef qse_intptr_t qse_nwio_hnd_t;
#elif defined(__OS2__)
/* TODO: */
typedef int qse_nwio_hnd_t; /**< defines a pipe handle type */
#elif defined(__DOS__)
/* TODO: */
typedef int qse_nwio_hnd_t; /**< defines a pipe handle type */
#else
typedef int qse_nwio_hnd_t; /**< defines a pipe handle type */
#endif

View File

@ -65,11 +65,7 @@ enum qse_tio_flag_t
QSE_TIO_IGNOREMBWCERR = (1 << 0),
/**< do not flush data in the buffer until the buffer gets full. */
QSE_TIO_NOAUTOFLUSH = (1 << 1),
/* for internal use only. */
QSE_TIO_DYNINBUF = (1 << 29),
QSE_TIO_DYNOUTBUF = (1 << 30)
QSE_TIO_NOAUTOFLUSH = (1 << 1)
};
enum qse_tio_misc_t
@ -113,14 +109,14 @@ struct qse_tio_t
{
QSE_DEFINE_COMMON_FIELDS (tio)
qse_tio_errnum_t errnum;
int flags;
int flags;
qse_cmgr_t* cmgr;
qse_tio_io_t in;
qse_tio_io_t out;
/* for house keeping from here */
int input_status;
int status;
qse_size_t inbuf_cur;
qse_size_t inbuf_len;
qse_size_t outbuf_len;