-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathusbip.h
52 lines (43 loc) · 963 Bytes
/
usbip.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
* Copyright (C) 2005-2007 Takahiro Hirofuchi
*/
#ifndef _USBIP_H
#define _USBIP_H
#ifdef _DEBUG
#define DEBUG
#endif
//#define _CRT_SECURE_NO_WARNINGS
//#define WINVER 0x0501
#include <winsock2.h>
#include <ws2tcpip.h>
#include <windows.h>
#include <setupapi.h>
#include <initguid.h>
#include <winioctl.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <signal.h>
//#include <basetyps.h>
//#include <wtypes.h>
#ifdef _MSC_VER
#pragma comment(lib, "Ws2_32.lib")
#pragma comment(lib, "Setupapi.lib")
typedef size_t ssize_t;
#endif
#include "win_stub.h"
#include "usbip_protocol.h"
#include "usbip_network.h"
#include "usbip_common.h"
#include "usbip_vbus_ui.h"
/*
void attach_device(char * host, char * busid);
int detach_port(char *port);
int show_port_status(void);
void show_exported_devices(char *host);
void attach_devices_all(char *host);
void show_help(char *name);
*/
#endif