libannodex  0.7.3
Macros | Enumerations
anx_constants.h File Reference

Named constants used by the libannodex C API. More...

Go to the source code of this file.

Macros

#define ANX_READ   00
 
#define ANX_WRITE   01
 
#define ANX_CONTINUE   0
 
#define ANX_STOP_OK   1
 
#define ANX_STOP_ERR   -1
 
#define ANX_IGNORE_ANNO   0x1
 
#define ANX_IGNORE_MEDIA   0x2
 
#define ANX_IGNORE_IMPORT_IMPORT   0x4
 
#define ANX_ALLOW_RECURSIVE_IMPORT   0x8
 
#define ANX_SEEK_SET   0
 
#define ANX_SEEK_CUR   1
 
#define ANX_SEEK_END   2
 
#define ANX_SEEK_HEAD   3
 
#define ANX_SEEK_PREV   4
 
#define ANX_SEEK_NEXT   5
 

Enumerations

enum  AnxError {
  ANX_ERR_OK = 0, ANX_ERR_SYSTEM = -1, ANX_ERR_INVALID = -2, ANX_ERR_NOTSUPPORTED = -3,
  ANX_ERR_DISABLED = -4, ANX_ERR_NOTREADY = -10, ANX_ERR_NOSEEK = -11, ANX_ERR_EOF = -12,
  ANX_ERR_NOIMPORTER = -13, ANX_ERR_NOTIMPLEMENTED = -99
}
 

Detailed Description

Named constants used by the libannodex C API.

Enumeration Type Documentation

◆ AnxError

enum AnxError
Enumerator
ANX_ERR_OK 

No error.

ANX_ERR_SYSTEM 

System specific error; check errno for details.

ANX_ERR_INVALID 

The requested operation is not suitable for this ANNODEX.

ANX_ERR_NOTSUPPORTED 

Not supported.

ANX_ERR_DISABLED 

Functionality disabled at build time.