Main Page   Modules   Data Structures   File List   Data Fields   Globals  

libdarc.cpp File Reference

Implements header. More...

#include "libdarc.h"
#include "user_interaction_specific.hpp"
#include <string>

Go to the source code of this file.

Functions

NAMESPACE_LIBDAR_START void dar_sup_libversion_destroy (dar_sup_libversion *ref)
 Frees any memory allocated for the members of the struct.

bool dar_op_library_init (dar_sup_libversion *inout)
 Initializes library and performs version verification.

void dar_sup_libfeature_destroy (dar_sup_libfeature *ref)
 Frees any memory allocated for the members of the struct.

void dar_op_libfeature_query (dar_sup_libfeature *ref)
 Provides complete information regarding the compiled options of the backing dar library.

void dar_archive_destroy (dar_archive *ref)
 Frees memory used by dar_archive object.

bool dar_sup_spec_defaults (dar_sup_spec *ref)
 Initializes a dar_sup_spec struct with default values.

void dar_sup_spec_destroy (dar_sup_spec *ref)
 Frees any memory allocated for the members of the struct.

bool dar_sup_storage_defaults (dar_sup_storage *ref)
 Initializes a dar_sup_storage struct with default values.

void dar_sup_storage_destroy (dar_sup_storage *ref)
 Frees any memory allocated for the members of the struct.

void dar_sup_flags_defaults (dar_sup_flags *ref)
 Initializes a dar_sup_flags struct with default values.

void dar_sup_exception_destroy (dar_sup_exception *ref)
 Frees any memory allocated for the members of the struct.

dar_archivedar_op_archive_create (dar_user_interaction_struct dialog, dar_archive *ref_archive, dar_sup_spec archive_options, dar_sup_storage format_options, dar_sup_flags option_flags, dar_statistics *operation_stats, dar_sup_exception *exception)
 Create a new archive.

bool dar_op_archive_get_children_of (dar_user_interaction_struct dialog, dar_archive *archive, char *directory, dar_sup_exception *exception)
 Obtain a listing of any children of a given path of a file in an archive.

dar_archivedar_op_archive_isolate (dar_user_interaction_struct dialog, dar_archive *ref_archive, dar_sup_spec archive_options, dar_sup_storage format_options, dar_sup_flags option_flags, dar_sup_exception *exception)
 Isolates a catalog from a given archive and places it in a new empty archive.

bool dar_op_archive_diff (dar_user_interaction_struct dialog, dar_archive *archive, dar_sup_spec archive_options, dar_sup_flags option_flags, dar_statistics *operation_stats, dar_sup_exception *exception)
 Compares an archive with the filesystem.

bool dar_op_archive_extract (dar_user_interaction_struct dialog, dar_archive *archive, dar_sup_spec archive_options, dar_sup_storage format_options, dar_sup_flags option_flags, dar_statistics *operation_stats, dar_sup_exception *exception)
 Extracts data from an archive, restoring it onto the file system.

bool dar_op_archive_list (dar_user_interaction_struct dialog, dar_archive *archive, dar_sup_spec archive_options, dar_sup_flags option_flags, dar_sup_exception *exception)
 Lists files in the archive according to a selection filter.

bool dar_op_archive_test (dar_user_interaction_struct dialog, dar_archive *archive, dar_sup_spec archive_options, dar_statistics *operation_stats, dar_sup_exception *exception)
 Tests an archive's integrity.

bool dar_op_archive_close (dar_archive *archive, dar_sup_exception *exception)
 Closes an open archive.

dar_archivedar_op_archive_open (dar_user_interaction_struct dialog, dar_sup_spec archive_options, dar_sup_storage format_options, dar_sup_exception *exception)
 Opens an archive, reading its catalog into memory.


Detailed Description

Implements header.

Definition in file libdarc.cpp.