Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2014 07:33:43 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r267435 - stable/10/lib/libusb
Message-ID:  <201406130733.s5D7XhYx044614@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Fri Jun 13 07:33:43 2014
New Revision: 267435
URL: http://svnweb.freebsd.org/changeset/base/267435

Log:
  MFC r263191:
  Add libusb_log_level enum.

Modified:
  stable/10/lib/libusb/libusb.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/lib/libusb/libusb.h
==============================================================================
--- stable/10/lib/libusb/libusb.h	Fri Jun 13 07:23:46 2014	(r267434)
+++ stable/10/lib/libusb/libusb.h	Fri Jun 13 07:33:43 2014	(r267435)
@@ -194,6 +194,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?201406130733.s5D7XhYx044614>