Enlightenment CVS committal Author : onefang Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore Modified Files: Ecore.h ecore_exe.c Log Message: The beginnings of an effort to make ecore_exe fork'n'pipe more consistant with ecore_con and ecore_ipc. Probably best to have all IPC methods work the same way. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/Ecore.h,v retrieving revision 1.33 retrieving revision 1.34 diff -u -3 -r1.33 -r1.34 --- Ecore.h 30 Dec 2005 19:17:21 -0000 1.33 +++ Ecore.h 4 Jan 2006 20:28:12 -0000 1.34 @@ -209,7 +209,7 @@ #ifndef WIN32 EAPI Ecore_Exe *ecore_exe_run(const char *exe_cmd, const void *data); EAPI Ecore_Exe *ecore_exe_pipe_run(const char *exe_cmd, Ecore_Exe_Flags flags, const void *data); - EAPI int ecore_exe_pipe_write(Ecore_Exe *exe, void *data, int size); + EAPI int ecore_exe_send(Ecore_Exe *exe, void *data, int size); EAPI void ecore_exe_pipe_write_close(Ecore_Exe *exe); EAPI void *ecore_exe_free(Ecore_Exe *exe); EAPI pid_t ecore_exe_pid_get(Ecore_Exe *exe); =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_exe.c,v retrieving revision 1.31 retrieving revision 1.32 diff -u -3 -r1.31 -r1.32 --- ecore_exe.c 4 Jan 2006 16:29:36 -0000 1.31 +++ ecore_exe.c 4 Jan 2006 20:28:12 -0000 1.32 @@ -221,7 +221,7 @@ * * This function does the same thing as ecore_exe_run(), but also makes the * standard in and/or out from the child process available for reading or - * writing. To write use ecore_exe_pipe_write(). To read listen to + * writing. To write use ecore_exe_send(). To read listen to * ECORE_EVENT_EXE_DATA events (set up a handler). Ecore may buffer read * data until a newline character if asked for with the @p flags. All * data will be included in the events (newlines will be replaced with @@ -413,20 +413,20 @@ } /** - * Writes data to the given child process which it recieves on stdin. + * Sends data to the given child process which it recieves on stdin. * * This function writes to a child processes standard in, with unlimited * buffering. This call will never block. It may fail if the system runs out * of memory. * - * @param exe The child process to write to - * @param data The data to write - * @param size The size of the data to write, in bytes + * @param exe The child process tosend to + * @param data The data to send + * @param size The size of the data to send, in bytes * @return 1 if successful, 0 on failure. * @ingroup Ecore_Exe_Basic_Group */ int -ecore_exe_pipe_write(Ecore_Exe *exe, void *data, int size) +ecore_exe_send(Ecore_Exe *exe, void *data, int size) { void *buf; ------------------------------------------------------- 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 enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs