summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-02-12 15:21:42 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-02-12 15:47:33 +1000
commitfd01f895b6e0df0a9635793b42311bd2256a4e6f (patch)
tree999ccb73c44d36d6cc8455e4771cb886e03abdbc
parent7e8ba41a40020fac6d95c3ba6b6d8a4e22de9ffa (diff)
downloadlibevdev-fd01f895b6e0df0a9635793b42311bd2256a4e6f.tar.gz
Mark a few more functions as signal-safe
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--libevdev/libevdev.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libevdev/libevdev.h b/libevdev/libevdev.h
index 83b3dbc..2a59679 100644
--- a/libevdev/libevdev.h
+++ b/libevdev/libevdev.h
@@ -964,6 +964,8 @@ int libevdev_has_event_code(const struct libevdev *dev, unsigned int type, unsig
* @param code The EV_ABS event code to query for, one of ABS_X, ABS_Y, etc.
*
* @return axis minimum for the given axis or 0 if the axis is invalid
+ *
+ * @note This function is signal-safe.
*/
int libevdev_get_abs_minimum(const struct libevdev *dev, unsigned int code);
/**
@@ -975,6 +977,8 @@ int libevdev_get_abs_minimum(const struct libevdev *dev, unsigned int code);
* @param code The EV_ABS event code to query for, one of ABS_X, ABS_Y, etc.
*
* @return axis maximum for the given axis or 0 if the axis is invalid
+ *
+ * @note This function is signal-safe.
*/
int libevdev_get_abs_maximum(const struct libevdev *dev, unsigned int code);
/**
@@ -986,6 +990,8 @@ int libevdev_get_abs_maximum(const struct libevdev *dev, unsigned int code);
* @param code The EV_ABS event code to query for, one of ABS_X, ABS_Y, etc.
*
* @return axis fuzz for the given axis or 0 if the axis is invalid
+ *
+ * @note This function is signal-safe.
*/
int libevdev_get_abs_fuzz(const struct libevdev *dev, unsigned int code);
/**
@@ -997,6 +1003,8 @@ int libevdev_get_abs_fuzz(const struct libevdev *dev, unsigned int code);
* @param code The EV_ABS event code to query for, one of ABS_X, ABS_Y, etc.
*
* @return axis flat for the given axis or 0 if the axis is invalid
+ *
+ * @note This function is signal-safe.
*/
int libevdev_get_abs_flat(const struct libevdev *dev, unsigned int code);
/**
@@ -1008,6 +1016,8 @@ int libevdev_get_abs_flat(const struct libevdev *dev, unsigned int code);
* @param code The EV_ABS event code to query for, one of ABS_X, ABS_Y, etc.
*
* @return axis resolution for the given axis or 0 if the axis is invalid
+ *
+ * @note This function is signal-safe.
*/
int libevdev_get_abs_resolution(const struct libevdev *dev, unsigned int code);
@@ -1021,6 +1031,8 @@ int libevdev_get_abs_resolution(const struct libevdev *dev, unsigned int code);
*
* @return The input_absinfo for the given code, or NULL if the device does
* not support this event code.
+ *
+ * @note This function is signal-safe.
*/
const struct input_absinfo* libevdev_get_abs_info(const struct libevdev *dev, unsigned int code);
@@ -1207,6 +1219,8 @@ int libevdev_get_num_slots(const struct libevdev *dev);
* @param dev The evdev device, already initialized with libevdev_set_fd()
*
* @return the currently active slot (logically)
+ *
+ * @note This function is signal-safe.
*/
int libevdev_get_current_slot(const struct libevdev *dev);