sixpair.c File Reference

#include <string.h>
#include <unistd.h>
#include <stdio.h>
#include <usb.h>
Include dependency graph for sixpair.c:

Go to the source code of this file.

Defines

#define PRODUCT   0x0268
#define USB_DIR_IN   0x80
#define USB_DIR_OUT   0
#define VENDOR   0x054c

Functions

void fatal (char *msg)
int main (int argc, char *argv[])
void process_device (int argc, char **argv, struct usb_device *dev, struct usb_config_descriptor *cfg, int itfnum)
void set_master (usb_dev_handle *devh, int itfnum, int mac[6])
void show_master (usb_dev_handle *devh, int itfnum)

Define Documentation

#define PRODUCT   0x0268

Definition at line 36 of file sixpair.c.

#define USB_DIR_IN   0x80

Definition at line 38 of file sixpair.c.

#define USB_DIR_OUT   0

Definition at line 39 of file sixpair.c.

#define VENDOR   0x054c

Definition at line 35 of file sixpair.c.


Function Documentation

void fatal ( char *  msg  ) 

Definition at line 41 of file sixpair.c.

int main ( int  argc,
char *  argv[] 
)

Definition at line 105 of file sixpair.c.

void process_device ( int  argc,
char **  argv,
struct usb_device *  dev,
struct usb_config_descriptor *  cfg,
int  itfnum 
)

Definition at line 67 of file sixpair.c.

void set_master ( usb_dev_handle *  devh,
int  itfnum,
int  mac[6] 
)

Definition at line 54 of file sixpair.c.

void show_master ( usb_dev_handle *  devh,
int  itfnum 
)

Definition at line 43 of file sixpair.c.

 All Classes Namespaces Files Functions Variables Defines


ps3joy
Author(s): Blaise Gassend and pascal@pabr.org
autogenerated on Fri Jan 11 09:34:15 2013