From ef9ad2032b35bee0d4e40476888a0a090bece06d Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Thu, 3 Jan 2013 00:39:18 +0000 Subject: [PATCH] efl: add eio_eet_sync symbols MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch by Jérémy Zurcher . SVN revision: 82025 --- AUTHORS | 1 + ChangeLog | 4 ++++ NEWS | 1 + src/lib/eio/Eio.h | 2 +- src/lib/eio/eio_eet.c | 9 +++++++++ 5 files changed, 16 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index 6403d1ecd9..0f0cedd077 100644 --- a/AUTHORS +++ b/AUTHORS @@ -204,6 +204,7 @@ Mikael SANS Mike Blumenkrantz (zmike/discomfitor) Jérôme Pinot Daniel Willmann +Jérémy Zurcher EDBus diff --git a/ChangeLog b/ChangeLog index 9b0312f092..0e3b0ac932 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-01-03 Jérémy Zurcher + + * Add eio_eet_sync symbols. + 2013-01-02 Carsten Haitzler (The Rasterman) * Fixed evas_software_xlib_x_write_mask_line() issue - it was diff --git a/NEWS b/NEWS index 2b5a3a855e..ecaa318386 100644 --- a/NEWS +++ b/NEWS @@ -48,6 +48,7 @@ Additions: eina_xattr_fd_copy() * Added eina_file_copy() * Add eet_map. + * Add eio_eet_sync symbols. Deprecations: * ecore_x: diff --git a/src/lib/eio/Eio.h b/src/lib/eio/Eio.h index 494bc889c6..eabec68e95 100644 --- a/src/lib/eio/Eio.h +++ b/src/lib/eio/Eio.h @@ -1018,7 +1018,7 @@ EAPI Eio_File *eio_eet_close(Eet_File *ef, * @param data Unmodified user data passed to callbacks * @return NULL in case of a failure. * - * This function will call eet_flush() from another thread. As long as the done_cb or + * This function will call eet_sync() from another thread. As long as the done_cb or * error_cb haven't be called, you must keep @p ef open. */ EAPI Eio_File *eio_eet_sync(Eet_File *ef, diff --git a/src/lib/eio/eio_eet.c b/src/lib/eio/eio_eet.c index c25cc4a035..fdd42513a6 100644 --- a/src/lib/eio/eio_eet.c +++ b/src/lib/eio/eio_eet.c @@ -399,6 +399,15 @@ eio_eet_flush(Eet_File *ef, return &eet->common; } +API Eio_File * +eio_eet_sync(Eet_File *ef, + Eio_Done_Cb done_cb, + Eio_Eet_Error_Cb error_cb, + const void *data) +{ + return eio_eet_flush(ef,done_cb,error_cb,data); +} + EAPI Eio_File * eio_eet_data_write_cipher(Eet_File *ef, Eet_Data_Descriptor *edd,