EAPI Ecore_Pipe *ecore_pipe_add(void (*handler) (void *data, void *buffer, unsigned int nbyte), const void *data);
EAPI void *ecore_pipe_del(Ecore_Pipe *p);
EAPI int ecore_pipe_write(Ecore_Pipe *p, const void *buffer, unsigned int nbytes);
- EAPI void ecore_pipe_close_write(Ecore_Pipe *p);
- EAPI void ecore_pipe_close_read(Ecore_Pipe *p);
+ EAPI void ecore_pipe_write_close(Ecore_Pipe *p);
+ EAPI void ecore_pipe_read_close(Ecore_Pipe *p);
EAPI double ecore_time_get(void);
EAPI double ecore_loop_time_get(void);
* @ingroup Ecore_Pipe_Group
*/
EAPI void
-ecore_pipe_close_read(Ecore_Pipe *p)
+ecore_pipe_read_close(Ecore_Pipe *p)
{
void *data;
if (!ECORE_MAGIC_CHECK(p, ECORE_MAGIC_PIPE))
{
ECORE_MAGIC_FAIL(p, ECORE_MAGIC_PIPE,
- "ecore_pipe_close_read");
+ "ecore_pipe_read_close");
return;
}
ecore_main_fd_handler_del(p->fd_handler);
* @ingroup Ecore_Pipe_Group
*/
EAPI void
-ecore_pipe_close_write(Ecore_Pipe *p)
+ecore_pipe_write_close(Ecore_Pipe *p)
{
void *data;
if (!ECORE_MAGIC_CHECK(p, ECORE_MAGIC_PIPE))
{
ECORE_MAGIC_FAIL(p, ECORE_MAGIC_PIPE,
- "ecore_pipe_close_write");
+ "ecore_pipe_write_close");
return;
}
close(p->fd_write);