Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2014 20:54:15 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r263191 - head/lib/libusb
Message-ID:  <201403142054.s2EKsFIa084176@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Fri Mar 14 20:54:15 2014
New Revision: 263191
URL: http://svnweb.freebsd.org/changeset/base/263191

Log:
  libusb: add libusb_log_level enum
  
  This is documented on http://libusb.sourceforge.net/api-1.0/group__lib.html

Modified:
  head/lib/libusb/libusb.h

Modified: head/lib/libusb/libusb.h
==============================================================================
--- head/lib/libusb/libusb.h	Fri Mar 14 20:20:36 2014	(r263190)
+++ head/lib/libusb/libusb.h	Fri Mar 14 20:54:15 2014	(r263191)
@@ -192,6 +192,19 @@ enum libusb_transfer_flags {
 	LIBUSB_TRANSFER_FREE_TRANSFER = 1 << 2,
 };
 
+enum libusb_log_level {
+       LIBUSB_LOG_LEVEL_NONE = 0,
+       LIBUSB_LOG_LEVEL_ERROR,
+       LIBUSB_LOG_LEVEL_WARNING,
+       LIBUSB_LOG_LEVEL_INFO,
+       LIBUSB_LOG_LEVEL_DEBUG
+};
+
+/* XXX */
+/* libusb_set_debug should take parameters from libusb_log_level
+ * above according to
+ *   http://libusb.sourceforge.net/api-1.0/group__lib.html
+ */
 enum libusb_debug_level {
 	LIBUSB_DEBUG_NO=0,
 	LIBUSB_DEBUG_FUNCTION=1,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403142054.s2EKsFIa084176>