njb_struct Struct Reference

#include <libnjb.h>


Data Fields

struct usb_device * device
usb_dev_handle * dev
u_int8_t usb_config
u_int8_t usb_interface
u_int8_t usb_bulk_in_ep
u_int8_t usb_bulk_out_ep
int device_type
int updated
u_int32_t xfersize
void * protocol_state
void * error_stack


Detailed Description

Main NJB object struct
Examples:

cursesplay.c, delfile.c, deltr.c, dumpeax.c, dumptime.c, files.c, fwupgrade.c, getfile.c, getowner.c, gettr.c, getusage.c, handshake.c, pl.c, play.c, playlists.c, sendfile.c, sendtr.c, setowner.c, setpbm.c, settime.c, tagtr.c, and tracks.c.


Field Documentation

usb_dev_handle* njb_struct::dev

The libusb device handle for this jukebox

Referenced by njb_close(), njb_discover(), njb_open(), usb_pipe_read(), usb_pipe_write(), and usb_setup().

struct usb_device* njb_struct::device [read]

The libusb device for this jukebox

Referenced by njb_discover(), and njb_open().

Error stack, used inside libnjb

Referenced by NJB_Error_Geterror(), NJB_Error_Pending(), and NJB_Error_Reset_Geterror().

If the device has been updated with some metadata

The BULK IN endpoint for this jukebox

Referenced by usb_pipe_read().

The BULK OUT endpoint for this jukebox

Referenced by njb_close(), and usb_pipe_write().

The libusb config for this jukebox

Referenced by njb_open().

The libusb interface for this jukebox

Referenced by njb_close(), and njb_open().

The transfer size for endpoints


The documentation for this struct was generated from the following file:

Generated on Sun Aug 9 05:16:55 2009 for libnjb by  doxygen 1.5.9