summaryrefslogtreecommitdiff
path: root/src/lib/eio
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-12-20 16:23:18 -0800
committerCedric BAIL <cedric@osg.samsung.com>2018-04-30 14:21:12 -0700
commit44dceade11bc4d7fa91bea05feb4137d6989d4db (patch)
tree8e9baa627d0611910d5cdbbb6c6ccdcf6f53a97a /src/lib/eio
parentafb18198bb2fd7d07f890ba47c4ef2ab2608e145 (diff)
eio: share _efl_io_manager_future_cancel with all of eio.
Diffstat (limited to 'src/lib/eio')
-rw-r--r--src/lib/eio/efl_io_manager.c6
-rw-r--r--src/lib/eio/eio_private.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/eio/efl_io_manager.c b/src/lib/eio/efl_io_manager.c
index 786dff1aaa..18024f76c4 100644
--- a/src/lib/eio/efl_io_manager.c
+++ b/src/lib/eio/efl_io_manager.c
@@ -52,12 +52,6 @@ struct _Job_Closure
52 52
53/* Helper functions */ 53/* Helper functions */
54static void 54static void
55_efl_io_manager_future_cancel(void *data, const Eina_Promise *dead_ptr EINA_UNUSED)
56{
57 eio_file_cancel(data);
58}
59
60static void
61_future_file_done_cb(void *data, Eio_File *handler) 55_future_file_done_cb(void *data, Eio_File *handler)
62{ 56{
63 Eina_Promise *p = data; 57 Eina_Promise *p = data;
diff --git a/src/lib/eio/eio_private.h b/src/lib/eio/eio_private.h
index 7c6bcc7d32..7e8656609a 100644
--- a/src/lib/eio/eio_private.h
+++ b/src/lib/eio/eio_private.h
@@ -545,6 +545,12 @@ Eio_File * _eio_file_xattr(const char *path,
545void _eio_string_notify(void *data, Ecore_Thread *thread EINA_UNUSED, void *msg_data); 545void _eio_string_notify(void *data, Ecore_Thread *thread EINA_UNUSED, void *msg_data);
546void _eio_direct_notify(void *data, Ecore_Thread *thread EINA_UNUSED, void *msg_data); 546void _eio_direct_notify(void *data, Ecore_Thread *thread EINA_UNUSED, void *msg_data);
547 547
548static inline void
549_efl_io_manager_future_cancel(void *data, const Eina_Promise *dead_ptr EINA_UNUSED)
550{
551 eio_file_cancel(data);
552}
553
548EINA_VALUE_STRUCT_DESC_DEFINE(_eina_stat_desc, 554EINA_VALUE_STRUCT_DESC_DEFINE(_eina_stat_desc,
549 NULL, 555 NULL,
550 sizeof (Eina_Stat), 556 sizeof (Eina_Stat),