Enlightenment CVS committal
Author : onefang
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore
Modified Files:
ecore_private.h
Log Message:
Fork'n'pipe now actually pipes.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_private.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- ecore_private.h 9 Nov 2005 13:57:45 -0000 1.23
+++ ecore_private.h 10 Dec 2005 22:39:19 -0000 1.24
@@ -47,6 +47,8 @@
#define CLAMP(x, min, max) (((x) > (max)) ? (max) : (((x) < (min)) ? (min) :
(x)))
#endif
+#define READBUFSIZ 65536
+
#define ECORE_MAGIC_NONE 0x1234fedc
#define ECORE_MAGIC_EXE 0xf7e812f5
#define ECORE_MAGIC_TIMER 0xf7d713f4
@@ -148,14 +150,15 @@
char *tag;
char *cmd;
Ecore_Exe_Flags flags;
- char *args[4]; /* Arguments for child */
- Ecore_Fd_Handler *fd_handler; /* FIXME: the fd_handler to handle read/write
to child - if this was used, or NULL if not */
+ Ecore_Fd_Handler *write_fd_handler; /* FIXME: the fd_handler to handle
write to child - if this was used, or NULL if not */
+ Ecore_Fd_Handler *read_fd_handler; /* FIXME: the fd_handler to handle read
from child - if this was used, or NULL if not */
void *write_data_buf; /* FIXME: a data buffer for data to write to
the child - realloced as needed for more data and flushed when the fd handler
says writes are possible */
int write_data_size; /* FIXME: the size in bytes of the data
buffer */
+ int write_data_offset; /* FIXME: the offset in bytes in the data
buffer */
void *read_data_buf; /* FIXME: data read from the child awating
delivery to an event */
int read_data_size; /* FIXME: data read from child in bytes */
int child_fd_write; /* fd to write TO to send data to the
child */
- int child_fd_read; /* fd to read FROM whne child has send us
(parent) data */
+ int child_fd_read; /* fd to read FROM when child has sent us (the
parent) data */
};
#endif
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs