Main Page   Modules   Data Structures   File List   Data Fields   Globals  

libdrc.c File Reference

Implements header. More...

#include "libdrc.h"
#include <libxml/parser.h>
#include <libxml/tree.h>

Go to the source code of this file.

Data Structures

struct  _dar_drc

Functions

char * dar_drc_get_passphrase (dar_drc *ref)
 Retrieves stored passphrase from archive specification.

bool dar_drc_set_passphrase (dar_drc *ref, char *passphrase)
 Replaces stored passphrase in the archive specification.

char * dar_drc_get_reference_passphrase (dar_drc *ref)
 Retrieves stored passphrase from reference archive specification.

bool dar_drc_set_reference_passphrase (dar_drc *ref, char *passphrase)
 Replaces stored passphrase in the archive specification.

bool dar_drc_has_reference (dar_drc *ref)
 Determines if a given drc object contains a reference archive specification.

dar_archivedar_drc_open_reference (dar_user_interaction_struct dialog, dar_drc *ref, dar_sup_exception *exception)
 Opens a reference archive from a stored specification.

dar_sup_specdar_drc_get_spec (dar_drc *ref)
 Retrieves a pointer to the dar_sup_spec structure describing the archive in a drc object.

dar_sup_storagedar_drc_get_storage (dar_drc *ref)
 Retrieves a pointer to the dar_sup_storage structure describing the archive in a drc object.

dar_sup_flagsdar_drc_get_flags (dar_drc *ref)
 Retrieves a pointer to the dar_sup_flags structure describing the archive in a drc object.

void dar_drc_destroy (dar_drc *ref)
 Frees all memory for the drc object and the elements it contains.

dar_drcdar_drc_create (dar_drc *reference, dar_sup_spec *spec, dar_sup_storage *storage, dar_sup_flags *flags)
 Creates a drc object from archive description structures.

bool dar_drc_write_xml_file (const char *filename, dar_sup_exception *exception)
 Writes dar run configuration to file.

dar_drcdar_drc_parse_xml_memory (const char *buffer, int size, const char *dtdfilepath, dar_sup_exception *exception)
 Parses dar run configuration from memory buffer.

dar_drcdar_drc_parse_xml_file (const char *filename, const char *dtdfilepath, dar_sup_exception *exception)
 Parses dar run configuration from xml file.


Detailed Description

Implements header.

Definition in file libdrc.c.