summaryrefslogtreecommitdiff
path: root/drivers/staging/usbip/userspace/src/utils.h
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2011-05-26 06:17:11 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-06-07 13:56:12 -0700
commite9837bbb3e694eef4c55c934ebf1f8a0399b142c (patch)
tree06cbd21cd4dd8b5aa2899e8f156221878e66761e /drivers/staging/usbip/userspace/src/utils.h
parent58058422f84523d8ab73b98753670dc9377e071a (diff)
staging: usbip: userspace tools v1.0.0
The new and improved (well somewhat, with a ways to go) userspace utility. mfm:pts/8[~/tmp/userspace] May26 05:18:31 % ./src/usbip help usage: usbip [--debug] [version] [help] <command> <args> attach Attach a remote USB device detach Detach a remote USB device list List exported or local USB devices bind Bind device to usbip-host.ko unbind Unbind device from usbip-host.ko This first commit of the userspace `usbip' utility uses to same implementation as the old tools, `usbip' and `usbip_bind_driver'. Nothing significant has changed so compatibility with windows has _not_ been broken. However, the tools remain broken in many ways due to the old implementation. Signed-off-by: matt mooney <mfm@muteddisk.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/usbip/userspace/src/utils.h')
-rw-r--r--drivers/staging/usbip/userspace/src/utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/usbip/userspace/src/utils.h b/drivers/staging/usbip/userspace/src/utils.h
index 6c29ae945212..423716ddb1f9 100644
--- a/drivers/staging/usbip/userspace/src/utils.h
+++ b/drivers/staging/usbip/userspace/src/utils.h
@@ -25,6 +25,7 @@
/* Be sync to kernel header */
#define BUS_ID_SIZE 20
+int modify_match_busid(char *busid, int add);
int read_string(char *path, char *, size_t len);
int read_integer(char *path);
int getdevicename(char *busid, char *name, size_t len);