summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gusb/gusb-device.c4
-rw-r--r--gusb/gusb-util.c10
2 files changed, 14 insertions, 0 deletions
diff --git a/gusb/gusb-device.c b/gusb/gusb-device.c
index e8fbf82..be03131 100644
--- a/gusb/gusb-device.c
+++ b/gusb/gusb-device.c
@@ -594,6 +594,8 @@ g_usb_device_get_interfaces (GUsbDevice *device, GError **error)
* Closes the device when it is no longer required.
*
* Return value: %TRUE on success
+ *
+ * Since: 0.1.0
**/
gboolean
g_usb_device_close (GUsbDevice *device,
@@ -628,6 +630,8 @@ g_usb_device_close (GUsbDevice *device,
* This is a blocking function which usually incurs a noticeable delay.
*
* Return value: %TRUE on success
+ *
+ * Since: 0.1.0
**/
gboolean
g_usb_device_reset (GUsbDevice *device,
diff --git a/gusb/gusb-util.c b/gusb/gusb-util.c
index f471337..4ca830d 100644
--- a/gusb/gusb-util.c
+++ b/gusb/gusb-util.c
@@ -11,6 +11,16 @@
#include "gusb-util.h"
+/**
+ * g_usb_strerror:
+ * @error_code: a libusb error code
+ *
+ * Converts the error code into a string
+ *
+ * Return value: String, or %NULL
+ *
+ * Since: 0.1.0
+ **/
const gchar *
g_usb_strerror (gint error_code)
{