libnjb 2.2.7
Error codes

Macros

#define EO_USBCTL   1
 
#define EO_USBBLK   2
 
#define EO_RDSHORT   3
 
#define EO_NOMEM   4
 
#define EO_BADDATA   5
 
#define EO_EOM   6
 
#define EO_BADSTATUS   7
 
#define EO_BADNJBID   8
 
#define EO_BADCOUNT   9
 
#define EO_WRSHORT   10
 
#define EO_NULLTMP   11
 
#define EO_TOOBIG   12
 
#define EO_CANTMOVE   13
 
#define EO_TIMEOUT   14
 
#define EO_ABORTED   15
 
#define EO_EOF   16
 
#define EO_DEVICE   17
 
#define EO_INIT   18
 
#define EO_TMPFILE   19
 
#define EO_XFERDENIED   20
 
#define EO_WRFILE   21
 
#define EO_XFERERROR   22
 
#define EO_SRCFILE   23
 
#define EO_INVALID   24
 
#define EO_AGAIN   25
 
#define EO_BAD_NJB1_REPLACE   26
 

Detailed Description

Macro Definition Documentation

◆ EO_ABORTED

#define EO_ABORTED   15

operation aborted

Referenced by NJB_Get_Track_fd().

◆ EO_AGAIN

#define EO_AGAIN   25

resource temporarily unavailable

◆ EO_BAD_NJB1_REPLACE

#define EO_BAD_NJB1_REPLACE   26

too little info to replace tag on NJB1

Referenced by NJB_Replace_Track_Tag().

◆ EO_BADCOUNT

#define EO_BADCOUNT   9

◆ EO_BADDATA

#define EO_BADDATA   5

invalid data

◆ EO_BADNJBID

#define EO_BADNJBID   8

Jukebox ID has changed

Referenced by NJB_Handshake().

◆ EO_BADSTATUS

◆ EO_CANTMOVE

#define EO_CANTMOVE   13

can't move file to destination

◆ EO_DEVICE

#define EO_DEVICE   17

can't open device for read/write

◆ EO_EOF

#define EO_EOF   16

received EOF

◆ EO_EOM

#define EO_EOM   6

end of data

◆ EO_INIT

#define EO_INIT   18

can't initialize device

◆ EO_INVALID

#define EO_INVALID   24

invalid arguments

Referenced by NJB_Send_File(), NJB_Send_Firmware(), and NJB_Send_Track().

◆ EO_NOMEM

◆ EO_NULLTMP

#define EO_NULLTMP   11

temporary transfer dir not defined

◆ EO_RDSHORT

◆ EO_SRCFILE

#define EO_SRCFILE   23

can't read source file

Referenced by NJB_Send_File(), NJB_Send_Firmware(), and NJB_Send_Track().

◆ EO_TIMEOUT

#define EO_TIMEOUT   14

operation timed out

◆ EO_TMPFILE

#define EO_TMPFILE   19

can't create temporary file

Referenced by NJB_Get_Track().

◆ EO_TOOBIG

#define EO_TOOBIG   12

block size too big

Referenced by njb_receive_file_block(), NJB_Send_File(), and NJB_Send_Track().

◆ EO_USBBLK

◆ EO_USBCTL

◆ EO_WRFILE

#define EO_WRFILE   21

error writing output file

Referenced by NJB_Get_Track_fd().

◆ EO_WRSHORT

#define EO_WRSHORT   10

short write on USB data pipe

◆ EO_XFERDENIED

#define EO_XFERDENIED   20

transfer request denied

Referenced by NJB_Get_Track_fd(), NJB_Send_File(), and NJB_Send_Track().

◆ EO_XFERERROR

#define EO_XFERERROR   22

bad transfer completion status

Referenced by NJB_Get_Track_fd().