![]() |
Disk ARchive 2.7.14
Full featured and portable backup and archiving tool
|
backward compatibility to libdar API 5 More...
#include "../my_config.h"
#include <string>
#include "compressor.hpp"
#include "path.hpp"
#include "mask.hpp"
#include "mask_list.hpp"
#include "integers.hpp"
#include "infinint.hpp"
#include "statistics.hpp"
#include "user_interaction.hpp"
#include "user_interaction_callback5.hpp"
#include "deci.hpp"
#include "archive5.hpp"
#include "crypto.hpp"
#include "thread_cancellation.hpp"
#include "compile_time_features.hpp"
#include "capabilities.hpp"
#include "entrepot_libcurl5.hpp"
#include "fichier_local.hpp"
#include "entrepot_local.hpp"
#include "data_tree.hpp"
#include "database5.hpp"
#include "tuyau.hpp"
#include "archive_aux.hpp"
#include "tools.hpp"
Go to the source code of this file.
Namespaces | |
namespace | libdar5 |
libdar5 namespace encapsulate all libdar symbols | |
Macros | |
#define | LIBDAR_XXXXXXXX |
The following macro are used in the "exception" argument of the *_noexcept() functions. | |
#define | LIBDAR_NOEXCEPT 0 |
normal return no exception has been thrown | |
#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, error concerning the treated data | |
#define | LIBDAR_ESCRIPT 11 |
inter slice script failure | |
#define | LIBDAR_ELIBCALL 12 |
libdar invalid call (wrong argument given to call, etc.) | |
#define | LIBDAR_UNKNOWN 13 |
unknown error | |
#define | LIBDAR_ECOMPILATION 14 |
feature not activated at compilation time | |
#define | LIBDAR_THREAD_CANCEL 15 |
thread cancellation has been requested | |
Functions | |
compression | libdar5::char2compression (char a) |
char | libdar5::compression2char (compression c) |
std::string | libdar5::compression2string (compression c) |
compression | libdar5::string2compression (const std::string &a) |
fsa_scope | libdar5::all_fsa_families () |
mycurl_protocol | libdar5::string_to_mycurl_protocol (const std::string &arg) |
void | libdar5::get_version (U_I &major, U_I &medium, U_I &minor, bool init_libgcrypt=true) |
return the libdar version, and make libdar initialization (may throw Exceptions) | |
void | libdar5::get_version_noexcept (U_I &major, U_I &medium, U_I &minor, U_16 &exception, std::string &except_msg, bool init_libgcrypt=true) |
return the libdar version, and make libdar initialization (does not throw exceptions) | |
void | libdar5::close_and_clean () |
archive * | libdar5::open_archive_noexcept (user_interaction &dialog, const path &chem, const std::string &basename, const std::string &extension, const archive_options_read &options, U_16 &exception, std::string &except_msg) |
this is a wrapper around the archive constructor known as the "read" constructor | |
archive * | libdar5::create_archive_noexcept (user_interaction &dialog, const path &fs_root, const path &sauv_path, const std::string &filename, const std::string &extension, const archive_options_create &options, statistics *progressive_report, U_16 &exception, std::string &except_msg) |
this is a wrapper around the archive constructor known as the "create" constructor | |
archive * | libdar5::isolate_archive_noexcept (user_interaction &dialog, archive *ptr, const path &sauv_path, const std::string &filename, const std::string &extension, const archive_options_isolate &options, U_16 &exception, std::string &except_msg) |
this is a wrapper around the archive constructor known as the "isolate" constructor | |
archive * | libdar5::merge_archive_noexcept (user_interaction &dialog, const path &sauv_path, archive *ref_arch1, const std::string &filename, const std::string &extension, const archive_options_merge &options, statistics *progressive_report, U_16 &exception, std::string &except_msg) |
this is a wrapper around the archive constructor known as the "merging" constructor | |
void | libdar5::close_archive_noexcept (archive *ptr, U_16 &exception, std::string &except_msg) |
this is wrapper around the archive destructor | |
statistics | libdar5::op_extract_noexcept (user_interaction &dialog, archive *ptr, const path &fs_root, const archive_options_extract &options, statistics *progressive_report, U_16 &exception, std::string &except_msg) |
this is wrapper around the op_extract method | |
void | libdar5::op_listing_noexcept (user_interaction &dialog, archive *ptr, const archive_options_listing &options, U_16 &exception, std::string &except_msg) |
this is wrapper around the op_listing method | |
statistics | libdar5::op_diff_noexcept (user_interaction &dialog, archive *ptr, const path &fs_root, const archive_options_diff &options, statistics *progressive_report, U_16 &exception, std::string &except_msg) |
this is wrapper around the op_diff method | |
statistics | libdar5::op_test_noexcept (user_interaction &dialog, archive *ptr, const archive_options_test &options, statistics *progressive_report, U_16 &exception, std::string &except_msg) |
this is wrapper around the op_test method | |
bool | libdar5::get_children_of_noexcept (user_interaction &dialog, archive *ptr, const std::string &dir, U_16 &exception, std::string &except_msg) |
this is wrapper around the get_children_of method | |
char * | libdar5::libdar_str2charptr_noexcept (const std::string &x, U_16 &exception, std::string &except_msg) |
routine provided to convert std::string to char * | |
backward compatibility to libdar API 5
Definition in file src/libdar/libdar5.hpp.