aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/eolian/database_event_api.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-04-20 15:53:16 -0700
committerCedric BAIL <cedric@osg.samsung.com>2016-04-20 15:53:16 -0700
commit842a020e1f9717914685e0f9501d8652fe76d5e1 (patch)
tree6e8905484d0c3d31fda60a63ef0f96012f7687b2 /src/lib/eolian/database_event_api.c
parenteo: let's check that this nested restarted event are working somehow. (diff)
downloadefl-842a020e1f9717914685e0f9501d8652fe76d5e1.tar.gz
eolian: add support for restartable event.
Diffstat (limited to 'src/lib/eolian/database_event_api.c')
-rw-r--r--src/lib/eolian/database_event_api.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/eolian/database_event_api.c b/src/lib/eolian/database_event_api.c
index 3901cd1cad..1ef52ece15 100644
--- a/src/lib/eolian/database_event_api.c
+++ b/src/lib/eolian/database_event_api.c
@@ -47,6 +47,13 @@ eolian_event_is_hot(const Eolian_Event *event)
return event->is_hot;
}
+EAPI Eina_Bool
+eolian_event_is_restart(const Eolian_Event *event)
+{
+ EINA_SAFETY_ON_NULL_RETURN_VAL(event, EINA_FALSE);
+ return event->is_restart;
+}
+
EAPI Eina_Stringshare *
eolian_event_c_name_get(const Eolian_Event *event)
{