libdrc.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00035 #ifndef LIBDRC_H
00036 #define LIBDRC_H
00037
00038 #include "libdarc.h"
00039
00040 NAMESPACE_LIBDAR_START
00041
00042 #ifdef __cplusplus
00043 extern "C"
00044 {
00045 #endif
00046
00047
00048 struct _dar_drc;
00049 typedef struct _dar_drc dar_drc;
00050
00051
00079 DLLIMPORT dar_drc *dar_drc_parse_xml_file( const char* filename,
00080 const char* dtdfilepath, dar_sup_exception* exception );
00081
00096 DLLIMPORT dar_drc *dar_drc_parse_xml_memory( const char* buffer, int size,
00097 const char* dtdfilepath, dar_sup_exception* exception );
00098
00108 DLLIMPORT bool dar_drc_write_xml_file( const char* filename,
00109 dar_sup_exception* exception );
00110
00121 DLLIMPORT char* dar_drc_write_xml_memory( dar_sup_exception* exception );
00122
00123
00149 DLLIMPORT dar_drc *dar_drc_create( dar_drc* reference,
00150 dar_sup_spec* spec, dar_sup_storage* storage,
00151 dar_sup_flags* flags );
00152
00153
00154
00163 DLLIMPORT dar_sup_spec *dar_drc_get_spec( dar_drc* ref );
00164
00173 DLLIMPORT dar_sup_storage *dar_drc_get_storage( dar_drc* ref );
00174
00183 DLLIMPORT dar_sup_flags *dar_drc_get_flags( dar_drc* ref );
00184
00200 DLLIMPORT char* dar_drc_get_passphrase( dar_drc* ref );
00201
00218 DLLIMPORT bool dar_drc_set_passphrase( dar_drc* ref, char* passphrase );
00219
00220
00221
00222
00223
00236 DLLIMPORT bool dar_drc_has_reference(dar_drc* ref);
00237
00251 DLLIMPORT dar_archive* dar_drc_open_reference( dar_user_interaction_struct dialog,
00252 dar_drc* ref, dar_sup_exception* exception );
00253
00266 DLLIMPORT char* dar_drc_get_reference_passphrase( dar_drc* ref );
00267
00279 DLLIMPORT bool dar_drc_set_reference_passphrase( dar_drc* ref, char* passphrase );
00280
00281
00289 DLLIMPORT void dar_drc_destroy( dar_drc *ref );
00290
00291
00294 #ifdef __cplusplus
00295 }
00296 #endif
00297
00298
00299
00300
00301 NAMESPACE_LIBDAR_END
00302
00303 #endif