libnjb: Error codes

libnjb 2.2.7

Macros
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

## ◆ 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

## ◆ EO_BADCOUNT

#define EO_BADCOUNT 9

library count mismatch

## ◆ EO_BADDATA

#define EO_BADDATA 5

invalid data

## ◆ EO_BADNJBID

#define EO_BADNJBID 8

Jukebox ID has changed

## ◆ EO_BADSTATUS

#define EO_BADSTATUS 7

bad status from Jukebox

## ◆ 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

## ◆ EO_NOMEM

#define EO_NOMEM 4

out of memory

## ◆ EO_NULLTMP

#define EO_NULLTMP 11

temporary transfer dir not defined

## ◆ EO_RDSHORT

#define EO_RDSHORT 3

short read on USB data pipe

## ◆ EO_SRCFILE

#define EO_SRCFILE 23

can't read source file

## ◆ EO_TIMEOUT

#define EO_TIMEOUT 14

operation timed out

## ◆ EO_TMPFILE

#define EO_TMPFILE 19

can't create temporary file

## ◆ EO_TOOBIG

#define EO_TOOBIG 12

block size too big

## ◆ EO_USBBLK

#define EO_USBBLK 2

I/O failure on USB data pipe

## ◆ EO_USBCTL

#define EO_USBCTL 1

I/O failure on USB control pipe

## ◆ EO_WRFILE

#define EO_WRFILE 21

error writing output file

## ◆ EO_WRSHORT

#define EO_WRSHORT 10

short write on USB data pipe

## ◆ EO_XFERDENIED

#define EO_XFERDENIED 20

transfer request denied

## ◆ EO_XFERERROR

#define EO_XFERERROR 22

bad transfer completion status