NAME
njb_struct -
SYNOPSIS
#include <libnjb.h>
Data Fields
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
struct usb_device* njb_struct::device
The libusb device for this jukebox
usb_dev_handle* njb_struct::dev
The libusb device handle for this jukebox
u_int8_t njb_struct::usb_config
The libusb config for this jukebox
u_int8_t njb_struct::usb_interface
The libusb interface for this jukebox
u_int8_t njb_struct::usb_bulk_in_ep
The BULK IN endpoint for this jukebox
u_int8_t njb_struct::usb_bulk_out_ep
The BULK OUT endpoint for this jukebox
int njb_struct::device_type
what kind of jukebox this is
Examples:
handshake.c.
int njb_struct::updated
If the device has been updated with some metadata
u_int32_t njb_struct::xfersize
The transfer size for endpoints
void* njb_struct::protocol_state
dereferenced and maintained individually by protocol implementations
void* njb_struct::error_stack
Error stack, used inside libnjb
Author
Generated automatically by Doxygen for libnjb from the source code.