summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2014-09-23 12:51:23 -0400
committerChris Michael <cp.michael@samsung.com>2014-09-23 13:01:11 -0400
commit34ba873497ad6626a541c67d4ecbae5610057d71 (patch)
tree45f981bf722ab1676efa2da6888799a0a273e417
parent0a6f26a106c9a2710435397156a77260cce430b2 (diff)
eeze: Add eeze_udev_syspath_get_synum function
Summary: This adds an API declaration for getting the sysnum of a device from the syspath. This is needed in the ecore-drm code to fetch the id of a device. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/lib/eeze/Eeze.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/eeze/Eeze.h b/src/lib/eeze/Eeze.h
index 65e90bd..a3bb9f8 100644
--- a/src/lib/eeze/Eeze.h
+++ b/src/lib/eeze/Eeze.h
@@ -558,6 +558,17 @@ EAPI Eina_Bool eeze_udev_syspath_is_touchpad(const char *syspath);
558 * @since 1.7 558 * @since 1.7
559 */ 559 */
560EAPI Eina_Bool eeze_udev_syspath_is_joystick(const char *syspath); 560EAPI Eina_Bool eeze_udev_syspath_is_joystick(const char *syspath);
561
562/**
563 * Get the sysnum value of a device from the /sys/ path.
564 *
565 * @param syspath The /sys/ path with or without the /sys/
566 * @return A integer with the sysnum or -1 on failure
567 *
568 * @since 1.12
569 */
570EAPI int eeze_udev_syspath_get_sysnum(const char *syspath);
571
561 /** 572 /**
562 * @} 573 * @}
563 */ 574 */