summaryrefslogtreecommitdiff
path: root/src/lib/ecore/efl_io_buffered_stream.c
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-12-11 13:19:46 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-12-12 02:30:33 -0200
commit21759f713af37263e340f7c61e867d639b2b1488 (patch)
treeac06f35b8a91ba35ed6fe8984a1a0e22a2ffbd2f /src/lib/ecore/efl_io_buffered_stream.c
parente9a72ea8f4b803f4b5accee6f487652de675174e (diff)
yoda-style inactivity timeout.
s/inactivity_timeout/timeout_inactivity/g so it matches the EFL names with scope first, like timeout_connect, etc.
Diffstat (limited to 'src/lib/ecore/efl_io_buffered_stream.c')
-rw-r--r--src/lib/ecore/efl_io_buffered_stream.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/ecore/efl_io_buffered_stream.c b/src/lib/ecore/efl_io_buffered_stream.c
index 5930fca902..82de769bf0 100644
--- a/src/lib/ecore/efl_io_buffered_stream.c
+++ b/src/lib/ecore/efl_io_buffered_stream.c
@@ -466,21 +466,21 @@ _efl_io_buffered_stream_line_delimiter_get(Eo *o EINA_UNUSED, Efl_Io_Buffered_St
466} 466}
467 467
468EOLIAN static void 468EOLIAN static void
469_efl_io_buffered_stream_inactivity_timeout_set(Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd, double seconds) 469_efl_io_buffered_stream_timeout_inactivity_set(Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd, double seconds)
470{ 470{
471 if (pd->receiver) 471 if (pd->receiver)
472 efl_io_copier_inactivity_timeout_set(pd->receiver, seconds); 472 efl_io_copier_timeout_inactivity_set(pd->receiver, seconds);
473 if (pd->sender) 473 if (pd->sender)
474 efl_io_copier_inactivity_timeout_set(pd->sender, seconds); 474 efl_io_copier_timeout_inactivity_set(pd->sender, seconds);
475} 475}
476 476
477EOLIAN static double 477EOLIAN static double
478_efl_io_buffered_stream_inactivity_timeout_get(Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) 478_efl_io_buffered_stream_timeout_inactivity_get(Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd)
479{ 479{
480 if (pd->receiver) 480 if (pd->receiver)
481 return efl_io_copier_inactivity_timeout_get(pd->receiver); 481 return efl_io_copier_timeout_inactivity_get(pd->receiver);
482 if (pd->sender) 482 if (pd->sender)
483 return efl_io_copier_inactivity_timeout_get(pd->sender); 483 return efl_io_copier_timeout_inactivity_get(pd->sender);
484 return 0.0; 484 return 0.0;
485} 485}
486 486