Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
usbip_host_driver.c File Reference
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <unistd.h>
#include "usbip_common.h"
#include "usbip_host_driver.h"

Go to the source code of this file.

Macros

#define PROGNAME   "libusbip"
 
#define SYSFS_OPEN_RETRIES   100
 

Functions

int usbip_host_driver_open (void)
 
void usbip_host_driver_close (void)
 
int usbip_host_refresh_device_list (void)
 
int usbip_host_export_device (struct usbip_exported_device *edev, int sockfd)
 
struct usbip_exported_deviceusbip_host_get_device (int num)
 

Variables

struct usbip_host_driverhost_driver
 

Macro Definition Documentation

#define PROGNAME   "libusbip"

Definition at line 29 of file usbip_host_driver.c.

#define SYSFS_OPEN_RETRIES   100

Definition at line 33 of file usbip_host_driver.c.

Function Documentation

void usbip_host_driver_close ( void  )

Definition at line 298 of file usbip_host_driver.c.

int usbip_host_driver_open ( void  )

Definition at line 258 of file usbip_host_driver.c.

int usbip_host_export_device ( struct usbip_exported_device edev,
int  sockfd 
)

Definition at line 335 of file usbip_host_driver.c.

struct usbip_exported_device* usbip_host_get_device ( int  num)
read

Definition at line 387 of file usbip_host_driver.c.

int usbip_host_refresh_device_list ( void  )

Definition at line 312 of file usbip_host_driver.c.

Variable Documentation

struct usbip_host_driver* host_driver

Definition at line 31 of file usbip_host_driver.c.