xref: /openbmc/linux/tools/usb/usbip/src/usbip.h (revision 9fb29c73)
1 /*
2  * Copyright (C) 2011 matt mooney <mfm@muteddisk.com>
3  *               2005-2007 Takahiro Hirofuchi
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef __USBIP_H
20 #define __USBIP_H
21 
22 #ifdef HAVE_CONFIG_H
23 #include "../config.h"
24 #endif
25 
26 /* usbip commands */
27 int usbip_attach(int argc, char *argv[]);
28 int usbip_detach(int argc, char *argv[]);
29 int usbip_list(int argc, char *argv[]);
30 int usbip_bind(int argc, char *argv[]);
31 int usbip_unbind(int argc, char *argv[]);
32 int usbip_port_show(int argc, char *argv[]);
33 
34 void usbip_attach_usage(void);
35 void usbip_detach_usage(void);
36 void usbip_list_usage(void);
37 void usbip_bind_usage(void);
38 void usbip_unbind_usage(void);
39 
40 #endif /* __USBIP_H */
41