*/
void libevdev_free(struct libevdev *dev);
+ enum libevdev_log_priority {
+ LIBEVDEV_LOG_ERROR = 10, /** cricitical errors and application bugs */
+ LIBEVDEV_LOG_INFO = 20, /** informational messages */
+ LIBEVDEV_LOG_DEBUG = 30, /** debug information */
+ };
+
/**
* Logging function called by library-internal logging.
- * This function is expected to treat it's input like printf would.
+ * This function is expected to treat its input like printf would.
*
+ * @param priority Log priority of this message
+ * @param data User-supplied data pointer (see libevdev_set_log_function())
+ * @param file libevdev source code file generating this message
+ * @param line libevdev source code line generating this message
+ * @param func libevdev source code function generating this message
* @param format printf-style format string
* @param args List of arguments
*