Main Page   Modules   Data Structures   File List   Data Fields   Globals  

Inherited
[Constants]

Name and values inherited directly from libdar proper. More...

Error status

Internally, libdar uses a family of exceptions for error handling.

The C++ library also has wrapper libraries that return numeric status codes representing caught exceptions. The libdarc binding makes use of these wrapper functions and passes the error codes directly.

#define LIBDAR_XXXXXXXX
 The constants of this form represent various error values.

#define LIBDAR_NOEXCEPT   0
 Succesful operation.

#define LIBDAR_EMEMORY   1
 Memory has been exhausted.

#define LIBDAR_EBUG   2
 Internal bug error.

#define LIBDAR_EINFININT   3
 Division by zero or other arithmetic error.

#define LIBDAR_ELIMITINT   4
 Limitint overflow.

#define LIBDAR_ERANGE   5
 Range error.

#define LIBDAR_EDECI   6
 Decimal representation error.

#define LIBDAR_EFEATURE   7
 Feature not (yet) implemented.

#define LIBDAR_EHARDWARE   8
 Hardware failure.

#define LIBDAR_EUSER_ABORT   9
 User has aborted the operation.

#define LIBDAR_EDATA   10
 Data inconsistency or checksum error.

#define LIBDAR_ESCRIPT   11
 Inter-slice script failure.

#define LIBDAR_ELIBCALL   12
 Invalid library call (wrong arguments or related error).

#define LIBDAR_UNKNOWN   13
 Unknown error.

#define LIBDAR_ECOMPILATION   14
 Feature not activated at compilation time.


Enumerations

Libdar setting selection enumerations.

These are C style enums created to match the C++ enums defined in libdar.

enum  dar_compression_algorithm { dar_compression_none = 'n', dar_compression_zip = 'p', dar_compression_gzip = 'z', dar_compression_bzip2 = 'y' }
 Compression algorithms available. More...

enum  dar_encryption_algorithm { dar_crypto_none = 0, dar_crypto_scrambling = 1, dar_crypto_blowfish = 2 }
 Cypher algorithms available for data encryption. More...


Detailed Description

Name and values inherited directly from libdar proper.


Enumeration Type Documentation

enum dar_compression_algorithm
 

Compression algorithms available.

Enumeration values:
dar_compression_none  No compression.
dar_compression_zip  Zip compression (not implemented).
dar_compression_gzip  Gzip compression.
dar_compression_bzip2  Bzip2 compression.

Definition at line 265 of file libdarc.h.

enum dar_encryption_algorithm
 

Cypher algorithms available for data encryption.

Enumeration values:
dar_crypto_none  No encryption.
dar_crypto_scrambling  Scrambling weak encryption.
dar_crypto_blowfish  Blowfish strong encryption.

Definition at line 274 of file libdarc.h.