summaryrefslogtreecommitdiff
path: root/src/lib/elput/elput_manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elput/elput_manager.c')
-rw-r--r--src/lib/elput/elput_manager.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/elput/elput_manager.c b/src/lib/elput/elput_manager.c
index 3dc67d9594..e267951b30 100644
--- a/src/lib/elput/elput_manager.c
+++ b/src/lib/elput/elput_manager.c
@@ -62,3 +62,16 @@ elput_manager_close(Elput_Manager *manager, int fd)
62 if (manager->interface->close) 62 if (manager->interface->close)
63 manager->interface->close(manager, fd); 63 manager->interface->close(manager, fd);
64} 64}
65
66EAPI Eina_Bool
67elput_manager_vt_set(Elput_Manager *manager, int vt)
68{
69 EINA_SAFETY_ON_NULL_RETURN_VAL(manager, EINA_FALSE);
70 EINA_SAFETY_ON_NULL_RETURN_VAL(manager->interface, EINA_FALSE);
71 EINA_SAFETY_ON_TRUE_RETURN_VAL((vt < 0), EINA_FALSE);
72
73 if (manager->interface->vt_set)
74 return manager->interface->vt_set(manager, vt);
75
76 return EINA_FALSE;
77}