Preperation for line buffering, coming soon. Just gotta spend the rest of the day testing it.

SVN revision: 19056
This commit is contained in:
David Walter Seikel 2005-12-16 01:11:24 +00:00
parent 9b4adfbd25
commit a4f340d074
1 changed files with 8 additions and 0 deletions

View File

@ -102,6 +102,7 @@ extern "C" {
typedef struct _Ecore_Event_Signal_Exit Ecore_Event_Signal_Exit; /**< Exit signal event */
typedef struct _Ecore_Event_Signal_Power Ecore_Event_Signal_Power; /**< Power signal event */
typedef struct _Ecore_Event_Signal_Realtime Ecore_Event_Signal_Realtime; /**< Realtime signal event */
typedef struct _Ecore_Event_Exe_Data_Line Ecore_Event_Exe_Data_Line; /**< Lines from a child process */
typedef struct _Ecore_Event_Exe_Data Ecore_Event_Exe_Data; /**< Data from a child process */
#ifndef WIN32
@ -168,11 +169,18 @@ extern "C" {
};
#ifndef WIN32
struct _Ecore_Event_Exe_Data_Line /**< Lines from a child process */
{
char *line;
int size;
};
struct _Ecore_Event_Exe_Data /** Data from a child process event */
{
Ecore_Exe *exe; /**< The handle to the process */
void *data; /**< the raw binary data from the child process that was recieved */
int size; /**< the size of this data in bytes */
Ecore_Event_Exe_Data_Line *lines; /**< an array of line data if line buffered */
};
#endif