e:/XFree86 for RH 8.0/XFree86-4.2.0/xc/programs/Xserver/hw/xfree86/os-support/bsd/libusb/usb.h File Reference

Go to the source code of this file.

Data Structures

struct  hid_item

Typedefs

typedef report_descreport_desc_t
typedef hid_datahid_data_t
typedef enum hid_kind hid_kind_t
typedef hid_item hid_item_t

Enumerations

enum  hid_kind {
  hid_input, hid_output, hid_feature, hid_collection,
  hid_endcollection
}

Functions

report_desc_t hid_get_report_desc __P ((int file))
void hid_dispose_report_desc __P ((report_desc_t))
hid_data_t hid_start_parse __P ((report_desc_t d, int kindset))
void hid_end_parse __P ((hid_data_t s))
int hid_get_item __P ((hid_data_t s, hid_item_t *h))
int hid_report_size __P ((report_desc_t d, enum hid_kind k, int *idp))
int hid_locate __P ((report_desc_t d, unsigned int usage, enum hid_kind k, hid_item_t *h))
char *hid_usage_page __P ((int i))
char *hid_usage_in_page __P ((unsigned int u))
void hid_init __P ((char *file))
int hid_get_data __P ((void *p, hid_item_t *h))
void hid_set_data __P ((void *p, hid_item_t *h, int data))


Typedef Documentation

typedef struct report_desc* report_desc_t
 

Definition at line 32 of file usb.h.

Referenced by usbPreInit().

typedef struct hid_data* hid_data_t
 

Definition at line 34 of file usb.h.

typedef enum hid_kind hid_kind_t
 

typedef struct hid_item hid_item_t
 


Enumeration Type Documentation

enum hid_kind
 

Enumeration values:
hid_input 
hid_output 
hid_feature 
hid_collection 
hid_endcollection 

Definition at line 36 of file usb.h.


Function Documentation

report_desc_t hid_get_report_desc __P (int file  ) 
 

void hid_dispose_report_desc __P (report_desc_t  ) 
 

hid_data_t hid_start_parse __P (report_desc_t d, int kindset)   ) 
 

void hid_end_parse __P (hid_data_t s)   ) 
 

int hid_get_item __P (hid_data_t s, hid_item_t *h  ) 
 

int hid_report_size __P (report_desc_t d, enum hid_kind k, int *idp)   ) 
 

int hid_locate __P (report_desc_t d, unsigned int usage, enum hid_kind k, hid_item_t *h  ) 
 

char* hid_usage_page __P (int i  ) 
 

char* hid_usage_in_page __P (unsigned int u)   ) 
 

void hid_init __P (char *file  ) 
 

int hid_get_data __P (void *p, hid_item_t *h  ) 
 

void hid_set_data __P (void *p, hid_item_t *h, int data  ) 
 


Generated on Tue May 11 04:54:02 2004 for XFree86 by doxygen 1.3.7