simplified relocation handling
deleted qse_httpd_entaskredir() and related definitions added virtual(function pointer) cgi support. improved pio to read /dev/fd implemented QSE_PIO_FNCCMD for qse_pio_t
This commit is contained in:
@ -59,6 +59,10 @@ enum qse_pio_flag_t
|
||||
* them to prevent inheritance. */
|
||||
QSE_PIO_NOCLOEXEC = (1 << 5),
|
||||
|
||||
/** indidate that the command to qse_pio_open() is a pointer to
|
||||
* #qse_pio_fnc_t. supported on unix/linux only */
|
||||
QSE_PIO_FNCCMD = (1 << 6),
|
||||
|
||||
/** write to stdin of a child process */
|
||||
QSE_PIO_WRITEIN = (1 << 8),
|
||||
/** read stdout of a child process */
|
||||
@ -113,6 +117,16 @@ enum qse_pio_hid_t
|
||||
};
|
||||
typedef enum qse_pio_hid_t qse_pio_hid_t;
|
||||
|
||||
|
||||
typedef int (*qse_pio_fncptr_t) (void* ctx, qse_env_char_t** envir);
|
||||
|
||||
typedef struct qse_pio_fnc_t qse_pio_fnc_t;
|
||||
struct qse_pio_fnc_t
|
||||
{
|
||||
qse_pio_fncptr_t ptr;
|
||||
void* ctx;
|
||||
};
|
||||
|
||||
/**
|
||||
* The qse_pio_errnum_t type defines error numbers.
|
||||
*/
|
||||
@ -177,6 +191,7 @@ struct qse_pio_pin_t
|
||||
qse_pio_t* self;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* The qse_pio_t type defines a structure to store status for piped I/O
|
||||
* to a child process. The qse_pio_xxx() funtions are written around this
|
||||
|
Reference in New Issue
Block a user