diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-06-12 16:07:06 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-06-12 16:07:06 +0000 |
commit | c9ef77f0cee5caa34f974e1c42d14517d24043c4 (patch) | |
tree | 6cd4c793454756fdc7f059e54ee9edb4b2297ffa /lib/libusb/libusb.3 | |
parent | d16943bacc815a178f83640115d909507ab18449 (diff) | |
download | FreeBSD-src-c9ef77f0cee5caa34f974e1c42d14517d24043c4.zip FreeBSD-src-c9ef77f0cee5caa34f974e1c42d14517d24043c4.tar.gz |
Cleanup claim/release interface code, which is specific to libusb v0.1. Remove
claim and release interface support from libusb v2.0, because it is not useful.
Submitted by: Hans Petter Selasky
Diffstat (limited to 'lib/libusb/libusb.3')
-rw-r--r-- | lib/libusb/libusb.3 | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/libusb/libusb.3 b/lib/libusb/libusb.3 index 90f0c14..8a0315e 100644 --- a/lib/libusb/libusb.3 +++ b/lib/libusb/libusb.3 @@ -117,8 +117,6 @@ USB access library (libusb -lusb) .Ft const char * .Fn libusb20_dev_get_desc "struct libusb20_device *pdev" .Ft int -.Fn libusb20_dev_claim_interface "struct libusb20_device *pdev" "uint8_t iface_index" -.Ft int .Fn libusb20_dev_close "struct libusb20_device *pdev" .Ft int .Fn libusb20_dev_detach_kernel_driver "struct libusb20_device *pdev" "uint8_t iface_index" @@ -135,8 +133,6 @@ USB access library (libusb -lusb) .Ft int .Fn libusb20_dev_process "struct libusb20_device *pdev" .Ft int -.Fn libusb20_dev_release_interface "struct libusb20_device *pdev" "uint8_t iface_index" -.Ft int .Fn libusb20_dev_request_sync "struct libusb20_device *pdev" "struct LIBUSB20_CONTROL_SETUP_DECODED *setup" "void *data" "uint16_t *pactlen" "uint32_t timeout" "uint8_t flags" .Ft int .Fn libusb20_dev_req_string_sync "struct libusb20_device *pdev" "uint8_t index" "uint16_t langid" "void *ptr" "uint16_t len" @@ -517,14 +513,6 @@ The format of the string is: "drivername<unit>: <description>" . .Pp . -.Fn libusb20_dev_claim_interface -This function will try to claim the given USB interface given by -.Fa iface_index . -This function returns zero on success else a LIBUSB20_ERROR value is -returned. -. -.Pp -. .Fn libusb20_dev_close will close the given USB device. . @@ -601,14 +589,6 @@ detached. . .Pp . -.Fn libusb20_dev_release_interface -will try to release a claimed USB interface for the specified USB device. -. -This function returns zero on success else a LIBUSB20_ERROR value is -returned. -. -.Pp -. .Fn libusb20_dev_request_sync will perform a synchronous control request on the given USB device. |