interim commit for qse_pio_t

- adding code to support QSE_PIO_TEXT. not compilable yet.
This commit is contained in:
2009-01-14 08:16:43 +00:00
parent f6dda99f51
commit b1897b3b4d
3 changed files with 76 additions and 4 deletions

View File

@ -21,6 +21,7 @@
#include <qse/types.h>
#include <qse/macros.h>
#include <qse/cmn/tio.h>
enum qse_pio_open_flag_t
{
@ -90,9 +91,11 @@ typedef struct qse_pio_t qse_pio_t;
struct qse_pio_t
{
qse_mmgr_t* mmgr;
qse_pio_pid_t child;
qse_pio_hnd_t handle[3];
qse_pio_err_t errnum;
qse_pio_pid_t child;
qse_pio_hnd_t handle[3];
qse_tio_t* tio[3];
};
#define QSE_PIO_MMGR(pio) ((pio)->mmgr)
@ -256,6 +259,11 @@ qse_ssize_t qse_pio_write (
);
/******/
void qse_pio_flush (
qse_pio_t* pio,
qse_pio_hid_t hid
);
/****f* qse.cmn.pio/qse_pio_end
* NAME
* qse_pio_end

View File

@ -230,7 +230,6 @@ int qse_tio_detachout (
qse_tio_t* tio
);
/*
* FUNCTION: qse_tio_flush
* Flushes the output buffer